pub trait ICameraUIControl_Impl: Sized {
// Required methods
fn Show(
&self,
pwindow: Option<&IUnknown>,
mode: CameraUIControlMode,
selectionmode: CameraUIControlLinearSelectionMode,
capturemode: CameraUIControlCaptureMode,
photoformat: CameraUIControlPhotoFormat,
videoformat: CameraUIControlVideoFormat,
bhasclosebutton: BOOL,
peventcallback: Option<&ICameraUIControlEventCallback>,
) -> Result<()>;
fn Close(&self) -> Result<()>;
fn Suspend(&self) -> Result<BOOL>;
fn Resume(&self) -> Result<()>;
fn GetCurrentViewType(&self) -> Result<CameraUIControlViewType>;
fn GetActiveItem(&self, pbstractiveitempath: *mut BSTR) -> Result<()>;
fn GetSelectedItems(&self) -> Result<*mut SAFEARRAY>;
fn RemoveCapturedItem(&self, pszpath: &PCWSTR) -> Result<()>;
}
Required Methods§
fn Show( &self, pwindow: Option<&IUnknown>, mode: CameraUIControlMode, selectionmode: CameraUIControlLinearSelectionMode, capturemode: CameraUIControlCaptureMode, photoformat: CameraUIControlPhotoFormat, videoformat: CameraUIControlVideoFormat, bhasclosebutton: BOOL, peventcallback: Option<&ICameraUIControlEventCallback>, ) -> Result<()>
fn Close(&self) -> Result<()>
fn Suspend(&self) -> Result<BOOL>
fn Resume(&self) -> Result<()>
fn GetCurrentViewType(&self) -> Result<CameraUIControlViewType>
fn GetActiveItem(&self, pbstractiveitempath: *mut BSTR) -> Result<()>
fn GetSelectedItems(&self) -> Result<*mut SAFEARRAY>
fn RemoveCapturedItem(&self, pszpath: &PCWSTR) -> Result<()>
Object Safety§
This trait is not object safe.