Power Manager Device Class GUIDs (Compact 2013)

3/26/2014

When you configure system power states for your platform, you can specify a device power state for each device in your platform. In some cases, you may have multiple versions of the same platform where each platform uses the same set of system power states, but each platform has a different set of devices. To simplify system power state definitions across these platforms, you can specify devices by using device class GUIDs instead of exact device names. For example, you can specify that a particular system power state places all block devices in device power state D4, regardless of the actual block device that is in use on that platform. To do this, you use the block device class GUID instead of an actual block device name.

Windows Embedded Compact 2013 defines the following Power Manager device class GUIDs.

Power Manager Device Class GUIDs

Device Class

GUID

Generic Devices

{A32942B7-920C-486b-B0E6-92A702A99B35}

Block Devices

{8DD679CE-8AB4-43c8-A14A-EA4963FAA715}

NDIS Miniport Devices

{98C5250D-C29A-4985-AE5F-AFE5367E5006}

Display Devices

{EB91C7C9-8BF6-4a2d-9AB8-69724EED97D1}

Touch Devices

{7119776D-9F23-4e4e-9D9B-9AE962733770}

Backlight

{0007AE3D-413C-4e7e-8786-E2A696E73A6E}

Applications obtain a list of power-managed classes by enumerating the following registry key:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Power\Interfaces

If an application calls a Power Manager function without qualifying the device with a class, Power Manager assumes that the device belongs to the generic power-managed device class. To understand how you can use these class GUIDs to specify device power states for particular classes of devices, see Implement System Power States.

You can use Power Manager device class GUIDs to create class-qualified device names. Class-qualified device names are device names for power-manageable devices. A class-qualified device name is a device name that is prefixed with the class GUID rendered as a string, followed by a backslash (\). For example, {8DD679CE-8AB4-43c8-A14A-EA4963FAA715}\DSK1: refers to a power-managed block device named DSK1. For more information about device naming conventions, see Planning Your Device Driver.

See Also

Concepts

Power Management Device Driver Interface