aboutsummaryrefslogtreecommitdiff
path: root/win32/guid.c
diff options
context:
space:
mode:
authorTakamichi Horikawa <takamichiho@gmail.com>2017-02-12 14:07:24 +0900
committerTakamichi Horikawa <takamichiho@gmail.com>2017-02-12 14:07:24 +0900
commite0b2b671de44f6a5ca6e2c9b37af2797e6d10e0d (patch)
treef2295b8377170feab985541213e5bca317675da6 /win32/guid.c
parent5ea7a368468e6bfabed0a22dca689243b5b76c90 (diff)
manually define GUID (because audioclient.h in msvc doesn't define)
Diffstat (limited to 'win32/guid.c')
-rw-r--r--win32/guid.c110
1 files changed, 106 insertions, 4 deletions
diff --git a/win32/guid.c b/win32/guid.c
index 80843aa..b61381a 100644
--- a/win32/guid.c
+++ b/win32/guid.c
@@ -1,4 +1,106 @@
-#define INITGUID
-#include <dsound.h>
-#include <mmdeviceapi.h>
-#include <audioclient.h>
+#include <rpc.h>
+
+const CLSID CLSID_DirectSound8 = {
+ 0x3901cc3f,
+ 0x84b5,
+ 0x4fa4,
+ {
+ 0xba, 0x35,
+ 0xaa,
+ 0x81,
+ 0x72,
+ 0xb8,
+ 0xa0,
+ 0x9b
+ }
+};
+
+const IID IID_IDirectSound8 = {
+ 0xc50a7e93,
+ 0xf395,
+ 0x4834,
+ {
+ 0x9e, 0xf6,
+ 0x7f,
+ 0xa9,
+ 0x9d,
+ 0xe5,
+ 0x09,
+ 0x66
+ }
+};
+
+const IID IID_IDirectSoundNotify = {
+ 0xb0210783,
+ 0x89cd,
+ 0x11d0,
+ {
+ 0xaf, 0x08,
+ 0x00,
+ 0xa0,
+ 0xc9,
+ 0x25,
+ 0xcd,
+ 0x16
+ }
+};
+
+const IID IID_IMMDeviceEnumerator = {
+ 0xa95664d2,
+ 0x9614,
+ 0x4f35,
+ {
+ 0xa7, 0x46,
+ 0xde,
+ 0x8d,
+ 0xb6,
+ 0x36,
+ 0x17,
+ 0xe6
+ }
+};
+
+const CLSID CLSID_MMDeviceEnumerator = {
+ 0xbcde0395,
+ 0xe52f,
+ 0x467c,
+ {
+ 0x8e, 0x3d,
+ 0xc4,
+ 0x57,
+ 0x92,
+ 0x91,
+ 0x69,
+ 0x2e
+ }
+};
+
+const IID IID_IAudioClient = {
+ 0x1cb9ad4c,
+ 0xdbfa,
+ 0x4c32,
+ {
+ 0xb1, 0x78,
+ 0xc2,
+ 0xf5,
+ 0x68,
+ 0xa7,
+ 0x03,
+ 0xb2
+ }
+};
+
+const IID IID_IAudioRenderClient = {
+ 0xf294acfc,
+ 0x3146,
+ 0x4483,
+ {
+ 0xa7, 0xbf,
+ 0xad,
+ 0xdc,
+ 0xa7,
+ 0xc2,
+ 0x60,
+ 0xe2
+ }
+};