Jump to content

BOOKTEXT: Difference between revisions

From EDM2
Created page with "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 me..."
 
Ak120 (talk | contribs)
mNo edit summary
 
(2 intermediate revisions by one other user not shown)
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 9: Line 9:
</PRE>
</PRE>


[[Category: Data type]]
==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.
 
[[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.