Struct winapi::mmdeviceapi::IMMDeviceEnumerator [] [src]

pub struct IMMDeviceEnumerator {
    pub lpVtbl: *const IMMDeviceEnumeratorVtbl,
}

Fields

lpVtbl

Methods

impl IMMDeviceEnumerator

unsafe fn EnumAudioEndpoints(&mut self, dataFlow: EDataFlow, dwStateMask: DWORD, ppDevices: *mut *mut IMMDeviceCollection) -> HRESULT

unsafe fn GetDefaultAudioEndpoint(&mut self, dataFlow: EDataFlow, role: ERole, ppEndpoint: *mut *mut IMMDevice) -> HRESULT

unsafe fn GetDevice(&mut self, pwstrId: LPCWSTR, ppDevices: *mut *mut IMMDevice) -> HRESULT

unsafe fn RegisterEndpointNotificationCallback(&mut self, pClient: *mut IMMNotificationClient) -> HRESULT

unsafe fn UnregisterEndpointNotificationCallback(&mut self, pClient: *mut IMMNotificationClient) -> 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 IMMDeviceEnumerator

type Target = IUnknown

fn deref(&self) -> &IUnknown

impl DerefMut for IMMDeviceEnumerator

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

Derived Implementations

impl Debug for IMMDeviceEnumerator

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