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

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