Jump to content

BKM QUERYPAGEDATA

From EDM2

This message queries the 4 bytes of application reserved storage associated with the specified page.

Syntax

param1
ULONG ulPageId;   /* Page ID. */

param2
ULONG ulReserved; /* Reserved value, should be 0. */

Parameters

ulPageId (ULONG) - Input
The page identifier of the page from which to retrieve the 4 bytes of data.
ulReserved (ULONG) - Input
Reserved value, should be 0.

Returns

ulPageData (ULONG) - returns
Application-defined page data:
BOOKERR_INVALID_PARAMETERS: An invalid page ID was specified for the ulPageId parameter.
0: No page data was set for the page specified in the ulPageId parameter.
Other: Application-defined page data.

Remarks

This data is set by using the BKM_SETPAGEDATA 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 0.