home *** CD-ROM | disk | FTP | other *** search
/ PC Format (South-Africa) 2001 June / PCFJune.iso / Xenon / C++ / FreeCommandLineTools.exe / Include / ksguid.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-01-31  |  709 b   |  32 lines

  1. #pragma option push -b -a8 -pc -A- /*P_O_Push*/
  2. /*++
  3.  
  4. Copyright (C) Microsoft Corporation, 1996 - 1999
  5.  
  6. Module Name:
  7.  
  8.     ksguid.h
  9.  
  10. Abstract:
  11.  
  12.     Define guids for non-C++.
  13.  
  14. --*/
  15.  
  16. #define INITGUID
  17. #include <guiddef.h>
  18.  
  19. #if defined( DEFINE_GUIDEX )
  20.     #undef DEFINE_GUIDEX
  21. #endif
  22. #define DEFINE_GUIDEX(name) EXTERN_C const CDECL GUID __declspec(selectany) name = { STATICGUIDOF(name) }
  23.  
  24. #ifndef STATICGUIDOF
  25.     #define STATICGUIDOF(guid) STATIC_##guid
  26. #endif // !defined(STATICGUIDOF)
  27.  
  28. #if !defined( DEFINE_WAVEFORMATEX_GUID )
  29. #define DEFINE_WAVEFORMATEX_GUID(x) (USHORT)(x), 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71
  30. #endif
  31. #pragma option pop /*P_O_Pop*/
  32.