2.3.2.3 CHATDATA_PASTEA
The CHATDATA_PASTEA structure indicates that a user has pasted text from the clipboard into the chat session.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Type |
SelPosEnd |
||||||||||||||||||||||||||||||
SelPosBegin |
Size |
||||||||||||||||||||||||||||||
... |
Unused (50 bytes) |
||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
PastedText (variable) |
|||||||||||||||||||||||||||||||
... |
Type (2 bytes): A 16-bit unsigned integer (ChatMessageType) specifying the type of this message. MUST be set to 0x0102 (CHT_PASTEA).
SelPosEnd (2 bytes): A 16-bit unsigned integer that specifies the zero-based position of the first character after the last selected character. <4>
SelPosBegin (2 bytes): A 16-bit unsigned integer that specifies the zero-based starting position of the selection. <5>
Size (4 bytes): A 32-bit unsigned integer that specifies the length of the pasted text in bytes, not including the NULL terminator.
Unused (50 bytes): Unused. MUST be set to zero.
PastedText (variable): A NULL-terminated ANSI character string specifying the pasted text.