Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
608 B

  1. /*++
  2. Copyright (c) Microsoft Corporation. All rights reserved.
  3. Module Name:
  4. ksguid.h
  5. Abstract:
  6. Define guids for non-C++.
  7. --*/
  8. #define INITGUID
  9. #include <guiddef.h>
  10. #if defined( DEFINE_GUIDEX )
  11. #undef DEFINE_GUIDEX
  12. #endif
  13. #define DEFINE_GUIDEX(name) EXTERN_C const CDECL GUID __declspec(selectany) name = { STATICGUIDOF(name) }
  14. #ifndef STATICGUIDOF
  15. #define STATICGUIDOF(guid) STATIC_##guid
  16. #endif // !defined(STATICGUIDOF)
  17. #if !defined( DEFINE_WAVEFORMATEX_GUID )
  18. #define DEFINE_WAVEFORMATEX_GUID(x) (USHORT)(x), 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71
  19. #endif