#[repr(C)]pub struct IAudioEndpointVolume {
pub lpVtbl: *const IAudioEndpointVolumeVtbl,
}
Fields§
§lpVtbl: *const IAudioEndpointVolumeVtbl
Implementations§
Source§impl IAudioEndpointVolume
impl IAudioEndpointVolume
pub unsafe fn RegisterControlChangeNotify( &self, pNotify: *mut IAudioEndpointVolumeCallback, ) -> HRESULT
pub unsafe fn UnregisterControlChangeNotify( &self, pNotify: *mut IAudioEndpointVolumeCallback, ) -> HRESULT
pub unsafe fn GetChannelCount(&self, pnChannelCount: *mut UINT) -> HRESULT
pub unsafe fn SetMasterVolumeLevel( &self, fLevelDB: c_float, pguidEventContext: LPCGUID, ) -> HRESULT
pub unsafe fn SetMasterVolumeLevelScalar( &self, fLevel: c_float, pguidEventContext: LPCGUID, ) -> HRESULT
pub unsafe fn GetMasterVolumeLevel(&self, pfLevelDB: *mut c_float) -> HRESULT
pub unsafe fn GetMasterVolumeLevelScalar( &self, pfLevel: *mut c_float, ) -> HRESULT
pub unsafe fn SetChannelVolumeLevel( &self, nChannel: UINT, fLevelDB: c_float, pguidEventContext: LPCGUID, ) -> HRESULT
pub unsafe fn SetChannelVolumeLevelScalar( &self, nChannel: UINT, fLevel: c_float, pguidEventContext: LPCGUID, ) -> HRESULT
pub unsafe fn GetChannelVolumeLevel( &self, nChannel: UINT, pfLevelDB: *mut c_float, ) -> HRESULT
pub unsafe fn GetChannelVolumeLevelScalar( &self, nChannel: UINT, pfLevel: *mut c_float, ) -> HRESULT
pub unsafe fn SetMute(&self, bMute: BOOL, pguidEventContext: LPCGUID) -> HRESULT
pub unsafe fn GetMute(&self, pbMute: *mut BOOL) -> HRESULT
pub unsafe fn GetVolumeStepInfo( &self, pnStep: *mut UINT, pnStepCount: *mut UINT, ) -> HRESULT
pub unsafe fn VolumeStepUp(&self, pguidEventContext: LPCGUID) -> HRESULT
pub unsafe fn VolumeStepDown(&self, pguidEventContext: LPCGUID) -> HRESULT
pub unsafe fn QueryHardwareSupport( &self, pdwHardwareSupportMask: *mut DWORD, ) -> HRESULT
pub unsafe fn GetVolumeRange( &self, pflVolumeMindB: *mut c_float, pflVolumeMaxdB: *mut c_float, pflVolumeIncrementdB: *mut c_float, ) -> HRESULT
Trait Implementations§
Source§impl Deref for IAudioEndpointVolume
impl Deref for IAudioEndpointVolume
Auto Trait Implementations§
impl Freeze for IAudioEndpointVolume
impl RefUnwindSafe for IAudioEndpointVolume
impl !Send for IAudioEndpointVolume
impl !Sync for IAudioEndpointVolume
impl Unpin for IAudioEndpointVolume
impl UnwindSafe for IAudioEndpointVolume
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