Prevent WASAPI GUID from being re-defined in all compilation units.

This commit is contained in:
Raphaël Londeix 2015-12-07 03:26:57 +01:00
parent 8587a22b21
commit 699b00c427

View file

@ -13,14 +13,13 @@
#include "list.h" #include "list.h"
#include "atomics.h" #include "atomics.h"
#define INITGUID
#define CINTERFACE #define CINTERFACE
#define COBJMACROS #define COBJMACROS
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN
#endif
#include <windows.h> #include <windows.h>
#include <mmdeviceapi.h> #include <mmdeviceapi.h>
#include <functiondiscoverykeys_devpkey.h>
#include <mmreg.h>
#include <audioclient.h> #include <audioclient.h>
#include <audiosessiontypes.h> #include <audiosessiontypes.h>
#include <audiopolicy.h> #include <audiopolicy.h>