#define PSTREAM unsigned char *

#define BIT bool	// this does not actually need to be a bit

// these MUST be the size they indicate.
#define DWORD unsigned long
#define BYTE unsigned char
#define WORD unsigned short