PlatformValidatePMRegistry

This function verifies the consistency of the power management registry settings for a system.

DWORD WINAPI PlatformValidatePMRegistry(void);

Parameters

None.

Return Values

  • ERROR_SUCCESS
    The registry can be initialized or repaired.
  • FALSE
    A fatal error is discovered and the registry is unusable.
  • Win32 error code
    All other errors.

Remarks

This function is called during the initialization of power management. If no registry settings are found, you may use this function to set any desired registry settings.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Pmimpl.h
Link Library: Coredll.lib.

See Also

Power Management

 Last updated on Tuesday, May 18, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.