Trait IWiaDevMgr2_Impl
pub trait IWiaDevMgr2_Impl: IUnknownImpl {
// Required methods
fn EnumDeviceInfo(&self, lflags: i32) -> Result<IEnumWIA_DEV_INFO>;
fn CreateDevice(
&self,
lflags: i32,
bstrdeviceid: &BSTR,
) -> Result<IWiaItem2>;
fn SelectDeviceDlg(
&self,
hwndparent: HWND,
ldevicetype: i32,
lflags: i32,
pbstrdeviceid: *mut BSTR,
ppitemroot: OutRef<'_, IWiaItem2>,
) -> Result<()>;
fn SelectDeviceDlgID(
&self,
hwndparent: HWND,
ldevicetype: i32,
lflags: i32,
pbstrdeviceid: *mut BSTR,
) -> Result<()>;
fn RegisterEventCallbackInterface(
&self,
lflags: i32,
bstrdeviceid: &BSTR,
peventguid: *const GUID,
piwiaeventcallback: Ref<'_, IWiaEventCallback>,
) -> Result<IUnknown>;
fn RegisterEventCallbackProgram(
&self,
lflags: i32,
bstrdeviceid: &BSTR,
peventguid: *const GUID,
bstrfullappname: &BSTR,
bstrcommandlinearg: &BSTR,
bstrname: &BSTR,
bstrdescription: &BSTR,
bstricon: &BSTR,
) -> Result<()>;
fn RegisterEventCallbackCLSID(
&self,
lflags: i32,
bstrdeviceid: &BSTR,
peventguid: *const GUID,
pclsid: *const GUID,
bstrname: &BSTR,
bstrdescription: &BSTR,
bstricon: &BSTR,
) -> Result<()>;
fn GetImageDlg(
&self,
lflags: i32,
bstrdeviceid: &BSTR,
hwndparent: HWND,
bstrfoldername: &BSTR,
bstrfilename: &BSTR,
plnumfiles: *mut i32,
ppbstrfilepaths: *mut *mut BSTR,
ppitem: OutRef<'_, IWiaItem2>,
) -> Result<()>;
}
Required Methods§
fn EnumDeviceInfo(&self, lflags: i32) -> Result<IEnumWIA_DEV_INFO>
fn CreateDevice(&self, lflags: i32, bstrdeviceid: &BSTR) -> Result<IWiaItem2>
fn SelectDeviceDlg( &self, hwndparent: HWND, ldevicetype: i32, lflags: i32, pbstrdeviceid: *mut BSTR, ppitemroot: OutRef<'_, IWiaItem2>, ) -> Result<()>
fn SelectDeviceDlgID( &self, hwndparent: HWND, ldevicetype: i32, lflags: i32, pbstrdeviceid: *mut BSTR, ) -> Result<()>
fn RegisterEventCallbackInterface( &self, lflags: i32, bstrdeviceid: &BSTR, peventguid: *const GUID, piwiaeventcallback: Ref<'_, IWiaEventCallback>, ) -> Result<IUnknown>
fn RegisterEventCallbackProgram( &self, lflags: i32, bstrdeviceid: &BSTR, peventguid: *const GUID, bstrfullappname: &BSTR, bstrcommandlinearg: &BSTR, bstrname: &BSTR, bstrdescription: &BSTR, bstricon: &BSTR, ) -> Result<()>
fn RegisterEventCallbackCLSID( &self, lflags: i32, bstrdeviceid: &BSTR, peventguid: *const GUID, pclsid: *const GUID, bstrname: &BSTR, bstrdescription: &BSTR, bstricon: &BSTR, ) -> Result<()>
fn GetImageDlg( &self, lflags: i32, bstrdeviceid: &BSTR, hwndparent: HWND, bstrfoldername: &BSTR, bstrfilename: &BSTR, plnumfiles: *mut i32, ppbstrfilepaths: *mut *mut BSTR, ppitem: OutRef<'_, IWiaItem2>, ) -> Result<()>
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.