Struct windows::Win32::Devices::Fax::IStiUSD_Vtbl

#[repr(C)]
pub struct IStiUSD_Vtbl {
Show 17 fields pub base__: IUnknown_Vtbl, pub Initialize: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: u32, _: HKEY) -> HRESULT, pub GetCapabilities: unsafe extern "system" fn(_: *mut c_void, _: *mut STI_USD_CAPS) -> HRESULT, pub GetStatus: unsafe extern "system" fn(_: *mut c_void, _: *mut STI_DEVICE_STATUS) -> HRESULT, pub DeviceReset: unsafe extern "system" fn(_: *mut c_void) -> HRESULT, pub Diagnostic: unsafe extern "system" fn(_: *mut c_void, _: *mut STI_DIAG) -> HRESULT, pub Escape: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const c_void, _: u32, _: *mut c_void, _: u32, _: *mut u32) -> HRESULT, pub GetLastError: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT, pub LockDevice: unsafe extern "system" fn(_: *mut c_void) -> HRESULT, pub UnLockDevice: unsafe extern "system" fn(_: *mut c_void) -> HRESULT, pub RawReadData: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut u32, _: *const OVERLAPPED) -> HRESULT, pub RawWriteData: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: u32, _: *const OVERLAPPED) -> HRESULT, pub RawReadCommand: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut u32, _: *const OVERLAPPED) -> HRESULT, pub RawWriteCommand: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: u32, _: *const OVERLAPPED) -> HRESULT, pub SetNotificationHandle: unsafe extern "system" fn(_: *mut c_void, _: HANDLE) -> HRESULT, pub GetNotificationData: unsafe extern "system" fn(_: *mut c_void, _: *mut STINOTIFY) -> HRESULT, pub GetLastErrorInfo: unsafe extern "system" fn(_: *mut c_void, _: *mut _ERROR_INFOW) -> HRESULT,
}

Fields§

§base__: IUnknown_Vtbl§Initialize: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: u32, _: HKEY) -> HRESULT§GetCapabilities: unsafe extern "system" fn(_: *mut c_void, _: *mut STI_USD_CAPS) -> HRESULT§GetStatus: unsafe extern "system" fn(_: *mut c_void, _: *mut STI_DEVICE_STATUS) -> HRESULT§DeviceReset: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§Diagnostic: unsafe extern "system" fn(_: *mut c_void, _: *mut STI_DIAG) -> HRESULT§Escape: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *const c_void, _: u32, _: *mut c_void, _: u32, _: *mut u32) -> HRESULT§GetLastError: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT§LockDevice: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§UnLockDevice: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§RawReadData: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut u32, _: *const OVERLAPPED) -> HRESULT§RawWriteData: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: u32, _: *const OVERLAPPED) -> HRESULT§RawReadCommand: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut u32, _: *const OVERLAPPED) -> HRESULT§RawWriteCommand: unsafe extern "system" fn(_: *mut c_void, _: *const c_void, _: u32, _: *const OVERLAPPED) -> HRESULT§SetNotificationHandle: unsafe extern "system" fn(_: *mut c_void, _: HANDLE) -> HRESULT§GetNotificationData: unsafe extern "system" fn(_: *mut c_void, _: *mut STINOTIFY) -> HRESULT§GetLastErrorInfo: unsafe extern "system" fn(_: *mut c_void, _: *mut _ERROR_INFOW) -> HRESULT

Implementations§

§

impl IStiUSD_Vtbl

pub const fn new<Identity: IUnknownImpl<Impl = Impl>, Impl: IStiUSD_Impl, const OFFSET: isize>( ) -> IStiUSD_Vtbl

pub fn matches(iid: &GUID) -> bool

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.