Compartilhar via


PlatformSendInitialNotifications (Windows CE 5.0)

Send Feedback

This function is invoked when an application requests a power notification.

VOID PlatformSendInitialNotifications(PPOWER_NOTIFICATION ppn,  DWORD dwFlags);

Parameters

  • ppn
    Platform power notification.
  • dwFlags
    Flag value.

Return Values

None.

Remarks

The MDD calls this function to provide the PDD with an opportunity to generate notifications that are valid at the time that RequestPowerNotifications is called. Specifically, an application that requests battery information or power status notification may actually need an initial notification. The initial notification allows the application to initialize internal state variables without calling GetSystemPowerStatusEx2 or other power-related APIs.

Requirements

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

See Also

Power Management

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.