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.

79 lines
2.3 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. #define FAX_XP_GUID { 0x61, 0x85, 0x0a, 0x80, 0x0a, 0x47, 0x11, 0xd0, 0x88, 0x77, 0x0, 0xa0, 0x4, 0xff, 0x31, 0x28 }
  17. #define MSGPS_FAX_PRINTER_NAME L"FAX_PRINTER_NAME"
  18. #define MSGPS_FAX_COVERPAGE_NAME L"FAX_COVERPAGE_NAME"
  19. #define MSGPS_FAX_USE_COVERPAGE L"FAX_USE_COVERPAGE"
  20. #define MSGPS_FAX_SERVER_COVERPAGE L"FAX_SERVER_COVERPAGE"
  21. #define NUM_FAX_MSG_PROPS 4
  22. #define MSGPI_FAX_PRINTER_NAME 0
  23. #define MSGPI_FAX_COVERPAGE_NAME 1
  24. #define MSGPI_FAX_USE_COVERPAGE 2
  25. #define MSGPI_FAX_SERVER_COVERPAGE 3
  26. #define BASE_PROVIDER_ID 0x6600
  27. #define NUM_FAX_PROPERTIES 5
  28. #define PROP_FAX_PRINTER_NAME 0
  29. #define PROP_USE_COVERPAGE 1
  30. #define PROP_COVERPAGE_NAME 2
  31. #define PROP_SERVER_COVERPAGE 3
  32. #define PROP_FONT 4
  33. #define PR_FAX_PRINTER_NAME PROP_TAG( PT_TSTRING, (BASE_PROVIDER_ID + PROP_FAX_PRINTER_NAME) )
  34. #define PR_USE_COVERPAGE PROP_TAG( PT_LONG, (BASE_PROVIDER_ID + PROP_USE_COVERPAGE) )
  35. #define PR_COVERPAGE_NAME PROP_TAG( PT_TSTRING, (BASE_PROVIDER_ID + PROP_COVERPAGE_NAME) )
  36. #define PR_SERVER_COVERPAGE PROP_TAG( PT_LONG, (BASE_PROVIDER_ID + PROP_SERVER_COVERPAGE) )
  37. #define PR_FONT PROP_TAG( PT_BINARY, (BASE_PROVIDER_ID + PROP_FONT) )
  38. typedef struct _FAXXP_CONFIG {
  39. LPSTR PrinterName;
  40. LPSTR CoverPageName;
  41. BOOL UseCoverPage;
  42. BOOL ServerCoverPage;
  43. LPSTR ServerName;
  44. BOOL ServerCpOnly;
  45. LOGFONT FontStruct;
  46. } FAXXP_CONFIG, *PFAXXP_CONFIG;
  47. const static SizedSPropTagArray( NUM_FAX_PROPERTIES, sptFaxProps ) =
  48. {
  49. NUM_FAX_PROPERTIES,
  50. {
  51. PR_FAX_PRINTER_NAME,
  52. PR_USE_COVERPAGE,
  53. PR_COVERPAGE_NAME,
  54. PR_SERVER_COVERPAGE,
  55. PR_FONT
  56. }
  57. };