#[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§
impl Freeze for IAudioEndpointVolumeVtbl
impl RefUnwindSafe for IAudioEndpointVolumeVtbl
impl Send for IAudioEndpointVolumeVtbl
impl Sync for IAudioEndpointVolumeVtbl
impl Unpin for IAudioEndpointVolumeVtbl
impl UnwindSafe for IAudioEndpointVolumeVtbl
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more