Partager via


Implementing a Hosted Device Using COM (Windows Embedded CE 6.0)

1/6/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 IUPnPDeviceControl interface, explained in more detail in Creating an IUPnPDeviceControl Implementation.
  4. Implement an IDispatch interface for each device service, explained in more detail in Implementing an IDispatch Interface for Each Service.

See Also

Concepts

Using the UPnP Device Host API