[PBT_APMOEMEVENT is available for use in the operating systems specified in the Requirements section. Support for this event was removed in Windows Vista.]
Notifies applications that the APM BIOS has signaled an APM OEM event.
A window receives this event through the WM_POWERBROADCAST message. The wParam and lParam parameters are set as described following.
LRESULT CALLBACK WindowProc( HWND hwnd, // handle to window UINT uMsg, // WM_POWERBROADCAST WPARAM wParam, // PBT_APMOEMEVENT LPARAM lParam); // OEM event code
A handle to window.
- 536 (0x218)
- 11 (0xB)
The OEM-defined event code that was signaled by the system's APM BIOS. OEM event codes are in the range 0200h - 02FFh.
No return value.
Because not all APM BIOS implementations provide OEM event notifications, this event may never be broadcast on some computers.
Minimum supported client
|Windows XP [desktop apps only]|
Minimum supported server
|Windows Server 2003 [desktop apps only]|
End of client support
End of server support
|Windows Server 2003|
Build date: 10/26/2012