windows::Win32::Media::PictureAcquisition

Trait IPhotoAcquire_Impl

pub trait IPhotoAcquire_Impl: IUnknownImpl {
    // Required methods
    fn CreatePhotoSource(
        &self,
        pszdevice: &PCWSTR,
    ) -> Result<IPhotoAcquireSource>;
    fn Acquire(
        &self,
        pphotoacquiresource: Ref<'_, IPhotoAcquireSource>,
        fshowprogress: BOOL,
        hwndparent: HWND,
        pszapplicationname: &PCWSTR,
        pphotoacquireprogresscb: Ref<'_, IPhotoAcquireProgressCB>,
    ) -> Result<()>;
    fn EnumResults(&self) -> Result<IEnumString>;
}

Required Methods§

fn CreatePhotoSource(&self, pszdevice: &PCWSTR) -> Result<IPhotoAcquireSource>

fn Acquire( &self, pphotoacquiresource: Ref<'_, IPhotoAcquireSource>, fshowprogress: BOOL, hwndparent: HWND, pszapplicationname: &PCWSTR, pphotoacquireprogresscb: Ref<'_, IPhotoAcquireProgressCB>, ) -> Result<()>

fn EnumResults(&self) -> Result<IEnumString>

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.

Implementors§