Trait windows::Win32::Media::Audio::IChannelAudioVolume_Impl
pub trait IChannelAudioVolume_Impl: Sized {
// Required methods
fn GetChannelCount(&self) -> Result<u32>;
fn SetChannelVolume(
&self,
dwindex: u32,
flevel: f32,
eventcontext: *const GUID,
) -> Result<()>;
fn GetChannelVolume(&self, dwindex: u32) -> Result<f32>;
fn SetAllVolumes(
&self,
dwcount: u32,
pfvolumes: *const f32,
eventcontext: *const GUID,
) -> Result<()>;
fn GetAllVolumes(&self, dwcount: u32, pfvolumes: *mut f32) -> Result<()>;
}
Required Methods§
fn GetChannelCount(&self) -> Result<u32>
fn SetChannelVolume( &self, dwindex: u32, flevel: f32, eventcontext: *const GUID, ) -> Result<()>
fn GetChannelVolume(&self, dwindex: u32) -> Result<f32>
fn SetAllVolumes( &self, dwcount: u32, pfvolumes: *const f32, eventcontext: *const GUID, ) -> Result<()>
fn GetAllVolumes(&self, dwcount: u32, pfvolumes: *mut f32) -> Result<()>
Object Safety§
This trait is not object safe.