source: trunk/Utilities/WindowsMediaCodecList/stdafx.h @ 67

Last change on this file since 67 was 66, checked in by roman, 12 years ago
  • Property svn:keywords set to Id
File size: 3.0 KB
Line 
1////////////////////////////////////////////////////////////
2// Copyright (C) Roman Ryltsov, 2008-2012
3// Created by Roman Ryltsov roman@alax.info
4//
5// $Id: stdafx.h 66 2012-05-25 14:49:14Z roman $
6
7#pragma once
8
9////////////////////////////////////////////////////////////
10// Windows definitions
11
12#define WINVER                  0x0500
13#define _WIN32_WINNT    0x0501
14#define _WIN32_WINDOWS  0x0410
15#define _WIN32_IE               0x0501
16#define _RICHEDIT_VER   0x0200
17
18#define INLINE_HRESULT_FROM_WIN32
19#define _INC_WINDOWSX
20
21#include <windows.h>
22#include <shellapi.h>
23
24////////////////////////////////////////////////////////////
25// ATL definitions
26
27#define _ATL_APARTMENT_THREADED
28//#define _ATL_NO_COM_SUPPORT
29#define _ATL_NO_AUTOMATIC_NAMESPACE
30#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS
31#define _ATL_ALL_WARNINGS
32//#define _ATL_ATTRIBUTES
33
34#include "roatltrace.h" // Replacement for <atltrace.h>
35#include <atlbase.h>
36#include <atlcom.h>
37#include <atlwin.h>
38#include <atltypes.h>
39#include <atlsync.h>
40#include <atlfile.h>
41#include <atlpath.h>
42#include <atlcoll.h>
43#include <atlrx.h>
44#include <atlctl.h>
45#include <atlhost.h>
46
47using namespace ATL;
48using namespace ATL::ATLPath;
49
50////////////////////////////////////////////////////////////
51// WTL
52
53#define _WTL_NO_CSTRING
54#define _WTL_NO_WTYPES
55#define _WTL_NO_UNION_CLASSES
56#define _WTL_NEW_PAGE_NOTIFY_HANDLERS
57
58#include <atlapp.h>
59#include <atlgdi.h>
60#include <atluser.h>
61#include <atlcrack.h>
62#include <atlctrls.h>
63#include <atlctrlx.h>
64#include <atlmisc.h>
65#include <atlframe.h>
66#include <atldlgs.h>
67
68using namespace WTL;
69
70////////////////////////////////////////////////////////////
71// Alax.Info ATL/WTL
72
73#define REGISTRY_PRODUCTROOT    _T("SOFTWARE\\Alax.Info\\Utilities")
74#define REGISTRY_FILEROOT               REGISTRY_PRODUCTROOT
75#define REGISTRY_ROOT                   REGISTRY_FILEROOT
76
77#include "roatlbase.h"
78#include "roatlvariants.h"
79#include "roatlcom.h"
80#include "roatlpersist.h"
81#include "roatlmisc.h"
82#include "roatlexceptionfilter.h"
83#include "rowtlapp.h"
84#include "rowtlcrack.h"
85#include "rodialogs.h"
86#include "rocontrols.h"
87
88////////////////////////////////////////////////////////////
89// Common Controls
90
91#if defined _M_IX86
92  #pragma comment(linker, "/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"")
93#elif defined _M_IA64
94  #pragma comment(linker, "/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"")
95#elif defined _M_X64
96  #pragma comment(linker, "/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"")
97#else
98  #pragma comment(linker, "/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")
99#endif
Note: See TracBrowser for help on using the repository browser.