Struct audio_device_windows_sys::Windows::Win32::Audio::IDirectSoundCaptureBuffer8 [−][src]
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]
&self,
pdwcaptureposition: *mut u32,
pdwreadposition: *mut u32
) -> HRESULT
pub unsafe fn GetFormat(
&self,
pwfxformat: *mut WAVEFORMATEX,
dwsizeallocated: u32,
pdwsizewritten: *mut u32
) -> HRESULT
[src]
&self,
pwfxformat: *mut WAVEFORMATEX,
dwsizeallocated: u32,
pdwsizewritten: *mut u32
) -> HRESULT
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]
&self,
pdirectsoundcapture: impl IntoParam<'a, IDirectSoundCapture>,
pcdscbufferdesc: *mut DSCBUFFERDESC
) -> HRESULT
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]
&self,
dwoffset: u32,
dwbytes: u32,
ppvaudioptr1: *mut *mut c_void,
pdwaudiobytes1: *mut u32,
ppvaudioptr2: *mut *mut c_void,
pdwaudiobytes2: *mut u32,
dwflags: u32
) -> HRESULT
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]
&self,
pvaudioptr1: *mut c_void,
dwaudiobytes1: u32,
pvaudioptr2: *mut c_void,
dwaudiobytes2: u32
) -> HRESULT
pub unsafe fn GetObjectInPath(
&self,
rguidobject: *const Guid,
dwindex: u32,
rguidinterface: *const Guid,
ppobject: *mut *mut c_void
) -> HRESULT
[src]
&self,
rguidobject: *const Guid,
dwindex: u32,
rguidinterface: *const Guid,
ppobject: *mut *mut c_void
) -> HRESULT
pub unsafe fn GetFXStatus(
&self,
dweffectscount: u32,
pdwfxstatus: *mut u32
) -> HRESULT
[src]
&self,
dweffectscount: u32,
pdwfxstatus: *mut u32
) -> HRESULT
Trait Implementations
impl Clone for IDirectSoundCaptureBuffer8
[src]
fn clone(&self) -> IDirectSoundCaptureBuffer8
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for IDirectSoundCaptureBuffer8
[src]
impl Eq for IDirectSoundCaptureBuffer8
[src]
impl From<&'_ IDirectSoundCaptureBuffer8> for IDirectSoundCaptureBuffer
[src]
fn from(value: &IDirectSoundCaptureBuffer8) -> Self
[src]
impl From<IDirectSoundCaptureBuffer8> for IDirectSoundCaptureBuffer
[src]
fn from(value: IDirectSoundCaptureBuffer8) -> Self
[src]
impl Interface for IDirectSoundCaptureBuffer8
[src]
type Vtable = IDirectSoundCaptureBuffer8_abi
const IID: Guid
[src]
pub unsafe fn vtable(&self) -> &Self::Vtable
[src]
pub unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtable where
T: Interface,
[src]
T: Interface,
pub fn cast<T>(&self) -> Result<T, Error> where
T: Interface,
[src]
T: Interface,
impl<'a> IntoParam<'a, IDirectSoundCaptureBuffer> for IDirectSoundCaptureBuffer8
[src]
fn into_param(self) -> Param<'a, IDirectSoundCaptureBuffer>
[src]
impl<'a> IntoParam<'a, IDirectSoundCaptureBuffer> for &'a IDirectSoundCaptureBuffer8
[src]
fn into_param(self) -> Param<'a, IDirectSoundCaptureBuffer>
[src]
impl<'a> IntoParam<'a, IUnknown> for IDirectSoundCaptureBuffer8
[src]
fn into_param(self) -> Param<'a, IUnknown>
[src]
impl<'a> IntoParam<'a, IUnknown> for &'a IDirectSoundCaptureBuffer8
[src]
fn into_param(self) -> Param<'a, IUnknown>
[src]
impl PartialEq<IDirectSoundCaptureBuffer8> for IDirectSoundCaptureBuffer8
[src]
fn eq(&self, other: &IDirectSoundCaptureBuffer8) -> bool
[src]
fn ne(&self, other: &IDirectSoundCaptureBuffer8) -> bool
[src]
impl StructuralEq for IDirectSoundCaptureBuffer8
[src]
impl StructuralPartialEq for IDirectSoundCaptureBuffer8
[src]
Auto Trait Implementations
impl RefUnwindSafe for IDirectSoundCaptureBuffer8
impl !Send for IDirectSoundCaptureBuffer8
impl !Sync for IDirectSoundCaptureBuffer8
impl Unpin for IDirectSoundCaptureBuffer8
impl UnwindSafe for IDirectSoundCaptureBuffer8
Blanket Implementations
impl<T> Abi for T where
T: Interface,
[src]
T: Interface,
type Abi = *mut c_void
The abi representation of the implementing type. Read more
pub fn set_abi(&mut self) -> *mut <T as Abi>::Abi
[src]
pub unsafe fn from_abi(abi: <T as Abi>::Abi) -> Result<T, Error>
[src]
pub fn abi(&self) -> Self::Abi
[src]
pub fn drop_param(&mut Param<'_, Self>)
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<'a, T> IntoParam<'a, T> for T where
T: Abi,
[src]
T: Abi,
pub fn into_param(self) -> Param<'a, T>
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,