MLM QUERYSELTEXT: Difference between revisions
Appearance
Created page with "{{DISPLAYTITLE:MLM_QUERYSELTEXT}} This message copies the currently selected text into a buffer. ==Syntax== <pre> param1 PCHAR pchBuff; →Character buffer for text string.: param2 ULONG ulReserved; →Reserved value, should be 0.: </pre> ==Parameters== ;pchBuff (PCHAR) - input: Character buffer for text string. ;ulReserved (ULONG) - input: Reserved value, should be 0. ==Returns== ;ulCount (ULONG) - return: Number of bytes to put into text string...." |
(No difference)
|
Latest revision as of 02:44, 28 April 2025
This message copies the currently selected text into a buffer.
Syntax
param1 PCHAR pchBuff; /* Character buffer for text string. */ param2 ULONG ulReserved; /* Reserved value, should be 0. */
Parameters
- pchBuff (PCHAR) - input
- Character buffer for text string.
- ulReserved (ULONG) - input
- Reserved value, should be 0.
Returns
- ulCount (ULONG) - return
- Number of bytes to put into text string.
Remarks
This message copies the currently selected text into the buffer pointed to by pchBuff. The text string is null-terminated. The byte count includes the text in CF_TEXT format (CR LF) and the null terminator.
Default Processing
The default window procedure takes no action on this message, other than to set ulCount to 0.