Trait windows::Win32::Media::Audio::IMMDevice_Impl

pub trait IMMDevice_Impl: Sized {
    // 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>

Object Safety§

This trait is not object safe.

Implementors§