BKM QUERYPAGEWINDOWHWND: Difference between revisions
Appearance
Created page with "This message queries the application page window handle associated with the specified page. ==Syntax== <PRE> param1 ULONG ulPageId; →Page ID.: param2 ULONG ulReserved; →Reserved value, should be 0.: </PRE> ==Parameters== ;ulPageId (ULONG) - Input : Page identifier of the page whose window handle is requested. ;ulReserved (ULONG) - Input : Reserved value, should be 0. ==Returns== ;hwndPage (HWND) - returns : Handle of the application page window a..." |
(No difference)
|
Latest revision as of 17:25, 21 April 2025
This message queries the application page window handle associated with the specified page.
Syntax
param1 ULONG ulPageId; /* Page ID. */ param2 ULONG ulReserved; /* Reserved value, should be 0. */
Parameters
- ulPageId (ULONG) - Input
- Page identifier of the page whose window handle is requested.
- ulReserved (ULONG) - Input
- Reserved value, should be 0.
Returns
- hwndPage (HWND) - returns
- Handle of the application page window associated with the specified page identifier:
- BOOKERR_INVALID_PARAMETERS: An invalid page ID was specified for the ulPageId parameter.
- NULLHANDLE: No application page window handle is associated for the page specified in the ulPageId parameter.
- Other: Handle of the application page window associated with the specified page identifier.
Remarks
The application page window handle is set by using the BKM_SETPAGEWINDOWHWND message.
Default Processing
The default window procedure does not expect to receive this message and therefore takes no action on it other than to return NULLHANDLE.