Share via


IUPnPRegistrar (Compact 7)

3/12/2014

This interface registers the devices that will run in the context of the device host.

Inheritance Hierarchy

IUnknown

     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

IUPnPRegistrar::GetUniqueDeviceName

Returns the unique device name (UDN) of the device that was generated by the device host.

IUPnPRegistrar::RegisterDevice

Statically registers a device with the device host.

IUPnPRegistrar::RegisterDeviceProvider

Registers a device provider with the device host.

IUPnPRegistrar::RegisterRunningDevice

Registers a running device with the device host framework and returns a device identifier that you use to unregister the device.

IUPnPRegistrar::UnregisterDevice

Unregisters and unloads the device from the device host.

IUPnPRegistrar::UnregisterDeviceProvider

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