windows::Win32::Media::Audio::DirectSound

Trait IDirectSoundCapture_Impl

pub trait IDirectSoundCapture_Impl: IUnknownImpl {
    // Required methods
    fn CreateCaptureBuffer(
        &self,
        pcdscbufferdesc: *const DSCBUFFERDESC,
        ppdscbuffer: OutRef<'_, IDirectSoundCaptureBuffer>,
        punkouter: Ref<'_, IUnknown>,
    ) -> Result<()>;
    fn GetCaps(&self) -> Result<DSCCAPS>;
    fn Initialize(&self, pcguiddevice: *const GUID) -> Result<()>;
}

Required Methods§

fn CreateCaptureBuffer( &self, pcdscbufferdesc: *const DSCBUFFERDESC, ppdscbuffer: OutRef<'_, IDirectSoundCaptureBuffer>, punkouter: Ref<'_, IUnknown>, ) -> Result<()>

fn GetCaps(&self) -> Result<DSCCAPS>

fn Initialize(&self, pcguiddevice: *const GUID) -> 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.

Implementors§