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.

94 lines
1.2 KiB

  1. #include <windows.h>
  2. #include <tapi.h>
  3. #include <faxdev.h>
  4. VOID CALLBACK
  5. TapiLineCallback(
  6. IN HANDLE FaxHandle,
  7. IN DWORD hDevice,
  8. IN DWORD dwMessage,
  9. IN DWORD dwInstance,
  10. IN DWORD dwParam1,
  11. IN DWORD dwParam2,
  12. IN DWORD dwParam3
  13. )
  14. {
  15. }
  16. BOOL WINAPI
  17. FaxDevInitialize(
  18. IN HLINEAPP LineAppHandle,
  19. IN HANDLE HeapHandle,
  20. OUT PFAX_LINECALLBACK *LineCallbackFunction
  21. )
  22. {
  23. *LineCallbackFunction = TapiLineCallback;
  24. return TRUE;
  25. }
  26. BOOL WINAPI
  27. FaxDevStartJob(
  28. IN HLINE LineHandle,
  29. IN DWORD DeviceId,
  30. OUT PHANDLE FaxHandle
  31. )
  32. {
  33. return TRUE;
  34. }
  35. BOOL WINAPI
  36. FaxDevEndJob(
  37. IN HANDLE FaxHandle
  38. )
  39. {
  40. return TRUE;
  41. }
  42. BOOL WINAPI
  43. FaxDevSend(
  44. IN HANDLE FaxHandle,
  45. IN PFAX_SEND FaxSend,
  46. IN PFAX_SEND_CALLBACK FaxSendCallback
  47. )
  48. {
  49. return TRUE;
  50. }
  51. BOOL WINAPI
  52. FaxDevReceive(
  53. IN HANDLE FaxHandle,
  54. IN HCALL CallHandle,
  55. IN OUT PFAX_RECEIVE FaxReceive
  56. )
  57. {
  58. return TRUE;
  59. }
  60. BOOL WINAPI
  61. FaxDevReportStatus(
  62. IN HANDLE FaxHandle OPTIONAL,
  63. OUT PFAX_DEV_STATUS FaxStatus
  64. )
  65. {
  66. return TRUE;
  67. }
  68. BOOL WINAPI
  69. FaxDevAbortOperation(
  70. IN HANDLE FaxHandle
  71. )
  72. {
  73. return TRUE;
  74. }