IUPnPRegistrar interface (upnphost.h)

The IUPnPRegistrar interface registers the devices that run in the context of the device host.

Inheritance

The IUPnPRegistrar interface inherits from the IUnknown interface. IUPnPRegistrar also has these types of members:

Methods

The IUPnPRegistrar interface has these methods.

 
IUPnPRegistrar::GetUniqueDeviceName

The GetUniqueDeviceName method retrieves the UDN for the specified device.
IUPnPRegistrar::RegisterDevice

The RegisterDevice method registers a device with the device host. The device information is stored by the device host. Then, the device host returns a device identifier and publishes and announces the device on the network.
IUPnPRegistrar::RegisterDeviceProvider

The RegisterDeviceProvider method registers a device provider with the device host. The device provider is not published on the network. Instead, it creates devices dynamically and registers them using RegisterRunningDevice.
IUPnPRegistrar::RegisterRunningDevice

The RegisterRunningDevice method registers a running device with the device host.
IUPnPRegistrar::UnregisterDevice

The UnregisterDevice method unregisters the device from the device host. A device is either temporarily or permanently unregistered.
IUPnPRegistrar::UnregisterDeviceProvider

The UnregisterDeviceProvider method permanently unregisters and unloads the device provider from the device host. The IUPnPDeviceProvider::Stop method is invoked.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header upnphost.h