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.

29 lines
940 B

  1. //-----------------------------------------------------------------------------
  2. // File: adoguids.h
  3. //
  4. // Copyright: Copyright (c) Microsoft Corporation
  5. //
  6. // Contents: ADO GUIDs macros definition
  7. //
  8. // Comments:
  9. //
  10. //-----------------------------------------------------------------------------
  11. #ifndef __ADOGUIDS_H__
  12. #define __ADOGUIDS_H__
  13. #define STRING_GUID(l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) l##-##w1##-##w2##-##b1##b2##-##b3##b4##b5##b6##b7##b8
  14. #if defined(__midl) || defined(GEN_MIDL)
  15. #define GUID_BUILDER(n,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) STRING_GUID(l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8)
  16. #else
  17. #define GUID_BUILDER(n,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) DEFINE_GUID(n,0x##l,0x##w1,0x##w2,0x##b1,0x##b2,0x##b3,0x##b4,0x##b5,0x##b6,0x##b7,0x##b8)
  18. #define IMMEDIATE_GUID_USE
  19. #endif
  20. #define INCLUDING_ADOGUIDS
  21. #include "adogpool.h"
  22. #undef INCLUDING_ADOGUIDS
  23. #undef IMMEDIATE_GUID_USE
  24. #endif //__ADOGUIDS_H__