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.

71 lines
1.6 KiB

  1. /*
  2. -
  3. - Distribution List interface
  4. -
  5. */
  6. #ifndef _DISTLIST_H_
  7. #define _DISTLIST_H_
  8. #ifdef OLD_STUFF
  9. #undef INTERFACE
  10. #define INTERFACE struct _DistList
  11. #undef MAPIMETHOD_
  12. #define MAPIMETHOD_(type, method) MAPIMETHOD_DECLARE(type, method, DistList_)
  13. MAPI_IUNKNOWN_METHODS(IMPL)
  14. MAPI_IMAPIPROP_METHODS(IMPL)
  15. #undef MAPIMETHOD_
  16. #define MAPIMETHOD_(type, method) MAPIMETHOD_TYPEDEF(type, method, DistList_)
  17. MAPI_IUNKNOWN_METHODS(IMPL)
  18. MAPI_IMAPIPROP_METHODS(IMPL)
  19. #undef MAPIMETHOD_
  20. #define MAPIMETHOD_(type, method) STDMETHOD_(type, method)
  21. DECLARE_MAPI_INTERFACE(DistList_)
  22. {
  23. BEGIN_INTERFACE
  24. MAPI_IUNKNOWN_METHODS(IMPL)
  25. MAPI_IMAPIPROP_METHODS(IMPL)
  26. };
  27. typedef struct _DistList {
  28. MAILUSER_BASE_MEMBERS(DistList)
  29. } DistList, FAR * LPDistList;
  30. #endif
  31. extern CONTAINER_Vtbl vtblDISTLIST;
  32. #undef INTERFACE
  33. #define INTERFACE struct _DLENTRY
  34. #undef MAPIMETHOD_
  35. #define MAPIMETHOD_(type, method) MAPIMETHOD_DECLARE(type, method, DLENTRY_)
  36. MAPI_IUNKNOWN_METHODS(IMPL)
  37. MAPI_IMAPIPROP_METHODS(IMPL)
  38. #undef MAPIMETHOD_
  39. #define MAPIMETHOD_(type, method) MAPIMETHOD_TYPEDEF(type, method, DLENTRY_)
  40. MAPI_IUNKNOWN_METHODS(IMPL)
  41. MAPI_IMAPIPROP_METHODS(IMPL)
  42. #undef MAPIMETHOD_
  43. #define MAPIMETHOD_(type, method) STDMETHOD_(type, method)
  44. DECLARE_MAPI_INTERFACE(DLENTRY_)
  45. {
  46. BEGIN_INTERFACE
  47. MAPI_IUNKNOWN_METHODS(IMPL)
  48. MAPI_IMAPIPROP_METHODS(IMPL)
  49. };
  50. typedef struct _DLENTRY {
  51. MAILUSER_BASE_MEMBERS(DLENTRY)
  52. LPCONTAINER lpCONTAINER; // DistList containing this DLENTRY
  53. } DLENTRY, FAR * LPDLENTRY;
  54. #endif