windows::Win32::Media::Audio

Trait IMMDevice_Impl

pub trait IMMDevice_Impl: IUnknownImpl {
    // Required methods
    fn Activate(
        &self,
        iid: *const GUID,
        dwclsctx: CLSCTX,
        pactivationparams: *const PROPVARIANT,
        ppinterface: *mut *mut c_void,
    ) -> Result<()>;
    fn OpenPropertyStore(&self, stgmaccess: STGM) -> Result<IPropertyStore>;
    fn GetId(&self) -> Result<PWSTR>;
    fn GetState(&self) -> Result<DEVICE_STATE>;
}

Required Methods§

fn Activate( &self, iid: *const GUID, dwclsctx: CLSCTX, pactivationparams: *const PROPVARIANT, ppinterface: *mut *mut c_void, ) -> Result<()>

fn OpenPropertyStore(&self, stgmaccess: STGM) -> Result<IPropertyStore>

fn GetId(&self) -> Result<PWSTR>

fn GetState(&self) -> Result<DEVICE_STATE>

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.

Implementors§