PlatformSendInitialNotifications (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

VOID PlatformSendInitialNotifications(
  PPOWER_NOTIFICATION ppn,
  DWORD dwFlags
);

Parameters

  • ppn
    Platform power notification.
  • dwFlags
    Flag value.

Return Value

None.

Remarks

The model device driver (MDD) calls this function to provide the platform device driver (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 functions.

See Also

Other Resources

Power Management Functions