windows::Win32::Media::Audio

Trait IDeviceTopology_Impl

pub trait IDeviceTopology_Impl: IUnknownImpl {
    // Required methods
    fn GetConnectorCount(&self) -> Result<u32>;
    fn GetConnector(&self, nindex: u32) -> Result<IConnector>;
    fn GetSubunitCount(&self) -> Result<u32>;
    fn GetSubunit(&self, nindex: u32) -> Result<ISubunit>;
    fn GetPartById(&self, nid: u32) -> Result<IPart>;
    fn GetDeviceId(&self) -> Result<PWSTR>;
    fn GetSignalPath(
        &self,
        pipartfrom: Ref<'_, IPart>,
        pipartto: Ref<'_, IPart>,
        brejectmixedpaths: BOOL,
    ) -> Result<IPartsList>;
}

Required Methods§

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

fn GetConnector(&self, nindex: u32) -> Result<IConnector>

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

fn GetSubunit(&self, nindex: u32) -> Result<ISubunit>

fn GetPartById(&self, nid: u32) -> Result<IPart>

fn GetDeviceId(&self) -> Result<PWSTR>

fn GetSignalPath( &self, pipartfrom: Ref<'_, IPart>, pipartto: Ref<'_, IPart>, brejectmixedpaths: BOOL, ) -> Result<IPartsList>

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§