|
#pragma once
#pragma warning( push )
// disable all of the "warning C4201: nonstandard extension used :
// nameless struct/union" warnings from old windows headers.
#pragma warning( disable : 4201 )
// NOTE - this value is not strongly correlated to the Windows CE OS version being targeted
#define WINVER _WIN32_WCE
// Change this value to use different versions
#define _WIN32_WCE_AYGSHELL 1
#define _SECURE_ATL 1
#define _WTL_CE_NO_ZOOMSCROLL
#define NOMINMAX
#include <algorithm>
using std::max;
using std::min;
#define _countof(_x) (sizeof(_x)/sizeof(_x[0]))
#include <ceconfig.h>
#ifdef _CE_DCOM
#define _ATL_APARTMENT_THREADED
#endif
#include <windows.h>
#include <altcecrt.h>
#pragma warning( pop )
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.