pub struct IHardwareAudioEngineBase(/* private fields */);
Implementations§
§impl IHardwareAudioEngineBase
impl IHardwareAudioEngineBase
pub unsafe fn GetAvailableOffloadConnectorCount<P0>(
&self,
_pwstrdeviceid: P0,
_uconnectorid: u32
) -> Result<u32>where
P0: Param<PCWSTR>,
pub unsafe fn GetEngineFormat<P0, P1>( &self, pdevice: P0, _brequestdeviceformat: P1, _ppwfxformat: *mut *mut WAVEFORMATEX ) -> Result<()>
pub unsafe fn SetEngineDeviceFormat<P0>(
&self,
pdevice: P0,
_pwfxformat: *mut WAVEFORMATEX
) -> Result<()>where
P0: Param<IMMDevice>,
pub unsafe fn SetGfxState<P0, P1>( &self, pdevice: P0, _benable: P1 ) -> Result<()>
pub unsafe fn GetGfxState<P0>(&self, pdevice: P0) -> Result<BOOL>where
P0: Param<IMMDevice>,
Trait Implementations§
§impl Clone for IHardwareAudioEngineBase
impl Clone for IHardwareAudioEngineBase
§fn clone(&self) -> IHardwareAudioEngineBase
fn clone(&self) -> IHardwareAudioEngineBase
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 IHardwareAudioEngineBase
impl Debug for IHardwareAudioEngineBase
§impl Deref for IHardwareAudioEngineBase
impl Deref for IHardwareAudioEngineBase
§impl From<&IHardwareAudioEngineBase> for &IUnknown
impl From<&IHardwareAudioEngineBase> for &IUnknown
§fn from(value: &IHardwareAudioEngineBase) -> Self
fn from(value: &IHardwareAudioEngineBase) -> Self
Converts to this type from the input type.
§impl From<IHardwareAudioEngineBase> for IUnknown
impl From<IHardwareAudioEngineBase> for IUnknown
§fn from(value: IHardwareAudioEngineBase) -> Self
fn from(value: IHardwareAudioEngineBase) -> Self
Converts to this type from the input type.
§impl Interface for IHardwareAudioEngineBase
impl Interface for IHardwareAudioEngineBase
§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 IHardwareAudioEngineBase
impl PartialEq for IHardwareAudioEngineBase
§fn eq(&self, other: &IHardwareAudioEngineBase) -> bool
fn eq(&self, other: &IHardwareAudioEngineBase) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IHardwareAudioEngineBase
impl StructuralPartialEq for IHardwareAudioEngineBase
Auto Trait Implementations§
impl Freeze for IHardwareAudioEngineBase
impl RefUnwindSafe for IHardwareAudioEngineBase
impl !Send for IHardwareAudioEngineBase
impl !Sync for IHardwareAudioEngineBase
impl Unpin for IHardwareAudioEngineBase
impl UnwindSafe for IHardwareAudioEngineBase
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