source: trunk/Utilities/EnumerateAudioDevices/stdafx.h @ 54

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