Trait windows::Win32::Media::Audio::IMMDeviceEnumerator_Impl
pub trait IMMDeviceEnumerator_Impl: Sized {
// Required methods
fn EnumAudioEndpoints(
&self,
dataflow: EDataFlow,
dwstatemask: DEVICE_STATE
) -> Result<IMMDeviceCollection>;
fn GetDefaultAudioEndpoint(
&self,
dataflow: EDataFlow,
role: ERole
) -> Result<IMMDevice>;
fn GetDevice(&self, pwstrid: &PCWSTR) -> Result<IMMDevice>;
fn RegisterEndpointNotificationCallback(
&self,
pclient: Option<&IMMNotificationClient>
) -> Result<()>;
fn UnregisterEndpointNotificationCallback(
&self,
pclient: Option<&IMMNotificationClient>
) -> Result<()>;
}
Required Methods§
fn EnumAudioEndpoints( &self, dataflow: EDataFlow, dwstatemask: DEVICE_STATE ) -> Result<IMMDeviceCollection>
fn GetDefaultAudioEndpoint( &self, dataflow: EDataFlow, role: ERole ) -> Result<IMMDevice>
fn GetDevice(&self, pwstrid: &PCWSTR) -> Result<IMMDevice>
fn RegisterEndpointNotificationCallback( &self, pclient: Option<&IMMNotificationClient> ) -> Result<()>
fn UnregisterEndpointNotificationCallback( &self, pclient: Option<&IMMNotificationClient> ) -> Result<()>
Object Safety§
This trait is not object safe.