-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpch.h
More file actions
43 lines (37 loc) · 848 Bytes
/
pch.h
File metadata and controls
43 lines (37 loc) · 848 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
//
// pch.h
// Header for standard system include files.
//
#pragma once
#include <collection.h>
#include <ppltasks.h>
#define XAUDIO2_HELPER_FUNCTIONS
#include <xaudio2.h>
#include <xaudio2fx.h>
#include <mfidl.h>
#include <mfapi.h>
#include <mfreadwrite.h>
#include <mferror.h>
#include <propvarutil.h>
#include "App.xaml.h"
using namespace Concurrency;
using namespace Platform;
using namespace Windows::Foundation;
using namespace Microsoft::WRL;
using namespace Windows::Storage;
using namespace Windows::Storage::Streams;
using namespace SongMixer;
using namespace Windows::UI::Core;
using namespace Windows::UI::Xaml;
inline void ThrowIfFailed(HRESULT hr)
{
if (FAILED(hr))
{
throw Platform::Exception::CreateException(hr);
}
}
#define IF_FAILED_JUMP(action, label) \
{ \
hr = (action); \
if (FAILED(hr)) { goto label; } \
}