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

Last change on this file since 937 was 347, checked in by roman, 9 years ago
  • Property svn:keywords set to Id
File size: 3.2 KB
RevLine 
[142]1////////////////////////////////////////////////////////////
2// Copyright (C) Roman Ryltsov, 2006-2012
3// Created by Roman Ryltsov roman@alax.info
4//
5// A permission to use the source code is granted as long as reference to
6// source website http://alax.info is retained.
7
8#pragma once
9
10////////////////////////////////////////////////////////////
11// Windows definitions
12
13//#define STRICT
[347]14
15//#define WINVER                                                0x0501  // Windows XP
16//#define _WIN32_WINNT                          0x0501  // Windows XP
17//#define _WIN32_WINDOWS                                0x0410  // Windows 98
18//#define _WIN32_IE                                     0x0501  // Internet Explorer 5.01
19//#define _RICHEDIT_VER                         0x0200  // RichEdit 2.0
20
21#include <SDKDDKVer.h>
22
[142]23#define INLINE_HRESULT_FROM_WIN32
24
25////////////////////////////////////////////////////////////
26// ATL definitions
27
28#define _ATL_APARTMENT_THREADED
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
[347]58#undef _SYSINFOAPI_H_
[142]59#include <atlapp.h>
[347]60#define _SYSINFOAPI_H_
61
[142]62#include <atlgdi.h>
63#include <atluser.h>
64#include <atlcrack.h>
65#include <atlctrls.h>
66#include <atlctrlx.h>
67#include <atlmisc.h>
68#include <atlframe.h>
69#include <atldlgs.h>
70
71using namespace WTL;
72
73////////////////////////////////////////////////////////////
74// Alax.Info ATL/WTL
75
76#define REGISTRY_PRODUCTROOT    _T("SOFTWARE\\Alax.Info\\Utility")
77#define REGISTRY_FILEROOT               REGISTRY_PRODUCTROOT
78#define REGISTRY_ROOT                   REGISTRY_FILEROOT
79
80#include "roatlbase.h"
81#include "roatlvariants.h"
82#include "roatlcom.h"
83#include "roatlpersist.h"
84#include "roatlmisc.h"
85#include "roatlexceptionfilter.h"
86#include "rowtlapp.h"
87#include "rowtlcrack.h"
88#include "rodialogs.h"
89#include "rocontrols.h"
90
91////////////////////////////////////////////////////////////
92// Common Controls
93
94#if defined _M_IX86
95  #pragma comment(linker, "/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"")
96#elif defined _M_IA64
97  #pragma comment(linker, "/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"")
98#elif defined _M_X64
99  #pragma comment(linker, "/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"")
100#else
101  #pragma comment(linker, "/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")
102#endif
Note: See TracBrowser for help on using the repository browser.