Trait IPhotoAcquirePlugin_Impl
pub trait IPhotoAcquirePlugin_Impl: IUnknownImpl {
// Required methods
fn Initialize(
&self,
pphotoacquiresource: Ref<'_, IPhotoAcquireSource>,
pphotoacquireprogresscb: Ref<'_, IPhotoAcquireProgressCB>,
) -> Result<()>;
fn ProcessItem(
&self,
dwacquirestage: u32,
pphotoacquireitem: Ref<'_, IPhotoAcquireItem>,
poriginalitemstream: Ref<'_, IStream>,
pszfinalfilename: &PCWSTR,
ppropertystore: Ref<'_, IPropertyStore>,
) -> Result<()>;
fn TransferComplete(&self, hr: HRESULT) -> Result<()>;
fn DisplayConfigureDialog(&self, hwndparent: HWND) -> Result<()>;
}
Required Methods§
fn Initialize( &self, pphotoacquiresource: Ref<'_, IPhotoAcquireSource>, pphotoacquireprogresscb: Ref<'_, IPhotoAcquireProgressCB>, ) -> Result<()>
fn ProcessItem( &self, dwacquirestage: u32, pphotoacquireitem: Ref<'_, IPhotoAcquireItem>, poriginalitemstream: Ref<'_, IStream>, pszfinalfilename: &PCWSTR, ppropertystore: Ref<'_, IPropertyStore>, ) -> Result<()>
fn TransferComplete(&self, hr: HRESULT) -> Result<()>
fn DisplayConfigureDialog(&self, hwndparent: HWND) -> 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.