windows::Win32::Media::KernelStreaming

Trait IKsTopologyInfo_Impl

pub trait IKsTopologyInfo_Impl: IUnknownImpl {
    // Required methods
    fn NumCategories(&self) -> Result<u32>;
    fn get_Category(&self, dwindex: u32) -> Result<GUID>;
    fn NumConnections(&self) -> Result<u32>;
    fn get_ConnectionInfo(&self, dwindex: u32) -> Result<KSTOPOLOGY_CONNECTION>;
    fn get_NodeName(
        &self,
        dwnodeid: u32,
        pwchnodename: PWSTR,
        dwbufsize: u32,
        pdwnamelen: *mut u32,
    ) -> Result<()>;
    fn NumNodes(&self) -> Result<u32>;
    fn get_NodeType(&self, dwnodeid: u32) -> Result<GUID>;
    fn CreateNodeInstance(
        &self,
        dwnodeid: u32,
        iid: *const GUID,
        ppvobject: *mut *mut c_void,
    ) -> Result<()>;
}

Required Methods§

fn NumCategories(&self) -> Result<u32>

fn get_Category(&self, dwindex: u32) -> Result<GUID>

fn NumConnections(&self) -> Result<u32>

fn get_ConnectionInfo(&self, dwindex: u32) -> Result<KSTOPOLOGY_CONNECTION>

fn get_NodeName( &self, dwnodeid: u32, pwchnodename: PWSTR, dwbufsize: u32, pdwnamelen: *mut u32, ) -> Result<()>

fn NumNodes(&self) -> Result<u32>

fn get_NodeType(&self, dwnodeid: u32) -> Result<GUID>

fn CreateNodeInstance( &self, dwnodeid: u32, iid: *const GUID, ppvobject: *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§