pub struct IAudioSessionEvents(/* private fields */);Implementations§
Source§impl IAudioSessionEvents
impl IAudioSessionEvents
pub unsafe fn OnDisplayNameChanged<'a>( &self, newdisplayname: impl IntoParam<'a, PWSTR>, eventcontext: *mut Guid, ) -> HRESULT
pub unsafe fn OnIconPathChanged<'a>( &self, newiconpath: impl IntoParam<'a, PWSTR>, eventcontext: *mut Guid, ) -> HRESULT
pub unsafe fn OnSimpleVolumeChanged<'a>( &self, newvolume: f32, newmute: impl IntoParam<'a, BOOL>, eventcontext: *mut Guid, ) -> HRESULT
pub unsafe fn OnChannelVolumeChanged( &self, channelcount: u32, newchannelvolumearray: *mut f32, changedchannel: u32, eventcontext: *mut Guid, ) -> HRESULT
pub unsafe fn OnGroupingParamChanged( &self, newgroupingparam: *mut Guid, eventcontext: *mut Guid, ) -> HRESULT
pub unsafe fn OnStateChanged(&self, newstate: AudioSessionState) -> HRESULT
pub unsafe fn OnSessionDisconnected( &self, disconnectreason: AudioSessionDisconnectReason, ) -> HRESULT
Trait Implementations§
Source§impl Clone for IAudioSessionEvents
impl Clone for IAudioSessionEvents
Source§fn clone(&self) -> IAudioSessionEvents
fn clone(&self) -> IAudioSessionEvents
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 IAudioSessionEvents
impl Debug for IAudioSessionEvents
impl Eq for IAudioSessionEvents
Source§impl From<&IAudioSessionEvents> for IUnknown
impl From<&IAudioSessionEvents> for IUnknown
Source§fn from(value: &IAudioSessionEvents) -> Self
fn from(value: &IAudioSessionEvents) -> Self
Converts to this type from the input type.
Source§impl From<IAudioSessionEvents> for IUnknown
impl From<IAudioSessionEvents> for IUnknown
Source§fn from(value: IAudioSessionEvents) -> Self
fn from(value: IAudioSessionEvents) -> Self
Converts to this type from the input type.
Source§impl Interface for IAudioSessionEvents
impl Interface for IAudioSessionEvents
const IID: Guid
type Vtable = IAudioSessionEvents_abi
Source§impl<'a> IntoParam<'a, IUnknown> for IAudioSessionEvents
impl<'a> IntoParam<'a, IUnknown> for IAudioSessionEvents
fn into_param(self) -> Param<'a, IUnknown>
Source§impl<'a> IntoParam<'a, IUnknown> for &'a IAudioSessionEvents
impl<'a> IntoParam<'a, IUnknown> for &'a IAudioSessionEvents
fn into_param(self) -> Param<'a, IUnknown>
Source§impl PartialEq for IAudioSessionEvents
impl PartialEq for IAudioSessionEvents
impl StructuralPartialEq for IAudioSessionEvents
Auto Trait Implementations§
impl !Send for IAudioSessionEvents
impl !Sync for IAudioSessionEvents
impl Freeze for IAudioSessionEvents
impl RefUnwindSafe for IAudioSessionEvents
impl Unpin for IAudioSessionEvents
impl UnsafeUnpin for IAudioSessionEvents
impl UnwindSafe for IAudioSessionEvents
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