Struct windows::Win32::Devices::Fax::IStillImageW
pub struct IStillImageW(/* private fields */);
Implementations§
§impl IStillImageW
impl IStillImageW
pub unsafe fn Initialize<P0>(&self, hinst: P0, dwversion: u32) -> Result<()>where
P0: IntoParam<HINSTANCE>,
pub unsafe fn GetDeviceList( &self, dwtype: u32, dwflags: u32, pdwitemsreturned: *mut u32, ppbuffer: *mut *mut c_void ) -> Result<()>
pub unsafe fn GetDeviceInfo<P0>(
&self,
pwszdevicename: P0,
ppbuffer: *mut *mut c_void
) -> Result<()>where
P0: IntoParam<PCWSTR>,
pub unsafe fn CreateDevice<P0, P1>( &self, pwszdevicename: P0, dwmode: u32, pdevice: *mut Option<IStiDevice>, punkouter: P1 ) -> Result<()>
pub unsafe fn GetDeviceValue<P0, P1>( &self, pwszdevicename: P0, pvaluename: P1, ptype: *mut u32, pdata: *mut u8, cbdata: *mut u32 ) -> Result<()>
pub unsafe fn SetDeviceValue<P0, P1>( &self, pwszdevicename: P0, pvaluename: P1, type: u32, pdata: &[u8] ) -> Result<()>
pub unsafe fn GetSTILaunchInformation( &self, pwszdevicename: &mut [u16; 128], pdweventcode: Option<*mut u32>, pwszeventname: &mut [u16; 128] ) -> Result<()>
pub unsafe fn RegisterLaunchApplication<P0, P1>( &self, pwszappname: P0, pwszcommandline: P1 ) -> Result<()>
pub unsafe fn UnregisterLaunchApplication<P0>(
&self,
pwszappname: P0
) -> Result<()>where
P0: IntoParam<PCWSTR>,
pub unsafe fn EnableHwNotifications<P0, P1>( &self, pwszdevicename: P0, bnewstate: P1 ) -> Result<()>
pub unsafe fn GetHwNotificationState<P0>(
&self,
pwszdevicename: P0
) -> Result<BOOL>where
P0: IntoParam<PCWSTR>,
pub unsafe fn RefreshDeviceBus<P0>(&self, pwszdevicename: P0) -> Result<()>where
P0: IntoParam<PCWSTR>,
pub unsafe fn LaunchApplicationForDevice<P0, P1>( &self, pwszdevicename: P0, pwszappname: P1, pstinotify: *const STINOTIFY ) -> Result<()>
pub unsafe fn SetupDeviceParameters( &self, param0: *mut STI_DEVICE_INFORMATIONW ) -> Result<()>
pub unsafe fn WriteToErrorLog<P0>(
&self,
dwmessagetype: u32,
pszmessage: P0
) -> Result<()>where
P0: IntoParam<PCWSTR>,
Trait Implementations§
§impl Clone for IStillImageW
impl Clone for IStillImageW
§fn clone(&self) -> IStillImageW
fn clone(&self) -> IStillImageW
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for IStillImageW
impl Debug for IStillImageW
§impl From<&IStillImageW> for &IUnknown
impl From<&IStillImageW> for &IUnknown
§fn from(value: &IStillImageW) -> Self
fn from(value: &IStillImageW) -> Self
Converts to this type from the input type.
§impl From<IStillImageW> for IUnknown
impl From<IStillImageW> for IUnknown
§fn from(value: IStillImageW) -> Self
fn from(value: IStillImageW) -> Self
Converts to this type from the input type.
§impl Interface for IStillImageW
impl Interface for IStillImageW
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§impl PartialEq for IStillImageW
impl PartialEq for IStillImageW
§fn eq(&self, other: &IStillImageW) -> bool
fn eq(&self, other: &IStillImageW) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IStillImageW
impl StructuralPartialEq for IStillImageW
Auto Trait Implementations§
impl RefUnwindSafe for IStillImageW
impl !Send for IStillImageW
impl !Sync for IStillImageW
impl Unpin for IStillImageW
impl UnwindSafe for IStillImageW
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more