ReactOS 0.4.15-dev-7953-g1f49173
winfax.c
Go to the documentation of this file.
1/*
2 * ReactOS FAX API Support
3 * Copyright (C) 2004 ReactOS Team
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 */
19/*
20 * PROJECT: ReactOS FAX API Support
21 * FILE: lib/winfax/winfax.c
22 * PURPOSE: ReactOS FAX API Support
23 * PROGRAMMER: Thomas Weidenmueller <w3seek@reactos.com>
24 *
25 * UPDATE HISTORY:
26 * 10/02/2004 Created
27 */
28#include "precomp.h"
29
30/*
31 * @unimplemented
32 */
34FaxAbort(HANDLE FaxHandle, DWORD JobId)
35{
37 return FALSE;
38}
39
40
41/*
42 * @unimplemented
43 */
46{
48 return FALSE;
49}
50
51
52/*
53 * @unimplemented
54 */
56FaxClose(HANDLE FaxHandle)
57{
59 return FALSE;
60}
61
62
63/*
64 * @unimplemented
65 */
68{
70 return FALSE;
71}
72
73
74/*
75 * @unimplemented
76 */
79{
81 return FALSE;
82}
83
84
85/*
86 * @unimplemented
87 */
90{
92 return FALSE;
93}
94
95
96/*
97 * @unimplemented
98 */
101{
103 return FALSE;
104}
105
106
107/*
108 * @unimplemented
109 */
112{
114 return FALSE;
115}
116
117
118/*
119 * @unimplemented
120 */
123{
125 return FALSE;
126}
127
128
129/*
130 * @unimplemented
131 */
133FaxEnumGlobalRoutingInfoA(HANDLE FaxHandle, PFAX_GLOBAL_ROUTING_INFOA *RoutingInfo, LPDWORD MethodsReturned)
134{
136 return FALSE;
137}
138
139
140/*
141 * @unimplemented
142 */
144FaxEnumGlobalRoutingInfoW(HANDLE FaxHandle, PFAX_GLOBAL_ROUTING_INFOW *RoutingInfo, LPDWORD MethodsReturned)
145{
147 return FALSE;
148}
149
150
151/*
152 * @unimplemented
153 */
155FaxEnumJobsA(HANDLE FaxHandle, PFAX_JOB_ENTRYA *JobEntry, LPDWORD JobsReturned)
156{
158 return FALSE;
159}
160
161
162/*
163 * @unimplemented
164 */
166FaxEnumJobsW(HANDLE FaxHandle, PFAX_JOB_ENTRYW *JobEntry, LPDWORD JobsReturned)
167{
169 return FALSE;
170}
171
172
173/*
174 * @unimplemented
175 */
177FaxEnumPortsA(HANDLE FaxHandle, PFAX_PORT_INFOA *PortInfo, LPDWORD PortsReturned)
178{
180 return FALSE;
181}
182
183
184/*
185 * @unimplemented
186 */
188FaxEnumPortsW(HANDLE FaxHandle, PFAX_PORT_INFOW *PortInfo, LPDWORD PortsReturned)
189{
191 return FALSE;
192}
193
194
195/*
196 * @unimplemented
197 */
199FaxEnumRoutingMethodsA(HANDLE FaxPortHandle, PFAX_ROUTING_METHODA *RoutingMethod, LPDWORD MethodsReturned)
200{
202 return FALSE;
203}
204
205
206/*
207 * @unimplemented
208 */
210FaxEnumRoutingMethodsW(HANDLE FaxPortHandle, PFAX_ROUTING_METHODW *RoutingMethod, LPDWORD MethodsReturned)
211{
213 return FALSE;
214}
215
216
217/*
218 * @unimplemented
219 */
222{
224}
225
226
227/*
228 * @unimplemented
229 */
232{
234 return FALSE;
235}
236
237
238/*
239 * @unimplemented
240 */
243{
245 return FALSE;
246}
247
248
249/*
250 * @unimplemented
251 */
253FaxGetDeviceStatusA(HANDLE FaxPortHandle, PFAX_DEVICE_STATUSA *DeviceStatus)
254{
256 return FALSE;
257}
258
259
260/*
261 * @unimplemented
262 */
264FaxGetDeviceStatusW(HANDLE FaxPortHandle, PFAX_DEVICE_STATUSW *DeviceStatus)
265{
267 return FALSE;
268}
269
270
271/*
272 * @unimplemented
273 */
275FaxGetJobA(HANDLE FaxHandle, DWORD JobId, PFAX_JOB_ENTRYA *JobEntry)
276{
278 return FALSE;
279}
280
281
282/*
283 * @unimplemented
284 */
286FaxGetJobW(HANDLE FaxHandle, DWORD JobId, PFAX_JOB_ENTRYW *JobEntry)
287{
289 return FALSE;
290}
291
292
293/*
294 * @unimplemented
295 */
298{
300 return FALSE;
301}
302
303
304/*
305 * @unimplemented
306 */
309{
311 return FALSE;
312}
313
314
315/*
316 * @unimplemented
317 */
319FaxGetPageData(HANDLE FaxHandle, DWORD JobId, LPBYTE *Buffer, LPDWORD BufferSize, LPDWORD ImageWidth, LPDWORD ImageHeight)
320{
322 return FALSE;
323}
324
325
326/*
327 * @unimplemented
328 */
330FaxGetPortA(HANDLE FaxPortHandle, PFAX_PORT_INFOA *PortInfo)
331{
333 return FALSE;
334}
335
336
337/*
338 * @unimplemented
339 */
341FaxGetPortW(HANDLE FaxPortHandle, PFAX_PORT_INFOW *PortInfo)
342{
344 return FALSE;
345}
346
347
348/*
349 * @unimplemented
350 */
352FaxGetRoutingInfoA(HANDLE FaxPortHandle, LPCSTR RoutingGuid, LPBYTE *RoutingInfoBuffer, LPDWORD RoutingInfoBufferSize)
353{
355 return FALSE;
356}
357
358
359/*
360 * @unimplemented
361 */
363FaxGetRoutingInfoW(HANDLE FaxPortHandle, LPCWSTR RoutingGuid, LPBYTE *RoutingInfoBuffer, LPDWORD RoutingInfoBufferSize)
364{
366 return FALSE;
367}
368
369
370/*
371 * @unimplemented
372 */
374FaxInitializeEventQueue(HANDLE FaxHandle, HANDLE CompletionPort, ULONG_PTR CompletionKey, HWND hWnd, UINT MessageStart)
375{
377 return FALSE;
378}
379
380
381/*
382 * @unimplemented
383 */
385FaxOpenPort(HANDLE FaxHandle, DWORD DeviceId, DWORD Flags, LPHANDLE FaxPortHandle)
386{
388 return FALSE;
389}
390
391
392/*
393 * @unimplemented
394 */
397{
399 return FALSE;
400}
401
402
403/*
404 * @unimplemented
405 */
408{
410 return FALSE;
411}
412
413
414/*
415 * @unimplemented
416 */
419{
421 return FALSE;
422}
423
424
425/*
426 * @unimplemented
427 */
430{
432 return FALSE;
433}
434
435
436/*
437 * @unimplemented
438 */
441{
443 return FALSE;
444}
445
446
447/*
448 * @unimplemented
449 */
452{
454 return FALSE;
455}
456
457
458/*
459 * @unimplemented
460 */
463{
465 return FALSE;
466}
467
468
469/*
470 * @unimplemented
471 */
474{
476 return FALSE;
477}
478
479
480/*
481 * @unimplemented
482 */
485{
487 return FALSE;
488}
489
490
491/*
492 * @unimplemented
493 */
496{
498 return FALSE;
499}
500
501
502/*
503 * @unimplemented
504 */
507{
509 return FALSE;
510}
511
512
513/*
514 * @unimplemented
515 */
518{
520 return FALSE;
521}
522
523
524/*
525 * @unimplemented
526 */
529{
531 return FALSE;
532}
533
534
535/*
536 * @unimplemented
537 */
540{
542 return FALSE;
543}
544
545
546/*
547 * @unimplemented
548 */
551{
553 return FALSE;
554}
555
556
557/*
558 * @unimplemented
559 */
562{
564 return FALSE;
565}
566
567
568/*
569 * @unimplemented
570 */
572FaxSetPortA(HANDLE FaxPortHandle, CONST FAX_PORT_INFOA *PortInfo)
573{
575 return FALSE;
576}
577
578
579/*
580 * @unimplemented
581 */
583FaxSetPortW(HANDLE FaxPortHandle, CONST FAX_PORT_INFOW *PortInfo)
584{
586 return FALSE;
587}
588
589
590/*
591 * @unimplemented
592 */
594FaxSetRoutingInfoA(HANDLE FaxPortHandle, LPCSTR RoutingGuid, CONST BYTE *RoutingInfoBuffer, DWORD RoutingInfoBufferSize)
595{
597 return FALSE;
598}
599
600
601/*
602 * @unimplemented
603 */
605FaxSetRoutingInfoW(HANDLE FaxPortHandle, LPCWSTR RoutingGuid, CONST BYTE *RoutingInfoBuffer, DWORD RoutingInfoBufferSize)
606{
608 return FALSE;
609}
610
611
612/*
613 * @unimplemented
614 */
616FaxStartPrintJobA(LPCSTR PrinterName, CONST FAX_PRINT_INFOA *PrintInfo, LPDWORD FaxJobId, PFAX_CONTEXT_INFOA FaxContextInfo)
617{
619 return FALSE;
620}
621
622
623/*
624 * @unimplemented
625 */
627FaxStartPrintJobW(LPCWSTR PrinterName, CONST FAX_PRINT_INFOW *PrintInfo, LPDWORD FaxJobId, PFAX_CONTEXT_INFOW FaxContextInfo)
628{
630 return FALSE;
631}
632
HWND hWnd
Definition: settings.c:17
#define UNIMPLEMENTED
Definition: debug.h:115
Definition: bufpool.h:45
#define FALSE
Definition: types.h:117
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
static const char * ImageName
Definition: image.c:34
@ Enabled
Definition: mountmgr.h:159
unsigned int UINT
Definition: ndis.h:50
_In_ ACCESS_MASK AccessMask
Definition: exfuncs.h:186
#define CONST
Definition: pedump.c:81
_In_ DWORD _Out_ PDWORD _In_opt_ PCSTR MachineName
Definition: setupapi.h:1293
const GUID Categories[]
Definition: splitter.c:208
Definition: shell.h:41
unsigned char * LPBYTE
Definition: typedefs.h:53
uint32_t * LPDWORD
Definition: typedefs.h:59
uint32_t ULONG_PTR
Definition: typedefs.h:65
_In_ WDFMEMORY _Out_opt_ size_t * BufferSize
Definition: wdfmemory.h:254
#define WINAPI
Definition: msvc.h:6
BOOL WINAPI FaxGetPageData(HANDLE FaxHandle, DWORD JobId, LPBYTE *Buffer, LPDWORD BufferSize, LPDWORD ImageWidth, LPDWORD ImageHeight)
Definition: winfax.c:319
BOOL WINAPI FaxOpenPort(HANDLE FaxHandle, DWORD DeviceId, DWORD Flags, LPHANDLE FaxPortHandle)
Definition: winfax.c:385
VOID WINAPI FaxFreeBuffer(LPVOID Buffer)
Definition: winfax.c:221
BOOL WINAPI FaxGetJobW(HANDLE FaxHandle, DWORD JobId, PFAX_JOB_ENTRYW *JobEntry)
Definition: winfax.c:286
BOOL WINAPI FaxStartPrintJobW(LPCWSTR PrinterName, CONST FAX_PRINT_INFOW *PrintInfo, LPDWORD FaxJobId, PFAX_CONTEXT_INFOW FaxContextInfo)
Definition: winfax.c:627
BOOL WINAPI FaxSendDocumentForBroadcastA(HANDLE FaxHandle, LPCSTR FileName, LPDWORD FaxJobId, PFAX_RECIPIENT_CALLBACKA FaxRecipientCallback, LPVOID Context)
Definition: winfax.c:451
BOOL WINAPI FaxSetLoggingCategoriesW(HANDLE FaxHandle, CONST FAX_LOG_CATEGORYW *Categories, DWORD NumberCategories)
Definition: winfax.c:561
BOOL WINAPI FaxSendDocumentForBroadcastW(HANDLE FaxHandle, LPCWSTR FileName, LPDWORD FaxJobId, PFAX_RECIPIENT_CALLBACKW FaxRecipientCallback, LPVOID Context)
Definition: winfax.c:462
BOOL WINAPI FaxSetRoutingInfoA(HANDLE FaxPortHandle, LPCSTR RoutingGuid, CONST BYTE *RoutingInfoBuffer, DWORD RoutingInfoBufferSize)
Definition: winfax.c:594
BOOL WINAPI FaxSetLoggingCategoriesA(HANDLE FaxHandle, CONST FAX_LOG_CATEGORYA *Categories, DWORD NumberCategories)
Definition: winfax.c:550
BOOL WINAPI FaxSetPortW(HANDLE FaxPortHandle, CONST FAX_PORT_INFOW *PortInfo)
Definition: winfax.c:583
BOOL WINAPI FaxGetDeviceStatusA(HANDLE FaxPortHandle, PFAX_DEVICE_STATUSA *DeviceStatus)
Definition: winfax.c:253
BOOL WINAPI FaxGetPortW(HANDLE FaxPortHandle, PFAX_PORT_INFOW *PortInfo)
Definition: winfax.c:341
BOOL WINAPI FaxCompleteJobParamsW(PFAX_JOB_PARAMW *JobParams, PFAX_COVERAGE_INFOW *CoverageInfo)
Definition: winfax.c:78
BOOL WINAPI FaxEnumPortsA(HANDLE FaxHandle, PFAX_PORT_INFOA *PortInfo, LPDWORD PortsReturned)
Definition: winfax.c:177
BOOL WINAPI FaxGetPortA(HANDLE FaxPortHandle, PFAX_PORT_INFOA *PortInfo)
Definition: winfax.c:330
BOOL WINAPI FaxGetJobA(HANDLE FaxHandle, DWORD JobId, PFAX_JOB_ENTRYA *JobEntry)
Definition: winfax.c:275
BOOL WINAPI FaxSetJobA(HANDLE FaxHandle, DWORD JobId, DWORD Command, CONST FAX_JOB_ENTRYA *JobEntry)
Definition: winfax.c:528
BOOL WINAPI FaxStartPrintJobA(LPCSTR PrinterName, CONST FAX_PRINT_INFOA *PrintInfo, LPDWORD FaxJobId, PFAX_CONTEXT_INFOA FaxContextInfo)
Definition: winfax.c:616
BOOL WINAPI FaxGetConfigurationW(HANDLE FaxHandle, PFAX_CONFIGURATIONW *FaxConfig)
Definition: winfax.c:242
BOOL WINAPI FaxInitializeEventQueue(HANDLE FaxHandle, HANDLE CompletionPort, ULONG_PTR CompletionKey, HWND hWnd, UINT MessageStart)
Definition: winfax.c:374
BOOL WINAPI FaxSetJobW(HANDLE FaxHandle, DWORD JobId, DWORD Command, CONST FAX_JOB_ENTRYW *JobEntry)
Definition: winfax.c:539
BOOL WINAPI FaxSetRoutingInfoW(HANDLE FaxPortHandle, LPCWSTR RoutingGuid, CONST BYTE *RoutingInfoBuffer, DWORD RoutingInfoBufferSize)
Definition: winfax.c:605
BOOL WINAPI FaxRegisterServiceProviderW(LPCWSTR DeviceProvider, LPCWSTR FriendlyName, LPCWSTR ImageName, LPCWSTR TspName)
Definition: winfax.c:429
BOOL WINAPI FaxSetConfigurationW(HANDLE FaxHandle, CONST FAX_CONFIGURATIONW *FaxConfig)
Definition: winfax.c:495
BOOL WINAPI FaxGetRoutingInfoA(HANDLE FaxPortHandle, LPCSTR RoutingGuid, LPBYTE *RoutingInfoBuffer, LPDWORD RoutingInfoBufferSize)
Definition: winfax.c:352
BOOL WINAPI FaxEnableRoutingMethodA(HANDLE FaxPortHandle, LPCSTR RoutingGuid, BOOL Enabled)
Definition: winfax.c:111
BOOL WINAPI FaxSetGlobalRoutingInfoW(HANDLE FaxHandle, CONST FAX_GLOBAL_ROUTING_INFOW *RoutingInfo)
Definition: winfax.c:517
BOOL WINAPI FaxSetConfigurationA(HANDLE FaxHandle, CONST FAX_CONFIGURATIONA *FaxConfig)
Definition: winfax.c:484
BOOL WINAPI FaxSendDocumentW(HANDLE FaxHandle, LPCWSTR FileName, PFAX_JOB_PARAMW JobParams, CONST FAX_COVERAGE_INFOW *CoverpageInfo, LPDWORD FaxJobId)
Definition: winfax.c:473
BOOL WINAPI FaxSetGlobalRoutingInfoA(HANDLE FaxHandle, CONST FAX_GLOBAL_ROUTING_INFOA *RoutingInfo)
Definition: winfax.c:506
BOOL WINAPI FaxPrintCoverPageA(CONST FAX_CONTEXT_INFOA *FaxContextInfo, CONST FAX_COVERAGE_INFOA *CoverPageInfo)
Definition: winfax.c:396
BOOL WINAPI FaxEnableRoutingMethodW(HANDLE FaxPortHandle, LPCWSTR RoutingGuid, BOOL Enabled)
Definition: winfax.c:122
BOOL WINAPI FaxGetLoggingCategoriesA(HANDLE FaxHandle, PFAX_LOG_CATEGORYA *Categories, LPDWORD NumberCategories)
Definition: winfax.c:297
BOOL WINAPI FaxRegisterRoutingExtensionW(HANDLE FaxHandle, LPCWSTR ExtensionName, LPCWSTR FriendlyName, LPCWSTR ImageName, PFAX_ROUTING_INSTALLATION_CALLBACKW CallBack, LPVOID Context)
Definition: winfax.c:418
BOOL WINAPI FaxEnumJobsW(HANDLE FaxHandle, PFAX_JOB_ENTRYW *JobEntry, LPDWORD JobsReturned)
Definition: winfax.c:166
BOOL WINAPI FaxGetRoutingInfoW(HANDLE FaxPortHandle, LPCWSTR RoutingGuid, LPBYTE *RoutingInfoBuffer, LPDWORD RoutingInfoBufferSize)
Definition: winfax.c:363
BOOL WINAPI FaxClose(HANDLE FaxHandle)
Definition: winfax.c:56
BOOL WINAPI FaxCompleteJobParamsA(PFAX_JOB_PARAMA *JobParams, PFAX_COVERAGE_INFOA *CoverageInfo)
Definition: winfax.c:67
BOOL WINAPI FaxPrintCoverPageW(CONST FAX_CONTEXT_INFOW *FaxContextInfo, CONST FAX_COVERAGE_INFOW *CoverPageInfo)
Definition: winfax.c:407
BOOL WINAPI FaxConnectFaxServerW(LPCWSTR MachineName, LPHANDLE FaxHandle)
Definition: winfax.c:100
BOOL WINAPI FaxEnumJobsA(HANDLE FaxHandle, PFAX_JOB_ENTRYA *JobEntry, LPDWORD JobsReturned)
Definition: winfax.c:155
BOOL WINAPI FaxEnumGlobalRoutingInfoA(HANDLE FaxHandle, PFAX_GLOBAL_ROUTING_INFOA *RoutingInfo, LPDWORD MethodsReturned)
Definition: winfax.c:133
BOOL WINAPI FaxGetConfigurationA(HANDLE FaxHandle, PFAX_CONFIGURATIONA *FaxConfig)
Definition: winfax.c:231
BOOL WINAPI FaxEnumPortsW(HANDLE FaxHandle, PFAX_PORT_INFOW *PortInfo, LPDWORD PortsReturned)
Definition: winfax.c:188
BOOL WINAPI FaxGetDeviceStatusW(HANDLE FaxPortHandle, PFAX_DEVICE_STATUSW *DeviceStatus)
Definition: winfax.c:264
BOOL WINAPI FaxGetLoggingCategoriesW(HANDLE FaxHandle, PFAX_LOG_CATEGORYW *Categories, LPDWORD NumberCategories)
Definition: winfax.c:308
BOOL WINAPI FaxSendDocumentA(HANDLE FaxHandle, LPCSTR FileName, PFAX_JOB_PARAMA JobParams, CONST FAX_COVERAGE_INFOA *CoverpageInfo, LPDWORD FaxJobId)
Definition: winfax.c:440
BOOL WINAPI FaxEnumRoutingMethodsA(HANDLE FaxPortHandle, PFAX_ROUTING_METHODA *RoutingMethod, LPDWORD MethodsReturned)
Definition: winfax.c:199
BOOL WINAPI FaxEnumRoutingMethodsW(HANDLE FaxPortHandle, PFAX_ROUTING_METHODW *RoutingMethod, LPDWORD MethodsReturned)
Definition: winfax.c:210
BOOL WINAPI FaxAbort(HANDLE FaxHandle, DWORD JobId)
Definition: winfax.c:34
BOOL WINAPI FaxSetPortA(HANDLE FaxPortHandle, CONST FAX_PORT_INFOA *PortInfo)
Definition: winfax.c:572
BOOL WINAPI FaxAccessCheck(HANDLE FaxHandle, DWORD AccessMask)
Definition: winfax.c:45
BOOL WINAPI FaxEnumGlobalRoutingInfoW(HANDLE FaxHandle, PFAX_GLOBAL_ROUTING_INFOW *RoutingInfo, LPDWORD MethodsReturned)
Definition: winfax.c:144
BOOL WINAPI FaxConnectFaxServerA(LPCSTR MachineName, LPHANDLE FaxHandle)
Definition: winfax.c:89
BOOL(CALLBACK * PFAX_RECIPIENT_CALLBACKW)(HANDLE FaxHandle, DWORD RecipientNumber, LPVOID Context, PFAX_JOB_PARAMW JobParams, PFAX_COVERAGE_INFOW CoverpageInfo)
Definition: winfax.h:494
BOOL(CALLBACK * PFAX_ROUTING_INSTALLATION_CALLBACKW)(HANDLE FaxHandle, LPVOID Context, LPWSTR MethodName, LPWSTR FriendlyName, LPWSTR FunctionName, LPWSTR Guid)
Definition: winfax.h:590
BOOL(CALLBACK * PFAX_RECIPIENT_CALLBACKA)(HANDLE FaxHandle, DWORD RecipientNumber, LPVOID Context, PFAX_JOB_PARAMA JobParams, PFAX_COVERAGE_INFOA CoverpageInfo)
Definition: winfax.h:493
_Must_inspect_result_ _In_ ULONG Flags
Definition: wsk.h:170
const char * LPCSTR
Definition: xmlstorage.h:183
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185
unsigned char BYTE
Definition: xxhash.c:193