pub struct IDirectSoundCaptureBuffer(/* private fields */);Implementations§
Source§impl IDirectSoundCaptureBuffer
impl IDirectSoundCaptureBuffer
pub unsafe fn GetCaps(&self, pdscbcaps: *mut DSCBCAPS) -> HRESULT
pub unsafe fn GetCurrentPosition( &self, pdwcaptureposition: *mut u32, pdwreadposition: *mut u32, ) -> HRESULT
pub unsafe fn GetFormat( &self, pwfxformat: *mut WAVEFORMATEX, dwsizeallocated: u32, pdwsizewritten: *mut u32, ) -> HRESULT
pub unsafe fn GetStatus(&self, pdwstatus: *mut u32) -> HRESULT
pub unsafe fn Initialize<'a>( &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
pub unsafe fn Start(&self, dwflags: u32) -> HRESULT
pub unsafe fn Stop(&self) -> HRESULT
pub unsafe fn Unlock( &self, pvaudioptr1: *mut c_void, dwaudiobytes1: u32, pvaudioptr2: *mut c_void, dwaudiobytes2: u32, ) -> HRESULT
Trait Implementations§
Source§impl Clone for IDirectSoundCaptureBuffer
impl Clone for IDirectSoundCaptureBuffer
Source§fn clone(&self) -> IDirectSoundCaptureBuffer
fn clone(&self) -> IDirectSoundCaptureBuffer
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IDirectSoundCaptureBuffer
impl Debug for IDirectSoundCaptureBuffer
impl Eq for IDirectSoundCaptureBuffer
Source§impl From<&IDirectSoundCaptureBuffer8> for IDirectSoundCaptureBuffer
impl From<&IDirectSoundCaptureBuffer8> for IDirectSoundCaptureBuffer
Source§fn from(value: &IDirectSoundCaptureBuffer8) -> Self
fn from(value: &IDirectSoundCaptureBuffer8) -> Self
Converts to this type from the input type.
Source§impl From<&IDirectSoundCaptureBuffer> for IUnknown
impl From<&IDirectSoundCaptureBuffer> for IUnknown
Source§fn from(value: &IDirectSoundCaptureBuffer) -> Self
fn from(value: &IDirectSoundCaptureBuffer) -> Self
Converts to this type from the input type.
Source§impl From<IDirectSoundCaptureBuffer8> for IDirectSoundCaptureBuffer
impl From<IDirectSoundCaptureBuffer8> for IDirectSoundCaptureBuffer
Source§fn from(value: IDirectSoundCaptureBuffer8) -> Self
fn from(value: IDirectSoundCaptureBuffer8) -> Self
Converts to this type from the input type.
Source§impl From<IDirectSoundCaptureBuffer> for IUnknown
impl From<IDirectSoundCaptureBuffer> for IUnknown
Source§fn from(value: IDirectSoundCaptureBuffer) -> Self
fn from(value: IDirectSoundCaptureBuffer) -> Self
Converts to this type from the input type.
Source§impl Interface for IDirectSoundCaptureBuffer
impl Interface for IDirectSoundCaptureBuffer
const IID: Guid
type Vtable = IDirectSoundCaptureBuffer_abi
Source§impl<'a> IntoParam<'a, IDirectSoundCaptureBuffer> for IDirectSoundCaptureBuffer8
impl<'a> IntoParam<'a, IDirectSoundCaptureBuffer> for IDirectSoundCaptureBuffer8
fn into_param(self) -> Param<'a, IDirectSoundCaptureBuffer>
Source§impl<'a> IntoParam<'a, IDirectSoundCaptureBuffer> for &'a IDirectSoundCaptureBuffer8
impl<'a> IntoParam<'a, IDirectSoundCaptureBuffer> for &'a IDirectSoundCaptureBuffer8
fn into_param(self) -> Param<'a, IDirectSoundCaptureBuffer>
Source§impl<'a> IntoParam<'a, IUnknown> for IDirectSoundCaptureBuffer
impl<'a> IntoParam<'a, IUnknown> for IDirectSoundCaptureBuffer
fn into_param(self) -> Param<'a, IUnknown>
Source§impl<'a> IntoParam<'a, IUnknown> for &'a IDirectSoundCaptureBuffer
impl<'a> IntoParam<'a, IUnknown> for &'a IDirectSoundCaptureBuffer
fn into_param(self) -> Param<'a, IUnknown>
impl StructuralPartialEq for IDirectSoundCaptureBuffer
Auto Trait Implementations§
impl !Send for IDirectSoundCaptureBuffer
impl !Sync for IDirectSoundCaptureBuffer
impl Freeze for IDirectSoundCaptureBuffer
impl RefUnwindSafe for IDirectSoundCaptureBuffer
impl Unpin for IDirectSoundCaptureBuffer
impl UnsafeUnpin for IDirectSoundCaptureBuffer
impl UnwindSafe for IDirectSoundCaptureBuffer
Blanket Implementations§
Source§impl<T> Abi for Twhere
T: Interface,
impl<T> Abi for Twhere
T: Interface,
Source§fn set_abi(&mut self) -> *mut <T as Abi>::Abi
fn set_abi(&mut self) -> *mut <T as Abi>::Abi
Returns a pointer for setting the object’s value via an ABI call.
Source§unsafe fn from_abi(abi: <T as Abi>::Abi) -> Result<T, Error>
unsafe fn from_abi(abi: <T as Abi>::Abi) -> Result<T, Error>
Casts the ABI representation to a Rust object by taking ownership of the bits.
fn drop_param(_: &mut Param<'_, Self>)
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more