Trait IAudioSessionControl2_Impl
pub trait IAudioSessionControl2_Impl: IAudioSessionControl_Impl {
// Required methods
fn GetSessionIdentifier(&self) -> Result<PWSTR>;
fn GetSessionInstanceIdentifier(&self) -> Result<PWSTR>;
fn GetProcessId(&self) -> Result<u32>;
fn IsSystemSoundsSession(&self) -> HRESULT;
fn SetDuckingPreference(&self, optout: BOOL) -> Result<()>;
}
Required Methods§
fn GetSessionIdentifier(&self) -> Result<PWSTR>
fn GetSessionInstanceIdentifier(&self) -> Result<PWSTR>
fn GetProcessId(&self) -> Result<u32>
fn IsSystemSoundsSession(&self) -> HRESULT
fn SetDuckingPreference(&self, optout: BOOL) -> Result<()>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.