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.

111 lines
1.7 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. BOOL WINAPI
  35. FaxMapiInitialize(
  36. IN HANDLE HeapHandle,
  37. IN PSERVICEMESSAGEBOX pServiceMessageBox,
  38. IN BOOL DebugService
  39. );
  40. LPCWSTR WINAPI
  41. GetProfileName(
  42. IN LPVOID ProfileInfo
  43. );
  44. LPVOID WINAPI
  45. AddNewMapiProfile(
  46. LPCWSTR ProfileName,
  47. BOOL UseMail,
  48. BOOL ShowPopUp
  49. );
  50. BOOL WINAPI
  51. StoreMapiMessage(
  52. LPVOID ProfileInfo,
  53. LPCWSTR MsgSenderNameW,
  54. LPCWSTR MsgSubjectW,
  55. LPCWSTR MsgBodyW,
  56. LPCWSTR MsgAttachmentFileNameW,
  57. LPCWSTR MsgAttachmentTitleW,
  58. DWORD MsgImportance,
  59. LPFILETIME MsgTime,
  60. PULONG ResultCode
  61. );
  62. BOOL WINAPI
  63. MailMapiMessage(
  64. LPVOID ProfileInfo,
  65. LPCWSTR RecipientNameW,
  66. LPCWSTR MsgSubjectW,
  67. LPCWSTR MsgBodyW,
  68. LPCWSTR MsgAttachmentFileNameW,
  69. LPCWSTR MsgAttachmentTitleW,
  70. DWORD MsgImportance,
  71. PULONG ResultCode
  72. );
  73. LONG WINAPI
  74. GetMapiProfiles(
  75. LPWSTR *OutBuffer,
  76. LPDWORD OutBufferSize
  77. );
  78. typedef BOOL (WINAPI *PFAXMAPIINITIALIZE) (VOID);
  79. #ifdef __cplusplus
  80. }
  81. #endif
  82. #endif