62 lines
1.1 KiB
C
62 lines
1.1 KiB
C
//
|
|
//
|
|
// PURPOSE: Header files that should be in the precompiled header.
|
|
|
|
//
|
|
// PLATFORMS:
|
|
// Windows 2000, Windows XP
|
|
//
|
|
//
|
|
#ifndef _PRECOMP_H
|
|
#define _PRECOMP_H
|
|
|
|
|
|
// Necessary for compiling under VC.
|
|
#if(!defined(WINVER) || (WINVER < 0x0500))
|
|
#undef WINVER
|
|
#define WINVER 0x0500
|
|
#endif
|
|
#if(!defined(_WIN32_WINNT) || (_WIN32_WINNT < 0x0500))
|
|
#undef _WIN32_WINNT
|
|
#define _WIN32_WINNT 0x0500
|
|
#endif
|
|
|
|
// Polymorphic types for Win32/Win64
|
|
// These don't exist for NT4.
|
|
#ifdef WINNT_40
|
|
#define ULONG_PTR ULONG
|
|
#define LONG_PTR LONG
|
|
#endif
|
|
|
|
|
|
// Required header files that shouldn't change often.
|
|
|
|
|
|
#include <STDDEF.H>
|
|
#include <STDLIB.H>
|
|
#include <OBJBASE.H>
|
|
#include <STDARG.H>
|
|
#include <STDIO.H>
|
|
#include <LIMITS.H>
|
|
#include <WINDEF.H>
|
|
#include <WINERROR.H>
|
|
#include <WINBASE.H>
|
|
#include <WINGDI.H>
|
|
#include <WINDDI.H>
|
|
#include <WINSPOOL.H>
|
|
#include <TCHAR.H>
|
|
#include <EXCPT.H>
|
|
#include <ASSERT.H>
|
|
#include <PRSHT.H>
|
|
#include <COMPSTUI.H>
|
|
#include <WINDDIUI.H>
|
|
#include <PRINTOEM.H>
|
|
|
|
#define COUNTOF(p) (sizeof(p)/sizeof(*(p)))
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|