[][src]Struct winapi::um::mmdeviceapi::IMMNotificationClient

#[repr(C)]
pub struct IMMNotificationClient {
    pub lpVtbl: *const IMMNotificationClientVtbl,
}

Fields

lpVtbl: *const IMMNotificationClientVtbl

Methods

impl IMMNotificationClient[src]

pub unsafe fn OnDeviceStateChanged(
    &self,
    pwstrDeviceId: LPCWSTR,
    dwNewState: DWORD
) -> HRESULT
[src]

pub unsafe fn OnDeviceAdded(&self, pwstrDeviceId: LPCWSTR) -> HRESULT[src]

pub unsafe fn OnDeviceRemoved(&self, pwstrDeviceId: LPCWSTR) -> HRESULT[src]

pub unsafe fn OnDefaultDeviceChanged(
    &self,
    flow: EDataFlow,
    role: ERole,
    pwstrDefaultDeviceId: LPCWSTR
) -> HRESULT
[src]

pub unsafe fn OnPropertyValueChanged(
    &self,
    pwstrDeviceId: LPCWSTR,
    key: PROPERTYKEY
) -> HRESULT
[src]

Methods from Deref<Target = IUnknown>

pub unsafe fn QueryInterface(
    &self,
    riid: REFIID,
    ppvObject: *mut *mut c_void
) -> HRESULT
[src]

pub unsafe fn AddRef(&self) -> ULONG[src]

pub unsafe fn Release(&self) -> ULONG[src]

Trait Implementations

impl Interface for IMMNotificationClient[src]

impl Deref for IMMNotificationClient[src]

type Target = IUnknown

The resulting type after dereferencing.

Auto Trait Implementations

Blanket Implementations

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]