mirror of
https://github.com/arehnman/yttrium-virtio-gpu.git
synced 2026-11-07 02:06:32 +00:00
53 lines
1.2 KiB
C++
53 lines
1.2 KiB
C++
// stdafx.h : include file for standard system include files,
|
|
// or project specific include files that are used frequently, but
|
|
// are changed infrequently
|
|
//
|
|
|
|
#pragma once
|
|
|
|
#include "targetver.h"
|
|
#include "resource.h"
|
|
|
|
#ifndef WIN32_LEAN_AND_MEAN
|
|
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
|
|
#endif
|
|
|
|
// Windows Header Files:
|
|
#pragma warning(push, 3)
|
|
#include <stdio.h>
|
|
#include <tchar.h>
|
|
#include <windows.h>
|
|
#include <winscard.h>
|
|
#include <netsh.h>
|
|
#include <setupapi.h>
|
|
#include <strsafe.h>
|
|
#include <Cfgmgr32.h>
|
|
#pragma warning(pop)
|
|
|
|
#ifdef __cplusplus
|
|
#include "tstrings.h"
|
|
#include "Exception.h"
|
|
|
|
#pragma warning(push, 3)
|
|
#pragma warning(disable:4995) //name was marked as #pragma deprecated
|
|
#include <vector>
|
|
#include <algorithm>
|
|
#pragma warning(pop)
|
|
|
|
using namespace std;
|
|
#endif
|
|
#pragma warning(disable:4512) //assignment operator could not be generated
|
|
|
|
|
|
#ifdef _DEBUG
|
|
#define NETCO_DEBUG_PRINT(x) { tcout << TEXT("NETKVM: ") << x << endl;}
|
|
#else
|
|
#define NETCO_DEBUG_PRINT(x)
|
|
#endif
|
|
|
|
#ifndef ARRAY_SIZE
|
|
#define ARRAY_SIZE(a) (sizeof(a)/sizeof((a)[0]))
|
|
#endif
|
|
|
|
// TODO: reference additional headers your program requires here
|