Device and System Power State Names (Windows Embedded CE 6.0)

1/6/2010

Power Manager requires that lowercase letters be used for device and system power state names. Some operations, such as wsprintf(buf, "%u", n) or case-insensitive comparisons involve locale table lookup operations. The locale table is implemented in the Wince.nls memory-mapping file.

When processing API calls, Power Manager converts names to lowercase. However, in the suspended and resuming states, Power Manager accesses the registry after file system operations are disabled. This prevents the conversion of registry settings to lowercase. Modify your system power state registry settings to lowercase. For example, WAV1: should be represented as wav1:. There is no need to modify the registry settings that control the loading of device drivers, such as HKLM\Drivers\Builtin.

See Also

Concepts

Power States
Device Power States
System Power States

Other Resources

FileSystemPowerFunction