Struct windows::Win32::Devices::Enumeration::Pnp::IUPnPRegistrar
pub struct IUPnPRegistrar(/* private fields */);
Implementations§
§impl IUPnPRegistrar
impl IUPnPRegistrar
pub unsafe fn RegisterDevice<P0, P1, P2, P3, P4>( &self, bstrxmldesc: P0, bstrprogiddevicecontrolclass: P1, bstrinitstring: P2, bstrcontainerid: P3, bstrresourcepath: P4, nlifetime: i32 ) -> Result<BSTR>
pub unsafe fn RegisterRunningDevice<P0, P1, P2, P3>( &self, bstrxmldesc: P0, punkdevicecontrol: P1, bstrinitstring: P2, bstrresourcepath: P3, nlifetime: i32 ) -> Result<BSTR>
pub unsafe fn RegisterDeviceProvider<P0, P1, P2, P3>( &self, bstrprovidername: P0, bstrprogidproviderclass: P1, bstrinitstring: P2, bstrcontainerid: P3 ) -> Result<()>
pub unsafe fn GetUniqueDeviceName<P0, P1>( &self, bstrdeviceidentifier: P0, bstrtemplateudn: P1 ) -> Result<BSTR>
pub unsafe fn UnregisterDevice<P0, P1>( &self, bstrdeviceidentifier: P0, fpermanent: P1 ) -> Result<()>
pub unsafe fn UnregisterDeviceProvider<P0>(
&self,
bstrprovidername: P0
) -> Result<()>where
P0: IntoParam<BSTR>,
Trait Implementations§
§impl Clone for IUPnPRegistrar
impl Clone for IUPnPRegistrar
§fn clone(&self) -> IUPnPRegistrar
fn clone(&self) -> IUPnPRegistrar
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for IUPnPRegistrar
impl Debug for IUPnPRegistrar
§impl From<&IUPnPRegistrar> for &IUnknown
impl From<&IUPnPRegistrar> for &IUnknown
§fn from(value: &IUPnPRegistrar) -> Self
fn from(value: &IUPnPRegistrar) -> Self
Converts to this type from the input type.
§impl From<IUPnPRegistrar> for IUnknown
impl From<IUPnPRegistrar> for IUnknown
§fn from(value: IUPnPRegistrar) -> Self
fn from(value: IUPnPRegistrar) -> Self
Converts to this type from the input type.
§impl Interface for IUPnPRegistrar
impl Interface for IUPnPRegistrar
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§impl PartialEq for IUPnPRegistrar
impl PartialEq for IUPnPRegistrar
§fn eq(&self, other: &IUPnPRegistrar) -> bool
fn eq(&self, other: &IUPnPRegistrar) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IUPnPRegistrar
impl StructuralPartialEq for IUPnPRegistrar
Auto Trait Implementations§
impl RefUnwindSafe for IUPnPRegistrar
impl !Send for IUPnPRegistrar
impl !Sync for IUPnPRegistrar
impl Unpin for IUPnPRegistrar
impl UnwindSafe for IUPnPRegistrar
Blanket Implementations§
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