No difference with this code:#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <stdio.h>
#include <stddef.h>
#pragma comment(lib, "msvcrt.lib")
int main(int argc, char *argv[])
{
DCB dcb = { sizeof(DCB) };
printf("sizeof(DCB) %d 28\n", sizeof(DCB));
printf("DCBlength: %d 0\n", offsetof(DCB,DCBlength));
printf("BaudRate: %d 4\n", offsetof(DCB,BaudRate));
printf("wReserved: %d 12\n", offsetof(DCB,wReserved));
printf("Parity: %d 19\n", offsetof(DCB,Parity));
printf("wReserved1:%d 26\n", offsetof(DCB,wReserved1));
return 0;
}