IAudioEndpointVolumeVtbl

Struct IAudioEndpointVolumeVtbl 

Source
#[repr(C)]
pub struct IAudioEndpointVolumeVtbl {
Show 19 fields pub parent: IUnknownVtbl, pub RegisterControlChangeNotify: unsafe extern "system" fn(This: *mut IAudioEndpointVolume, pNotify: *mut IAudioEndpointVolumeCallback) -> HRESULT, pub UnregisterControlChangeNotify: unsafe extern "system" fn(This: *mut IAudioEndpointVolume, pNotify: *mut IAudioEndpointVolumeCallback) -> HRESULT, pub GetChannelCount: unsafe extern "system" fn(This: *mut IAudioEndpointVolume, pnChannelCount: *mut UINT) -> HRESULT, pub SetMasterVolumeLevel: unsafe extern "system" fn(This: *mut IAudioEndpointVolume, fLevelDB: c_float, pguidEventContext: LPCGUID) -> HRESULT, pub SetMasterVolumeLevelScalar: unsafe extern "system" fn(This: *mut IAudioEndpointVolume, fLevel: c_float, pguidEventContext: LPCGUID) -> HRESULT, pub GetMasterVolumeLevel: unsafe extern "system" fn(This: *mut IAudioEndpointVolume, pfLevelDB: *mut c_float) -> HRESULT, pub GetMasterVolumeLevelScalar: unsafe extern "system" fn(This: *mut IAudioEndpointVolume, pfLevel: *mut c_float) -> HRESULT, pub SetChannelVolumeLevel: unsafe extern "system" fn(This: *mut IAudioEndpointVolume, nChannel: UINT, fLevelDB: c_float, pguidEventContext: LPCGUID) -> HRESULT, pub SetChannelVolumeLevelScalar: unsafe extern "system" fn(This: *mut IAudioEndpointVolume, nChannel: UINT, fLevel: c_float, pguidEventContext: LPCGUID) -> HRESULT, pub GetChannelVolumeLevel: unsafe extern "system" fn(This: *mut IAudioEndpointVolume, nChannel: UINT, pfLevelDB: *mut c_float) -> HRESULT, pub GetChannelVolumeLevelScalar: unsafe extern "system" fn(This: *mut IAudioEndpointVolume, nChannel: UINT, pfLevel: *mut c_float) -> HRESULT, pub SetMute: unsafe extern "system" fn(This: *mut IAudioEndpointVolume, bMute: BOOL, pguidEventContext: LPCGUID) -> HRESULT, pub GetMute: unsafe extern "system" fn(This: *mut IAudioEndpointVolume, pbMute: *mut BOOL) -> HRESULT, pub GetVolumeStepInfo: unsafe extern "system" fn(This: *mut IAudioEndpointVolume, pnStep: *mut UINT, pnStepCount: *mut UINT) -> HRESULT, pub VolumeStepUp: unsafe extern "system" fn(This: *mut IAudioEndpointVolume, pguidEventContext: LPCGUID) -> HRESULT, pub VolumeStepDown: unsafe extern "system" fn(This: *mut IAudioEndpointVolume, pguidEventContext: LPCGUID) -> HRESULT, pub QueryHardwareSupport: unsafe extern "system" fn(This: *mut IAudioEndpointVolume, pdwHardwareSupportMask: *mut DWORD) -> HRESULT, pub GetVolumeRange: unsafe extern "system" fn(This: *mut IAudioEndpointVolume, pflVolumeMindB: *mut c_float, pflVolumeMaxdB: *mut c_float, pflVolumeIncrementdB: *mut c_float) -> HRESULT,
}

Fields§

§parent: IUnknownVtbl§RegisterControlChangeNotify: unsafe extern "system" fn(This: *mut IAudioEndpointVolume, pNotify: *mut IAudioEndpointVolumeCallback) -> HRESULT§UnregisterControlChangeNotify: unsafe extern "system" fn(This: *mut IAudioEndpointVolume, pNotify: *mut IAudioEndpointVolumeCallback) -> HRESULT§GetChannelCount: unsafe extern "system" fn(This: *mut IAudioEndpointVolume, pnChannelCount: *mut UINT) -> HRESULT§SetMasterVolumeLevel: unsafe extern "system" fn(This: *mut IAudioEndpointVolume, fLevelDB: c_float, pguidEventContext: LPCGUID) -> HRESULT§SetMasterVolumeLevelScalar: unsafe extern "system" fn(This: *mut IAudioEndpointVolume, fLevel: c_float, pguidEventContext: LPCGUID) -> HRESULT§GetMasterVolumeLevel: unsafe extern "system" fn(This: *mut IAudioEndpointVolume, pfLevelDB: *mut c_float) -> HRESULT§GetMasterVolumeLevelScalar: unsafe extern "system" fn(This: *mut IAudioEndpointVolume, pfLevel: *mut c_float) -> HRESULT§SetChannelVolumeLevel: unsafe extern "system" fn(This: *mut IAudioEndpointVolume, nChannel: UINT, fLevelDB: c_float, pguidEventContext: LPCGUID) -> HRESULT§SetChannelVolumeLevelScalar: unsafe extern "system" fn(This: *mut IAudioEndpointVolume, nChannel: UINT, fLevel: c_float, pguidEventContext: LPCGUID) -> HRESULT§GetChannelVolumeLevel: unsafe extern "system" fn(This: *mut IAudioEndpointVolume, nChannel: UINT, pfLevelDB: *mut c_float) -> HRESULT§GetChannelVolumeLevelScalar: unsafe extern "system" fn(This: *mut IAudioEndpointVolume, nChannel: UINT, pfLevel: *mut c_float) -> HRESULT§SetMute: unsafe extern "system" fn(This: *mut IAudioEndpointVolume, bMute: BOOL, pguidEventContext: LPCGUID) -> HRESULT§GetMute: unsafe extern "system" fn(This: *mut IAudioEndpointVolume, pbMute: *mut BOOL) -> HRESULT§GetVolumeStepInfo: unsafe extern "system" fn(This: *mut IAudioEndpointVolume, pnStep: *mut UINT, pnStepCount: *mut UINT) -> HRESULT§VolumeStepUp: unsafe extern "system" fn(This: *mut IAudioEndpointVolume, pguidEventContext: LPCGUID) -> HRESULT§VolumeStepDown: unsafe extern "system" fn(This: *mut IAudioEndpointVolume, pguidEventContext: LPCGUID) -> HRESULT§QueryHardwareSupport: unsafe extern "system" fn(This: *mut IAudioEndpointVolume, pdwHardwareSupportMask: *mut DWORD) -> HRESULT§GetVolumeRange: unsafe extern "system" fn(This: *mut IAudioEndpointVolume, pflVolumeMindB: *mut c_float, pflVolumeMaxdB: *mut c_float, pflVolumeIncrementdB: *mut c_float) -> HRESULT

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.