Trait windows::Win32::Devices::Enumeration::Pnp::IUPnPRegistrar_Impl
pub trait IUPnPRegistrar_Impl: Sized {
// Required methods
fn RegisterDevice(
&self,
bstrxmldesc: &BSTR,
bstrprogiddevicecontrolclass: &BSTR,
bstrinitstring: &BSTR,
bstrcontainerid: &BSTR,
bstrresourcepath: &BSTR,
nlifetime: i32,
) -> Result<BSTR>;
fn RegisterRunningDevice(
&self,
bstrxmldesc: &BSTR,
punkdevicecontrol: Option<&IUnknown>,
bstrinitstring: &BSTR,
bstrresourcepath: &BSTR,
nlifetime: i32,
) -> Result<BSTR>;
fn RegisterDeviceProvider(
&self,
bstrprovidername: &BSTR,
bstrprogidproviderclass: &BSTR,
bstrinitstring: &BSTR,
bstrcontainerid: &BSTR,
) -> Result<()>;
fn GetUniqueDeviceName(
&self,
bstrdeviceidentifier: &BSTR,
bstrtemplateudn: &BSTR,
) -> Result<BSTR>;
fn UnregisterDevice(
&self,
bstrdeviceidentifier: &BSTR,
fpermanent: BOOL,
) -> Result<()>;
fn UnregisterDeviceProvider(&self, bstrprovidername: &BSTR) -> Result<()>;
}
Required Methods§
fn RegisterDevice( &self, bstrxmldesc: &BSTR, bstrprogiddevicecontrolclass: &BSTR, bstrinitstring: &BSTR, bstrcontainerid: &BSTR, bstrresourcepath: &BSTR, nlifetime: i32, ) -> Result<BSTR>
fn RegisterRunningDevice( &self, bstrxmldesc: &BSTR, punkdevicecontrol: Option<&IUnknown>, bstrinitstring: &BSTR, bstrresourcepath: &BSTR, nlifetime: i32, ) -> Result<BSTR>
fn RegisterDeviceProvider( &self, bstrprovidername: &BSTR, bstrprogidproviderclass: &BSTR, bstrinitstring: &BSTR, bstrcontainerid: &BSTR, ) -> Result<()>
fn GetUniqueDeviceName( &self, bstrdeviceidentifier: &BSTR, bstrtemplateudn: &BSTR, ) -> Result<BSTR>
fn UnregisterDevice( &self, bstrdeviceidentifier: &BSTR, fpermanent: BOOL, ) -> Result<()>
fn UnregisterDeviceProvider(&self, bstrprovidername: &BSTR) -> Result<()>
Object Safety§
This trait is not object safe.