windows::Win32::System::Com

Trait IMachineGlobalObjectTable_Impl

pub trait IMachineGlobalObjectTable_Impl: IUnknownImpl {
    // Required methods
    fn RegisterObject(
        &self,
        clsid: *const GUID,
        identifier: &PCWSTR,
        object: Ref<'_, IUnknown>,
    ) -> Result<MachineGlobalObjectTableRegistrationToken>;
    fn GetObject(
        &self,
        clsid: *const GUID,
        identifier: &PCWSTR,
        riid: *const GUID,
        ppv: *mut *mut c_void,
    ) -> Result<()>;
    fn RevokeObject(
        &self,
        token: MachineGlobalObjectTableRegistrationToken,
    ) -> Result<()>;
}

Required Methods§

fn RegisterObject( &self, clsid: *const GUID, identifier: &PCWSTR, object: Ref<'_, IUnknown>, ) -> Result<MachineGlobalObjectTableRegistrationToken>

fn GetObject( &self, clsid: *const GUID, identifier: &PCWSTR, riid: *const GUID, ppv: *mut *mut c_void, ) -> Result<()>

fn RevokeObject( &self, token: MachineGlobalObjectTableRegistrationToken, ) -> Result<()>

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§