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

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

Fields

lpVtbl: *const IMMDeviceVtbl

Methods

impl IMMDevice[src]

pub unsafe fn Activate(
    &self,
    iid: REFIID,
    dwClsCtx: DWORD,
    pActivationParams: *mut PROPVARIANT,
    ppInterface: *mut LPVOID
) -> HRESULT
[src]

pub unsafe fn OpenPropertyStore(
    &self,
    stgmAccess: DWORD,
    ppProperties: *mut *mut IPropertyStore
) -> HRESULT
[src]

pub unsafe fn GetId(&self, ppstrId: *mut LPWSTR) -> HRESULT[src]

pub unsafe fn GetState(&self, pdwState: *mut DWORD) -> 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 IMMDevice[src]

impl Deref for IMMDevice[src]

type Target = IUnknown

The resulting type after dereferencing.

Auto Trait Implementations

impl Unpin for IMMDevice

impl !Send for IMMDevice

impl !Sync for IMMDevice

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]