Trait IWiaVideo_Impl
pub trait IWiaVideo_Impl: IUnknownImpl {
Show 13 methods
// Required methods
fn PreviewVisible(&self) -> Result<BOOL>;
fn SetPreviewVisible(&self, bpreviewvisible: BOOL) -> Result<()>;
fn ImagesDirectory(&self) -> Result<BSTR>;
fn SetImagesDirectory(&self, bstrimagedirectory: &BSTR) -> Result<()>;
fn CreateVideoByWiaDevID(
&self,
bstrwiadeviceid: &BSTR,
hwndparent: HWND,
bstretchtofitparent: BOOL,
bautobeginplayback: BOOL,
) -> Result<()>;
fn CreateVideoByDevNum(
&self,
uidevicenumber: u32,
hwndparent: HWND,
bstretchtofitparent: BOOL,
bautobeginplayback: BOOL,
) -> Result<()>;
fn CreateVideoByName(
&self,
bstrfriendlyname: &BSTR,
hwndparent: HWND,
bstretchtofitparent: BOOL,
bautobeginplayback: BOOL,
) -> Result<()>;
fn DestroyVideo(&self) -> Result<()>;
fn Play(&self) -> Result<()>;
fn Pause(&self) -> Result<()>;
fn TakePicture(&self) -> Result<BSTR>;
fn ResizeVideo(&self, bstretchtofitparent: BOOL) -> Result<()>;
fn GetCurrentState(&self) -> Result<WIAVIDEO_STATE>;
}
Required Methods§
fn PreviewVisible(&self) -> Result<BOOL>
fn SetPreviewVisible(&self, bpreviewvisible: BOOL) -> Result<()>
fn ImagesDirectory(&self) -> Result<BSTR>
fn SetImagesDirectory(&self, bstrimagedirectory: &BSTR) -> Result<()>
fn CreateVideoByWiaDevID( &self, bstrwiadeviceid: &BSTR, hwndparent: HWND, bstretchtofitparent: BOOL, bautobeginplayback: BOOL, ) -> Result<()>
fn CreateVideoByDevNum( &self, uidevicenumber: u32, hwndparent: HWND, bstretchtofitparent: BOOL, bautobeginplayback: BOOL, ) -> Result<()>
fn CreateVideoByName( &self, bstrfriendlyname: &BSTR, hwndparent: HWND, bstretchtofitparent: BOOL, bautobeginplayback: BOOL, ) -> Result<()>
fn DestroyVideo(&self) -> Result<()>
fn Play(&self) -> Result<()>
fn Pause(&self) -> Result<()>
fn TakePicture(&self) -> Result<BSTR>
fn ResizeVideo(&self, bstretchtofitparent: BOOL) -> Result<()>
fn GetCurrentState(&self) -> Result<WIAVIDEO_STATE>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.