Jump to content

BKM QUERYPAGEWINDOWHWND

From EDM2

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.