Leaked source code of windows server 2003
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.

28 lines
739 B

  1. // initguid.h - include after compobj.h to enable GUID initialization. This
  2. // must be done once per exe/dll.
  3. //
  4. // After this file, include one or more of the GUID definition files.
  5. //
  6. // NOTE: ole2.lib contains references to all GUIDs defined by OLE.
  7. #ifndef DEFINE_GUID
  8. #pragma error "initguid: must include compobj.h first."
  9. #endif
  10. #undef DEFINE_GUID
  11. #ifdef _MAC
  12. #define __based(a)
  13. #endif
  14. #ifdef WIN32
  15. #define __based(a)
  16. #endif
  17. #ifdef __TURBOC__
  18. #define __based(a)
  19. #endif
  20. #define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
  21. EXTERN_C const GUID CDECL __based(__segname("_CODE")) name \
  22. = { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } }