ulPageId (ULONG)
Page identifier from which to start the query, or 0. If this parameter is set to 0, the query begins with the first page.
usQueryEnd (USHORT)
Attribute that ends the page count query.
BKA_MAJOR
pageCount (SHORT)
Number of pages in the notebook.
BOOKERR_INVALID_PARAMETERS