PortAudio 2.0
ksguid.h
Go to the documentation of this file.
00001 
00006 #define INITGUID
00007 #include <guiddef.h>
00008 
00009 #ifndef DECLSPEC_SELECTANY
00010 #define DECLSPEC_SELECTANY __declspec(selectany)
00011 #endif
00012 
00013 #ifdef DEFINE_GUIDEX
00014 #undef DEFINE_GUIDEX
00015 #endif
00016 
00017 #ifdef __cplusplus
00018 #define DEFINE_GUIDEX(name) EXTERN_C const CDECL GUID DECLSPEC_SELECTANY name = { STATICGUIDOF(name) }
00019 #else
00020 #define DEFINE_GUIDEX(name) const CDECL GUID DECLSPEC_SELECTANY name = { STATICGUIDOF(name) }
00021 #endif
00022 #ifndef STATICGUIDOF
00023 #define STATICGUIDOF(guid) STATIC_##guid
00024 #endif
00025 
00026 #ifndef DEFINE_WAVEFORMATEX_GUID
00027 #define DEFINE_WAVEFORMATEX_GUID(x) (USHORT)(x),0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71
00028 #endif