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.

95 lines
3.2 KiB

  1. /*++
  2. Copyright (c) 1996 Microsoft Corporation
  3. Module Name:
  4. faxmapi.h
  5. Abstract:
  6. Contains common fax mapi stuff.
  7. Author:
  8. Wesley Witt (wesw) 13-Aug-1996
  9. --*/
  10. //
  11. // 4.0;D:\nt\private\fax\faxext32\obj\i386\faxext32.dll;1;00000100000000
  12. //
  13. // \registry\machine\software\microsoft\exchange\client\extensions
  14. // FaxExtensions = 4.0;d:\winnt\system32\faxext32.dll;1;00000100000000
  15. //
  16. // {49A59282-9F30-11d2-912E-006094EB630B}
  17. #define FAX_XP_GUID { 0x49, 0xa5, 0x92, 0x82, 0x9f, 0x30, 0x11, 0xd2, 0x91, 0x2e, 0x0, 0x60, 0x94, 0xeb, 0x63, 0xb };
  18. //[RB] #define FAX_XP_GUID { 0x61, 0x85, 0x0a, 0x80, 0x0a, 0x47, 0x11, 0xd0, 0x88, 0x77, 0x0, 0xa0, 0x4, 0xff, 0x31, 0x28 }
  19. #define MSGPS_FAX_PRINTER_NAME L"FAX_PRINTER_NAME"
  20. #define MSGPS_FAX_COVERPAGE_NAME L"FAX_COVERPAGE_NAME"
  21. #define MSGPS_FAX_USE_COVERPAGE L"FAX_USE_COVERPAGE"
  22. #define MSGPS_FAX_SERVER_COVERPAGE L"FAX_SERVER_COVERPAGE"
  23. #define MSGPS_FAX_SEND_SINGLE_RECEIPT L"FAX_SEND_SINGLE_RECEIPT"
  24. #define MSGPS_FAX_ATTACH_FAX L"FAX_ATTACH_FAX"
  25. #define NUM_FAX_MSG_PROPS 6
  26. #define MSGPI_FAX_PRINTER_NAME 0
  27. #define MSGPI_FAX_COVERPAGE_NAME 1
  28. #define MSGPI_FAX_USE_COVERPAGE 2
  29. #define MSGPI_FAX_SERVER_COVERPAGE 3
  30. #define MSGPI_FAX_SEND_SINGLE_RECEIPT 4
  31. #define MSGPI_FAX_ATTACH_FAX 5
  32. #define BASE_PROVIDER_ID 0x6600
  33. #define NUM_FAX_PROPERTIES 7
  34. #define PROP_FAX_PRINTER_NAME 0
  35. #define PROP_USE_COVERPAGE 1
  36. #define PROP_COVERPAGE_NAME 2
  37. #define PROP_SERVER_COVERPAGE 3
  38. #define PROP_FONT 4
  39. #define PROP_SEND_SINGLE_RECEIPT 5
  40. #define PROP_ATTACH_FAX 6
  41. #define PR_FAX_PRINTER_NAME PROP_TAG( PT_BINARY,(BASE_PROVIDER_ID + PROP_FAX_PRINTER_NAME) )
  42. #define PR_USE_COVERPAGE PROP_TAG( PT_LONG, (BASE_PROVIDER_ID + PROP_USE_COVERPAGE) )
  43. #define PR_COVERPAGE_NAME PROP_TAG( PT_BINARY,(BASE_PROVIDER_ID + PROP_COVERPAGE_NAME) )
  44. #define PR_SERVER_COVERPAGE PROP_TAG( PT_LONG, (BASE_PROVIDER_ID + PROP_SERVER_COVERPAGE) )
  45. #define PR_FONT PROP_TAG( PT_BINARY,(BASE_PROVIDER_ID + PROP_FONT) )
  46. #define PR_SEND_SINGLE_RECEIPT PROP_TAG( PT_LONG, (BASE_PROVIDER_ID + PROP_SEND_SINGLE_RECEIPT))
  47. #define PR_ATTACH_FAX PROP_TAG( PT_LONG, (BASE_PROVIDER_ID + PROP_ATTACH_FAX) )
  48. typedef struct _FAXXP_CONFIG {
  49. LPTSTR PrinterName;
  50. LPTSTR CoverPageName;
  51. BOOL UseCoverPage;
  52. BOOL ServerCoverPage;
  53. LPTSTR ServerName;
  54. BOOL ServerCpOnly;
  55. LOGFONT FontStruct;
  56. BOOL SendSingleReceipt;
  57. BOOL bAttachFax;
  58. } FAXXP_CONFIG, *PFAXXP_CONFIG;
  59. const static SizedSPropTagArray( NUM_FAX_PROPERTIES, sptFaxProps ) =
  60. {
  61. NUM_FAX_PROPERTIES,
  62. {
  63. PR_FAX_PRINTER_NAME,
  64. PR_USE_COVERPAGE,
  65. PR_COVERPAGE_NAME,
  66. PR_SERVER_COVERPAGE,
  67. PR_FONT,
  68. PR_SEND_SINGLE_RECEIPT,
  69. PR_ATTACH_FAX
  70. }
  71. };