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

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

Implementations

impl IAudioSessionControl[src]

pub unsafe fn GetState(&self, pretval: *mut AudioSessionState) -> HRESULT[src]

pub unsafe fn GetDisplayName(&self, pretval: *mut PWSTR) -> HRESULT[src]

pub unsafe fn SetDisplayName<'a>(
    &self,
    value: impl IntoParam<'a, PWSTR>,
    eventcontext: *mut Guid
) -> HRESULT
[src]

pub unsafe fn GetIconPath(&self, pretval: *mut PWSTR) -> HRESULT[src]

pub unsafe fn SetIconPath<'a>(
    &self,
    value: impl IntoParam<'a, PWSTR>,
    eventcontext: *mut Guid
) -> HRESULT
[src]

pub unsafe fn GetGroupingParam(&self, pretval: *mut Guid) -> HRESULT[src]

pub unsafe fn SetGroupingParam(
    &self,
    override: *mut Guid,
    eventcontext: *mut Guid
) -> HRESULT
[src]

pub unsafe fn RegisterAudioSessionNotification<'a>(
    &self,
    newnotifications: impl IntoParam<'a, IAudioSessionEvents>
) -> HRESULT
[src]

pub unsafe fn UnregisterAudioSessionNotification<'a>(
    &self,
    newnotifications: impl IntoParam<'a, IAudioSessionEvents>
) -> HRESULT
[src]

Trait Implementations

impl Clone for IAudioSessionControl[src]

impl Debug for IAudioSessionControl[src]

impl Eq for IAudioSessionControl[src]

impl From<&'_ IAudioSessionControl2> for IAudioSessionControl[src]

impl From<IAudioSessionControl2> for IAudioSessionControl[src]

impl Interface for IAudioSessionControl[src]

type Vtable = IAudioSessionControl_abi

impl<'a> IntoParam<'a, IAudioSessionControl> for IAudioSessionControl2[src]

impl<'a> IntoParam<'a, IAudioSessionControl> for &'a IAudioSessionControl2[src]

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

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

impl PartialEq<IAudioSessionControl> for IAudioSessionControl[src]

impl StructuralEq for IAudioSessionControl[src]

impl StructuralPartialEq for IAudioSessionControl[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.