2 * See the file LICENSE for redistribution information.
4 * Copyright (c) 2012, 2012 Oracle and/or its affiliates. All rights reserved.
8 // stdafx.h : include file for standard system include files,
9 // or project specific include files that are used frequently,
10 // but are changed infrequently
14 #pragma comment(linker, "/nodefaultlib:libc.lib")
15 #pragma comment(linker, "/nodefaultlib:libcd.lib")
17 // NOTE - this is value is not strongly correlated to the Windows CE OS version being targeted
18 #define WINVER _WIN32_WCE
21 #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
24 #define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit
26 #define _ATL_APARTMENT_THREADED
29 // turns off MFC's hiding of some common and often safely ignored warning messages
30 #define _AFX_ALL_WARNINGS
33 #if defined(WIN32_PLATFORM_PSPC) || defined(WIN32_PLATFORM_WFSP)
34 #define SHELL_AYGSHELL
37 #include <afxwin.h> // MFC core and standard components
38 #include <afxext.h> // MFC extensions
40 #ifndef _AFX_NO_OLE_SUPPORT
41 #include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
46 #ifndef _AFX_NO_AFXCMN_SUPPORT
47 #include <afxcmn.h> // MFC support for Windows Common Controls
48 #endif // _AFX_NO_AFXCMN_SUPPORT
52 #if defined(WIN32_PLATFORM_PSPC) || defined(WIN32_PLATFORM_WFSP)
53 #ifndef _DEVICE_RESOLUTION_AWARE
54 #define _DEVICE_RESOLUTION_AWARE
58 #ifdef _DEVICE_RESOLUTION_AWARE
59 #include "DeviceResolutionAware.h"
63 #pragma comment(lib, "aygshell.lib")
65 #if (_WIN32_WCE < 0x500) && ( defined(WIN32_PLATFORM_PSPC) || defined(WIN32_PLATFORM_WFSP) )
66 #pragma comment(lib, "ccrtrtti.lib")
69 #pragma comment(lib, "libcmtx86d.lib")
71 #pragma comment(lib, "libcmtx86.lib")