Jump to content

BOOKTEXT: Difference between revisions

From EDM2
No edit summary
Ak120 (talk | contribs)
mNo edit summary
 
Line 2: Line 2:
<PRE>
<PRE>
typedef struct _BOOKTEXT {
typedef struct _BOOKTEXT {
   PSZ      pString;  /* Pointer to a string buffer. */
   PSZ      pString;  /* Pointer to a string buffer. */
   ULONG    textLen;  /* String length. */
   ULONG    textLen;  /* String length. */
} BOOKTEXT;
} BOOKTEXT;


Line 10: Line 10:


==Fields==
==Fields==
;pString (PSZ)
;pString (PSZ):Pointer to a string buffer.
 
:Pointer to a string buffer.
:Buffer in which the text string is to be placed. For the BKM_QUERYSTATUSLINETEXT message, this is the buffer in which the status line text is placed.
:Buffer in which the text string is to be placed. For the BKM_QUERYSTATUSLINETEXT message, this is the buffer in which the status line text is placed.
:For the BKM_QUERYTABTEXT message, this is the buffer in which the tab text is placed.
:For the BKM_QUERYTABTEXT message, this is the buffer in which the tab text is placed.
 
;textLen (ULONG):String length.
;textLen (ULONG)
:String length.
:Length of the text string. For the BKM_QUERYSTATUSLINETEXT message, this is the length of the status line text string.
:Length of the text string. For the BKM_QUERYSTATUSLINETEXT message, this is the length of the status line text string.
:For the BKM_QUERYTABTEXT message, this is the length of the tab text string.
:For the BKM_QUERYTABTEXT message, this is the length of the tab text string.
[[Category:PM Data type]]
[[Category:PM Data type]]

Latest revision as of 12:51, 2 April 2025

Notebook data structure that contains text strings for notebook status lines and tabs. This data structure is used with the BKM_QUERYSTATUSLINETEXT and the BKM_QUERYTABTEXT messages only.

typedef struct _BOOKTEXT {
  PSZ       pString;  /* Pointer to a string buffer. */
  ULONG     textLen;  /* String length. */
} BOOKTEXT;

typedef   BOOKTEXT   * PBOOKTEXT ;

Fields

pString (PSZ)
Pointer to a string buffer.
Buffer in which the text string is to be placed. For the BKM_QUERYSTATUSLINETEXT message, this is the buffer in which the status line text is placed.
For the BKM_QUERYTABTEXT message, this is the buffer in which the tab text is placed.
textLen (ULONG)
String length.
Length of the text string. For the BKM_QUERYSTATUSLINETEXT message, this is the length of the status line text string.
For the BKM_QUERYTABTEXT message, this is the length of the tab text string.