windows::Win32::Media::Audio::Endpoints

Trait IHardwareAudioEngineBase_Impl

pub trait IHardwareAudioEngineBase_Impl: IUnknownImpl {
    // Required methods
    fn GetAvailableOffloadConnectorCount(
        &self,
        _pwstrdeviceid: &PCWSTR,
        _uconnectorid: u32,
    ) -> Result<u32>;
    fn GetEngineFormat(
        &self,
        pdevice: Ref<'_, IMMDevice>,
        _brequestdeviceformat: BOOL,
        _ppwfxformat: *mut *mut WAVEFORMATEX,
    ) -> Result<()>;
    fn SetEngineDeviceFormat(
        &self,
        pdevice: Ref<'_, IMMDevice>,
        _pwfxformat: *mut WAVEFORMATEX,
    ) -> Result<()>;
    fn SetGfxState(
        &self,
        pdevice: Ref<'_, IMMDevice>,
        _benable: BOOL,
    ) -> Result<()>;
    fn GetGfxState(&self, pdevice: Ref<'_, IMMDevice>) -> Result<BOOL>;
}

Required Methods§

fn GetAvailableOffloadConnectorCount( &self, _pwstrdeviceid: &PCWSTR, _uconnectorid: u32, ) -> Result<u32>

fn GetEngineFormat( &self, pdevice: Ref<'_, IMMDevice>, _brequestdeviceformat: BOOL, _ppwfxformat: *mut *mut WAVEFORMATEX, ) -> Result<()>

fn SetEngineDeviceFormat( &self, pdevice: Ref<'_, IMMDevice>, _pwfxformat: *mut WAVEFORMATEX, ) -> Result<()>

fn SetGfxState(&self, pdevice: Ref<'_, IMMDevice>, _benable: BOOL) -> Result<()>

fn GetGfxState(&self, pdevice: Ref<'_, IMMDevice>) -> Result<BOOL>

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.

Implementors§