Trait windows::Win32::Media::Audio::IAudioStateMonitor_Impl

pub trait IAudioStateMonitor_Impl: Sized {
    // Required methods
    fn RegisterCallback(
        &self,
        callback: PAudioStateMonitorCallback,
        context: *const c_void,
    ) -> Result<i64>;
    fn UnregisterCallback(&self, registration: i64);
    fn GetSoundLevel(&self) -> AudioStateMonitorSoundLevel;
}

Required Methods§

fn RegisterCallback( &self, callback: PAudioStateMonitorCallback, context: *const c_void, ) -> Result<i64>

fn UnregisterCallback(&self, registration: i64)

fn GetSoundLevel(&self) -> AudioStateMonitorSoundLevel

Object Safety§

This trait is not object safe.

Implementors§