pub struct IPart(/* private fields */);Implementations§
Source§impl IPart
impl IPart
pub unsafe fn GetName(&self, ppwstrname: *mut PWSTR) -> HRESULT
pub unsafe fn GetLocalId(&self, pnid: *mut u32) -> HRESULT
pub unsafe fn GetGlobalId(&self, ppwstrglobalid: *mut PWSTR) -> HRESULT
pub unsafe fn GetPartType(&self, pparttype: *mut PartType) -> HRESULT
pub unsafe fn GetSubType(&self, psubtype: *mut Guid) -> HRESULT
pub unsafe fn GetControlInterfaceCount(&self, pcount: *mut u32) -> HRESULT
pub unsafe fn GetControlInterface( &self, nindex: u32, ppinterfacedesc: *mut Option<IControlInterface>, ) -> HRESULT
pub unsafe fn EnumPartsIncoming( &self, ppparts: *mut Option<IPartsList>, ) -> HRESULT
pub unsafe fn EnumPartsOutgoing( &self, ppparts: *mut Option<IPartsList>, ) -> HRESULT
pub unsafe fn GetTopologyObject( &self, pptopology: *mut Option<IDeviceTopology>, ) -> HRESULT
pub unsafe fn Activate( &self, dwclscontext: u32, refiid: *const Guid, ppvobject: *mut *mut c_void, ) -> HRESULT
pub unsafe fn RegisterControlChangeCallback<'a>( &self, riid: *const Guid, pnotify: impl IntoParam<'a, IControlChangeNotify>, ) -> HRESULT
pub unsafe fn UnregisterControlChangeCallback<'a>( &self, pnotify: impl IntoParam<'a, IControlChangeNotify>, ) -> HRESULT
Trait Implementations§
impl Eq for IPart
Source§impl Interface for IPart
impl Interface for IPart
const IID: Guid
type Vtable = IPart_abi
Source§impl<'a> IntoParam<'a, IUnknown> for &'a IPart
impl<'a> IntoParam<'a, IUnknown> for &'a IPart
fn into_param(self) -> Param<'a, IUnknown>
impl StructuralPartialEq for IPart
Auto Trait Implementations§
impl !Send for IPart
impl !Sync for IPart
impl Freeze for IPart
impl RefUnwindSafe for IPart
impl Unpin for IPart
impl UnsafeUnpin for IPart
impl UnwindSafe for IPart
Blanket Implementations§
Source§impl<T> Abi for Twhere
T: Interface,
impl<T> Abi for Twhere
T: Interface,
Source§fn set_abi(&mut self) -> *mut <T as Abi>::Abi
fn set_abi(&mut self) -> *mut <T as Abi>::Abi
Returns a pointer for setting the object’s value via an ABI call.
Source§unsafe fn from_abi(abi: <T as Abi>::Abi) -> Result<T, Error>
unsafe fn from_abi(abi: <T as Abi>::Abi) -> Result<T, Error>
Casts the ABI representation to a Rust object by taking ownership of the bits.
fn drop_param(_: &mut Param<'_, Self>)
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more