Struct windows::Win32::Media::Audio::IMMNotificationClient_Vtbl
#[repr(C)]pub struct IMMNotificationClient_Vtbl {
pub base__: IUnknown_Vtbl,
pub OnDeviceStateChanged: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: DEVICE_STATE) -> HRESULT,
pub OnDeviceAdded: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR) -> HRESULT,
pub OnDeviceRemoved: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR) -> HRESULT,
pub OnDefaultDeviceChanged: unsafe extern "system" fn(_: *mut c_void, _: EDataFlow, _: ERole, _: PCWSTR) -> HRESULT,
pub OnPropertyValueChanged: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: PROPERTYKEY) -> HRESULT,
}
Fields§
§base__: IUnknown_Vtbl
§OnDeviceStateChanged: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: DEVICE_STATE) -> HRESULT
§OnDeviceAdded: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR) -> HRESULT
§OnDeviceRemoved: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR) -> HRESULT
§OnDefaultDeviceChanged: unsafe extern "system" fn(_: *mut c_void, _: EDataFlow, _: ERole, _: PCWSTR) -> HRESULT
§OnPropertyValueChanged: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: PROPERTYKEY) -> HRESULT
Implementations§
§impl IMMNotificationClient_Vtbl
impl IMMNotificationClient_Vtbl
pub const fn new<Identity: IUnknownImpl<Impl = Impl>, Impl: IMMNotificationClient_Impl, const OFFSET: isize>( ) -> IMMNotificationClient_Vtbl
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl RefUnwindSafe for IMMNotificationClient_Vtbl
impl Send for IMMNotificationClient_Vtbl
impl Sync for IMMNotificationClient_Vtbl
impl Unpin for IMMNotificationClient_Vtbl
impl UnwindSafe for IMMNotificationClient_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