windows::Win32::System::Com

Trait IGlobalInterfaceTable_Impl

pub trait IGlobalInterfaceTable_Impl: IUnknownImpl {
    // Required methods
    fn RegisterInterfaceInGlobal(
        &self,
        punk: Ref<'_, IUnknown>,
        riid: *const GUID,
    ) -> Result<u32>;
    fn RevokeInterfaceFromGlobal(&self, dwcookie: u32) -> Result<()>;
    fn GetInterfaceFromGlobal(
        &self,
        dwcookie: u32,
        riid: *const GUID,
        ppv: *mut *mut c_void,
    ) -> Result<()>;
}

Required Methods§

fn RegisterInterfaceInGlobal( &self, punk: Ref<'_, IUnknown>, riid: *const GUID, ) -> Result<u32>

fn RevokeInterfaceFromGlobal(&self, dwcookie: u32) -> Result<()>

fn GetInterfaceFromGlobal( &self, dwcookie: u32, riid: *const GUID, ppv: *mut *mut c_void, ) -> 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§