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, pdwstate: *mut u32) -> 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, pdwstate: *mut u32) -> DEVICE_STATE

Object Safety§

This trait is not object safe.

Implementors§