pub struct IAudioSessionControl(/* private fields */);Implementations§
Source§impl IAudioSessionControl
impl IAudioSessionControl
pub unsafe fn GetState(&self, pretval: *mut AudioSessionState) -> HRESULT
pub unsafe fn GetDisplayName(&self, pretval: *mut PWSTR) -> HRESULT
pub unsafe fn SetDisplayName<'a>( &self, value: impl IntoParam<'a, PWSTR>, eventcontext: *mut Guid, ) -> HRESULT
pub unsafe fn GetIconPath(&self, pretval: *mut PWSTR) -> HRESULT
pub unsafe fn SetIconPath<'a>( &self, value: impl IntoParam<'a, PWSTR>, eventcontext: *mut Guid, ) -> HRESULT
pub unsafe fn GetGroupingParam(&self, pretval: *mut Guid) -> HRESULT
pub unsafe fn SetGroupingParam( &self, override: *mut Guid, eventcontext: *mut Guid, ) -> HRESULT
pub unsafe fn RegisterAudioSessionNotification<'a>( &self, newnotifications: impl IntoParam<'a, IAudioSessionEvents>, ) -> HRESULT
pub unsafe fn UnregisterAudioSessionNotification<'a>( &self, newnotifications: impl IntoParam<'a, IAudioSessionEvents>, ) -> HRESULT
Trait Implementations§
Source§impl Clone for IAudioSessionControl
impl Clone for IAudioSessionControl
Source§fn clone(&self) -> IAudioSessionControl
fn clone(&self) -> IAudioSessionControl
Returns a duplicate 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 moreSource§impl Debug for IAudioSessionControl
impl Debug for IAudioSessionControl
Source§impl From<&IAudioSessionControl> for IUnknown
impl From<&IAudioSessionControl> for IUnknown
Source§fn from(value: &IAudioSessionControl) -> Self
fn from(value: &IAudioSessionControl) -> Self
Converts to this type from the input type.
Source§impl From<&IAudioSessionControl2> for IAudioSessionControl
impl From<&IAudioSessionControl2> for IAudioSessionControl
Source§fn from(value: &IAudioSessionControl2) -> Self
fn from(value: &IAudioSessionControl2) -> Self
Converts to this type from the input type.
Source§impl From<IAudioSessionControl> for IUnknown
impl From<IAudioSessionControl> for IUnknown
Source§fn from(value: IAudioSessionControl) -> Self
fn from(value: IAudioSessionControl) -> Self
Converts to this type from the input type.
Source§impl From<IAudioSessionControl2> for IAudioSessionControl
impl From<IAudioSessionControl2> for IAudioSessionControl
Source§fn from(value: IAudioSessionControl2) -> Self
fn from(value: IAudioSessionControl2) -> Self
Converts to this type from the input type.
Source§impl Interface for IAudioSessionControl
impl Interface for IAudioSessionControl
const IID: Guid
type Vtable = IAudioSessionControl_abi
Source§impl<'a> IntoParam<'a, IAudioSessionControl> for &'a IAudioSessionControl2
impl<'a> IntoParam<'a, IAudioSessionControl> for &'a IAudioSessionControl2
fn into_param(self) -> Param<'a, IAudioSessionControl>
Source§impl<'a> IntoParam<'a, IAudioSessionControl> for IAudioSessionControl2
impl<'a> IntoParam<'a, IAudioSessionControl> for IAudioSessionControl2
fn into_param(self) -> Param<'a, IAudioSessionControl>
Source§impl<'a> IntoParam<'a, IUnknown> for &'a IAudioSessionControl
impl<'a> IntoParam<'a, IUnknown> for &'a IAudioSessionControl
fn into_param(self) -> Param<'a, IUnknown>
Source§impl<'a> IntoParam<'a, IUnknown> for IAudioSessionControl
impl<'a> IntoParam<'a, IUnknown> for IAudioSessionControl
fn into_param(self) -> Param<'a, IUnknown>
Source§impl PartialEq for IAudioSessionControl
impl PartialEq for IAudioSessionControl
impl Eq for IAudioSessionControl
impl StructuralPartialEq for IAudioSessionControl
Auto Trait Implementations§
impl Freeze for IAudioSessionControl
impl RefUnwindSafe for IAudioSessionControl
impl !Send for IAudioSessionControl
impl !Sync for IAudioSessionControl
impl Unpin for IAudioSessionControl
impl UnwindSafe for IAudioSessionControl
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