[][src]Struct winapi::um::endpointvolume::IAudioEndpointVolume

#[repr(C)]
pub struct IAudioEndpointVolume { pub lpVtbl: *const IAudioEndpointVolumeVtbl, }

Fields

lpVtbl: *const IAudioEndpointVolumeVtbl

Methods

impl IAudioEndpointVolume[src]

pub unsafe fn RegisterControlChangeNotify(
    &self,
    pNotify: *mut IAudioEndpointVolumeCallback
) -> HRESULT
[src]

pub unsafe fn UnregisterControlChangeNotify(
    &self,
    pNotify: *mut IAudioEndpointVolumeCallback
) -> HRESULT
[src]

pub unsafe fn GetChannelCount(&self, pnChannelCount: *mut UINT) -> HRESULT[src]

pub unsafe fn SetMasterVolumeLevel(
    &self,
    fLevelDB: c_float,
    pguidEventContext: LPCGUID
) -> HRESULT
[src]

pub unsafe fn SetMasterVolumeLevelScalar(
    &self,
    fLevel: c_float,
    pguidEventContext: LPCGUID
) -> HRESULT
[src]

pub unsafe fn GetMasterVolumeLevel(&self, pfLevelDB: *mut c_float) -> HRESULT[src]

pub unsafe fn GetMasterVolumeLevelScalar(
    &self,
    pfLevel: *mut c_float
) -> HRESULT
[src]

pub unsafe fn SetChannelVolumeLevel(
    &self,
    nChannel: UINT,
    fLevelDB: c_float,
    pguidEventContext: LPCGUID
) -> HRESULT
[src]

pub unsafe fn SetChannelVolumeLevelScalar(
    &self,
    nChannel: UINT,
    fLevel: c_float,
    pguidEventContext: LPCGUID
) -> HRESULT
[src]

pub unsafe fn GetChannelVolumeLevel(
    &self,
    nChannel: UINT,
    pfLevelDB: *mut c_float
) -> HRESULT
[src]

pub unsafe fn GetChannelVolumeLevelScalar(
    &self,
    nChannel: UINT,
    pfLevel: *mut c_float
) -> HRESULT
[src]

pub unsafe fn SetMute(&self, bMute: BOOL, pguidEventContext: LPCGUID) -> HRESULT[src]

pub unsafe fn GetMute(&self, pbMute: *mut BOOL) -> HRESULT[src]

pub unsafe fn GetVolumeStepInfo(
    &self,
    pnStep: *mut UINT,
    pnStepCount: *mut UINT
) -> HRESULT
[src]

pub unsafe fn VolumeStepUp(&self, pguidEventContext: LPCGUID) -> HRESULT[src]

pub unsafe fn VolumeStepDown(&self, pguidEventContext: LPCGUID) -> HRESULT[src]

pub unsafe fn QueryHardwareSupport(
    &self,
    pdwHardwareSupportMask: *mut DWORD
) -> HRESULT
[src]

pub unsafe fn GetVolumeRange(
    &self,
    pflVolumeMindB: *mut c_float,
    pflVolumeMaxdB: *mut c_float,
    pflVolumeIncrementdB: *mut c_float
) -> HRESULT
[src]

Methods from Deref<Target = IUnknown>

pub unsafe fn QueryInterface(
    &self,
    riid: REFIID,
    ppvObject: *mut *mut c_void
) -> HRESULT
[src]

pub unsafe fn AddRef(&self) -> ULONG[src]

pub unsafe fn Release(&self) -> ULONG[src]

Trait Implementations

impl Interface for IAudioEndpointVolume[src]

impl Deref for IAudioEndpointVolume[src]

type Target = IUnknown

The resulting type after dereferencing.

Auto Trait Implementations

Blanket Implementations

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.

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

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

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

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