Struct windows::Win32::Media::Audio::DirectSound::IDirectSoundFullDuplex
pub struct IDirectSoundFullDuplex(/* private fields */);
Implementations§
§impl IDirectSoundFullDuplex
impl IDirectSoundFullDuplex
pub unsafe fn Initialize<P0>(
&self,
pcaptureguid: *const GUID,
prenderguid: *const GUID,
lpdscbufferdesc: *const DSCBUFFERDESC,
lpdsbufferdesc: *const DSBUFFERDESC,
hwnd: P0,
dwlevel: u32,
lplpdirectsoundcapturebuffer8: *mut Option<IDirectSoundCaptureBuffer8>,
lplpdirectsoundbuffer8: *mut Option<IDirectSoundBuffer8>
) -> Result<()>where
P0: Param<HWND>,
Trait Implementations§
§impl Clone for IDirectSoundFullDuplex
impl Clone for IDirectSoundFullDuplex
§fn clone(&self) -> IDirectSoundFullDuplex
fn clone(&self) -> IDirectSoundFullDuplex
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for IDirectSoundFullDuplex
impl Debug for IDirectSoundFullDuplex
§impl Deref for IDirectSoundFullDuplex
impl Deref for IDirectSoundFullDuplex
§impl From<&IDirectSoundFullDuplex> for &IUnknown
impl From<&IDirectSoundFullDuplex> for &IUnknown
§fn from(value: &IDirectSoundFullDuplex) -> Self
fn from(value: &IDirectSoundFullDuplex) -> Self
Converts to this type from the input type.
§impl From<IDirectSoundFullDuplex> for IUnknown
impl From<IDirectSoundFullDuplex> for IUnknown
§fn from(value: IDirectSoundFullDuplex) -> Self
fn from(value: IDirectSoundFullDuplex) -> Self
Converts to this type from the input type.
§impl Interface for IDirectSoundFullDuplex
impl Interface for IDirectSoundFullDuplex
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§impl PartialEq for IDirectSoundFullDuplex
impl PartialEq for IDirectSoundFullDuplex
§fn eq(&self, other: &IDirectSoundFullDuplex) -> bool
fn eq(&self, other: &IDirectSoundFullDuplex) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IDirectSoundFullDuplex
impl StructuralPartialEq for IDirectSoundFullDuplex
Auto Trait Implementations§
impl Freeze for IDirectSoundFullDuplex
impl RefUnwindSafe for IDirectSoundFullDuplex
impl !Send for IDirectSoundFullDuplex
impl !Sync for IDirectSoundFullDuplex
impl Unpin for IDirectSoundFullDuplex
impl UnwindSafe for IDirectSoundFullDuplex
Blanket Implementations§
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