Struct IAudioEndpointVolume_Vtbl
#[repr(C)]pub struct IAudioEndpointVolume_Vtbl {Show 19 fields
pub base__: IUnknown_Vtbl,
pub RegisterControlChangeNotify: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT,
pub UnregisterControlChangeNotify: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT,
pub GetChannelCount: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT,
pub SetMasterVolumeLevel: unsafe extern "system" fn(_: *mut c_void, _: f32, _: *const GUID) -> HRESULT,
pub SetMasterVolumeLevelScalar: unsafe extern "system" fn(_: *mut c_void, _: f32, _: *const GUID) -> HRESULT,
pub GetMasterVolumeLevel: unsafe extern "system" fn(_: *mut c_void, _: *mut f32) -> HRESULT,
pub GetMasterVolumeLevelScalar: unsafe extern "system" fn(_: *mut c_void, _: *mut f32) -> HRESULT,
pub SetChannelVolumeLevel: unsafe extern "system" fn(_: *mut c_void, _: u32, _: f32, _: *const GUID) -> HRESULT,
pub SetChannelVolumeLevelScalar: unsafe extern "system" fn(_: *mut c_void, _: u32, _: f32, _: *const GUID) -> HRESULT,
pub GetChannelVolumeLevel: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut f32) -> HRESULT,
pub GetChannelVolumeLevelScalar: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut f32) -> HRESULT,
pub SetMute: unsafe extern "system" fn(_: *mut c_void, _: BOOL, _: *const GUID) -> HRESULT,
pub GetMute: unsafe extern "system" fn(_: *mut c_void, _: *mut BOOL) -> HRESULT,
pub GetVolumeStepInfo: unsafe extern "system" fn(_: *mut c_void, _: *mut u32, _: *mut u32) -> HRESULT,
pub VolumeStepUp: unsafe extern "system" fn(_: *mut c_void, _: *const GUID) -> HRESULT,
pub VolumeStepDown: unsafe extern "system" fn(_: *mut c_void, _: *const GUID) -> HRESULT,
pub QueryHardwareSupport: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT,
pub GetVolumeRange: unsafe extern "system" fn(_: *mut c_void, _: *mut f32, _: *mut f32, _: *mut f32) -> HRESULT,
}Fields§
§base__: IUnknown_Vtbl§RegisterControlChangeNotify: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT§UnregisterControlChangeNotify: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT§GetChannelCount: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT§SetMasterVolumeLevel: unsafe extern "system" fn(_: *mut c_void, _: f32, _: *const GUID) -> HRESULT§SetMasterVolumeLevelScalar: unsafe extern "system" fn(_: *mut c_void, _: f32, _: *const GUID) -> HRESULT§GetMasterVolumeLevel: unsafe extern "system" fn(_: *mut c_void, _: *mut f32) -> HRESULT§GetMasterVolumeLevelScalar: unsafe extern "system" fn(_: *mut c_void, _: *mut f32) -> HRESULT§SetChannelVolumeLevel: unsafe extern "system" fn(_: *mut c_void, _: u32, _: f32, _: *const GUID) -> HRESULT§SetChannelVolumeLevelScalar: unsafe extern "system" fn(_: *mut c_void, _: u32, _: f32, _: *const GUID) -> HRESULT§GetChannelVolumeLevel: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut f32) -> HRESULT§GetChannelVolumeLevelScalar: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut f32) -> HRESULT§SetMute: unsafe extern "system" fn(_: *mut c_void, _: BOOL, _: *const GUID) -> HRESULT§GetMute: unsafe extern "system" fn(_: *mut c_void, _: *mut BOOL) -> HRESULT§GetVolumeStepInfo: unsafe extern "system" fn(_: *mut c_void, _: *mut u32, _: *mut u32) -> HRESULT§VolumeStepUp: unsafe extern "system" fn(_: *mut c_void, _: *const GUID) -> HRESULT§VolumeStepDown: unsafe extern "system" fn(_: *mut c_void, _: *const GUID) -> HRESULT§QueryHardwareSupport: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT§GetVolumeRange: unsafe extern "system" fn(_: *mut c_void, _: *mut f32, _: *mut f32, _: *mut f32) -> HRESULTImplementations§
§impl IAudioEndpointVolume_Vtbl
impl IAudioEndpointVolume_Vtbl
pub const fn new<Identity: IAudioEndpointVolume_Impl, const OFFSET: isize>() -> Self
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for IAudioEndpointVolume_Vtbl
impl RefUnwindSafe for IAudioEndpointVolume_Vtbl
impl Send for IAudioEndpointVolume_Vtbl
impl Sync for IAudioEndpointVolume_Vtbl
impl Unpin for IAudioEndpointVolume_Vtbl
impl UnwindSafe for IAudioEndpointVolume_Vtbl
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