[This is preliminary documentation and subject to change.]
The PBT_APMOEMEVENT message is sent when an APM BIOS signals an APM OEM event. A window receives this message through the WM_POWERBROADCAST message.
PBT_APMOEMEVENT
dwEventCode = (DWORD) lParam;
No return value.
Because not all APM BIOS implementations provide OEM event notifications, this message may never be sent on some machines.
Windows NT: Requires version 5.0 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in pbt.h.
Power Management Overview, Power Management Messages, WM_POWERBROADCAST