pub struct IAudioSessionManager2(/* private fields */);Implementations§
Source§impl IAudioSessionManager2
impl IAudioSessionManager2
pub unsafe fn GetAudioSessionControl( &self, audiosessionguid: *mut Guid, streamflags: u32, sessioncontrol: *mut Option<IAudioSessionControl>, ) -> HRESULT
pub unsafe fn GetSimpleAudioVolume( &self, audiosessionguid: *mut Guid, streamflags: u32, audiovolume: *mut Option<ISimpleAudioVolume>, ) -> HRESULT
pub unsafe fn GetSessionEnumerator( &self, sessionenum: *mut Option<IAudioSessionEnumerator>, ) -> HRESULT
pub unsafe fn RegisterSessionNotification<'a>( &self, sessionnotification: impl IntoParam<'a, IAudioSessionNotification>, ) -> HRESULT
pub unsafe fn UnregisterSessionNotification<'a>( &self, sessionnotification: impl IntoParam<'a, IAudioSessionNotification>, ) -> HRESULT
pub unsafe fn RegisterDuckNotification<'a>( &self, sessionid: impl IntoParam<'a, PWSTR>, ducknotification: impl IntoParam<'a, IAudioVolumeDuckNotification>, ) -> HRESULT
pub unsafe fn UnregisterDuckNotification<'a>( &self, ducknotification: impl IntoParam<'a, IAudioVolumeDuckNotification>, ) -> HRESULT
Trait Implementations§
Source§impl Clone for IAudioSessionManager2
impl Clone for IAudioSessionManager2
Source§fn clone(&self) -> IAudioSessionManager2
fn clone(&self) -> IAudioSessionManager2
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 IAudioSessionManager2
impl Debug for IAudioSessionManager2
impl Eq for IAudioSessionManager2
Source§impl From<&IAudioSessionManager2> for IUnknown
impl From<&IAudioSessionManager2> for IUnknown
Source§fn from(value: &IAudioSessionManager2) -> Self
fn from(value: &IAudioSessionManager2) -> Self
Converts to this type from the input type.
Source§impl From<&IAudioSessionManager2> for IAudioSessionManager
impl From<&IAudioSessionManager2> for IAudioSessionManager
Source§fn from(value: &IAudioSessionManager2) -> Self
fn from(value: &IAudioSessionManager2) -> Self
Converts to this type from the input type.
Source§impl From<IAudioSessionManager2> for IUnknown
impl From<IAudioSessionManager2> for IUnknown
Source§fn from(value: IAudioSessionManager2) -> Self
fn from(value: IAudioSessionManager2) -> Self
Converts to this type from the input type.
Source§impl From<IAudioSessionManager2> for IAudioSessionManager
impl From<IAudioSessionManager2> for IAudioSessionManager
Source§fn from(value: IAudioSessionManager2) -> Self
fn from(value: IAudioSessionManager2) -> Self
Converts to this type from the input type.
Source§impl Interface for IAudioSessionManager2
impl Interface for IAudioSessionManager2
const IID: Guid
type Vtable = IAudioSessionManager2_abi
Source§impl<'a> IntoParam<'a, IAudioSessionManager> for IAudioSessionManager2
impl<'a> IntoParam<'a, IAudioSessionManager> for IAudioSessionManager2
fn into_param(self) -> Param<'a, IAudioSessionManager>
Source§impl<'a> IntoParam<'a, IAudioSessionManager> for &'a IAudioSessionManager2
impl<'a> IntoParam<'a, IAudioSessionManager> for &'a IAudioSessionManager2
fn into_param(self) -> Param<'a, IAudioSessionManager>
Source§impl<'a> IntoParam<'a, IUnknown> for IAudioSessionManager2
impl<'a> IntoParam<'a, IUnknown> for IAudioSessionManager2
fn into_param(self) -> Param<'a, IUnknown>
Source§impl<'a> IntoParam<'a, IUnknown> for &'a IAudioSessionManager2
impl<'a> IntoParam<'a, IUnknown> for &'a IAudioSessionManager2
fn into_param(self) -> Param<'a, IUnknown>
Source§impl PartialEq for IAudioSessionManager2
impl PartialEq for IAudioSessionManager2
impl StructuralPartialEq for IAudioSessionManager2
Auto Trait Implementations§
impl !Send for IAudioSessionManager2
impl !Sync for IAudioSessionManager2
impl Freeze for IAudioSessionManager2
impl RefUnwindSafe for IAudioSessionManager2
impl Unpin for IAudioSessionManager2
impl UnsafeUnpin for IAudioSessionManager2
impl UnwindSafe for IAudioSessionManager2
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