You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
562 B
26 lines
562 B
#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 <windows.h>
|
|
|
|
#include <stdio.h>
|
|
#include <string.h>
|
|
|
|
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;
|
|
}
|