| 1 |
/** |
| 2 |
* This file has no copyright assigned and is placed in the Public Domain. |
| 3 |
* This file is part of the mingw-w64 runtime package. |
| 4 |
* No warranty is given; refer to the file DISCLAIMER.PD within this package. |
| 5 |
*/ |
| 6 |
#define INITGUID |
| 7 |
#include <guiddef.h> |
| 8 |
|
| 9 |
#ifndef DECLSPEC_SELECTANY |
| 10 |
#define DECLSPEC_SELECTANY __declspec(selectany) |
| 11 |
#endif |
| 12 |
|
| 13 |
#ifdef DEFINE_GUIDEX |
| 14 |
#undef DEFINE_GUIDEX |
| 15 |
#endif |
| 16 |
|
| 17 |
#ifdef __cplusplus |
| 18 |
#define DEFINE_GUIDEX(name) EXTERN_C const CDECL GUID DECLSPEC_SELECTANY name = { STATICGUIDOF(name) } |
| 19 |
#else |
| 20 |
#define DEFINE_GUIDEX(name) const CDECL GUID DECLSPEC_SELECTANY name = { STATICGUIDOF(name) } |
| 21 |
#endif |
| 22 |
#ifndef STATICGUIDOF |
| 23 |
#define STATICGUIDOF(guid) STATIC_##guid |
| 24 |
#endif |
| 25 |
|
| 26 |
#ifndef DEFINE_WAVEFORMATEX_GUID |
| 27 |
#define DEFINE_WAVEFORMATEX_GUID(x) (USHORT)(x),0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71 |
| 28 |
#endif |