windows::Win32::Media::PictureAcquisition

Trait IPhotoProgressDialog_Impl

pub trait IPhotoProgressDialog_Impl: IUnknownImpl {
Show 18 methods // Required methods fn Create(&self, hwndparent: HWND) -> Result<()>; fn GetWindow(&self) -> Result<HWND>; fn Destroy(&self) -> Result<()>; fn SetTitle(&self, psztitle: &PCWSTR) -> Result<()>; fn ShowCheckbox( &self, ncheckboxid: PROGRESS_DIALOG_CHECKBOX_ID, fshow: BOOL, ) -> Result<()>; fn SetCheckboxText( &self, ncheckboxid: PROGRESS_DIALOG_CHECKBOX_ID, pszcheckboxtext: &PCWSTR, ) -> Result<()>; fn SetCheckboxCheck( &self, ncheckboxid: PROGRESS_DIALOG_CHECKBOX_ID, fchecked: BOOL, ) -> Result<()>; fn SetCheckboxTooltip( &self, ncheckboxid: PROGRESS_DIALOG_CHECKBOX_ID, pszcheckboxtooltiptext: &PCWSTR, ) -> Result<()>; fn IsCheckboxChecked( &self, ncheckboxid: PROGRESS_DIALOG_CHECKBOX_ID, ) -> Result<BOOL>; fn SetCaption(&self, psztitle: &PCWSTR) -> Result<()>; fn SetImage( &self, nimagetype: PROGRESS_DIALOG_IMAGE_TYPE, hicon: HICON, hbitmap: HBITMAP, ) -> Result<()>; fn SetPercentComplete(&self, npercent: i32) -> Result<()>; fn SetProgressText(&self, pszprogresstext: &PCWSTR) -> Result<()>; fn SetActionLinkCallback( &self, pphotoprogressactioncb: Ref<'_, IPhotoProgressActionCB>, ) -> Result<()>; fn SetActionLinkText(&self, pszcaption: &PCWSTR) -> Result<()>; fn ShowActionLink(&self, fshow: BOOL) -> Result<()>; fn IsCancelled(&self) -> Result<BOOL>; fn GetUserInput( &self, riidtype: *const GUID, punknown: Ref<'_, IUnknown>, ppropvarresult: *mut PROPVARIANT, ppropvardefault: *const PROPVARIANT, ) -> Result<()>;
}

Required Methods§

fn Create(&self, hwndparent: HWND) -> Result<()>

fn GetWindow(&self) -> Result<HWND>

fn Destroy(&self) -> Result<()>

fn SetTitle(&self, psztitle: &PCWSTR) -> Result<()>

fn ShowCheckbox( &self, ncheckboxid: PROGRESS_DIALOG_CHECKBOX_ID, fshow: BOOL, ) -> Result<()>

fn SetCheckboxText( &self, ncheckboxid: PROGRESS_DIALOG_CHECKBOX_ID, pszcheckboxtext: &PCWSTR, ) -> Result<()>

fn SetCheckboxCheck( &self, ncheckboxid: PROGRESS_DIALOG_CHECKBOX_ID, fchecked: BOOL, ) -> Result<()>

fn SetCheckboxTooltip( &self, ncheckboxid: PROGRESS_DIALOG_CHECKBOX_ID, pszcheckboxtooltiptext: &PCWSTR, ) -> Result<()>

fn IsCheckboxChecked( &self, ncheckboxid: PROGRESS_DIALOG_CHECKBOX_ID, ) -> Result<BOOL>

fn SetCaption(&self, psztitle: &PCWSTR) -> Result<()>

fn SetImage( &self, nimagetype: PROGRESS_DIALOG_IMAGE_TYPE, hicon: HICON, hbitmap: HBITMAP, ) -> Result<()>

fn SetPercentComplete(&self, npercent: i32) -> Result<()>

fn SetProgressText(&self, pszprogresstext: &PCWSTR) -> Result<()>

fn SetActionLinkCallback( &self, pphotoprogressactioncb: Ref<'_, IPhotoProgressActionCB>, ) -> Result<()>

fn SetActionLinkText(&self, pszcaption: &PCWSTR) -> Result<()>

fn IsCancelled(&self) -> Result<BOOL>

fn GetUserInput( &self, riidtype: *const GUID, punknown: Ref<'_, IUnknown>, ppropvarresult: *mut PROPVARIANT, ppropvardefault: *const PROPVARIANT, ) -> 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.

Implementors§