Struct audio_device_windows_sys::Windows::Win32::Audio::IDirectSoundCaptureBuffer8[][src]

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

Implementations

impl IDirectSoundCaptureBuffer8[src]

pub unsafe fn GetCaps(&self, pdscbcaps: *mut DSCBCAPS) -> HRESULT[src]

pub unsafe fn GetCurrentPosition(
    &self,
    pdwcaptureposition: *mut u32,
    pdwreadposition: *mut u32
) -> HRESULT
[src]

pub unsafe fn GetFormat(
    &self,
    pwfxformat: *mut WAVEFORMATEX,
    dwsizeallocated: u32,
    pdwsizewritten: *mut u32
) -> HRESULT
[src]

pub unsafe fn GetStatus(&self, pdwstatus: *mut u32) -> HRESULT[src]

pub unsafe fn Initialize<'a>(
    &self,
    pdirectsoundcapture: impl IntoParam<'a, IDirectSoundCapture>,
    pcdscbufferdesc: *mut DSCBUFFERDESC
) -> HRESULT
[src]

pub unsafe fn Lock(
    &self,
    dwoffset: u32,
    dwbytes: u32,
    ppvaudioptr1: *mut *mut c_void,
    pdwaudiobytes1: *mut u32,
    ppvaudioptr2: *mut *mut c_void,
    pdwaudiobytes2: *mut u32,
    dwflags: u32
) -> HRESULT
[src]

pub unsafe fn Start(&self, dwflags: u32) -> HRESULT[src]

pub unsafe fn Stop(&self) -> HRESULT[src]

pub unsafe fn Unlock(
    &self,
    pvaudioptr1: *mut c_void,
    dwaudiobytes1: u32,
    pvaudioptr2: *mut c_void,
    dwaudiobytes2: u32
) -> HRESULT
[src]

pub unsafe fn GetObjectInPath(
    &self,
    rguidobject: *const Guid,
    dwindex: u32,
    rguidinterface: *const Guid,
    ppobject: *mut *mut c_void
) -> HRESULT
[src]

pub unsafe fn GetFXStatus(
    &self,
    dweffectscount: u32,
    pdwfxstatus: *mut u32
) -> HRESULT
[src]

Trait Implementations

impl Clone for IDirectSoundCaptureBuffer8[src]

impl Debug for IDirectSoundCaptureBuffer8[src]

impl Eq for IDirectSoundCaptureBuffer8[src]

impl From<&'_ IDirectSoundCaptureBuffer8> for IDirectSoundCaptureBuffer[src]

impl From<IDirectSoundCaptureBuffer8> for IDirectSoundCaptureBuffer[src]

impl Interface for IDirectSoundCaptureBuffer8[src]

type Vtable = IDirectSoundCaptureBuffer8_abi

impl<'a> IntoParam<'a, IDirectSoundCaptureBuffer> for IDirectSoundCaptureBuffer8[src]

impl<'a> IntoParam<'a, IDirectSoundCaptureBuffer> for &'a IDirectSoundCaptureBuffer8[src]

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

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

impl PartialEq<IDirectSoundCaptureBuffer8> for IDirectSoundCaptureBuffer8[src]

impl StructuralEq for IDirectSoundCaptureBuffer8[src]

impl StructuralPartialEq for IDirectSoundCaptureBuffer8[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.