windows::Win32::Media::Audio

Trait IPart_Impl

pub trait IPart_Impl: IUnknownImpl {
Show 13 methods // Required methods fn GetName(&self) -> Result<PWSTR>; fn GetLocalId(&self) -> Result<u32>; fn GetGlobalId(&self) -> Result<PWSTR>; fn GetPartType(&self) -> Result<PartType>; fn GetSubType(&self) -> Result<GUID>; fn GetControlInterfaceCount(&self) -> Result<u32>; fn GetControlInterface(&self, nindex: u32) -> Result<IControlInterface>; fn EnumPartsIncoming(&self) -> Result<IPartsList>; fn EnumPartsOutgoing(&self) -> Result<IPartsList>; fn GetTopologyObject(&self) -> Result<IDeviceTopology>; fn Activate( &self, dwclscontext: u32, refiid: *const GUID, ppvobject: *mut *mut c_void, ) -> Result<()>; fn RegisterControlChangeCallback( &self, riid: *const GUID, pnotify: Ref<'_, IControlChangeNotify>, ) -> Result<()>; fn UnregisterControlChangeCallback( &self, pnotify: Ref<'_, IControlChangeNotify>, ) -> Result<()>;
}

Required Methods§

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

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

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

fn GetPartType(&self) -> Result<PartType>

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

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

fn GetControlInterface(&self, nindex: u32) -> Result<IControlInterface>

fn EnumPartsIncoming(&self) -> Result<IPartsList>

fn EnumPartsOutgoing(&self) -> Result<IPartsList>

fn GetTopologyObject(&self) -> Result<IDeviceTopology>

fn Activate( &self, dwclscontext: u32, refiid: *const GUID, ppvobject: *mut *mut c_void, ) -> Result<()>

fn RegisterControlChangeCallback( &self, riid: *const GUID, pnotify: Ref<'_, IControlChangeNotify>, ) -> Result<()>

fn UnregisterControlChangeCallback( &self, pnotify: Ref<'_, IControlChangeNotify>, ) -> 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§