Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

POWERBROADCAST_SETTING structure

Sent with a power setting event and contains data about the specific change. For more information, see Registering for Power Events and Power Setting GUIDs.

Syntax


typedef struct {
  GUID  PowerSetting;
  DWORD DataLength;
  UCHAR Data[1];
} POWERBROADCAST_SETTING, *PPOWERBROADCAST_SETTING;

Members

PowerSetting

Indicates the power setting for which this notification is being delivered. For more info, see Power Setting GUIDs.

DataLength

The size in bytes of the data in the Data member.

Data

The new value of the power setting. The type and possible values for this member depend on PowerSettng.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

WinUser.h (include Windows.h)

See also

Power Setting GUIDs
Registering for Power Events

 

 

Community Additions

ADD
Show:
© 2015 Microsoft