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.

61 lines
1.3 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992 - 1993.
  5. //
  6. // File: idlmulti.h
  7. //
  8. // Contents: preprocessor trickery to make our .idl/.tdl files compile
  9. // with MIDL or APBU Mktyplib.
  10. //
  11. // History: 27-May-94 DonCl Created
  12. // 20-Jul-94 ErikGav Remove SDKTOOLS support
  13. //
  14. //----------------------------------------------------------------------------
  15. #ifndef __IDLMULTI_H__
  16. #define __IDLMULTI_H__
  17. #ifndef __MKTYPLIB__
  18. #define LOCAL_INTERFACE(guid) \
  19. [ \
  20. local, \
  21. object, \
  22. uuid(guid), \
  23. pointer_default(unique) \
  24. ]
  25. #define REMOTED_INTERFACE(guid) \
  26. [ \
  27. object, \
  28. uuid(guid), \
  29. pointer_default(unique) \
  30. ]
  31. #else // __MKTYPLIB__
  32. //#define cpp_quote(string)
  33. //#define const
  34. #define LOCAL_INTERFACE(guid) \
  35. [ \
  36. uuid(guid), \
  37. odl \
  38. ]
  39. #define REMOTED_INTERFACE(guid) \
  40. [ \
  41. uuid(guid), \
  42. odl \
  43. ]
  44. #endif /// MKTYPLIB
  45. #endif // __IDLMULTI_H__