Struct audio_device_windows_sys::Windows::Win32::CoreAudio::IMMDeviceEnumerator[][src]

#[repr(transparent)]pub struct IMMDeviceEnumerator(_);

Implementations

impl IMMDeviceEnumerator[src]

pub unsafe fn EnumAudioEndpoints(
    &self,
    dataflow: EDataFlow,
    dwstatemask: u32,
    ppdevices: *mut Option<IMMDeviceCollection>
) -> HRESULT
[src]

pub unsafe fn GetDefaultAudioEndpoint(
    &self,
    dataflow: EDataFlow,
    role: ERole,
    ppendpoint: *mut Option<IMMDevice>
) -> HRESULT
[src]

pub unsafe fn GetDevice<'a>(
    &self,
    pwstrid: impl IntoParam<'a, PWSTR>,
    ppdevice: *mut Option<IMMDevice>
) -> HRESULT
[src]

pub unsafe fn RegisterEndpointNotificationCallback<'a>(
    &self,
    pclient: impl IntoParam<'a, IMMNotificationClient>
) -> HRESULT
[src]

pub unsafe fn UnregisterEndpointNotificationCallback<'a>(
    &self,
    pclient: impl IntoParam<'a, IMMNotificationClient>
) -> HRESULT
[src]

Trait Implementations

impl Clone for IMMDeviceEnumerator[src]

impl Debug for IMMDeviceEnumerator[src]

impl Eq for IMMDeviceEnumerator[src]

impl Interface for IMMDeviceEnumerator[src]

type Vtable = IMMDeviceEnumerator_abi

impl<'a> IntoParam<'a, IUnknown> for IMMDeviceEnumerator[src]

impl<'a> IntoParam<'a, IUnknown> for &'a IMMDeviceEnumerator[src]

impl PartialEq<IMMDeviceEnumerator> for IMMDeviceEnumerator[src]

impl StructuralEq for IMMDeviceEnumerator[src]

impl StructuralPartialEq for IMMDeviceEnumerator[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Abi for T where
    T: Interface
[src]

type Abi = *mut c_void

The abi representation of the implementing type. Read more

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<'a, T> IntoParam<'a, T> for T where
    T: Abi
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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> 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.