pub struct IMMNotificationClient(/* private fields */);Implementations§
Source§impl IMMNotificationClient
impl IMMNotificationClient
pub unsafe fn OnDeviceStateChanged<'a>( &self, pwstrdeviceid: impl IntoParam<'a, PWSTR>, dwnewstate: u32, ) -> HRESULT
pub unsafe fn OnDeviceAdded<'a>( &self, pwstrdeviceid: impl IntoParam<'a, PWSTR>, ) -> HRESULT
pub unsafe fn OnDeviceRemoved<'a>( &self, pwstrdeviceid: impl IntoParam<'a, PWSTR>, ) -> HRESULT
pub unsafe fn OnDefaultDeviceChanged<'a>( &self, flow: EDataFlow, role: ERole, pwstrdefaultdeviceid: impl IntoParam<'a, PWSTR>, ) -> HRESULT
pub unsafe fn OnPropertyValueChanged<'a>( &self, pwstrdeviceid: impl IntoParam<'a, PWSTR>, key: impl IntoParam<'a, PROPERTYKEY>, ) -> HRESULT
Trait Implementations§
Source§impl Clone for IMMNotificationClient
impl Clone for IMMNotificationClient
Source§fn clone(&self) -> IMMNotificationClient
fn clone(&self) -> IMMNotificationClient
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IMMNotificationClient
impl Debug for IMMNotificationClient
Source§impl From<&IMMNotificationClient> for IUnknown
impl From<&IMMNotificationClient> for IUnknown
Source§fn from(value: &IMMNotificationClient) -> Self
fn from(value: &IMMNotificationClient) -> Self
Converts to this type from the input type.
Source§impl From<IMMNotificationClient> for IUnknown
impl From<IMMNotificationClient> for IUnknown
Source§fn from(value: IMMNotificationClient) -> Self
fn from(value: IMMNotificationClient) -> Self
Converts to this type from the input type.
Source§impl Interface for IMMNotificationClient
impl Interface for IMMNotificationClient
const IID: Guid
type Vtable = IMMNotificationClient_abi
Source§impl<'a> IntoParam<'a, IUnknown> for &'a IMMNotificationClient
impl<'a> IntoParam<'a, IUnknown> for &'a IMMNotificationClient
fn into_param(self) -> Param<'a, IUnknown>
Source§impl<'a> IntoParam<'a, IUnknown> for IMMNotificationClient
impl<'a> IntoParam<'a, IUnknown> for IMMNotificationClient
fn into_param(self) -> Param<'a, IUnknown>
Source§impl PartialEq for IMMNotificationClient
impl PartialEq for IMMNotificationClient
impl Eq for IMMNotificationClient
impl StructuralPartialEq for IMMNotificationClient
Auto Trait Implementations§
impl Freeze for IMMNotificationClient
impl RefUnwindSafe for IMMNotificationClient
impl !Send for IMMNotificationClient
impl !Sync for IMMNotificationClient
impl Unpin for IMMNotificationClient
impl UnwindSafe for IMMNotificationClient
Blanket Implementations§
Source§impl<T> Abi for Twhere
T: Interface,
impl<T> Abi for Twhere
T: Interface,
Source§fn set_abi(&mut self) -> *mut <T as Abi>::Abi
fn set_abi(&mut self) -> *mut <T as Abi>::Abi
Returns a pointer for setting the object’s value via an ABI call.
Source§unsafe fn from_abi(abi: <T as Abi>::Abi) -> Result<T, Error>
unsafe fn from_abi(abi: <T as Abi>::Abi) -> Result<T, Error>
Casts the ABI representation to a Rust object by taking ownership of the bits.
fn drop_param(_: &mut Param<'_, Self>)
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