Struct wasapi::Windows::Win32::Media::Audio::CoreAudio::IAudioSessionControl [−][src]
#[repr(transparent)]pub struct IAudioSessionControl(_);
Implementations
pub unsafe fn SetDisplayName<'a>(
&self,
value: impl IntoParam<'a, PWSTR>,
eventcontext: *const Guid
) -> Result<()>
pub unsafe fn SetIconPath<'a>(
&self,
value: impl IntoParam<'a, PWSTR>,
eventcontext: *const Guid
) -> Result<()>
pub unsafe fn SetGroupingParam(
&self,
override: *const Guid,
eventcontext: *const Guid
) -> Result<()>
pub unsafe fn RegisterAudioSessionNotification<'a>(
&self,
newnotifications: impl IntoParam<'a, IAudioSessionEvents>
) -> Result<()>
pub unsafe fn UnregisterAudioSessionNotification<'a>(
&self,
newnotifications: impl IntoParam<'a, IAudioSessionEvents>
) -> Result<()>
Trait Implementations
Performs the conversion.
Performs the conversion.
type Vtable = IAudioSessionControl_abi
unsafe fn vtable(&self) -> &Self::Vtable
unsafe fn vtable(&self) -> &Self::Vtable
Returns the vtable for the current interface.
unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtable where
T: Interface,
unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtable where
T: Interface,
Returns the vtable for an assumed interface. The name comes from Box::assume_init()
as
it assumes the vtable is implemented by the current interface’s vtable (e.g. a parent interface). Read more
Attempts to cast the current interface to another interface using QueryInterface
.
The name cast
is preferred to query
because there is a WinRT method named query but not one
named cast. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for IAudioSessionControl
impl !Send for IAudioSessionControl
impl !Sync for IAudioSessionControl
impl Unpin for IAudioSessionControl
impl UnwindSafe for IAudioSessionControl
Blanket Implementations
Returns a pointer for setting the object’s value via an ABI call.
Casts the ABI representation to a Rust object by taking ownership of the bits.
fn abi(&self) -> Self::Abi
fn abi(&self) -> Self::Abi
Casts the Rust object to its ABI type without copying the object.
fn drop_param(&mut Param<'_, Self>)
Mutably borrows from an owned value. Read more
pub fn into_param(self) -> Param<'a, T>