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.

747 lines
30 KiB

  1. [FaxAbort]
  2. Prototype=WINFAXAPI BOOL WINAPI FaxAbort( IN HANDLE FaxJobHandle);
  3. ReturnType=BOOL
  4. ReturnValueDescription=TRUE indicates Success. FALSE indicates Failure. Call GetLastError() for more information.
  5. Remarks=Abort the specified FAX job. All outstanding FAX operations are terminated.
  6. NumberOfParameters=1
  7. ParameterName0=FaxJobHandle
  8. ParameterType0=HANDLE
  9. ParameterDescr0=FaxJobHandle - To be determined
  10. [FaxClose]
  11. Prototype=WINFAXAPI BOOL WINAPI FaxClose( IN HANDLE FaxHandle);
  12. ReturnType=BOOL
  13. ReturnValueDescription=FaxClose - To be determined
  14. Remarks=FaxClose - To be determined
  15. NumberOfParameters=1
  16. ParameterName0=FaxHandle
  17. ParameterType0=HANDLE
  18. ParameterDescr0=FaxHandle - To be determined
  19. [FaxConnectFaxServerA]
  20. Prototype=WINFAXAPI BOOL WINAPI FaxConnectFaxServerA( IN LPSTR MachineName OPTIONAL, OUT LPHANDLE FaxHandle);
  21. ReturnType=BOOL
  22. ReturnValueDescription=TRUE Indicates Success. FALSE Indicates Failure, call GetLastError() for more error information.
  23. Remarks=Creates a connection to a FAX server. The binding handle that is returned is used for all subsequent FAX API calls.
  24. NumberOfParameters=2
  25. ParameterName0=MachineName
  26. ParameterType0=LPSTR
  27. ParameterDescr0=Machine name, NULL, or "."
  28. ParameterName1=FaxHandle
  29. ParameterType1=LPHANDLE
  30. ParameterDescr1=Pointer to a FAX handle
  31. [FaxConnectFaxServerW]
  32. Prototype=WINFAXAPI BOOL WINAPI FaxConnectFaxServerW( IN LPWSTR MachineName OPTIONAL, OUT LPHANDLE FaxHandle);
  33. ReturnType=BOOL
  34. ReturnValueDescription=TRUE Indicates Success. FALSE Indicates Failure, call GetLastError() for more error information.
  35. Remarks=Creates a connection to a FAX server. The binding handle that is returned is used for all subsequent FAX API calls.
  36. NumberOfParameters=2
  37. ParameterName0=MachineName
  38. ParameterType0=LPWSTR
  39. ParameterDescr0=Machine name, NULL, or "."
  40. ParameterName1=FaxHandle
  41. ParameterType1=LPHANDLE
  42. ParameterDescr1=Pointer to a FAX handle
  43. [FaxEnableRoutingMethodA]
  44. Prototype=WINFAXAPI BOOL WINAPI FaxEnableRoutingMethodA( IN HANDLE FaxPortHandle, IN LPSTR RoutingGuid, IN BOOL Enabled);
  45. ReturnType=BOOL
  46. ReturnValueDescription=FaxEnableRoutingMethodA - To Be Determined
  47. Remarks=FaxEnableRoutingMethodA - To Be Determined
  48. NumberOfParameters=3
  49. ParameterName0=FaxPortHandle
  50. ParameterType0=HANDLE
  51. ParameterDescr0=FaxPortHandle - To be determined
  52. ParameterName1=RoutingGuid
  53. ParameterType1=LPSTR
  54. ParameterDescr1=RoutingGuid - To be determined
  55. ParameterName2=Enabled
  56. ParameterType2=BOOL
  57. ParameterDescr2=Enabled - To be determined
  58. [FaxEnableRoutingMethodW]
  59. Prototype=WINFAXAPI BOOL WINAPI FaxEnableRoutingMethodW( IN HANDLE FaxPortHandle, IN LPWSTR RoutingGuid, IN BOOL Enabled);
  60. ReturnType=BOOL
  61. ReturnValueDescription=FaxEnableRoutingMethodW - To Be Determined
  62. Remarks=FaxEnableRoutingMethodW - To Be Determined
  63. NumberOfParameters=3
  64. ParameterName0=FaxPortHandle
  65. ParameterType0=HANDLE
  66. ParameterDescr0=FaxPortHandle - To be determined
  67. ParameterName1=RoutingGuid
  68. ParameterType1=LPWSTR
  69. ParameterDescr1=RoutingGuid - To be determined
  70. ParameterName2=Enabled
  71. ParameterType2=BOOL
  72. ParameterDescr2=Enabled - To be determined
  73. [FaxEnumJobsA]
  74. Prototype=WINFAXAPI BOOL WINAPI FaxEnumJobsA( IN HANDLE FaxHandle, OUT PFAX_JOB_ENTRYA *JobEntry, OUT LPDWORD JobsReturned);
  75. ReturnType=BOOL
  76. ReturnValueDescription=FaxEnumJobsA - To Be Determined
  77. Remarks=FaxEnumJobsA - To be determined
  78. NumberOfParameters=3
  79. ParameterName0=FaxHandle
  80. ParameterType0=HANDLE
  81. ParameterDescr0=FaxHandle - to be determined
  82. ParameterName1=JobEntry
  83. ParameterType1=PFAX_JOB_ENTRYA *
  84. ParameterDescr1=JobEntry - To be determined
  85. ParameterName2=JobsReturned
  86. ParameterType2=LPDWORD
  87. ParameterDescr2=JobsReturned - To be determined
  88. [FaxEnumJobsW]
  89. Prototype=WINFAXAPI BOOL WINAPI FaxEnumJobsW( IN HANDLE FaxHandle, OUT PFAX_JOB_ENTRYW *JobEntry, OUT LPDWORD JobsReturned);
  90. ReturnType=BOOL
  91. ReturnValueDescription=FaxEnumJobsW - To Be Determined
  92. Remarks=FaxEnumJobsW - To be determined
  93. NumberOfParameters=3
  94. ParameterName0=FaxHandle
  95. ParameterType0=HANDLE
  96. ParameterDescr0=FaxHandle - To be determined
  97. ParameterName1=JobEntry
  98. ParameterType1=PFAX_JOB_ENTRYW *
  99. ParameterDescr1=JobEntry - To be determined
  100. ParameterName2=JobsReturned
  101. ParameterType2=LPDWORD
  102. ParameterDescr2=JobsReturned - To be determined
  103. [FaxEnumPortsA]
  104. Prototype=WINFAXAPI BOOL WINAPI FaxEnumPortsA( IN HANDLE FaxHandle, OUT PFAX_PORT_INFOA *PortInfo, OUT LPDWORD PortsReturned);
  105. ReturnType=BOOL
  106. ReturnValueDescription=TRUE indicates Success. FALSE indicates Failure. Call GetLastError() for more information.
  107. Remarks=Enumerates all of the FAX devices attached to the FAX server. The port state information is returned for each device.
  108. NumberOfParameters=3
  109. ParameterName0=FaxHandle
  110. ParameterType0=HANDLE
  111. ParameterDescr0=FAX handle obtained from FaxConnectFaxServer.
  112. ParameterName1=PortInfo
  113. ParameterType1=PFAX_PORT_INFOA *
  114. ParameterDescr1=Buffer to hold the port information
  115. ParameterName2=PortsReturned
  116. ParameterType2=LPDWORD
  117. ParameterDescr2=The number of ports in the buffer
  118. [FaxEnumPortsW]
  119. Prototype=WINFAXAPI BOOL WINAPI FaxEnumPortsW( IN HANDLE FaxHandle, OUT PFAX_PORT_INFOW *PortInfo, OUT LPDWORD PortsReturned);
  120. ReturnType=BOOL
  121. ReturnValueDescription=TRUE indicates Success. FALSE indicates Failure. Call GetLastError() for more information.
  122. Remarks=Enumerates all of the FAX devices attached to the FAX server. The port state information is returned for each device.
  123. NumberOfParameters=3
  124. ParameterName0=FaxHandle
  125. ParameterType0=HANDLE
  126. ParameterDescr0=FAX handle obtained from FaxConnectFaxServer.
  127. ParameterName1=PortInfo
  128. ParameterType1=PFAX_PORT_INFOW *
  129. ParameterDescr1=Buffer to hold the port information
  130. ParameterName2=PortsReturned
  131. ParameterType2=LPDWORD
  132. ParameterDescr2=The number of ports in the buffer
  133. [FaxEnumRoutingMethodsA]
  134. Prototype=WINFAXAPI BOOL WINAPI FaxEnumRoutingMethodsA( IN HANDLE FaxPortHandle, OUT PFAX_ROUTING_METHODA *RoutingMethod, OUT LPDWORD MethodsReturned);
  135. ReturnType=BOOL
  136. ReturnValueDescription=FaxEnumRoutingMethodsA - To Be Determined
  137. Remarks=FaxEnumRoutingMethodsA - To Be Determined
  138. NumberOfParameters=3
  139. ParameterName0=FaxPortHandle
  140. ParameterType0=HANDLE
  141. ParameterDescr0=FaxPortHandle - To be determined
  142. ParameterName1=RoutingMethod
  143. ParameterType1=PFAX_ROUTING_METHODA *
  144. ParameterDescr1=RoutingMethod - To be determined
  145. ParameterName2=MethodsReturned
  146. ParameterType2=LPDWORD
  147. ParameterDescr2=MethodsReturned - To be determined
  148. [FaxEnumRoutingMethodsW]
  149. Prototype=WINFAXAPI BOOL WINAPI FaxEnumRoutingMethodsW( IN HANDLE FaxPortHandle, OUT PFAX_ROUTING_METHODW *RoutingMethod, OUT LPDWORD MethodsReturned);
  150. ReturnType=BOOL
  151. ReturnValueDescription=FaxEnumRoutingMethodsW - To Be Determined
  152. Remarks=FaxEnumRoutingMethodsA - To Be Determined
  153. NumberOfParameters=3
  154. ParameterName0=FaxPortHandle
  155. ParameterType0=HANDLE
  156. ParameterDescr0=FaxPortHandle - To be determined
  157. ParameterName1=RoutingMethod
  158. ParameterType1=PFAX_ROUTING_METHODW *
  159. ParameterDescr1=RoutingMethod - To be determined
  160. ParameterName2=MethodsReturned
  161. ParameterType2=LPDWORD
  162. ParameterDescr2=MethodsReturned - To be determined
  163. [FaxFreeBuffer]
  164. Prototype=WINFAXAPI VOID WINAPI FaxFreeBuffer( LPVOID Buffer);
  165. ReturnType=VOID
  166. ReturnValueDescription=Frees a block of memory.
  167. Remarks=Frees a block of memory.
  168. NumberOfParameters=1
  169. ParameterName0=Buffer
  170. ParameterType0=LPVOID
  171. ParameterDescr0=Points to a block of memory to be freed.
  172. [FaxGetConfigurationA]
  173. Prototype=WINFAXAPI BOOL WINAPI FaxGetConfigurationA( IN HANDLE FaxHandle, OUT PFAX_CONFIGURATIONA *FaxConfig);
  174. ReturnType=BOOL
  175. ReturnValueDescription=TRUE indicates Success. FALSE indicates Failure. Call GetLastError() for more information.
  176. Remarks=Retrieves the FAX configuration from the FAX server. The SizeOfStruct in the FaxConfig argument MUST be set to a value=>= sizeof(FAX_CONFIGURATION).
  177. NumberOfParameters=2
  178. ParameterName0=FaxHandle
  179. ParameterType0=HANDLE
  180. ParameterDescr0=FAX handle obtained from FaxConnectFaxServer.
  181. ParameterName1=FaxConfig
  182. ParameterType1=PFAX_CONFIGURATIONA *
  183. ParameterDescr1=Pointer to a FAX_CONFIGURATIONA structure.
  184. [FaxGetConfigurationW]
  185. Prototype=WINFAXAPI BOOL WINAPI FaxGetConfigurationW( IN HANDLE FaxHandle, OUT PFAX_CONFIGURATIONW *FaxConfig);
  186. ReturnType=BOOL
  187. ReturnValueDescription=TRUE indicates Success. FALSE indicates Failure. Call GetLastError() for more information.
  188. Remarks=Retrieves the FAX configuration from the FAX server. The SizeOfStruct in the FaxConfig argument MUST be set to a value=>= sizeof(FAX_CONFIGURATION).
  189. NumberOfParameters=2
  190. ParameterName0=FaxHandle
  191. ParameterType0=HANDLE
  192. ParameterDescr0=FAX handle obtained from FaxConnectFaxServer.
  193. ParameterName1=FaxConfig
  194. ParameterType1=PFAX_CONFIGURATIONW *
  195. ParameterDescr1=Pointer to a FAX_CONFIGURATIONW structure.
  196. [FaxGetDeviceStatusA]
  197. Prototype=WINFAXAPI BOOL WINAPI FaxGetDeviceStatusA( IN HANDLE FaxPortHandle, OUT PFAX_DEVICE_STATUSA *DeviceStatus);
  198. ReturnType=BOOL
  199. ReturnValueDescription=To Be Determined
  200. Remarks=Obtains a status report for the FAX devices being used by the FAX server.
  201. NumberOfParameters=2
  202. ParameterName0=FaxPortHandle
  203. ParameterType0=HANDLE
  204. ParameterDescr0=FAX handle obtained from FaxConnectFaxServer.
  205. ParameterName1=DeviceStatus
  206. ParameterType1=PFAX_DEVICE_STATUSA *
  207. ParameterDescr1=DeviceStatus - To be determined
  208. [FaxGetDeviceStatusW]
  209. Prototype=WINFAXAPI BOOL WINAPI FaxGetDeviceStatusW( IN HANDLE FaxPortHandle, OUT PFAX_DEVICE_STATUSW *DeviceStatus);
  210. ReturnType=BOOL
  211. ReturnValueDescription=TRUE indicates Success. FALSE indicates Failure. Call GetLastError() for more information.
  212. Remarks=Obtains a status report for the FAX devices being used by the FAX server.
  213. NumberOfParameters=2
  214. ParameterName0=FaxPortHandle
  215. ParameterType0=HANDLE
  216. ParameterDescr0=FAX handle obtained from FaxConnectFaxServer.
  217. ParameterName1=DeviceStatus
  218. ParameterType1=PFAX_DEVICE_STATUSW *
  219. ParameterDescr1=DeviceStatus - To be determined
  220. [FaxGetJobA]
  221. Prototype=WINFAXAPI BOOL WINAPI FaxGetJobA( IN HANDLE FaxHandle, IN DWORD JobId, OUT PFAX_JOB_ENTRYA *JobEntry);
  222. ReturnType=BOOL
  223. ReturnValueDescription=FaxGetJobA - To Be Determined
  224. Remarks=FaxGetJobA - To be determined
  225. NumberOfParameters=3
  226. ParameterName0=FaxHandle
  227. ParameterType0=HANDLE
  228. ParameterDescr0=FaxHandle - To be determined
  229. ParameterName1=JobId
  230. ParameterType1=DWORD
  231. ParameterDescr1=JobId - To be determined
  232. ParameterName2=JobEntry
  233. ParameterType2=PFAX_JOB_ENTRYA *
  234. ParameterDescr2=JobEntry - To be determined
  235. [FaxGetJobW]
  236. Prototype=WINFAXAPI BOOL WINAPI FaxGetJobW( IN HANDLE FaxHandle, IN DWORD JobId, OUT PFAX_JOB_ENTRYW *JobEntry);
  237. ReturnType=BOOL
  238. ReturnValueDescription=FaxGetJobW - To Be Determined
  239. Remarks=FaxGetJobA - To be determined
  240. NumberOfParameters=3
  241. ParameterName0=FaxHandle
  242. ParameterType0=HANDLE
  243. ParameterDescr0=FaxHandle - To be determined
  244. ParameterName1=JobId
  245. ParameterType1=DWORD
  246. ParameterDescr1=JobId - To be determined
  247. ParameterName2=JobEntry
  248. ParameterType2=PFAX_JOB_ENTRYW *
  249. ParameterDescr2=JobEntry - To be determined
  250. [FaxGetLoggingCategoriesA]
  251. Prototype=WINFAXAPI BOOL WINAPI FaxGetLoggingCategoriesA( IN HANDLE FaxHandle, OUT PFAX_LOG_CATEGORY *Categories, OUT LPDWORD NumberCategories);
  252. ReturnType=BOOL
  253. ReturnValueDescription=FaxGetLoggingCategoriesA - To Be Determined
  254. Remarks=FaxGetLoggingCategoriesA - To Be Determined
  255. NumberOfParameters=3
  256. ParameterName0=FaxHandle
  257. ParameterType0=HANDLE
  258. ParameterDescr0=FaxHandle - To be determined
  259. ParameterName1=Categories
  260. ParameterType1=PFAX_LOG_CATEGORY *
  261. ParameterDescr1=Categories - To be determined
  262. ParameterName2=NumberCategories
  263. ParameterType2=LPDWORD
  264. ParameterDescr2=NumberCategories - To be determined
  265. [FaxGetLoggingCategoriesW]
  266. Prototype=WINFAXAPI BOOL WINAPI FaxGetLoggingCategoriesW( IN HANDLE FaxHandle, OUT PFAX_LOG_CATEGORY *Categories, OUT LPDWORD NumberCategories);
  267. ReturnType=BOOL
  268. ReturnValueDescription=FaxGetLoggingCategoriesW - To Be Determined
  269. Remarks=FaxGetLoggingCategoriesW - To Be Determined
  270. NumberOfParameters=3
  271. ParameterName0=FaxHandle
  272. ParameterType0=HANDLE
  273. ParameterDescr0=FaxHandle - To be determined
  274. ParameterName1=Categories
  275. ParameterType1=PFAX_LOG_CATEGORY *
  276. ParameterDescr1=Categories - To be determined
  277. ParameterName2=NumberCategories
  278. ParameterType2=LPDWORD
  279. ParameterDescr2=NumberCategories - To be determined
  280. ; TO BE ELIMINATED FROM THE API
  281. ;[FaxGetPageData]
  282. ;Prototype=WINFAXAPI BOOL WINAPI FaxGetPageData( IN HANDLE FaxHandle, IN DWORD JobId, OUT LPBYTE *Buffer, OUT LPDWORD BufferSize, OUT LPDWORD ImageWidth, OUT LPDWORD ImageHeight);
  283. ;ReturnType=BOOL
  284. ;ReturnValueDescription=FaxGetPageData - To Be Determined
  285. ;Remarks=FaxGetPageData - To Be Determined
  286. ;NumberOfParameters=6
  287. ;ParameterName0=FaxHandle
  288. ;ParameterType0=HANDLE
  289. ;ParameterDescr0=FaxHandle - To be determined
  290. ;ParameterName1=JobId
  291. ;ParameterType1=DWORD
  292. ;ParameterDescr1=JobId - To be determined
  293. ;ParameterName2=Buffer
  294. ;ParameterType2=LPBYTE *
  295. ;ParameterDescr2=Buffer - To be determined
  296. ;ParameterName3=BufferSize
  297. ;ParameterType3=LPDWORD
  298. ;ParameterDescr3=BufferSize - To be determined
  299. ;ParameterName4=ImageWidth
  300. ;ParameterType4=LPDWORD
  301. ;ParameterDescr4=ImageWidth - To be determined
  302. ;ParameterName5=ImageHeight
  303. ;ParameterType5=LPDWORD
  304. ;ParameterDescr5=ImageHeight - To be determined
  305. [FaxGetPortA]
  306. Prototype=WINFAXAPI BOOL WINAPI FaxGetPortA( IN HANDLE FaxPortHandle, OUT PFAX_PORT_INFOA *PortInfo);
  307. ReturnType=BOOL
  308. ReturnValueDescription=ERROR_SUCCESS for success, otherwise a WIN32 error code.
  309. Remarks=Returns port status information for a requested port. The device id passed in should be optained from FAXEnumPorts.
  310. NumberOfParameters=2
  311. ParameterName0=FaxPortHandle
  312. ParameterType0=HANDLE
  313. ParameterDescr0=FaxPortHandle - To be determined
  314. ParameterName1=PortInfo
  315. ParameterType1=PFAX_PORT_INFOA *
  316. ParameterDescr1=Buffer to hold the port information
  317. [FaxGetPortW]
  318. Prototype=WINFAXAPI BOOL WINAPI FaxGetPortW( IN HANDLE FaxPortHandle, OUT PFAX_PORT_INFOW *PortInfo);
  319. ReturnType=BOOL
  320. ReturnValueDescription=ERROR_SUCCESS for success, otherwise a WIN32 error code.
  321. Remarks=Returns port status information for a requested port. The device id passed in should be optained from FAXEnumPorts.
  322. NumberOfParameters=2
  323. ParameterName0=FaxPortHandle
  324. ParameterType0=HANDLE
  325. ParameterDescr0=FaxPortHandle - To be determined
  326. ParameterName1=PortInfo
  327. ParameterType1=PFAX_PORT_INFOW *
  328. ParameterDescr1=Buffer to hold the port information
  329. [FaxGetRoutingInfoA]
  330. Prototype=WINFAXAPI BOOL WINAPI FaxGetRoutingInfoA( IN HANDLE FaxPortHandle, IN LPSTR RoutingGuid, OUT LPBYTE *RoutingInfoBuffer, OUT LPDWORD RoutingInfoBufferSize);
  331. ReturnType=BOOL
  332. ReturnValueDescription=FaxGetRoutingInfoA - To Be Determined
  333. Remarks=FaxGetRoutingInfoA - To Be Determined
  334. NumberOfParameters=4
  335. Parametername0=FaxPortHandle
  336. ParameterType0=HANDLE
  337. ParameterDescr0=FaxPortHandle - To be determined
  338. ParameterName1=RoutingGuid
  339. ParameterType1=LPSTR
  340. ParameterDescr1=RoutingGuid - To be determined
  341. ParameterName2=RoutingInfoBuffer
  342. ParameterType2=LPBYTE *
  343. ParameterDescr2=RoutingBuffer - To be determined
  344. ParameterName3=RoutingInfoBufferSize
  345. ParameterType3=LPDWORD
  346. ParameterDescr3=RoutingInfoBufferSize - To be determined
  347. [FaxGetRoutingInfoW]
  348. Prototype=WINFAXAPI BOOL WINAPI FaxGetRoutingInfoW( IN HANDLE FaxPortHandle, IN LPWSTR RoutingGuid, OUT LPBYTE *RoutingInfoBuffer, OUT LPDWORD RoutingInfoBufferSize);
  349. ReturnType=BOOL
  350. ReturnValueDescription=FaxGetRoutingInfoW - To Be Determined
  351. Remarks=FaxGetRoutingInfoW - To Be Determined
  352. NumberOfParameters=4
  353. ParameterName0=FaxPortHandle
  354. ParameterType0=HANDLE
  355. ParameterDescr0=FaxPortHandle - To be determined
  356. ParameterName1=RoutingGuid
  357. ParameterType1=LPWSTR
  358. ParameterDescr1=RoutingGuid - To be determined
  359. ParameterName2=RoutingInfoBuffer
  360. ParameterType2=LPBYTE *
  361. ParameterDescr2=RoutingBuffer - To be determined
  362. ParameterName3=RoutingInfoBufferSize
  363. ParameterType3=LPDWORD
  364. ParameterDescr3=RoutingInfoBufferSize - To be determined
  365. [FaxInitializeEventQueue]
  366. Prototype=WINFAXAPI BOOL WINAPI FaxInitializeEventQueue( IN HANDLE FaxHandle, IN HANDLE CompletionPort, IN DWORD CompletionKey);
  367. ReturnType=BOOL
  368. ReturnValueDescription=TRUE indicates Success. FALSE indicates Failure. Call GetLastError() for more information.
  369. Remarks=Initializes the client side event queue. There can be one event queue initialized for each fax server that the client app is connected to.
  370. NumberOfParameters=3
  371. ParameterName0=FaxHandle
  372. ParameterType0=HANDLE
  373. ParameterDescr0=FAX handle obtained from FaxConnectFaxServer.
  374. ParameterName1=CompletionPort
  375. ParameterType1=HANDLE
  376. ParameterDescr1=Handle of an existing completion port opened using CreateIoCompletionPort.
  377. ParameterName2=CompletionKey
  378. ParameterType2=DWORD
  379. ParameterDescr2=A value that will be returned through the lpCompletionKey parameter of GetQueuedCompletionStaus.
  380. ; ELIMINATED FROM THE API
  381. ;[FaxOpenJob]
  382. ;Prototype=BOOL WINAPI FaxOpenJob( IN HANDLE FaxPortHandle, OUT LPHANDLE FaxJobHandle );
  383. ;ReturnType=BOOL
  384. ;ReturnValueDescription=To Be Determined
  385. ;NumberOfParameters=2
  386. ;ParameterName0=FaxPortHandle
  387. ;ParameterType0=HANDLE
  388. ;ParameterName1=FaxJobHandle
  389. ;ParameterType1=LPHANDLE
  390. [FaxOpenPort]
  391. Prototype=WINFAXAPI BOOL WINAPI FaxOpenPort( IN HANDLE FaxHandle, IN DWORD DeviceId, IN DWORD Flags, OUT LPHANDLE FaxPortHandle);
  392. ReturnType=BOOL
  393. ReturnValueDescription=TRUE indicates Success. FALSE indicates Failure. Call GetLastError() for more information.
  394. Remarks=Opens a fax port for subsequent use in other fax APIs.
  395. NumberOfParameters=4
  396. ParameterName0=FaxHandle
  397. ParameterType0=HANDLE
  398. ParameterDescr0=FAX handle obtained from FaxConnectFaxServer.
  399. ParameterName1=DeviceId
  400. ParameterType1=DWORD
  401. ParameterDescr1=Requested device id
  402. ParameterName2=Flags
  403. ParameterType2=DWORD
  404. ParameterDescr2=To be determined
  405. ParameterName3=FaxPortHandle
  406. ParameterType3=LPHANDLE
  407. ParameterDescr3=The resulting FAX port handle.
  408. [FaxPrintCoverPageA]
  409. Prototype=WINFAXAPI BOOL WINAPI FaxPrintCoverPageA( IN HDC hDC, IN LPSTR CoverPageName, IN BOOL ServerCoverPage, IN PFAX_COVERPAGE_INFOA CoverPageInfo);
  410. ReturnType=BOOL
  411. ReturnValueDescription=TRUE indicates Success. FALSE indicates Failure. Call GetLastError() for more information.
  412. Remarks=Prints a coverpage into the printer DC provided.
  413. NumberOfParameters=4
  414. ParameterName0=hDC
  415. ParameterType0=HDC
  416. ParameterDescr0=Printer DC
  417. ParameterName1=CoverPageName
  418. ParameterType1=LPSTR
  419. ParameterDescr1=Coverpage file name, no path or extension
  420. ParameterName2=ServerCoverPage
  421. ParameterType2=BOOL
  422. ParameterDescr2=ServerCoverPage - To be determined
  423. ParameterName3=CoverPageInfo
  424. ParameterType3=PFAX_COVERPAGE_INFOA
  425. ParameterDescr3=Cover page information
  426. [FaxPrintCoverPageW]
  427. Prototype=WINFAXAPI BOOL WINAPI FaxPrintCoverPageW( IN HDC hDC, IN LPWSTR CoverPageName, IN BOOL ServerCoverPage, IN PFAX_COVERPAGE_INFOW CoverPageInfo);
  428. ReturnType=BOOL
  429. ReturnValueDescription=TRUE indicates Success. FALSE indicates Failure. Call GetLastError() for more information.
  430. Remarks=Prints a coverpage into the printer DC provided.
  431. NumberOfParameters=4
  432. ParameterName0=hDC
  433. ParameterType0=HDC
  434. ParameterDescr0=Printer DC
  435. ParameterName1=CoverPageName
  436. ParameterType1=LPWSTR
  437. ParameterDescr1=Coverpage file name, no path or extension
  438. ParameterName2=ServerCoverPage
  439. ParameterType2=BOOL
  440. ParameterDescr2=ServerCoverPage - To be determined
  441. ParameterName3=CoverPageInfo
  442. ParameterType3=PFAX_COVERPAGE_INFOW
  443. ParameterDescr3=Cover page information
  444. [FaxReceiveDocumentA]
  445. Prototype=WINFAXAPI BOOL WINAPI FaxReceiveDocumentA( IN HANDLE FaxHandle, OUT LPSTR FileName, IN DWORD FileNameSize, OUT LPHANDLE FaxJobHandle);
  446. ReturnType=BOOL
  447. ReturnValueDescription=TRUE indicates Success. FALSE indicates Failure. Call GetLastError() for more information.
  448. Remarks=Receives a FAX document.
  449. NumberOfParameters=4
  450. ParameterName0=FaxHandle
  451. ParameterType0=HANDLE
  452. ParameterDescr0=FAX handle obtained from FaxConnectFaxServer.
  453. ParameterName1=FileName
  454. ParameterType1=LPSTR
  455. ParameterDescr1=File name of the received fax.
  456. ParameterName2=FileNameSize
  457. ParameterType2=DWORD
  458. ParameterDescr2=Size of the file name buffer.
  459. ParameterName3=FaxJobHandle
  460. ParameterType3=HANDLE
  461. ParameterDescr3=FaxJobHandle - To be determined
  462. [FaxReceiveDocumentW]
  463. Prototype=WINFAXAPI BOOL WINAPI FaxReceiveDocumentW( IN HANDLE FaxHandle, OUT LPWSTR FileName, IN DWORD FileNameSize, OUT LPHANDLE FaxJobHandle);
  464. ReturnType=BOOL
  465. ReturnValueDescription=TRUE indicates Success. FALSE indicates Failure. Call GetLastError() for more information.
  466. Remarks=Receives a FAX document.
  467. NumberOfParameters=4
  468. ParameterName0=FaxHandle
  469. ParameterType0=HANDLE
  470. ParameterDescr0=FAX handle obtained from FaxConnectFaxServer.
  471. ParameterName1=FileName
  472. ParameterType1=LPWSTR
  473. ParameterDescr1=File name of the received fax.
  474. ParameterName2=FileNameSize
  475. ParameterType2=DWORD
  476. ParameterDescr2=Size of the file name buffer.
  477. ParameterName3=FaxJobHandle
  478. ParameterType3=HANDLE
  479. ParameterDescr3=FaxJobHandle - To be determined
  480. [FaxSendDocumentA]
  481. Prototype=BOOL WINAPI FaxSendDocumentA( IN HANDLE FaxHandle, IN LPSTR FileName, IN PFAX_JOB_PARAMA JobParams, OUT LPDWORD FaxJobId );
  482. ReturnType=BOOL
  483. ReturnValueDescription=TRUE indicates Success. FALSE indicates Failure. Call GetLastError() for more information.
  484. Remarks=Sends a FAX document to the specified recipient. This is an asychronous operation. Use FaxReportStatus to determine when the send is completed.
  485. NumberOfParameters=4
  486. ParameterName0=FaxHandle
  487. ParameterType0=HANDLE
  488. ParameterDescr0=FAX handle obtained from FaxConnectFaxServer.
  489. ParameterName1=FileName
  490. ParameterType1=LPSTR
  491. ParameterDescr1=File containing the TIFF-F FAX document.
  492. ParameterName2=JobParams
  493. ParameterType2=PFAX_JOB_PARAMA
  494. ParameterDescr2=Pointer to FAX_JOB_PARAMA struct.
  495. ParameterName3=FaxJobId
  496. ParameterType3=LPDWORD
  497. ParameterDescr3=FaxJobId - To be determined
  498. [FaxSendDocumentW]
  499. Prototype=WINFAXAPI BOOL WINAPI FaxSendDocumentW( IN HANDLE FaxHandle, IN LPWSTR FileName, IN PFAX_JOB_PARAMW JobParams, OUT LPDWORD FaxJobId);
  500. ReturnType=BOOL
  501. ReturnValueDescription=TRUE indicates Success. FALSE indicates Failure. Call GetLastError() for more information.
  502. Remarks=Sends a FAX document to the specified recipient. This is an asychronous operation. Use FaxReportStatus to determine when the send is completed.
  503. NumberOfParameters=4
  504. ParameterName0=FaxHandle
  505. ParameterType0=HANDLE
  506. ParameterDescr0=FAX handle obtained from FaxConnectFaxServer.
  507. ParameterName1=FileName
  508. ParameterType1=LPWSTR
  509. ParameterDescr1=File containing the TIFF-F FAX document.
  510. ParameterName2=JobParams
  511. ParameterType2=PFAX_JOB_PARAMW
  512. ParameterDescr2=Pointer to FAX_JOB_PARAMW struct.
  513. ParameterName3=FaxJobId
  514. ParameterType3=LPDWORD
  515. ParameterDescr3=FaxJobId - To be determined
  516. [FaxSetConfigurationA]
  517. Prototype=WINFAXAPI BOOL WINAPI FaxSetConfigurationA( IN HANDLE FaxHandle, IN PFAX_CONFIGURATIONA FaxConfig );
  518. ReturnType=BOOL
  519. ReturnValueDescription=FaxSetConfigurationA - To Be Determined
  520. Remarks=FaxSetConfigurationA - To Be Determined
  521. NumberOfParameters=2
  522. ParameterName0=FaxHandle
  523. ParameterType0=HANDLE
  524. ParameterDescr0=FaxHandle - To be determined
  525. ParameterName1=FaxConfig
  526. ParameterType1=PFAX_CONFIGURATIONA
  527. ParameterDescr1=FaxConfig - To be determined
  528. [FaxSetConfigurationW]
  529. Prototype=WINFAXAPI BOOL WINAPI FaxSetConfigurationW( IN HANDLE FaxHandle, IN PFAX_CONFIGURATIONW FaxConfig);
  530. ReturnType=BOOL
  531. ReturnValueDescription=FaxSetConfigurationW - To Be Determined
  532. Remarks=FaxSetConfigurationW - To Be Determined
  533. NumberOfParameters=2
  534. ParameterName0=FaxHandle
  535. ParameterType0=HANDLE
  536. ParameterDescr0=FaxHandle - To be determined
  537. ParameterName1=FaxConfig
  538. ParameterType1=PFAX_CONFIGURATIONW
  539. ParameterDescr1=FaxConfig - To be determined
  540. [FaxSetJobA]
  541. Prototype=WINFAXAPI BOOL WINAPI FaxSetJobA( IN HANDLE FaxHandle, IN DWORD JobId, IN DWORD Command, IN PFAX_JOB_ENTRYA JobEntry);
  542. ReturnType=BOOL
  543. ReturnValueDescription=FaxSetJobA - To Be Determined
  544. Remarks=FaxSetJobA - To be determined
  545. NumberOfParameters=4
  546. ParameterName0=FaxHandle
  547. ParameterType0=HANDLE
  548. ParameterDescr0=FaxHandle - To be determined
  549. ParameterName1=JobId
  550. ParameterType1=DWORD
  551. ParameterDescr1=JobId - To be determined
  552. ParameterName2=Command
  553. ParameterType2=DWORD
  554. ParameterDescr2=Command - To be determined
  555. ParameterName3=JobEntry
  556. ParameterType3=PFAX_JOB_ENTRYA
  557. ParameterDescr3=JobEntry - To be determined
  558. [FaxSetJobW]
  559. Prototype=WINFAXAPI BOOL WINAPI FaxSetJobW( IN HANDLE FaxHandle, IN DWORD JobId, IN DWORD Command, IN PFAX_JOB_ENTRYW JobEntry);
  560. ReturnType=BOOL
  561. ReturnValueDescription=FaxSetJobW - To Be Determined
  562. Remarks=FaxSetJobW - To be determined
  563. NumberOfParameters=4
  564. ParameterName0=FaxHandle
  565. ParameterType0=HANDLE
  566. ParameterDescr0=FaxHandle - To be determined
  567. ParameterName1=JobId
  568. ParameterType1=DWORD
  569. ParameterDescr1=JobId - To be determined
  570. ParameterName2=Command
  571. ParameterType2=DWORD
  572. ParameterDescr2=Command - To be determined
  573. ParameterName3=JobEntry
  574. ParameterType3=PFAX_JOB_ENTRYW
  575. ParameterDescr3=JobEntry - To be determined
  576. [FaxSetLoggingCategoriesA]
  577. Prototype=WINFAXAPI BOOL WINAPI FaxSetLoggingCategoriesA( IN HANDLE FaxHandle, IN PFAX_LOG_CATEGORY Categories, IN DWORD NumberCategories);
  578. ReturnType=BOOL
  579. ReturnValueDescription=FaxHandle - To Be Determined
  580. Remarks=FaxSetLoggingCategoriesA - To be determined
  581. NumberOfParameters=3
  582. ParameterName0=FaxHandle
  583. ParameterType0=HANDLE
  584. ParameterDescr0=FaxHandle - To be determined
  585. ParameterName1=Categories
  586. ParameterType1=PFAX_LOG_CATEGORY
  587. ParameterDescr1=Categories - To be determined
  588. ParameterName2=NumberCategories
  589. ParameterType2=DWORD
  590. ParameterDescr2=NumberCategories - To be determined
  591. [FaxSetLoggingCategoriesW]
  592. Prototype=WINFAXAPI BOOL WINAPI FaxSetLoggingCategoriesW( IN HANDLE FaxHandle, IN PFAX_LOG_CATEGORY Categories, IN DWORD NumberCategories);
  593. ReturnType=BOOL
  594. ReturnValueDescription=FaxHandle - To Be Determined
  595. Remarks=FaxSetLoggingCategoriesW - To be determined
  596. NumberOfParameters=3
  597. ParameterName0=FaxHandle
  598. ParameterType0=HANDLE
  599. ParameterDescr0=FaxHandle - To be determined
  600. ParameterName1=Categories
  601. ParameterType1=PFAX_LOG_CATEGORY
  602. ParameterDescr1=Categories - To be determined
  603. ParameterName2=NumberCategories
  604. ParameterType2=DWORD
  605. ParameterDescr2=NumberCategories - To be determined
  606. [FaxSetPortA]
  607. Prototype=WINFAXAPI BOOL WINAPI FaxSetPortA( IN HANDLE FaxPortHandle, IN PFAX_PORT_INFOA PortInfo);
  608. ReturnType=BOOL
  609. ReturnValueDescription=ERROR_SUCCESS for success, otherwise a WIN32 error code.
  610. Remarks=Changes the port capability mask. This allows the caller to enable or disable sending & receiving on a port basis.
  611. NumberOfParameters=2
  612. ParameterName0=FaxPortHandle
  613. ParameterType0=HANDLE
  614. ParameterDescr0=FaxPortHandle - To be determined
  615. ParameterName1=PortInfo
  616. ParameterType1=PFAX_PORT_INFOA
  617. ParameterDescr1=PortInfo - To be determined
  618. [FaxSetPortW]
  619. Prototype=WINFAXAPI BOOL WINAPI FaxSetPortW( IN HANDLE FaxPortHandle, IN PFAX_PORT_INFOW PortInfo);
  620. ReturnType=BOOL
  621. ReturnValueDescription=ERROR_SUCCESS for success, otherwise a WIN32 error code.
  622. Remarks=Changes the port capability mask. This allows the caller to enable or disable sending & receiving on a port basis.
  623. NumberOfParameters=2
  624. ParameterName0=FaxPortHandle
  625. ParameterType0=HANDLE
  626. ParameterDescr0=FaxPortHandle - To be determined
  627. ParameterName2=PortInfo
  628. ParameterType2=PFAX_PORT_INFOW
  629. ParameterDescr1=PortInfo - To be determined
  630. [FaxSetRoutingInfoA]
  631. Prototype=WINFAXAPI BOOL WINAPI FaxSetRoutingInfoA( IN HANDLE FaxPortHandle, IN LPSTR RoutingGuid, IN LPBYTE RoutingInfoBuffer, IN DWORD RoutingInfoBufferSize);
  632. ReturnType=BOOL
  633. ReturnValueDescription=FaxSetRoutingInfoA - To Be Determined
  634. Remarks=FaxSetRoutingInfoA - To Be Determined
  635. NumberOfParameters=4
  636. ParameterName0=FaxPortHandle
  637. ParameterType0=HANDLE
  638. ParameterDescr0=FaxPortHandle - To be determined
  639. ParameterName1=RoutingGuid
  640. ParameterType1=LPSTR
  641. ParameterDescr1=RoutingGuid - To be determined
  642. ParameterName2=RoutingInfoBuffer
  643. ParameterType2=LPBYTE
  644. ParameterDescr2=RoutingInfoBuffer - To be determined
  645. ParameterName3=RoutingInfoBufferSize
  646. ParameterType3=DWORD
  647. ParameterDescr3=RoutingInfoBufferSize - To be determined
  648. [FaxSetRoutingInfoW]
  649. Prototype=WINFAXAPI BOOL WINAPI FaxSetRoutingInfoW( IN HANDLE FaxPortHandle, IN LPWSTR RoutingGuid, IN LPBYTE RoutingInfoBuffer, IN DWORD RoutingInfoBufferSize);
  650. ReturnType=BOOL
  651. ReturnValueDescription=FaxSetRoutingInfoW - To Be Determined
  652. Remarks=FaxSetRoutingInfoW - To Be Determined
  653. NumberOfParameters=4
  654. ParameterName0=FaxPortHandle
  655. ParameterType0=HANDLE
  656. ParameterDescr0=FaxPortHandle - To be determined
  657. ParameterName1=RoutingGuid
  658. ParameterType1=LPWSTR
  659. ParameterDescr1=RoutingGuid - To be determined
  660. ParameterName2=RoutingInfoBuffer
  661. ParameterType2=LPBYTE
  662. ParameterDescr2=RoutingInfoBuffer - To be determined
  663. ParameterName3=RoutingInfoBufferSize
  664. ParameterType3=DWORD
  665. ParameterDescr3=RoutingInfoBufferSize - To be determined
  666. [FaxStartPrintJobA]
  667. Prototype=WINFAXAPI BOOL WINAPI FaxStartPrintJobA( IN LPSTR PrinterName, IN PFAX_PRINT_INFOA PrintInfo, OUT LPDWORD FaxJobId, OUT HDC *FaxDeviceContext);
  668. ReturnType=BOOL
  669. ReturnValueDescription=TRUE indicates Success. FALSE indicates Failure. Call GetLastError() for more information.
  670. Remarks=Starts a print job for the specified printer. This function provides functionality beyond what the caller can provide by using StartDoc(). This function disables the display of the fax send wizard and also passes along the information that would otherwise be gathered by the fax wizard ui.
  671. NumberOfParameters=4
  672. ParameterName0=PrinterName
  673. ParameterType0=LPSTR
  674. ParameterDescr0=Fax printer name (must be a fax printer)
  675. ParameterName1=PrintInfo
  676. ParameterType1=PFAX_PRINT_INFOA
  677. ParameterDescr1=Fax print information
  678. ParameterName2=FaxJobId
  679. ParameterType2=LPDWORD
  680. ParameterDescr2=Job id of the resulting print job
  681. ParameterName3=FaxDeviceContext
  682. ParameterType3=HDC *
  683. ParameterDescr3=Points to the Handle to the newly created device context
  684. [FaxStartPrintJobW]
  685. Prototype=WINFAXAPI BOOL WINAPI FaxStartPrintJobW( IN LPWSTR PrinterName, IN PFAX_PRINT_INFOW PrintInfo, OUT LPDWORD FaxJobId, OUT HDC *FaxDeviceContext);
  686. ReturnType=BOOL
  687. ReturnValueDescription=TRUE indicates Success. FALSE indicates Failure. Call GetLastError() for more information.
  688. Remarks=Starts a print job for the specified printer. This function provides functionality beyond what the caller can provide by using StartDoc(). This function disables the display of the fax send wizard and also passes along the information that would otherwise be gathered by the fax wizard ui.
  689. NumberOfParameters=4
  690. ParameterName0=PrinterName
  691. ParameterType0=LPWSTR
  692. ParameterDescr0=Fax printer name (must be a fax printer)
  693. ParameterName1=PrintInfo
  694. ParameterType1=PFAX_PRINT_INFOW
  695. ParameterDescr1=Fax print information
  696. ParameterName2=FaxJobId
  697. ParameterType2=LPDWORD
  698. ParameterDescr2=Job id of the resulting print job
  699. ParameterName3=FaxDeviceContext
  700. ParameterType3=HDC *
  701. ParameterDescr3=Points to the Handle to the newly created device context