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

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

Fields

lpVtbl

Methods

impl IMMDevice

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 Deref for IMMDevice

type Target = IUnknown

fn deref(&self) -> &IUnknown

impl DerefMut for IMMDevice

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

Derived Implementations

impl Debug for IMMDevice

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