Jump to content

BKM SETPAGEDATA

From EDM2
Revision as of 02:56, 21 April 2025 by Martini (talk | contribs) (Created page with "This message sets the 4 bytes of application reserved storage associated with the specified page. ==Syntax== <PRE> param1 ULONG ulPageId; Page ID.: param2 ULONG ulPageData; Page data.: </PRE> ==Parameters== ;ulPageId (ULONG) - Input : The page identifier of the page from which to set the 4 bytes of data. ;ulPageData (ULONG) - Input : Application-defined page data. ==Returns== ;rc (BOOL) - returns : Success indicator: ::TRUE: Page data was succe...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

Syntax

param1
ULONG ulPageId;   /* Page ID. */

param2
ULONG ulPageData; /* Page data. */

Parameters

ulPageId (ULONG) - Input
The page identifier of the page from which to set the 4 bytes of data.
ulPageData (ULONG) - Input
Application-defined page data.

Returns

rc (BOOL) - returns
Success indicator:
TRUE: Page data was successfully set.
FALSE: Unable to set page data. This value is returned if the page ID specified in the ulPageId parameter is invalid.

Remarks

This data can be queried by using the BKM_QUERYPAGEDATA 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 FALSE.