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.

39 lines
728 B

  1. //
  2. // Function prototypes
  3. //
  4. // Those not mentioned use ROOT_methods
  5. #undef INTERFACE
  6. #define INTERFACE struct _WRAP
  7. #undef MAPIMETHOD_
  8. #define MAPIMETHOD_(type, method) MAPIMETHOD_DECLARE(type, method, WRAP_)
  9. MAPI_IUNKNOWN_METHODS(IMPL)
  10. MAPI_IMAPIPROP_METHODS(IMPL)
  11. #undef MAPIMETHOD_
  12. #define MAPIMETHOD_(type, method) MAPIMETHOD_TYPEDEF(type, method, WRAP_)
  13. MAPI_IUNKNOWN_METHODS(IMPL)
  14. MAPI_IMAPIPROP_METHODS(IMPL)
  15. #undef MAPIMETHOD_
  16. #define MAPIMETHOD_(type, method) STDMETHOD_(type, method)
  17. DECLARE_MAPI_INTERFACE(WRAP_)
  18. {
  19. MAPI_IUNKNOWN_METHODS(IMPL)
  20. MAPI_IMAPIPROP_METHODS(IMPL)
  21. };
  22. typedef struct _WRAP {
  23. WRAP_Vtbl * lpVtbl;
  24. FAB_Wrapped;
  25. } WRAP, *LPWRAP;
  26. #define CBWRAP sizeof(WRAP)