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.

187 lines
3.4 KiB

  1. #ifndef LFT3LPC_H
  2. #define LFT3LPC_H
  3. //
  4. // LFT3LPC.H Marshalling of Local FileT30 API arguments
  5. //
  6. // History:
  7. // 3/7/94 JosephJ Created.
  8. //
  9. typedef unsigned long DWORD;
  10. // Function IDs
  11. enum {
  12. eID_FILET30FIRST = 0x1000,
  13. eID_FILET30INIT = eID_FILET30FIRST,
  14. eID_FILET30LISTEN,
  15. eID_FILET30SEND,
  16. eID_FILET30ANSWER,
  17. eID_FILET30ABORT,
  18. eID_FILET30REPORTRECV,
  19. eID_FILET30ACKRECV,
  20. eID_FILET30STATUS,
  21. eID_FILET30SETSTATUSWINDOW,
  22. eID_FILET30REREADINIFILE,
  23. eID_FILET30DEINIT,
  24. eID_FILET30MODEMCLASSES,
  25. eID_FILET30REPORTSEND,
  26. eID_FILET30POLLREQ,
  27. eID_FILET30_INTERNAL_EVENT,
  28. eID_FILET30_CALLBACK_PERIODIC,
  29. eID_FILET30_CALLBACK_CALLDONE,
  30. eID_FILET30LAST = eID_FILET30_CALLBACK_CALLDONE
  31. };
  32. // Marshalled data.
  33. typedef struct {
  34. DWORD dwID; // The eID_* above
  35. DWORD dw1,dw2,dw3,dw4,dw5,dw6,dw7; // Function specific (see below)
  36. DWORD dwRet; // Return value, if any.
  37. } LFT30_MARSHALLED_DATA;
  38. // Marshalling info...
  39. // FileT30Init
  40. // dwID=eID_FILET30INIT
  41. //
  42. // dw1=dwLineID
  43. // dw2=usLineIDType
  44. // dw3=dwProfileID (but we enforce this to be 0).
  45. // dw4=ATOM(lpszSection) (but we enforce this to be 0).
  46. // dw5=uClass
  47. // NO! dw3=uClass
  48. // NO! dw4=MAKELONG(ATOM(lpszSpoolDir), ATOM(lpszID))
  49. // (deleted by caller on return)
  50. // NO!dw5=MAKELONG(ATOM(lpszDefRecipAddress),
  51. // ATOM(lpszDefRecipName)) (deleted by caller on return)
  52. // dw6=uAutoAnswer
  53. // dw7=hwndListen
  54. //
  55. // dwRet=ret
  56. // FileT30Listen
  57. // dwID=eID_FILET30LISTEN
  58. //
  59. // dw1=uLevel
  60. // dw2=hwndResult
  61. // dw3..7=0
  62. //
  63. // dwRet=ret
  64. // FileT30Send
  65. // dwID=eID_FILET30SEND
  66. //
  67. // dw1=aPhone
  68. // dw2=aFileMG3
  69. // dw3=aFileIFX
  70. // dw4=aFileEFX
  71. // dw5=aFileDCX
  72. // dw6=hwndResult
  73. // dw7=0
  74. //
  75. // dwRet=0
  76. // FileT30Answer
  77. // dwID=eID_FILET30ANSWER
  78. //
  79. // dw1=fAccept
  80. // dw2=fImmediate
  81. // dw3=hwndResult
  82. // dw4=hCALL (TAPI) -- must be zero for remote calls.
  83. // dw5..7=0
  84. //
  85. // dwRet=ret
  86. // FileT30Abort
  87. // dwID=eID_FILET30ABORT
  88. //
  89. // dw1..7=0
  90. //
  91. // dwRet=0
  92. // FileT30ReportRecv
  93. // dwID=eID_FILET30REPORTRECV
  94. //
  95. // dw1=fGetIt
  96. // dw2 (OUT) dwPollContext
  97. // dw3..7=0
  98. //
  99. // dwRet=ret
  100. // FileT30AckRecv
  101. // dwID=eID_FILET30ACKRECV
  102. //
  103. // dw1=aRecv
  104. // dw2..7=0
  105. //
  106. // dwRet=ret
  107. // FileT30Status
  108. // dwID=eID_FILET30STATUS
  109. //
  110. // dw1..7=0
  111. //
  112. // dwRet=ret
  113. // FileT30SetStatusWindow
  114. // dwID=eID_FILET30SETSTATUSWINDOW
  115. //
  116. // dw1=hwndStatus
  117. // dw2..7=0
  118. //
  119. // dwRet=0
  120. // FileT30ReadIniFile
  121. // dwID=eID_FILET30REREADINIFILE
  122. //
  123. // dw1..7=0
  124. //
  125. // dwRet=0
  126. // FileT30DeInit
  127. // dwID=eID_FILET30DEINIT
  128. //
  129. // dw1=fForce
  130. // dw2..7=0
  131. //
  132. // dwRet=ret
  133. // FileT30ModemClasses
  134. // dwID=eID_FILET30MODEMCLASSES
  135. //
  136. // dw1=dwLineID
  137. // dw2=dwLineIDType
  138. // dw3=dwProfileID
  139. // dw4=GlobalAddAtom(lpszKey) (deleted by caller on return).
  140. // dw5..7=0
  141. //
  142. // dwRet=ret
  143. // FileT30ReportSend
  144. // dwID = eID_FILET30REPORTSEND
  145. //
  146. // dw1 = (DWORD) fGetIt
  147. // dw2 = (DWORD) dwSend (OUT) -- in milliseconds (not used, really).
  148. // dw3 = (DWORD) dwDur (OUT) -- duration in milliseconds.
  149. // dw4 = (DWORD) dwFmt (OUT) -- FORMATTYPE units (srvrdll.h).
  150. //
  151. // dwRet=ret
  152. // FileT30PollReq
  153. // dwID = eID_FILET30POLLREQ
  154. //
  155. // dw1 = (DWORD) aPhone
  156. // dw2 = (DWORD) PollType
  157. // dw3 = (DWORD) aDocName
  158. // dw4 = (DWORD) aPassword
  159. // dw5 = (DWORD) dwPollContext
  160. // dw6 = (DWORD) hwndResult
  161. //
  162. // dwRet= 0
  163. // This is the name of the semaphore which is used simply to
  164. // Detect/register if/that the awfxex app has been loaded.
  165. #define szAWFXEX_SEMAPHORE_NAME "awlfx.B1E90.SM"
  166. #endif // LFT3LPC_H