PBT_APMOEMEVENT event
[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
Parameters
- hwnd
-
A handle to window.
- uMsg
-
Value Meaning - WM_POWERBROADCAST
- 536 (0x218)
Message identifier.
- wParam
-
Value Meaning - PBT_APMOEMEVENT
- 11 (0xB)
Event identifier.
- lParam
-
The OEM-defined event code that was signaled by the system's APM BIOS. OEM event codes are in the range 0200h - 02FFh.
Return value
No return value.
Remarks
Because not all APM BIOS implementations provide OEM event notifications, this event may never be broadcast on some computers.
Requirements
|
Minimum supported client | Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server | Windows Server 2003 [desktop apps only] |
|
End of client support | Windows XP |
|
End of server support | Windows Server 2003 |
|
Header |
|
See also
Send comments about this topic to Microsoft
Build date: 10/26/2012