#ifndef _CRT_SECURE_NO_WARNINGS # define _CRT_SECURE_NO_WARNINGS #endif #if defined(_MSC_VER) && _MSC_VER >= 1928 # pragma warning(disable : 5105) /* macro expansion warning in windows.h */ #endif #include #include #include int main(void) { STARTUPINFOW si; memset(&si, 0, sizeof(si)); GetStartupInfoW(&si); if (si.cbReserved2 != 0 || si.lpReserved2 != NULL) { fprintf(stderr, "si.cbReserved2: %u\n", si.cbReserved2); fprintf(stderr, "si.lpReserved2: %p\n", si.lpReserved2); return 1; } return 0; }