2.3.2.6 CHATDATA_PASTEW

The CHATDATA_PASTEW structure indicates that a user has pasted Unicode text from the clipboard into the chat session.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

Type

SelPosEnd

SelPosBegin

Size

...

unused (82 bytes)

...

...

PastedText (variable)

...

Type (2 bytes): A 16-bit unsigned integer (ChatMessageType) specifying the type of this message. MUST be set to 0x0112 (CHT_PASTEW).

SelPosEnd (2 bytes): A 16-bit unsigned integer that specifies the zero-based position of the first character after the last selected character. <9>

SelPosBegin (2 bytes): A 16-bit unsigned integer that specifies the zero-based starting position of the selection. <10>

Size (4 bytes): A 32-bit unsigned integer that specifies the length of the pasted text, in bytes, not including the NULL terminator.

unused (82 bytes): Unused.  MUST be zeroed.

PastedText (variable): A NULL-terminated Unicode character string specifying the pasted text.