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.

115 lines
1.8 KiB

  1. /*++
  2. Copyright (c) 1997 Microsoft Corporation
  3. Module Name:
  4. faxmapi.h
  5. Abstract:
  6. This file contains the prototypes, etc for the
  7. FAX mapi API.
  8. Author:
  9. Wesley Witt (wesw) 7-Mar-1997
  10. Environment:
  11. User Mode
  12. --*/
  13. #ifndef _FAXMAPI_
  14. #define _FAXMAPI_
  15. #ifdef __cplusplus
  16. extern "C" {
  17. #endif
  18. typedef BOOL
  19. (WINAPI *PFAXLOG)(
  20. IN DWORD Category,
  21. IN DWORD Level,
  22. IN DWORD StringCount,
  23. IN DWORD FormatId,
  24. IN ...
  25. );
  26. typedef BOOL
  27. (WINAPI *PSERVICEMESSAGEBOX)(
  28. IN LPCWSTR MsgString,
  29. IN DWORD Type,
  30. IN BOOL UseThread,
  31. IN LPDWORD Response,
  32. IN ...
  33. );
  34. VOID
  35. FXSMAPIFree(
  36. VOID
  37. );
  38. BOOL WINAPI
  39. FaxMapiInitialize(
  40. IN PSERVICEMESSAGEBOX pServiceMessageBox
  41. );
  42. LPCWSTR WINAPI
  43. GetProfileName(
  44. IN LPVOID ProfileInfo
  45. );
  46. LPVOID WINAPI
  47. AddNewMapiProfile(
  48. LPCWSTR ProfileName,
  49. BOOL UseMail,
  50. BOOL ShowPopUp
  51. );
  52. BOOL WINAPI
  53. StoreMapiMessage(
  54. LPVOID ProfileInfo,
  55. LPCWSTR MsgSenderNameW,
  56. LPCWSTR MsgSubjectW,
  57. LPCWSTR MsgBodyW,
  58. LPCWSTR MsgAttachmentFileNameW,
  59. LPCWSTR MsgAttachmentTitleW,
  60. DWORD MsgImportance,
  61. LPFILETIME MsgTime,
  62. PULONG ResultCode
  63. );
  64. BOOL WINAPI
  65. MailMapiMessage(
  66. LPVOID ProfileInfo,
  67. LPCWSTR RecipientNameW,
  68. LPCWSTR MsgSubjectW,
  69. LPCWSTR MsgBodyW,
  70. LPCWSTR MsgAttachmentFileNameW,
  71. LPCWSTR MsgAttachmentTitleW,
  72. DWORD MsgImportance,
  73. PULONG ResultCode
  74. );
  75. LONG WINAPI
  76. GetMapiProfiles(
  77. LPWSTR *OutBuffer,
  78. LPDWORD OutBufferSize
  79. );
  80. typedef BOOL (WINAPI *PFAXMAPIINITIALIZE) (VOID);
  81. #ifdef __cplusplus
  82. }
  83. #endif
  84. #endif