Struct audio_device_windows_sys::Windows::Win32::CoreAudio::IAudioSessionEvents [−][src]
Implementations
impl IAudioSessionEvents
[src]
pub unsafe fn OnDisplayNameChanged<'a>(
&self,
newdisplayname: impl IntoParam<'a, PWSTR>,
eventcontext: *mut Guid
) -> HRESULT
[src]
&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
[src]
&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
[src]
&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
[src]
&self,
channelcount: u32,
newchannelvolumearray: *mut f32,
changedchannel: u32,
eventcontext: *mut Guid
) -> HRESULT
pub unsafe fn OnGroupingParamChanged(
&self,
newgroupingparam: *mut Guid,
eventcontext: *mut Guid
) -> HRESULT
[src]
&self,
newgroupingparam: *mut Guid,
eventcontext: *mut Guid
) -> HRESULT
pub unsafe fn OnStateChanged(&self, newstate: AudioSessionState) -> HRESULT
[src]
pub unsafe fn OnSessionDisconnected(
&self,
disconnectreason: AudioSessionDisconnectReason
) -> HRESULT
[src]
&self,
disconnectreason: AudioSessionDisconnectReason
) -> HRESULT
Trait Implementations
impl Clone for IAudioSessionEvents
[src]
fn clone(&self) -> IAudioSessionEvents
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for IAudioSessionEvents
[src]
impl Eq for IAudioSessionEvents
[src]
impl Interface for IAudioSessionEvents
[src]
type Vtable = IAudioSessionEvents_abi
const IID: Guid
[src]
pub unsafe fn vtable(&self) -> &Self::Vtable
[src]
pub unsafe fn assume_vtable<T>(&self) -> &<T as Interface>::Vtable where
T: Interface,
[src]
T: Interface,
pub fn cast<T>(&self) -> Result<T, Error> where
T: Interface,
[src]
T: Interface,
impl<'a> IntoParam<'a, IUnknown> for IAudioSessionEvents
[src]
fn into_param(self) -> Param<'a, IUnknown>
[src]
impl<'a> IntoParam<'a, IUnknown> for &'a IAudioSessionEvents
[src]
fn into_param(self) -> Param<'a, IUnknown>
[src]
impl PartialEq<IAudioSessionEvents> for IAudioSessionEvents
[src]
fn eq(&self, other: &IAudioSessionEvents) -> bool
[src]
fn ne(&self, other: &IAudioSessionEvents) -> bool
[src]
impl StructuralEq for IAudioSessionEvents
[src]
impl StructuralPartialEq for IAudioSessionEvents
[src]
Auto Trait Implementations
impl RefUnwindSafe for IAudioSessionEvents
impl !Send for IAudioSessionEvents
impl !Sync for IAudioSessionEvents
impl Unpin for IAudioSessionEvents
impl UnwindSafe for IAudioSessionEvents
Blanket Implementations
impl<T> Abi for T where
T: Interface,
[src]
T: Interface,
type Abi = *mut c_void
The abi representation of the implementing type. Read more
pub fn set_abi(&mut self) -> *mut <T as Abi>::Abi
[src]
pub unsafe fn from_abi(abi: <T as Abi>::Abi) -> Result<T, Error>
[src]
pub fn abi(&self) -> Self::Abi
[src]
pub fn drop_param(&mut Param<'_, Self>)
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<'a, T> IntoParam<'a, T> for T where
T: Abi,
[src]
T: Abi,
pub fn into_param(self) -> Param<'a, T>
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,