BKM QUERYPAGESTYLE: Difference between revisions
Appearance
Created page with "This message queries the style that was set when the specified page was inserted. ==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 from which to query the style setting. ;ulReserved (ULONG) - Input : Reserved value, should be 0. ==Returns== ;usPageStyle (USHORT) - returns : Page style data: ::BOOKERR_INVALID_PARA..." |
(No difference)
|
Latest revision as of 18:31, 21 April 2025
This message queries the style that was set when the specified page was inserted.
Syntax
param1 ULONG ulPageId; /* Page ID. */ param2 ULONG ulReserved; /* Reserved value, should be 0. */
Parameters
- ulPageId (ULONG) - Input
- Page identifier of the page from which to query the style setting.
- ulReserved (ULONG) - Input
- Reserved value, should be 0.
Returns
- usPageStyle (USHORT) - returns
- Page style data:
- BOOKERR_INVALID_PARAMETERS: An invalid page ID was specified for the ulPageId parameter.
- Other: Page style data.
Remarks
This style data is set when the page is inserted, which is done by using the BKM_INSERTPAGE 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.