windows::Win32::Devices::Fax

Trait IStiUSD_Impl

pub trait IStiUSD_Impl: IUnknownImpl {
Show 16 methods // Required methods fn Initialize( &self, pheldcb: Ref<'_, IStiDeviceControl>, dwstiversion: u32, hparameterskey: HKEY, ) -> Result<()>; fn GetCapabilities(&self) -> Result<STI_USD_CAPS>; fn GetStatus(&self, pdevstatus: *mut STI_DEVICE_STATUS) -> Result<()>; fn DeviceReset(&self) -> Result<()>; fn Diagnostic(&self, pbuffer: *mut STI_DIAG) -> Result<()>; fn Escape( &self, escapefunction: u32, lpindata: *const c_void, cbindatasize: u32, poutdata: *mut c_void, cboutdatasize: u32, pdwactualdata: *mut u32, ) -> Result<()>; fn GetLastError(&self) -> Result<u32>; fn LockDevice(&self) -> Result<()>; fn UnLockDevice(&self) -> Result<()>; fn RawReadData( &self, lpbuffer: *mut c_void, lpdwnumberofbytes: *mut u32, lpoverlapped: *const OVERLAPPED, ) -> Result<()>; fn RawWriteData( &self, lpbuffer: *const c_void, nnumberofbytes: u32, lpoverlapped: *const OVERLAPPED, ) -> Result<()>; fn RawReadCommand( &self, lpbuffer: *mut c_void, lpdwnumberofbytes: *mut u32, lpoverlapped: *const OVERLAPPED, ) -> Result<()>; fn RawWriteCommand( &self, lpbuffer: *const c_void, nnumberofbytes: u32, lpoverlapped: *const OVERLAPPED, ) -> Result<()>; fn SetNotificationHandle(&self, hevent: HANDLE) -> Result<()>; fn GetNotificationData(&self, lpnotify: *mut STINOTIFY) -> Result<()>; fn GetLastErrorInfo(&self, plasterrorinfo: *mut _ERROR_INFOW) -> Result<()>;
}

Required Methods§

fn Initialize( &self, pheldcb: Ref<'_, IStiDeviceControl>, dwstiversion: u32, hparameterskey: HKEY, ) -> Result<()>

fn GetCapabilities(&self) -> Result<STI_USD_CAPS>

fn GetStatus(&self, pdevstatus: *mut STI_DEVICE_STATUS) -> Result<()>

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

fn Diagnostic(&self, pbuffer: *mut STI_DIAG) -> Result<()>

fn Escape( &self, escapefunction: u32, lpindata: *const c_void, cbindatasize: u32, poutdata: *mut c_void, cboutdatasize: u32, pdwactualdata: *mut u32, ) -> Result<()>

fn GetLastError(&self) -> Result<u32>

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

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

fn RawReadData( &self, lpbuffer: *mut c_void, lpdwnumberofbytes: *mut u32, lpoverlapped: *const OVERLAPPED, ) -> Result<()>

fn RawWriteData( &self, lpbuffer: *const c_void, nnumberofbytes: u32, lpoverlapped: *const OVERLAPPED, ) -> Result<()>

fn RawReadCommand( &self, lpbuffer: *mut c_void, lpdwnumberofbytes: *mut u32, lpoverlapped: *const OVERLAPPED, ) -> Result<()>

fn RawWriteCommand( &self, lpbuffer: *const c_void, nnumberofbytes: u32, lpoverlapped: *const OVERLAPPED, ) -> Result<()>

fn SetNotificationHandle(&self, hevent: HANDLE) -> Result<()>

fn GetNotificationData(&self, lpnotify: *mut STINOTIFY) -> Result<()>

fn GetLastErrorInfo(&self, plasterrorinfo: *mut _ERROR_INFOW) -> 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§