2.3.2.4 CHATDATA_DBCS_STRING
The CHATDATA_DBCS_STRING structure indicates that a user has entered text into the chat session that is being sent to a receiver that does not support Unicode.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Type |
SelPosEnd |
||||||||||||||||||||||||||||||
SelPosBegin |
Size |
||||||||||||||||||||||||||||||
... |
unused (50 bytes) |
||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
DBCSText (variable) |
|||||||||||||||||||||||||||||||
... |
Type (2 bytes): A 16-bit unsigned integer (ChatMessageType) specifying the type of this message. MUST be set to 0x0103 (CHT_DBCS_STRING).
SelPosEnd (2 bytes): A 16-bit unsigned integer that specifies the zero-based position of the first character after the last selected character. <6>
SelPosBegin (2 bytes): A 16-bit unsigned integer that specifies the zero-based starting position of the selection. <7>
Size (4 bytes): A 32-bit unsigned integer that specifies the length of the DBCS string in bytes, not including the NULL terminator.
unused (50 bytes): Unused. MUST be zeroed.
DBCSText (variable): A NULL-terminated DBCS character string.