IUPnPRegistrar (Compact 7)
3/12/2014
This interface registers the devices that will run in the context of the device host.
Inheritance Hierarchy
IUPnPRegistrar
Methods
The following table lists the methods for IUPnPRegistrar in the order that they appear in the vtable after the methods inherited from IUnknown.
Method | Description |
---|---|
Returns the unique device name (UDN) of the device that was generated by the device host. |
|
Statically registers a device with the device host. |
|
Registers a device provider with the device host. |
|
Registers a running device with the device host framework and returns a device identifier that you use to unregister the device. |
|
Unregisters and unloads the device from the device host. |
|
Unregisters and unloads the device provider from the device host. |
When to Implement
You do not have to create a custom implementation of this interface because the default implementation of this interface provides complete functionality.
Obtaining a Pointer
To obtain a pointer to this interface, call CoCreateInstance.
Requirements
Header |
upnphost.h |
Library |
uuid.lib |
See Also
Reference
UPnP Device Host Interfaces
IUPnPRegistrar::RegisterDevice
IUPnPRegistrar::RegisterRunningDevice
IUPnPRegistrar::GetUniqueDeviceName
IUPnPRegistrar::UnregisterDevice