J
James Kanze
DWORD has always confused me a little bit. Like Michael I
always remembered DWORD to be a typedef for unsigned int and
will remain 32 bits even on a 64 bit arch.
Back when I did use it, DWORD was 64 bits (8 bytes). The
standard nomenclature (invented by IBM), is BYTE, HWORD, WORD
and DWORD, for 8, 16 32 and 64 bits respectively. And
signedness didn't matter, because this was back in the days of
assembler.
In C++, if you want a specific size, the "standard" types are
int8_t/uint8_t, int16_t/uint16_t, etc.