Struct windows::Win32::Media::DirectShow::IAMDirectSound
pub struct IAMDirectSound(/* private fields */);
Implementations§
§impl IAMDirectSound
impl IAMDirectSound
pub unsafe fn GetDirectSoundInterface(&self) -> Result<IDirectSound>
pub unsafe fn GetPrimaryBufferInterface(&self) -> Result<IDirectSoundBuffer>
pub unsafe fn GetSecondaryBufferInterface(&self) -> Result<IDirectSoundBuffer>
pub unsafe fn ReleaseDirectSoundInterface<P0>(&self, lpds: P0) -> Result<()>where
P0: IntoParam<IDirectSound>,
pub unsafe fn ReleasePrimaryBufferInterface<P0>(&self, lpdsb: P0) -> Result<()>where
P0: IntoParam<IDirectSoundBuffer>,
pub unsafe fn ReleaseSecondaryBufferInterface<P0>(
&self,
lpdsb: P0
) -> Result<()>where
P0: IntoParam<IDirectSoundBuffer>,
pub unsafe fn SetFocusWindow<P0, P1>( &self, param0: P0, param1: P1 ) -> Result<()>
pub unsafe fn GetFocusWindow( &self, param0: *mut HWND, param1: *mut BOOL ) -> Result<()>
Trait Implementations§
§impl Clone for IAMDirectSound
impl Clone for IAMDirectSound
§fn clone(&self) -> IAMDirectSound
fn clone(&self) -> IAMDirectSound
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 IAMDirectSound
impl Debug for IAMDirectSound
§impl From<&IAMDirectSound> for &IUnknown
impl From<&IAMDirectSound> for &IUnknown
§fn from(value: &IAMDirectSound) -> Self
fn from(value: &IAMDirectSound) -> Self
Converts to this type from the input type.
§impl From<IAMDirectSound> for IUnknown
impl From<IAMDirectSound> for IUnknown
§fn from(value: IAMDirectSound) -> Self
fn from(value: IAMDirectSound) -> Self
Converts to this type from the input type.
§impl Interface for IAMDirectSound
impl Interface for IAMDirectSound
§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 IAMDirectSound
impl PartialEq for IAMDirectSound
§fn eq(&self, other: &IAMDirectSound) -> bool
fn eq(&self, other: &IAMDirectSound) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IAMDirectSound
impl StructuralPartialEq for IAMDirectSound
Auto Trait Implementations§
impl RefUnwindSafe for IAMDirectSound
impl !Send for IAMDirectSound
impl !Sync for IAMDirectSound
impl Unpin for IAMDirectSound
impl UnwindSafe for IAMDirectSound
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