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.

117 lines
3.9 KiB

  1. #ifndef _PUMPEXT_INC
  2. #define _PUMPEXT_INC
  3. #include "property.h"
  4. /***************************************************************************
  5. Name : pumpext.h
  6. Comment : Defines all external interfaces for the EfaxPump
  7. Functions : (see Prototypes just below)
  8. Created : 11/30/92
  9. Author : Sharad Mathur
  10. Contribs :
  11. ***************************************************************************/
  12. #ifndef DLL_EXPORT
  13. #ifdef WIN32
  14. #define DLL_EXPORT __declspec(dllexport)
  15. #else
  16. #define DLL_EXPORT __export
  17. #endif
  18. #endif
  19. #define SetFaxMgrStatus(ID, lParam, wParam)
  20. void
  21. SendStatus(HINSTANCE hInst, BOOL PopUpUi, UINT idsFmt, ...);
  22. // *********************** T30 Transport API's ******************
  23. #define FILET30INIT "LFileT30Init"
  24. #define FILET30CONFIGURE "LFileT30Configure"
  25. #define FILET30DEINIT "LFileT30DeInit"
  26. #define FILET30LISTEN "LFileT30Listen"
  27. #define FILET30SEND "LFileT30Send"
  28. #define FILET30ANSWER "LFileT30Answer"
  29. #define FILET30ABORT "LFileT30Abort"
  30. #define FILET30REPORTRECV "LFileT30ReportRecv"
  31. #define FILET30MODEMCLASSES "LFileT30ModemClasses"
  32. #define FILET30STATUS "LFileT30Status"
  33. #define FILET30ACKRECV "LFileT30AckRecv"
  34. #define FILET30SETSTATUSWINDOW "LFileT30SetStatusWindow"
  35. #define FILET30READINIFILE "LFileT30ReadIniFile"
  36. // *********************** LMI API's *****************************
  37. #define LMI_ABORTSENDJOB "LMI_AbortSendJob"
  38. #define LMI_ADDMODEM "LMI_AddModem"
  39. #define LMI_CHECKPROVIDER "LMI_CheckProvider"
  40. #define LMI_CONFIGUREMODEM "LMI_ConfigureModem"
  41. #define LMI_DEINITPROVIDER "LMI_DeinitProvider"
  42. #define LMI_DEINITLOGICALMODEM "LMI_DeinitLogicalModem"
  43. #define LMI_DISPLAYCUSTOMSTATUS "LMI_DisplayCustomStatus"
  44. #define LMI_GETQUEUEFILE "LMI_GetQueueFile"
  45. #define LMI_RESCHEDULESENDJOB "LMI_RescheduleSendJob"
  46. #define LMI_INITPROVIDER "LMI_InitProvider"
  47. #define LMI_INITLOGICALMODEM "LMI_InitLogicalModem"
  48. #define LMI_REPORTRECEIVES "LMI_ReportReceives"
  49. #define LMI_SENDFAX "LMI_SendFax"
  50. #define LMI_REPORTSEND "LMI_ReportSend"
  51. // *********************** Queue API's *****************************
  52. // Time types
  53. typedef WORD DOSTIME; // can hold 16-bit time or date
  54. // The following calls are valid only for jobs on the local fax
  55. // queue.
  56. BOOL FAR AbortSendJob(LPSTR lpszSourceServer, DWORD dwPrivateHandle, DWORD dwUniqueID);
  57. // Aborts the specified send job. If abortng the current job, the
  58. // call returns before the abort has actually taken place. The
  59. // abort occurs asynchronously in another process context. There
  60. // are no guarantees as to the time this will take.
  61. // return FALSE if there is no such send job.
  62. // BOOL FAR AbortReceiveJob (VOID);
  63. // Returns FALSE if the modem is currently transmitting something
  64. // since it couldnt possibly be receiving in this case !! Else it
  65. // calls the transport to abort the current job if any. Returns
  66. // TRUE irrespective of whether anything was actually aborted.
  67. BOOL FAR GetDefaultFaxInfo (UINT FAR *lpuDefaultFax, UINT FAR* lpuModemType);
  68. // Gets info about the current modem. uDefaultFax is as read from the
  69. // ini file. fBinary is set to TRUE if binary transfers are supported
  70. // over this modem.
  71. // *********************** Cover Page API's **************************
  72. // Date structure cimpiant with MAPI
  73. typedef FILETIME MAPIDATE; // MAPI 1.0 uses NT FILETIME
  74. typedef MAPIDATE * LPMAPIDATE;
  75. // *********************** Linearizer API's **************************
  76. #define TEXT_ASCII 1
  77. #include <lineariz.h>
  78. // *********************** Transport API's ***************************
  79. // *********************** Device Layer API's ***********************
  80. void CleanupDevlayerSharedMemory(HANDLE hFileMapping, PJOBSUMMARYDATA pjd);
  81. PJOBSUMMARYDATA SetupDevlayerSharedMemory(LPHANDLE lph);
  82. #endif