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

pub struct IMMDevice {
    pub lpVtbl: *const IMMDeviceVtbl,
}

Fields

lpVtbl: *const IMMDeviceVtbl

Methods

impl IMMDevice
[src]

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

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

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

unsafe fn GetState(&mut self, pdwState: *mut DWORD) -> HRESULT

Methods from Deref<Target=IUnknown>

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

unsafe fn AddRef(&mut self) -> ULONG

unsafe fn Release(&mut self) -> ULONG

Trait Implementations

impl Debug for IMMDevice
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Deref for IMMDevice
[src]

type Target = IUnknown

The resulting type after dereferencing

fn deref(&self) -> &IUnknown

The method called to dereference a value

impl DerefMut for IMMDevice
[src]

fn deref_mut(&mut self) -> &mut IUnknown

The method called to mutably dereference a value