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

Last change on this file since 937 was 792, checked in by roman, 6 years ago

VS and Win SDK upgrade; MixFormat? in the output; minor improvements

  • Property svn:keywords set to Id
File size: 2.9 KB
Line 
1////////////////////////////////////////////////////////////
2// Copyright (C) Roman Ryltsov, 2008-2015
3// Created by Roman Ryltsov roman@alax.info
4
5#pragma once
6
7////////////////////////////////////////////////////////////
8// Windows definitions
9
10#include <winsdkver.h>
11#include <sdkddkver.h>
12
13#define INLINE_HRESULT_FROM_WIN32
14#define _INC_WINDOWSX
15
16////////////////////////////////////////////////////////////
17// ATL definitions
18
19#define _ATL_APARTMENT_THREADED
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 SRWLOCK_THROUGH_CRITICALSECTION // Legacy Compatibility
65
66#define REGISTRY_PRODUCTROOT    _T("SOFTWARE\\Alax.Info\\Utility\\EnumerateAudioDevices")
67#define REGISTRY_FILEROOT               REGISTRY_PRODUCTROOT
68#define REGISTRY_ROOT                   REGISTRY_FILEROOT
69
70#include "roatlbase.h"
71#include "roatlvariants.h"
72#include "roatlcom.h"
73#include "roatlpersist.h"
74#include "roatlmisc.h"
75#include "roatlexceptionfilter.h"
76#include "rowtlapp.h"
77#include "rowtlcrack.h"
78#include "rodialogs.h"
79#include "rocontrols.h"
80
81////////////////////////////////////////////////////////////
82// Common Controls
83
84#if defined _M_IX86
85  #pragma comment(linker, "/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"")
86#elif defined _M_IA64
87  #pragma comment(linker, "/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"")
88#elif defined _M_X64
89  #pragma comment(linker, "/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"")
90#else
91  #pragma comment(linker, "/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")
92#endif
Note: See TracBrowser for help on using the repository browser.