Home | History | Annotate | Download | only in win_test
      1 /*
      2  *  Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
      3  *
      4  *  Use of this source code is governed by a BSD-style license
      5  *  that can be found in the LICENSE file in the root of the source
      6  *  tree. An additional intellectual property rights grant can be found
      7  *  in the file PATENTS.  All contributing project authors may
      8  *  be found in the AUTHORS file in the root of the source tree.
      9  */
     10 
     11 #ifndef WEBRTC_VOICE_ENGINE_TEST_WIN_TEST_STDAFX_H_
     12 #define WEBRTC_VOICE_ENGINE_TEST_WIN_TEST_STDAFX_H_
     13 
     14 // stdafx.h : include file for standard system include files,
     15 // or project specific include files that are used frequently,
     16 // but are changed infrequently
     17 
     18 #ifndef _SECURE_ATL
     19 #define _SECURE_ATL 1
     20 #endif
     21 
     22 #ifndef VC_EXTRALEAN
     23 #define VC_EXTRALEAN		// Exclude rarely-used stuff from Windows headers
     24 #endif
     25 
     26 // Modify the following defines if you have to target a platform prior to the ones specified below.
     27 // Refer to MSDN for the latest info on corresponding values for different platforms.
     28 #ifndef WINVER				// Allow use of features specific to Windows XP or later.
     29 #define WINVER 0x0501		// Change this to the appropriate value to target other versions of Windows.
     30 #endif
     31 
     32 #ifndef _WIN32_WINNT		// Allow use of features specific to Windows XP or later.
     33 #define _WIN32_WINNT 0x0501	// Change this to the appropriate value to target other versions of Windows.
     34 #endif
     35 
     36 #ifndef _WIN32_WINDOWS		// Allow use of features specific to Windows 98 or later.
     37 #define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later.
     38 #endif
     39 
     40 #ifndef _WIN32_IE			// Allow use of features specific to IE 6.0 or later.
     41 #define _WIN32_IE 0x0600	// Change this to the appropriate value to target other versions of IE.
     42 #endif
     43 
     44 #define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS	// some CString constructors will be explicit
     45 
     46 // turns off MFC's hiding of some common and often safely ignored warning messages
     47 #define _AFX_ALL_WARNINGS
     48 
     49 #include <afxwin.h>         // MFC core and standard components
     50 #include <afxext.h>         // MFC extensions
     51 
     52 #ifndef _AFX_NO_OLE_SUPPORT
     53 #include <afxdtctl.h>		// MFC support for Internet Explorer 4 Common Controls
     54 #endif
     55 #ifndef _AFX_NO_AFXCMN_SUPPORT
     56 #include <afxcmn.h>			// MFC support for Windows Common Controls
     57 #endif // _AFX_NO_AFXCMN_SUPPORT
     58 
     59 #ifdef _UNICODE
     60 #if defined _M_IX86
     61 #pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"")
     62 #elif defined _M_IA64
     63 #pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"")
     64 #elif defined _M_X64
     65 #pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"")
     66 #else
     67 #pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")
     68 #endif
     69 #endif
     70 
     71 #endif  // WEBRTC_VOICE_ENGINE_TEST_WIN_TEST_STDAFX_H_
     72