50 lines
1.0 KiB
C++
50 lines
1.0 KiB
C++
#ifndef _COMMON_WINDOWS_HPP_
|
|
#define _COMMON_WINDOWS_HPP_
|
|
#define WIN32_LEAN_AND_MEAN
|
|
#define NOSERVICE
|
|
#define NOKANJI
|
|
#define NOCRYPT
|
|
#define NOMCX
|
|
#define NOLSTRING
|
|
#define NODBCS
|
|
#define NOMETAFILE
|
|
#define NOPROFILER
|
|
#define NOLANGUAGE
|
|
#define NOLOGERROR
|
|
#define NOMCX
|
|
#define NOIME
|
|
#define NOCOMM
|
|
#include <windows.h>
|
|
typedef unsigned short USHORT;
|
|
#ifndef DS_3DLOOK
|
|
#define DS_3DLOOK 0x0004L
|
|
#endif
|
|
#ifndef PFD_GENERIC_ACCELERATED
|
|
#define PFD_GENERIC_ACCELERATED 0x00001000
|
|
#endif
|
|
#ifndef PFD_SWAP_LAYER_BUFFERS
|
|
#define PFD_SWAP_LAYER_BUFFERS 0x00000800
|
|
#endif
|
|
#ifndef PFD_DEPTH_DONTCARE
|
|
#define PFD_DEPTH_DONTCARE 0x20000000
|
|
#endif
|
|
#ifndef EN_MSGFILTER
|
|
#define EN_MSGFILTER 0x0700
|
|
#endif
|
|
#ifndef EN_REQUESTRESIZE
|
|
#define EN_REQUESTRESIZE 0x0701
|
|
#endif
|
|
#ifndef EN_SELCHANGE
|
|
#define EN_SELCHANGE 0x0702
|
|
#endif
|
|
#ifndef EN_DROPFILES
|
|
#define EN_DROPFILES 0x0703
|
|
#endif
|
|
#ifndef EN_PROTECTED
|
|
#define EN_PROTECTED 0x0704
|
|
#endif
|
|
#endif
|
|
#ifndef IMAGE_DIRECTORY_ENTRY_COPYRIGHT
|
|
#define IMAGE_DIRECTORY_ENTRY_COPYRIGHT IMAGE_DIRECTORY_ENTRY_ARCHITECTURE
|
|
#endif
|