2.3.2.1 CHATDATA_CHAR
The CHATDATA_CHAR structure defines a user-input character that is sent in the chat session.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Type |
SelPosEnd |
||||||||||||||||||||||||||||||
SelPosBegin |
Char |
Type (2 bytes): A 16-bit unsigned integer (ChatMessageType) specifying the type of this message. MUST be set to 0x0100 (CHT_CHAR).
SelPosEnd (2 bytes): A 16-bit unsigned integer that specifies the zero-based position of the first character after the last selected character. <1>
SelPosBegin (2 bytes): A 16-bit unsigned integer that specifies the zero-based starting position of the selection. <2>
Char (2 bytes): A 16-bit unsigned integer that specifies the character that the user has inputted. If the Desktop chat session has been negotiated as Unicode (SessionState.Unicode field is true), this MUST be a Unicode character. If the Desktop chat session has not been negotiated as Unicode (SessionState.Unicode field is false), this MUST be an ANSI (as specified in [ISO/IEC-8859-1]) or Double-Byte Character Sets (DBCS) character.