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.

98 lines
1.4 KiB

  1. #include <windows.h>
  2. #include <httpext.h>
  3. #include <stdio.h>
  4. #include <tchar.h>
  5. #include "faxutil.h"
  6. #include "faxisapi.h"
  7. #include "winfax.h"
  8. #include "winfaxp.h"
  9. #define FixupStringOut(_s,_buf) if ((_s)) { (_s) = (LPWSTR) ((DWORD)(_s) - (DWORD)(_buf)); }
  10. #define FixupStringIn(_s,_buf) if ((_s)) { (_s) = (LPWSTR) ((DWORD)(_s) + (DWORD)(_buf)); }
  11. BOOL
  12. SendHeaders(
  13. LPEXTENSION_CONTROL_BLOCK Ecb
  14. );
  15. BOOL
  16. IsapiFaxConnect(
  17. LPEXTENSION_CONTROL_BLOCK Ecb
  18. );
  19. BOOL
  20. IsapiFaxDisConnect(
  21. LPEXTENSION_CONTROL_BLOCK Ecb
  22. );
  23. BOOL
  24. IsapiFaxEnumPorts(
  25. LPEXTENSION_CONTROL_BLOCK Ecb
  26. );
  27. BOOL
  28. SendError(
  29. LPEXTENSION_CONTROL_BLOCK Ecb,
  30. DWORD ErrorCode
  31. );
  32. BOOL
  33. SendResponseWithData(
  34. LPEXTENSION_CONTROL_BLOCK Ecb,
  35. LPBYTE Data,
  36. DWORD DataSize
  37. );
  38. BOOL
  39. SendResponse(
  40. LPEXTENSION_CONTROL_BLOCK Ecb
  41. );
  42. BOOL
  43. IsapiFaxGetPort(
  44. LPEXTENSION_CONTROL_BLOCK Ecb
  45. );
  46. BOOL
  47. IsapiFaxOpenPort(
  48. LPEXTENSION_CONTROL_BLOCK Ecb
  49. );
  50. BOOL
  51. IsapiFaxSetPort(
  52. LPEXTENSION_CONTROL_BLOCK Ecb
  53. );
  54. BOOL
  55. IsapiFaxClose(
  56. LPEXTENSION_CONTROL_BLOCK Ecb
  57. );
  58. BOOL
  59. IsapiFaxGetRoutingInfo(
  60. LPEXTENSION_CONTROL_BLOCK Ecb
  61. );
  62. BOOL
  63. IsapiFaxEnumRoutingMethods(
  64. LPEXTENSION_CONTROL_BLOCK Ecb
  65. );
  66. BOOL
  67. IsapiFaxEnableRoutingMethod(
  68. LPEXTENSION_CONTROL_BLOCK Ecb
  69. );
  70. BOOL
  71. IsapiFaxGetDeviceStatus(
  72. LPEXTENSION_CONTROL_BLOCK Ecb
  73. );
  74. BOOL
  75. IsapiFaxGetVersion(
  76. LPEXTENSION_CONTROL_BLOCK Ecb
  77. );