Microsoft DirectX 8.0 (Visual Basic)

TOKEN_STRING

A variable-length record. The token is followed by a count value that specifies the number of bytes that follow in the string field. An ASCII string of length count continues the record, which is completed by a terminating token. The choice of terminator is determined by syntax issues discussed elsewhere.

Field Type Size (bytes) Contents
token WORD 2 TOKEN_STRING
count DWORD 4 Length of string field in bytes
string BYTE array count ASCII string
terminator DWORD 4 TOKEN_SEMICOLON or TOKEN_COMMA