Windows Seven:
#include <Windows.h>
int main()
{
HANDLE hStdHandle = GetStdHandle (STD_OUTPUT_HANDLE);
BOOL bWin32Ret = SetConsoleDisplayMode (hStdHandle, CONSOLE_FULLSCREEN_MODE, 0);
if ( bWin32Ret == 0 )
{
DWORD dwLastError = GetLastError(); // 120
}
}
winerror.h
excerpt
// This function is not supported on this system.
//
#define ERROR_CALL_NOT_IMPLEMENTED 120L
using #define
for _WIN32_WINNT
won't change anything.