The @dll.structmap directive is used to declare fixed-size strings and arrays embedded in structures. It should be placed within a structure that is declared with @dll.struct, and directly above the declaration of the fixed-size string or array field. For more information on how to use @dll.structmap, see Fixed-size Strings Embedded within Structures and Fixed-size Scalar Arrays Embedded within Structures.
The following table presents the syntax of the @dll.structmap directive.
Situation | Required Syntax | Explanation |
Structure that contains a fixed-size string. | /**@dll.structmap([type=TCHAR[Size]])*/ |
Size is a decimal integer that indicates the number of characters in the string, including space for the null terminator. |
Structure that contains a fixed-size array. | /**@dll.structmap([type=FIXEDARRAY,size=n])*/ |
n is a decimal integer that represents the size of the array. |