Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

Implementing a UPnP device using the Device Host API requires:

  • A description of the device and its services, in a set of XML documents that follow standard schemas,

  • An implementation of the device's behavior, in a set of COM objects that implement specific interfaces.

To implement an UPnP device using the Device Host API, you must complete the following steps.

  1. Create a device description document, explained in more detail in Creating a Device Description Document.

  2. Create a service description document for each service offered by the device, explained in more detail in Creating Service Description Documents.

  3. Implement a COM object that exposes the IUPnPDeviceControlinterface, explained in more detail in Creating an IUPnPDeviceControl Implementation.

  4. Implement an IDispatchinterface for each device service, explained in more detail in Implementing an IDispatch Interface for Each Service.

See Also