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
impl ITPhone_Vtbl
pub const fn new<Identity, const OFFSET: isize>() -> ITPhone_Vtblwhere
Identity: ITPhone_Impl + IUnknownImpl,
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for ITPhone_Vtbl
impl RefUnwindSafe for ITPhone_Vtbl
impl Send for ITPhone_Vtbl
impl Sync for ITPhone_Vtbl
impl Unpin for ITPhone_Vtbl
impl UnwindSafe for ITPhone_Vtbl
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