Struct winapi::mmdeviceapi::IMMDeviceEnumerator
[−]
[src]
#[repr(C)]pub struct IMMDeviceEnumerator { pub lpVtbl: *const IMMDeviceEnumeratorVtbl, }
Fields
lpVtbl: *const IMMDeviceEnumeratorVtbl
Methods
impl IMMDeviceEnumerator
[src]
unsafe fn EnumAudioEndpoints(
&mut self,
dataFlow: EDataFlow,
dwStateMask: DWORD,
ppDevices: *mut *mut IMMDeviceCollection
) -> HRESULT
&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
&mut self,
dataFlow: EDataFlow,
role: ERole,
ppEndpoint: *mut *mut IMMDevice
) -> HRESULT
unsafe fn GetDevice(
&mut self,
pwstrId: LPCWSTR,
ppDevices: *mut *mut IMMDevice
) -> HRESULT
&mut self,
pwstrId: LPCWSTR,
ppDevices: *mut *mut IMMDevice
) -> HRESULT
unsafe fn RegisterEndpointNotificationCallback(
&mut self,
pClient: *mut IMMNotificationClient
) -> HRESULT
&mut self,
pClient: *mut IMMNotificationClient
) -> HRESULT
unsafe fn UnregisterEndpointNotificationCallback(
&mut self,
pClient: *mut IMMNotificationClient
) -> HRESULT
&mut self,
pClient: *mut IMMNotificationClient
) -> HRESULT
Methods from Deref<Target = IUnknown>
unsafe fn QueryInterface(
&mut self,
riid: REFIID,
ppvObject: *mut *mut c_void
) -> HRESULT
&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 IMMDeviceEnumerator
[src]
impl Deref for IMMDeviceEnumerator
[src]
type Target = IUnknown
The resulting type after dereferencing
fn deref(&self) -> &IUnknown
The method called to dereference a value