[CONSRV]
[reactos.git] / include / dxsdk / ksguid.h
1 #define INITGUID
2 #include <guiddef.h>
3
4 #ifndef STATICGUIDOF
5 #define STATICGUIDOF(guid) STATIC_##guid
6 #endif
7
8 #if !defined( DEFINE_WAVEFORMATEX_GUID )
9 #define DEFINE_WAVEFORMATEX_GUID(x) (USHORT)(x), 0x0000, 0x0010, { 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71 }
10 #endif
11
12 #if defined( DEFINE_GUIDEX )
13 #undef DEFINE_GUIDEX
14 #define DEFINE_GUIDEX(name) EXTERN_C const CDECL GUID __declspec(selectany) name = { STATICGUIDOF(name) }
15 #else
16 #define DEFINE_GUIDEX(name) EXTERN_C const CDECL GUID __declspec(selectany) name = { STATICGUIDOF(name) }
17 #endif
18