Trait IMMDeviceEnumerator_Impl
pub trait IMMDeviceEnumerator_Impl: IUnknownImpl {
// 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: Ref<'_, IMMNotificationClient>,
) -> Result<()>;
fn UnregisterEndpointNotificationCallback(
&self,
pclient: Ref<'_, 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: Ref<'_, IMMNotificationClient>, ) -> Result<()>
fn UnregisterEndpointNotificationCallback( &self, pclient: Ref<'_, IMMNotificationClient>, ) -> Result<()>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.