In addition to the basic structure data types recognized by Hex Workshop, you can make use of standard types defined in the supplied standard-types.hsl file:

 

Data Type

Maps To

 

 

CHAR

char

BYTE

signed __int8

byte

signed __int8

UBYTE

unsigned __int8

ubyte

unsigned __int8

WORD

signed __int16

word

signed __int16

USHORT

unsigned __int16

ushort

unsigned __int16

SHORT

signed __int16

DWORD

signed __int32

dword

signed __int32

LONG

signed __int32

ulong

unsigned __int32

quad

signed __int64

UQUAD

unsigned __int64

uquad

unsigned __int64

FLOAT

float

DOUBLE

double

 

To utilize these standard types, please add the following line to the top of your structure library:

 

 #include "standard-types.hsl"