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

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

Added IMMDevice::Activate output

  • 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 <SDKDDKVer.h>
11
12#define INLINE_HRESULT_FROM_WIN32
13#define _INC_WINDOWSX
14
15////////////////////////////////////////////////////////////
16// ATL definitions
17
18#define _ATL_APARTMENT_THREADED
19#define _ATL_NO_AUTOMATIC_NAMESPACE
20#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS
21#define _ATL_ALL_WARNINGS
22#define _ATL_ATTRIBUTES
23
24#include "roatltrace.h" // Replacement for <atltrace.h>
25#include <atlbase.h>
26#include <atlcom.h>
27#include <atlwin.h>
28#include <atltypes.h>
29#include <atlsync.h>
30#include <atlfile.h>
31#include <atlpath.h>
32#include <atlcoll.h>
33#include <atlrx.h>
34#include <atlctl.h>
35#include <atlhost.h>
36
37using namespace ATL;
38using namespace ATL::ATLPath;
39
40////////////////////////////////////////////////////////////
41// WTL
42
43#define _WTL_NO_CSTRING
44#define _WTL_NO_WTYPES
45#define _WTL_NO_UNION_CLASSES
46#define _WTL_NEW_PAGE_NOTIFY_HANDLERS
47
48#include <atlapp.h>
49#include <atlgdi.h>
50#include <atluser.h>
51#include <atlcrack.h>
52#include <atlctrls.h>
53#include <atlctrlx.h>
54#include <atlmisc.h>
55#include <atlframe.h>
56#include <atldlgs.h>
57
58using namespace WTL;
59
60////////////////////////////////////////////////////////////
61// Alax.Info ATL/WTL
62
63#define SRWLOCK_THROUGH_CRITICALSECTION // Legacy Compatibility
64
65#define REGISTRY_PRODUCTROOT    _T("SOFTWARE\\Alax.Info\\Utility\\EnumerateAudioDevices")
66#define REGISTRY_FILEROOT               REGISTRY_PRODUCTROOT
67#define REGISTRY_ROOT                   REGISTRY_FILEROOT
68
69#include "roatlbase.h"
70#include "roatlvariants.h"
71#include "roatlcom.h"
72#include "roatlpersist.h"
73#include "roatlmisc.h"
74#include "roatlexceptionfilter.h"
75#include "rowtlapp.h"
76#include "rowtlcrack.h"
77#include "rodialogs.h"
78#include "rocontrols.h"
79
80////////////////////////////////////////////////////////////
81// Common Controls
82
83#if defined _M_IX86
84  #pragma comment(linker, "/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"")
85#elif defined _M_IA64
86  #pragma comment(linker, "/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"")
87#elif defined _M_X64
88  #pragma comment(linker, "/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"")
89#else
90  #pragma comment(linker, "/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")
91#endif
Note: See TracBrowser for help on using the repository browser.