Struct windows::Win32::Devices::Tapi::ITPhone_Vtbl

#[repr(C)]
pub struct ITPhone_Vtbl {
Show 34 fields pub base__: IDispatch_Vtbl, pub Open: unsafe extern "system" fn(_: *mut c_void, _: PHONE_PRIVILEGE) -> HRESULT, pub Close: unsafe extern "system" fn(_: *mut c_void) -> HRESULT, pub Addresses: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<VARIANT>) -> HRESULT, pub EnumerateAddresses: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub get_PhoneCapsLong: unsafe extern "system" fn(_: *mut c_void, _: PHONECAPS_LONG, _: *mut i32) -> HRESULT, pub get_PhoneCapsString: unsafe extern "system" fn(_: *mut c_void, _: PHONECAPS_STRING, _: *mut MaybeUninit<BSTR>) -> HRESULT, pub get_Terminals: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut MaybeUninit<VARIANT>) -> HRESULT, pub EnumerateTerminals: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub get_ButtonMode: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *mut PHONE_BUTTON_MODE) -> HRESULT, pub put_ButtonMode: unsafe extern "system" fn(_: *mut c_void, _: i32, _: PHONE_BUTTON_MODE) -> HRESULT, pub get_ButtonFunction: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *mut PHONE_BUTTON_FUNCTION) -> HRESULT, pub put_ButtonFunction: unsafe extern "system" fn(_: *mut c_void, _: i32, _: PHONE_BUTTON_FUNCTION) -> HRESULT, pub get_ButtonText: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *mut MaybeUninit<BSTR>) -> HRESULT, pub put_ButtonText: unsafe extern "system" fn(_: *mut c_void, _: i32, _: MaybeUninit<BSTR>) -> HRESULT, pub get_ButtonState: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *mut PHONE_BUTTON_STATE) -> HRESULT, pub get_HookSwitchState: unsafe extern "system" fn(_: *mut c_void, _: PHONE_HOOK_SWITCH_DEVICE, _: *mut PHONE_HOOK_SWITCH_STATE) -> HRESULT, pub put_HookSwitchState: unsafe extern "system" fn(_: *mut c_void, _: PHONE_HOOK_SWITCH_DEVICE, _: PHONE_HOOK_SWITCH_STATE) -> HRESULT, pub SetRingMode: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT, pub RingMode: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT, pub SetRingVolume: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT, pub RingVolume: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT, pub Privilege: unsafe extern "system" fn(_: *mut c_void, _: *mut PHONE_PRIVILEGE) -> HRESULT, pub GetPhoneCapsBuffer: unsafe extern "system" fn(_: *mut c_void, _: PHONECAPS_BUFFER, _: *mut u32, _: *mut *mut u8) -> HRESULT, pub get_PhoneCapsBuffer: unsafe extern "system" fn(_: *mut c_void, _: PHONECAPS_BUFFER, _: *mut MaybeUninit<VARIANT>) -> HRESULT, pub get_LampMode: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *mut PHONE_LAMP_MODE) -> HRESULT, pub put_LampMode: unsafe extern "system" fn(_: *mut c_void, _: i32, _: PHONE_LAMP_MODE) -> HRESULT, pub Display: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<BSTR>) -> HRESULT, pub SetDisplay: unsafe extern "system" fn(_: *mut c_void, _: i32, _: i32, _: MaybeUninit<BSTR>) -> HRESULT, pub PreferredAddresses: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<VARIANT>) -> HRESULT, pub EnumeratePreferredAddresses: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT, pub DeviceSpecific: unsafe extern "system" fn(_: *mut c_void, _: *const u8, _: u32) -> HRESULT, pub DeviceSpecificVariant: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<VARIANT>) -> HRESULT, pub NegotiateExtVersion: unsafe extern "system" fn(_: *mut c_void, _: i32, _: i32, _: *mut i32) -> HRESULT,
}

Fields§

§base__: IDispatch_Vtbl§Open: unsafe extern "system" fn(_: *mut c_void, _: PHONE_PRIVILEGE) -> HRESULT§Close: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§Addresses: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<VARIANT>) -> HRESULT§EnumerateAddresses: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§get_PhoneCapsLong: unsafe extern "system" fn(_: *mut c_void, _: PHONECAPS_LONG, _: *mut i32) -> HRESULT§get_PhoneCapsString: unsafe extern "system" fn(_: *mut c_void, _: PHONECAPS_STRING, _: *mut MaybeUninit<BSTR>) -> HRESULT§get_Terminals: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut MaybeUninit<VARIANT>) -> HRESULT§EnumerateTerminals: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut *mut c_void) -> HRESULT§get_ButtonMode: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *mut PHONE_BUTTON_MODE) -> HRESULT§put_ButtonMode: unsafe extern "system" fn(_: *mut c_void, _: i32, _: PHONE_BUTTON_MODE) -> HRESULT§get_ButtonFunction: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *mut PHONE_BUTTON_FUNCTION) -> HRESULT§put_ButtonFunction: unsafe extern "system" fn(_: *mut c_void, _: i32, _: PHONE_BUTTON_FUNCTION) -> HRESULT§get_ButtonText: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *mut MaybeUninit<BSTR>) -> HRESULT§put_ButtonText: unsafe extern "system" fn(_: *mut c_void, _: i32, _: MaybeUninit<BSTR>) -> HRESULT§get_ButtonState: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *mut PHONE_BUTTON_STATE) -> HRESULT§get_HookSwitchState: unsafe extern "system" fn(_: *mut c_void, _: PHONE_HOOK_SWITCH_DEVICE, _: *mut PHONE_HOOK_SWITCH_STATE) -> HRESULT§put_HookSwitchState: unsafe extern "system" fn(_: *mut c_void, _: PHONE_HOOK_SWITCH_DEVICE, _: PHONE_HOOK_SWITCH_STATE) -> HRESULT§SetRingMode: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT§RingMode: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT§SetRingVolume: unsafe extern "system" fn(_: *mut c_void, _: i32) -> HRESULT§RingVolume: unsafe extern "system" fn(_: *mut c_void, _: *mut i32) -> HRESULT§Privilege: unsafe extern "system" fn(_: *mut c_void, _: *mut PHONE_PRIVILEGE) -> HRESULT§GetPhoneCapsBuffer: unsafe extern "system" fn(_: *mut c_void, _: PHONECAPS_BUFFER, _: *mut u32, _: *mut *mut u8) -> HRESULT§get_PhoneCapsBuffer: unsafe extern "system" fn(_: *mut c_void, _: PHONECAPS_BUFFER, _: *mut MaybeUninit<VARIANT>) -> HRESULT§get_LampMode: unsafe extern "system" fn(_: *mut c_void, _: i32, _: *mut PHONE_LAMP_MODE) -> HRESULT§put_LampMode: unsafe extern "system" fn(_: *mut c_void, _: i32, _: PHONE_LAMP_MODE) -> HRESULT§Display: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<BSTR>) -> HRESULT§SetDisplay: unsafe extern "system" fn(_: *mut c_void, _: i32, _: i32, _: MaybeUninit<BSTR>) -> HRESULT§PreferredAddresses: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<VARIANT>) -> HRESULT§EnumeratePreferredAddresses: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT§DeviceSpecific: unsafe extern "system" fn(_: *mut c_void, _: *const u8, _: u32) -> HRESULT§DeviceSpecificVariant: unsafe extern "system" fn(_: *mut c_void, _: MaybeUninit<VARIANT>) -> HRESULT§NegotiateExtVersion: unsafe extern "system" fn(_: *mut c_void, _: i32, _: i32, _: *mut i32) -> HRESULT

Implementations§

§

impl ITPhone_Vtbl

pub const fn new<Identity, const OFFSET: isize>() -> ITPhone_Vtbl
where Identity: ITPhone_Impl + IUnknownImpl,

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.