pub trait IAudioEndpointVolume_Impl: Sized {
Show 18 methods
// Required methods
fn RegisterControlChangeNotify(
&self,
pnotify: Option<&IAudioEndpointVolumeCallback>,
) -> Result<()>;
fn UnregisterControlChangeNotify(
&self,
pnotify: Option<&IAudioEndpointVolumeCallback>,
) -> Result<()>;
fn GetChannelCount(&self) -> Result<u32>;
fn SetMasterVolumeLevel(
&self,
fleveldb: f32,
pguideventcontext: *const GUID,
) -> Result<()>;
fn SetMasterVolumeLevelScalar(
&self,
flevel: f32,
pguideventcontext: *const GUID,
) -> Result<()>;
fn GetMasterVolumeLevel(&self) -> Result<f32>;
fn GetMasterVolumeLevelScalar(&self) -> Result<f32>;
fn SetChannelVolumeLevel(
&self,
nchannel: u32,
fleveldb: f32,
pguideventcontext: *const GUID,
) -> Result<()>;
fn SetChannelVolumeLevelScalar(
&self,
nchannel: u32,
flevel: f32,
pguideventcontext: *const GUID,
) -> Result<()>;
fn GetChannelVolumeLevel(&self, nchannel: u32) -> Result<f32>;
fn GetChannelVolumeLevelScalar(&self, nchannel: u32) -> Result<f32>;
fn SetMute(&self, bmute: BOOL, pguideventcontext: *const GUID) -> Result<()>;
fn GetMute(&self) -> Result<BOOL>;
fn GetVolumeStepInfo(
&self,
pnstep: *mut u32,
pnstepcount: *mut u32,
) -> Result<()>;
fn VolumeStepUp(&self, pguideventcontext: *const GUID) -> Result<()>;
fn VolumeStepDown(&self, pguideventcontext: *const GUID) -> Result<()>;
fn QueryHardwareSupport(&self) -> Result<u32>;
fn GetVolumeRange(
&self,
pflvolumemindb: *mut f32,
pflvolumemaxdb: *mut f32,
pflvolumeincrementdb: *mut f32,
) -> Result<()>;
}
Required Methods§
fn RegisterControlChangeNotify( &self, pnotify: Option<&IAudioEndpointVolumeCallback>, ) -> Result<()>
fn UnregisterControlChangeNotify( &self, pnotify: Option<&IAudioEndpointVolumeCallback>, ) -> Result<()>
fn GetChannelCount(&self) -> Result<u32>
fn SetMasterVolumeLevel( &self, fleveldb: f32, pguideventcontext: *const GUID, ) -> Result<()>
fn SetMasterVolumeLevelScalar( &self, flevel: f32, pguideventcontext: *const GUID, ) -> Result<()>
fn GetMasterVolumeLevel(&self) -> Result<f32>
fn GetMasterVolumeLevelScalar(&self) -> Result<f32>
fn SetChannelVolumeLevel( &self, nchannel: u32, fleveldb: f32, pguideventcontext: *const GUID, ) -> Result<()>
fn SetChannelVolumeLevelScalar( &self, nchannel: u32, flevel: f32, pguideventcontext: *const GUID, ) -> Result<()>
fn GetChannelVolumeLevel(&self, nchannel: u32) -> Result<f32>
fn GetChannelVolumeLevelScalar(&self, nchannel: u32) -> Result<f32>
fn SetMute(&self, bmute: BOOL, pguideventcontext: *const GUID) -> Result<()>
fn GetMute(&self) -> Result<BOOL>
fn GetVolumeStepInfo( &self, pnstep: *mut u32, pnstepcount: *mut u32, ) -> Result<()>
fn VolumeStepUp(&self, pguideventcontext: *const GUID) -> Result<()>
fn VolumeStepDown(&self, pguideventcontext: *const GUID) -> Result<()>
fn QueryHardwareSupport(&self) -> Result<u32>
fn GetVolumeRange( &self, pflvolumemindb: *mut f32, pflvolumemaxdb: *mut f32, pflvolumeincrementdb: *mut f32, ) -> Result<()>
Object Safety§
This trait is not object safe.