Trait windows::Win32::Media::Audio::IAudioSessionControl2_Impl
pub trait IAudioSessionControl2_Impl: Sized + 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<()>
Object Safety§
This trait is not object safe.