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.

99 lines
2.2 KiB

  1. /***********************************************************************
  2. *
  3. * _ABOOUSER.H
  4. *
  5. * Header file for code in ABOOUSER.C
  6. *
  7. * Copyright 1992, 1994 Microsoft Corporation. All Rights Reserved.
  8. *
  9. ***********************************************************************/
  10. #ifdef __cplusplus
  11. extern "C" {
  12. #endif
  13. /*
  14. * the one-off user object
  15. */
  16. #undef INTERFACE
  17. #define INTERFACE struct _ABOOUSER
  18. #undef MAPIMETHOD_
  19. #define MAPIMETHOD_(type, method) MAPIMETHOD_DECLARE(type, method, ABOOUSER_)
  20. MAPI_IUNKNOWN_METHODS(IMPL)
  21. MAPI_IMAPIPROP_METHODS(IMPL)
  22. MAPI_IMAILUSER_METHODS(IMPL)
  23. #undef MAPIMETHOD_
  24. #define MAPIMETHOD_(type, method) MAPIMETHOD_TYPEDEF(type, method, ABOOUSER_)
  25. MAPI_IUNKNOWN_METHODS(IMPL)
  26. MAPI_IMAPIPROP_METHODS(IMPL)
  27. MAPI_IMAILUSER_METHODS(IMPL)
  28. #undef MAPIMETHOD_
  29. #define MAPIMETHOD_(type, method) STDMETHOD_(type, method)
  30. DECLARE_MAPI_INTERFACE(ABOOUSER_)
  31. {
  32. MAPI_IUNKNOWN_METHODS(IMPL)
  33. MAPI_IMAPIPROP_METHODS(IMPL)
  34. MAPI_IMAILUSER_METHODS(IMPL)
  35. };
  36. typedef struct _ABOOUSER
  37. {
  38. ABOOUSER_Vtbl FAR * lpVtbl;
  39. FAB_Wrapped;
  40. // Table for a drop down list control
  41. LPTABLEDATA lpTDatDDListBox;
  42. } ABOOUSER, *LPABOOUSER;
  43. #define CBABOOUSER sizeof(ABOOUSER)
  44. /*
  45. * Function prototypes
  46. *
  47. */
  48. /* Functions in oouser.c */
  49. HRESULT
  50. HrNewFaxOOUser (LPMAILUSER * lppMAPIPropEntry,
  51. ULONG * lpulObjType,
  52. ULONG cbEntryID,
  53. LPENTRYID lpEntryID,
  54. LPABLOGON lpABPLogon,
  55. LPCIID lpInterface,
  56. HINSTANCE hLibrary,
  57. LPALLOCATEBUFFER lpAllocBuff,
  58. LPALLOCATEMORE lpAllocMore,
  59. LPFREEBUFFER lpFreeBuff,
  60. LPMALLOC lpMalloc );
  61. HRESULT HrBuildDDLBXRecipCapsTable(LPABUSER lpABUser);
  62. #ifdef _FAXAB_OOUSER
  63. OOUSER_ENTRYID ONEOFF_EID =
  64. {
  65. 0, // | MAPI_NOTRECIP; /* long-term, recipient */
  66. 0,
  67. 0,
  68. 0,
  69. MUIDABMAWF,
  70. MAWF_VERSION,
  71. MAWF_ONEOFF,
  72. /*
  73. {{0}, // Display Name
  74. {0}, // Email Address
  75. {"FAX"}, // Address Type
  76. {0} // Machine capabilities
  77. }
  78. */
  79. };
  80. #else
  81. OOUSER_ENTRYID ONEOFF_EID;
  82. #endif
  83. #ifdef __cplusplus
  84. } /* extern "C" */
  85. #endif