3.2 VTNT_CHAR_INFO Structure Example
The following is an example of a populated VTNT_CHAR_INFO structure. The following structure instructs the client to redraw a row of 80-character cells, which is located on the second row of the display. The upper-left corner is (1,0) and lower-right corner is (1,79).
-
dwSize = 0x00000000 dwCursorPosition = 0x00000000 wAttributes = 0x0000 srWindow = 0x0000000000000000 dwMaximum = 0x00000000 coCursorPos_x = 0x0012 coCursorPos_y = 0x0001 coDest = 0x00000000 coSizeOfData_x = 0x0050 coSizeOfData_y = 0x0001 srDestRegion_Left = 0x0000 srDestRegion_Top = 0x0001 srDestRegion_Right = 0x004F srDestRegion_Bottom = 0x0001 Vtnt_char_array char = 0x0046 char_attributes = 0x0007
This example shows only one Vtnt_char_array for the sake of conciseness. It can be inferred based on coSizeOfData_x and coSizeOfData_y fields that a total of 80 Vtnt_char_array structures are sent by the server.