windows::Win32::System::Com

Trait IConnectionPoint_Impl

pub trait IConnectionPoint_Impl: IUnknownImpl {
    // Required methods
    fn GetConnectionInterface(&self) -> Result<GUID>;
    fn GetConnectionPointContainer(&self) -> Result<IConnectionPointContainer>;
    fn Advise(&self, punksink: Ref<'_, IUnknown>) -> Result<u32>;
    fn Unadvise(&self, dwcookie: u32) -> Result<()>;
    fn EnumConnections(&self) -> Result<IEnumConnections>;
}

Required Methods§

fn GetConnectionInterface(&self) -> Result<GUID>

fn GetConnectionPointContainer(&self) -> Result<IConnectionPointContainer>

fn Advise(&self, punksink: Ref<'_, IUnknown>) -> Result<u32>

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

fn EnumConnections(&self) -> Result<IEnumConnections>

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§