BKM QUERYPAGEDATA: Difference between revisions
Appearance
Created page with "This message queries the 4 bytes of application reserved storage 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 : 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-d..." |
(No difference)
|
Latest revision as of 02:55, 21 April 2025
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.