Struct audio_device_windows_sys::Windows::Win32::CoreAudio::IAudioSessionManager2[][src]

#[repr(transparent)]pub struct IAudioSessionManager2(_);

Implementations

impl IAudioSessionManager2[src]

pub unsafe fn GetAudioSessionControl(
    &self,
    audiosessionguid: *mut Guid,
    streamflags: u32,
    sessioncontrol: *mut Option<IAudioSessionControl>
) -> HRESULT
[src]

pub unsafe fn GetSimpleAudioVolume(
    &self,
    audiosessionguid: *mut Guid,
    streamflags: u32,
    audiovolume: *mut Option<ISimpleAudioVolume>
) -> HRESULT
[src]

pub unsafe fn GetSessionEnumerator(
    &self,
    sessionenum: *mut Option<IAudioSessionEnumerator>
) -> HRESULT
[src]

pub unsafe fn RegisterSessionNotification<'a>(
    &self,
    sessionnotification: impl IntoParam<'a, IAudioSessionNotification>
) -> HRESULT
[src]

pub unsafe fn UnregisterSessionNotification<'a>(
    &self,
    sessionnotification: impl IntoParam<'a, IAudioSessionNotification>
) -> HRESULT
[src]

pub unsafe fn RegisterDuckNotification<'a>(
    &self,
    sessionid: impl IntoParam<'a, PWSTR>,
    ducknotification: impl IntoParam<'a, IAudioVolumeDuckNotification>
) -> HRESULT
[src]

pub unsafe fn UnregisterDuckNotification<'a>(
    &self,
    ducknotification: impl IntoParam<'a, IAudioVolumeDuckNotification>
) -> HRESULT
[src]

Trait Implementations

impl Clone for IAudioSessionManager2[src]

impl Debug for IAudioSessionManager2[src]

impl Eq for IAudioSessionManager2[src]

impl From<&'_ IAudioSessionManager2> for IAudioSessionManager[src]

impl From<IAudioSessionManager2> for IAudioSessionManager[src]

impl Interface for IAudioSessionManager2[src]

type Vtable = IAudioSessionManager2_abi

impl<'a> IntoParam<'a, IAudioSessionManager> for IAudioSessionManager2[src]

impl<'a> IntoParam<'a, IAudioSessionManager> for &'a IAudioSessionManager2[src]

impl<'a> IntoParam<'a, IUnknown> for IAudioSessionManager2[src]

impl<'a> IntoParam<'a, IUnknown> for &'a IAudioSessionManager2[src]

impl PartialEq<IAudioSessionManager2> for IAudioSessionManager2[src]

impl StructuralEq for IAudioSessionManager2[src]

impl StructuralPartialEq for IAudioSessionManager2[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Abi for T where
    T: Interface
[src]

type Abi = *mut c_void

The abi representation of the implementing type. Read more

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<'a, T> IntoParam<'a, T> for T where
    T: Abi
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.