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.
- Create a device description document, explained in more detail in Creating a Device Description Document.
- Create a service description document for each service offered by the device, explained in more detail in Creating Service Description Documents.
- Implement a COM object that exposes the IUPnPDeviceControl interface, explained in more detail in Creating an IUPnPDeviceControl Implementation.
- Implement an IDispatch interface for each device service, explained in more detail in Implementing an IDispatch Interface for Each Service.