Device Plug and Play Messaging System

Windows Embedded CE has a subsystem that is similar to the PnP messaging system of a desktop operating system. When the drivers are loaded, it can provide the system with the information about the classes supported by the device by using either a registry setting (IClass) or by calling the AdvertiseInterface() function directly. A device class is basically a predefined set of functionality implemented by the device.

For instance, DEVCLASS_STREAM_GUID is a regular stream interface driver and DEVCLASS_ CAMERA_GUID is a camera driver.

A messaging subsystem is implemented as part of the Device Manager subsystem. Their interaction is shown in Figure 8–25.

Figure 8–25. Plug and Play messaging system

Any driver or an ...

Get Windows® Embedded CE 6.0 Fundamentals now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.