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.

71 lines
1.7 KiB

  1. /***********************************************************************
  2. *
  3. * _OOTID.H
  4. *
  5. * Header file for code in OOTID.C
  6. *
  7. * Copyright 1992, 1994 Microsoft Corporation. All Rights Reserved.
  8. *
  9. ***********************************************************************/
  10. //
  11. // Function prototypes
  12. //
  13. #undef INTERFACE
  14. #define INTERFACE struct _OOTID
  15. #undef MAPIMETHOD_
  16. #define MAPIMETHOD_(type, method) MAPIMETHOD_DECLARE(type, method, OOTID_)
  17. MAPI_IUNKNOWN_METHODS(IMPL)
  18. MAPI_IMAPIPROP_METHODS(IMPL)
  19. #undef MAPIMETHOD_
  20. #define MAPIMETHOD_(type, method) MAPIMETHOD_TYPEDEF(type, method, OOTID_)
  21. MAPI_IUNKNOWN_METHODS(IMPL)
  22. MAPI_IMAPIPROP_METHODS(IMPL)
  23. #undef MAPIMETHOD_
  24. #define MAPIMETHOD_(type, method) STDMETHOD_(type, method)
  25. DECLARE_MAPI_INTERFACE(OOTID_)
  26. {
  27. MAPI_IUNKNOWN_METHODS(IMPL)
  28. MAPI_IMAPIPROP_METHODS(IMPL)
  29. };
  30. typedef struct _OOTID {
  31. const OOTID_Vtbl * lpVtbl;
  32. FAB_Wrapped;
  33. /*
  34. * Private data
  35. */
  36. // The underlying one-off user object
  37. LPMAILUSER lpABUser;
  38. // the previous (starting) cover page name
  39. TCHAR szPreviousCPName[256];
  40. } OOTID, *LPOOTID;
  41. #define CBOOTID sizeof(OOTID)
  42. /*
  43. * prototypes for functions in ootid.c
  44. */
  45. HRESULT
  46. HrNewOOTID (LPMAPIPROP * lppMAPIPropNew,
  47. ULONG cbTemplateId,
  48. LPENTRYID lpTemplateId,
  49. ULONG ulTemplateFlags,
  50. LPMAPIPROP lpPropData,
  51. LPABLOGON lpABPLogon,
  52. LPCIID lpInterface,
  53. HINSTANCE hLibrary,
  54. LPALLOCATEBUFFER lpAllocBuff,
  55. LPALLOCATEMORE lpAllocMore,
  56. LPFREEBUFFER lpFreeBuff,
  57. LPMALLOC lpMalloc );