summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/stdafx.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Tox/src/stdafx.h')
-rw-r--r--protocols/Tox/src/stdafx.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/protocols/Tox/src/stdafx.h b/protocols/Tox/src/stdafx.h
index 93c73cdf65..3374130495 100644
--- a/protocols/Tox/src/stdafx.h
+++ b/protocols/Tox/src/stdafx.h
@@ -7,6 +7,11 @@
#include <commctrl.h>
#include <mmreg.h>
+#include <MMDeviceAPI.h>
+
+#define EXIT_ON_ERROR(hres) if (FAILED(hres)) { goto Exit; }
+#define SAFE_RELEASE(punk) if ((punk) != NULL) { (punk)->Release(); (punk) = NULL; }
+DEFINE_PROPERTYKEY(PKEY_Device_FriendlyName, 0xa45c254e, 0xdf1c, 0x4efd, 0x80, 0x20, 0x67, 0xd1, 0x46, 0xa8, 0x50, 0xe0, 14);
#include <string>
#include <vector>