I have a structure defined this way:
typedef struct _CONFIGURATION_DATA { BYTE configurationIndicator; ULONG32 baudRate; BYTE stopBits; BYTE parity; BYTE wordLength; BYTE flowControl; BYTE padding; } CONFIGURATION_DATA;
Now, according to my calculations, this structure has a length of 10 bytes. However, sizeof reports the file is 16 bytes long? Does anyone know why?
I am compiling using build tools in the Windows DDK.
Kazar source share