ksguid.h 830 B

12345678910111213141516171819202122232425262728
  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. #ifndef DECLSPEC_SELECTANY
  9. #define DECLSPEC_SELECTANY __declspec(selectany)
  10. #endif
  11. #ifdef DEFINE_GUIDEX
  12. #undef DEFINE_GUIDEX
  13. #endif
  14. #ifdef __cplusplus
  15. #define DEFINE_GUIDEX(name) EXTERN_C const CDECL GUID DECLSPEC_SELECTANY name = { STATICGUIDOF(name) }
  16. #else
  17. #define DEFINE_GUIDEX(name) const CDECL GUID DECLSPEC_SELECTANY name = { STATICGUIDOF(name) }
  18. #endif
  19. #ifndef STATICGUIDOF
  20. #define STATICGUIDOF(guid) STATIC_##guid
  21. #endif
  22. #ifndef DEFINE_WAVEFORMATEX_GUID
  23. #define DEFINE_WAVEFORMATEX_GUID(x) (USHORT)(x),0x0000,0x0010,0x80,0x00,0x00,0xaa,0x00,0x38,0x9b,0x71
  24. #endif