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.

40 lines
860 B

  1. /***********************************************************************
  2. *
  3. * TBLWRAP.H
  4. *
  5. * the table wrapper (tblwrap.c) header
  6. */
  7. #undef INTERFACE
  8. #define INTERFACE struct _IVTWRAP
  9. #undef MAPIMETHOD_
  10. #define MAPIMETHOD_(type, method) MAPIMETHOD_DECLARE(type, method, IVTWRAP_)
  11. MAPI_IUNKNOWN_METHODS(IMPL)
  12. MAPI_IMAPITABLE_METHODS(IMPL)
  13. #undef MAPIMETHOD_
  14. #define MAPIMETHOD_(type, method) MAPIMETHOD_TYPEDEF(type, method, IVTWRAP_)
  15. MAPI_IUNKNOWN_METHODS(IMPL)
  16. MAPI_IMAPITABLE_METHODS(IMPL)
  17. #undef MAPIMETHOD_
  18. #define MAPIMETHOD_(type, method) STDMETHOD_(type, method)
  19. DECLARE_MAPI_INTERFACE(IVTWRAP_)
  20. {
  21. MAPI_IUNKNOWN_METHODS(IMPL)
  22. MAPI_IMAPITABLE_METHODS(IMPL)
  23. };
  24. typedef struct _IVTWRAP {
  25. const IVTWRAP_Vtbl * lpVtbl;
  26. FAB_IUnknown;
  27. LPMAPITABLE lpWrappedTable;
  28. } IVTWRAP, *LPIVTWRAP;
  29. #define CBIVTWRAP sizeof(IVTWRAP)