ReactOS  0.4.15-dev-2703-g05fb0f1
winfax.h
Go to the documentation of this file.
1 /*
2  * winfax.h
3  *
4  * FAX API Support
5  *
6  * THIS SOFTWARE IS NOT COPYRIGHTED
7  *
8  * This source code is offered for use in the public domain. You may
9  * use, modify or distribute it freely.
10  *
11  * This code is distributed in the hope that it will be useful but
12  * WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
13  * DISCLAIMED. This includes but is not limited to warranties of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15  *
16  */
17 
18 #ifndef __WINFAX_H
19 #define __WINFAX_H
20 
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
24 
25 typedef DWORD HCALL;
26 
27 typedef struct _FAX_TIME
28 {
32 
33 typedef enum
34 {
35  JSA_NOW = 0,
39 
40 typedef enum
41 {
42  DRT_NONE = 0,
46 
47 typedef enum
48 {
54 
55 typedef enum
56 {
62 
63 typedef enum
64 {
68 
69 typedef enum
70 {
76 
77 #define JT_UNKNOWN 0
78 #define JT_SEND 1
79 #define JT_RECEIVE 2
80 #define JT_ROUTING 3
81 #define JT_FAIL_RECEIVE 4
82 
83 #define JS_PENDING 0x0
84 #define JS_INPROGRESS 0x1
85 #define JS_DELETING 0x2
86 #define JS_FAILED 0x4
87 #define JS_PAUSED 0x8
88 #define JS_NOLINE 0x10
89 #define JS_RETRYING 0x20
90 #define JS_RETRIES_EXCEEDED 0x40
91 
92 #define FPS_DIALING 0x20000001
93 #define FPS_SENDING 0x20000002
94 #define FPS_RECEIVING 0x20000004
95 #define FPS_COMPLETED 0x20000008
96 #define FPS_HANDLED 0x20000010
97 #define FPS_UNAVAILABLE 0x20000020
98 #define FPS_BUSY 0x20000040
99 #define FPS_NO_ANSWER 0x20000080
100 #define FPS_BAD_ADDRESS 0x20000100
101 #define FPS_NO_DIAL_TONE 0x20000200
102 #define FPS_DISCONNECTED 0x20000400
103 #define FPS_FATAL_ERROR 0x20000800
104 #define FPS_NOT_FAX_CALL 0x20001000
105 #define FPS_CALL_DELAYED 0x20002000
106 #define FPS_CALL_BLACKLISTED 0x20004000
107 #define FPS_INITIALIZING 0x20008000
108 #define FPS_OFFLINE 0x20010000
109 #define FPS_RINGING 0x20020000
110 #define FPS_AVAILABLE 0x20100000
111 #define FPS_ABORTING 0x20200000
112 #define FPS_ROUTING 0x20400000
113 #define FPS_ANSWERED 0x20800000
114 
115 #define FPF_RECEIVE 0x1
116 #define FPF_SEND 0x2
117 #define FPF_VIRTUAL 0x4
118 
119 typedef struct _FAX_JOB_PARAMA
120 {
137 
138 typedef struct _FAX_JOB_PARAMW
139 {
156 
157 typedef struct _FAX_COVERAGE_INFOA
158 {
160 
163 
177 
187 
193 
194 typedef struct _FAX_COVERAGE_INFOW
195 {
197 
200 
214 
224 
230 
232 {
241 
243 {
252 
253 typedef struct _FAX_JOB_ENTRYA
254 {
276 
277 typedef struct _FAX_JOB_ENTRYW
278 {
300 
301 typedef struct _FAX_PORT_INFOA
302 {
313 
314 typedef struct _FAX_PORT_INFOW
315 {
326 
327 typedef struct _FAX_ROUTING_METHODA
328 {
339 
340 typedef struct _FAX_ROUTING_METHODW
341 {
352 
353 typedef struct _FAX_CONFIGURATIONA
354 {
369 
370 typedef struct _FAX_CONFIGURATIONW
371 {
386 
387 typedef struct _FAX_DEVICE_STATUSA
388 {
410 
411 typedef struct _FAX_DEVICE_STATUSW
412 {
434 
435 typedef struct _FAX_LOG_CATEGORYA
436 {
441 
442 typedef struct _FAX_LOG_CATEGORYW
443 {
448 
449 typedef struct _FAX_CONTEXT_INFOA
450 {
455 
456 typedef struct _FAX_CONTEXT_INFOW
457 {
462 
463 typedef struct _FAX_PRINT_INFOA
464 {
477 
478 typedef struct _FAX_PRINT_INFOW
479 {
492 
493 typedef BOOL (CALLBACK *PFAX_RECIPIENT_CALLBACKA)(HANDLE FaxHandle, DWORD RecipientNumber, LPVOID Context, PFAX_JOB_PARAMA JobParams, PFAX_COVERAGE_INFOA CoverpageInfo);
494 typedef BOOL (CALLBACK *PFAX_RECIPIENT_CALLBACKW)(HANDLE FaxHandle, DWORD RecipientNumber, LPVOID Context, PFAX_JOB_PARAMW JobParams, PFAX_COVERAGE_INFOW CoverpageInfo);
495 
496 #ifdef UNICODE
520 #define FaxCompleteJobParams FaxCompleteJobParamsW
521 #define FaxConnectFaxServer FaxConnectFaxServerW
522 #define FaxEnableRoutingMethod FaxEnableRoutingMethodW
523 #define FaxEnumGlobalRoutingInfo FaxEnumGlobalRoutingInfoW
524 #define FaxEnumJobs FaxEnumJobsW
525 #define FaxEnumPorts FaxEnumPortsW
526 #define FaxEnumRoutingMethods FaxEnumRoutingMethodsW
527 #define FaxGetConfiguration FaxGetConfigurationW
528 #define FaxGetDeviceStatus FaxGetDeviceStatusW
529 #define FaxGetJob FaxGetJobW
530 #define FaxGetLoggingCategories FaxGetLoggingCategoriesW
531 #define FaxGetPort FaxGetPortW
532 #define FaxGetRoutingInfo FaxGetRoutingInfoW
533 #define FaxSendDocument FaxSendDocumentW
534 #define FaxSendDocumentForBroadcast FaxSendDocumentForBroadcastW
535 #define FaxSetConfiguration FaxSetConfigurationW
536 #define FaxSetGlobalRoutingInfo FaxSetGlobalRoutingInfoW
537 #define FaxSetJob FaxSetJobW
538 #define FaxSetLoggingCategories FaxSetLoggingCategoriesW
539 #define FaxSetPort FaxSetPortW
540 #define FaxSetRoutingInfo FaxSetRoutingInfoW
541 #define FaxStartPrintJob FaxStartPrintJobW
542 #else /* !UNICODE */
566 #define FaxCompleteJobParams FaxCompleteJobParamsA
567 #define FaxConnectFaxServer FaxConnectFaxServerA
568 #define FaxEnableRoutingMethod FaxEnableRoutingMethodA
569 #define FaxEnumGlobalRoutingInfo FaxEnumGlobalRoutingInfoA
570 #define FaxEnumJobs FaxEnumJobsA
571 #define FaxEnumPorts FaxEnumPortsA
572 #define FaxEnumRoutingMethods FaxEnumRoutingMethodsA
573 #define FaxGetConfiguration FaxGetConfigurationA
574 #define FaxGetDeviceStatus FaxGetDeviceStatusA
575 #define FaxGetJob FaxGetJobA
576 #define FaxGetLoggingCategories FaxGetLoggingCategoriesA
577 #define FaxGetPort FaxGetPortA
578 #define FaxGetRoutingInfo FaxGetRoutingInfoA
579 #define FaxSendDocument FaxSendDocumentA
580 #define FaxSendDocumentForBroadcast FaxSendDocumentForBroadcastA
581 #define FaxSetConfiguration FaxSetConfigurationA
582 #define FaxSetGlobalRoutingInfo FaxSetGlobalRoutingInfoA
583 #define FaxSetJob FaxSetJobA
584 #define FaxSetLoggingCategories FaxSetLoggingCategoriesA
585 #define FaxSetPort FaxSetPortA
586 #define FaxSetRoutingInfo FaxSetRoutingInfoA
587 #define FaxStartPrintJob FaxStartPrintJobA
588 #endif /* UNICODE */
589 
591 #define PFAX_ROUTING_INSTALLATION_CALLBACK PFAX_ROUTING_INSTALLATION_CALLBACKW
592 #define FaxRegisterRoutingExtension FaxRegisterRoutingExtensionW
593 #define FaxRegisterServiceProvider FaxRegisterServiceProviderW
594 
595 BOOL WINAPI FaxAbort(HANDLE FaxHandle, DWORD JobId);
597 BOOL WINAPI FaxClose(HANDLE FaxHandle);
602 BOOL WINAPI FaxEnableRoutingMethodA(HANDLE FaxPortHandle, LPCSTR RoutingGuid, BOOL Enabled);
603 BOOL WINAPI FaxEnableRoutingMethodW(HANDLE FaxPortHandle, LPCWSTR RoutingGuid, BOOL Enabled);
604 BOOL WINAPI FaxEnumGlobalRoutingInfoA(HANDLE FaxHandle, PFAX_GLOBAL_ROUTING_INFOA *RoutingInfo, LPDWORD MethodsReturned);
605 BOOL WINAPI FaxEnumGlobalRoutingInfoW(HANDLE FaxHandle, PFAX_GLOBAL_ROUTING_INFOW *RoutingInfo, LPDWORD MethodsReturned);
606 BOOL WINAPI FaxEnumJobsA(HANDLE FaxHandle, PFAX_JOB_ENTRYA *JobEntry, LPDWORD JobsReturned);
607 BOOL WINAPI FaxEnumJobsW(HANDLE FaxHandle, PFAX_JOB_ENTRYW *JobEntry, LPDWORD JobsReturned);
608 BOOL WINAPI FaxEnumPortsA(HANDLE FaxHandle, PFAX_PORT_INFOA *PortInfo, LPDWORD PortsReturned);
609 BOOL WINAPI FaxEnumPortsW(HANDLE FaxHandle, PFAX_PORT_INFOW *PortInfo, LPDWORD PortsReturned);
610 BOOL WINAPI FaxEnumRoutingMethodsA(HANDLE FaxPortHandle, PFAX_ROUTING_METHODA *RoutingMethod, LPDWORD MethodsReturned);
611 BOOL WINAPI FaxEnumRoutingMethodsW(HANDLE FaxPortHandle, PFAX_ROUTING_METHODW *RoutingMethod, LPDWORD MethodsReturned);
615 BOOL WINAPI FaxGetDeviceStatusA(HANDLE FaxPortHandle, PFAX_DEVICE_STATUSA *DeviceStatus);
616 BOOL WINAPI FaxGetDeviceStatusW(HANDLE FaxPortHandle, PFAX_DEVICE_STATUSW *DeviceStatus);
617 BOOL WINAPI FaxGetJobA(HANDLE FaxHandle, DWORD JobId, PFAX_JOB_ENTRYA *JobEntry);
618 BOOL WINAPI FaxGetJobW(HANDLE FaxHandle, DWORD JobId, PFAX_JOB_ENTRYW *JobEntry);
621 BOOL WINAPI FaxGetPageData(HANDLE FaxHandle, DWORD JobId, LPBYTE *Buffer, LPDWORD BufferSize, LPDWORD ImageWidth, LPDWORD ImageHeight);
622 BOOL WINAPI FaxGetPortA(HANDLE FaxPortHandle, PFAX_PORT_INFOA *PortInfo);
623 BOOL WINAPI FaxGetPortW(HANDLE FaxPortHandle, PFAX_PORT_INFOW *PortInfo);
624 BOOL WINAPI FaxGetRoutingInfoA(HANDLE FaxPortHandle, LPCSTR RoutingGuid, LPBYTE *RoutingInfoBuffer, LPDWORD RoutingInfoBufferSize);
625 BOOL WINAPI FaxGetRoutingInfoW(HANDLE FaxPortHandle, LPCWSTR RoutingGuid, LPBYTE *RoutingInfoBuffer, LPDWORD RoutingInfoBufferSize);
626 BOOL WINAPI FaxInitializeEventQueue(HANDLE FaxHandle, HANDLE CompletionPort, ULONG_PTR CompletionKey, HWND hWnd, UINT MessageStart);
627 BOOL WINAPI FaxOpenPort(HANDLE FaxHandle, DWORD DeviceId, DWORD Flags, LPHANDLE FaxPortHandle);
631 BOOL WINAPI FaxRegisterServiceProviderW(LPCWSTR DeviceProvider, LPCWSTR FriendlyName, LPCWSTR ImageName, LPCWSTR TspName);
632 BOOL WINAPI FaxSendDocumentA(HANDLE FaxHandle, LPCSTR FileName, PFAX_JOB_PARAMA JobParams, CONST FAX_COVERAGE_INFOA *CoverpageInfo, LPDWORD FaxJobId);
635 BOOL WINAPI FaxSendDocumentW(HANDLE FaxHandle, LPCWSTR FileName, PFAX_JOB_PARAMW JobParams, CONST FAX_COVERAGE_INFOW *CoverpageInfo, LPDWORD FaxJobId);
640 BOOL WINAPI FaxSetJobA(HANDLE FaxHandle, DWORD JobId, DWORD Command, CONST FAX_JOB_ENTRYA *JobEntry);
641 BOOL WINAPI FaxSetJobW(HANDLE FaxHandle, DWORD JobId, DWORD Command, CONST FAX_JOB_ENTRYW *JobEntry);
644 BOOL WINAPI FaxSetPortA(HANDLE FaxPortHandle, CONST FAX_PORT_INFOA *PortInfo);
645 BOOL WINAPI FaxSetPortW(HANDLE FaxPortHandle, CONST FAX_PORT_INFOW *PortInfo);
646 BOOL WINAPI FaxSetRoutingInfoA(HANDLE FaxPortHandle, LPCSTR RoutingGuid, CONST BYTE *RoutingInfoBuffer, DWORD RoutingInfoBufferSize);
647 BOOL WINAPI FaxSetRoutingInfoW(HANDLE FaxPortHandle, LPCWSTR RoutingGuid, CONST BYTE *RoutingInfoBuffer, DWORD RoutingInfoBufferSize);
648 BOOL WINAPI FaxStartPrintJobA(LPCSTR PrinterName, CONST FAX_PRINT_INFOA *PrintInfo, LPDWORD FaxJobId, PFAX_CONTEXT_INFOA FaxContextInfo);
649 BOOL WINAPI FaxStartPrintJobW(LPCWSTR PrinterName, CONST FAX_PRINT_INFOW *PrintInfo, LPDWORD FaxJobId, PFAX_CONTEXT_INFOW FaxContextInfo);
650 
651 #ifdef __cplusplus
652 }
653 #endif
654 #endif /* __WINFAX_H */
655 
656 /* EOF */
LPCWSTR SenderDept
Definition: winfax.h:292
SYSTEMTIME ScheduleTime
Definition: winfax.h:130
BOOL WINAPI FaxAccessCheck(HANDLE FaxHandle, DWORD AccessMask)
Definition: winfax.c:45
LPCWSTR SenderName
Definition: winfax.h:290
BOOL WINAPI FaxSetLoggingCategoriesW(HANDLE FaxHandle, CONST FAX_LOG_CATEGORYW *Categories, DWORD NumberCategories)
Definition: winfax.c:561
DWORD HCALL
Definition: winfax.h:25
DWORD State
Definition: winfax.h:318
LPCWSTR DeliveryReportAddress
Definition: winfax.h:297
DWORD DeliveryReportType
Definition: winfax.h:131
LPCSTR ExtensionFriendlyName
Definition: winfax.h:337
BOOL WINAPI FaxGetPageData(HANDLE FaxHandle, DWORD JobId, LPBYTE *Buffer, LPDWORD BufferSize, LPDWORD ImageWidth, LPDWORD ImageHeight)
Definition: winfax.c:319
LPCWSTR RecCompany
Definition: winfax.h:203
DWORD ScheduleAction
Definition: winfax.h:294
DWORD DeliveryReportType
Definition: winfax.h:150
FAX_CONFIGURATIONA FAX_CONFIGURATION
Definition: winfax.h:555
LPCSTR SenderName
Definition: winfax.h:266
LPCSTR FunctionName
Definition: winfax.h:335
LPCWSTR RecipientName
Definition: winfax.h:424
DWORD JobId
Definition: winfax.h:280
struct _FAX_TIME FAX_TIME
LPCSTR SenderCompany
Definition: winfax.h:126
PFAX_PRINT_INFOA PFAX_PRINT_INFO
Definition: winfax.h:564
LPCWSTR SenderName
Definition: winfax.h:423
struct _FAX_LOG_CATEGORYW * PFAX_LOG_CATEGORYW
DWORD JobType
Definition: winfax.h:258
LPCWSTR Tsid
Definition: winfax.h:143
struct _FAX_ROUTING_METHODA * PFAX_ROUTING_METHODA
PFAX_COVERAGE_INFOA PFAX_COVERAGE_INFO
Definition: winfax.h:546
LPCSTR RecOfficePhone
Definition: winfax.h:176
LPCSTR BillingCode
Definition: winfax.h:128
FAX_COVERAGE_INFOA FAX_COVERAGE_INFO
Definition: winfax.h:545
struct _FAX_PRINT_INFOW * PFAX_PRINT_INFOW
struct _FAX_JOB_ENTRYA * PFAX_JOB_ENTRYA
LPCWSTR SenderDept
Definition: winfax.h:486
struct _FAX_JOB_PARAMW FAX_JOB_PARAMW
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185
LPCSTR PhoneNumber
Definition: winfax.h:397
FAX_LOG_CATEGORYA FAX_LOG_CATEGORY
Definition: winfax.h:559
BOOL WINAPI FaxSetConfigurationA(HANDLE FaxHandle, CONST FAX_CONFIGURATIONA *FaxConfig)
Definition: winfax.c:484
LPCSTR SenderName
Definition: winfax.h:125
BOOL UseServerCoverPage
Definition: winfax.h:199
BOOL WINAPI FaxGetPortW(HANDLE FaxPortHandle, PFAX_PORT_INFOW *PortInfo)
Definition: winfax.c:341
struct _FAX_PORT_INFOA * PFAX_PORT_INFOA
LPCSTR SdrOfficePhone
Definition: winfax.h:186
FAX_TIME StopCheapTime
Definition: winfax.h:364
struct _FAX_CONTEXT_INFOW FAX_CONTEXT_INFOW
LPCSTR OutputFileName
Definition: winfax.h:475
LPCWSTR SenderCompany
Definition: winfax.h:485
struct _FAX_COVERAGE_INFOW FAX_COVERAGE_INFOW
DWORD SizeOfStruct
Definition: winfax.h:196
struct _FAX_ROUTING_METHODA FAX_ROUTING_METHODA
PFAX_GLOBAL_ROUTING_INFOA PFAX_GLOBAL_ROUTING_INFO
Definition: winfax.h:548
BOOL WINAPI FaxSetGlobalRoutingInfoA(HANDLE FaxHandle, CONST FAX_GLOBAL_ROUTING_INFOA *RoutingInfo)
Definition: winfax.c:506
BOOL WINAPI FaxSendDocumentForBroadcastW(HANDLE FaxHandle, LPCWSTR FileName, LPDWORD FaxJobId, PFAX_RECIPIENT_CALLBACKW FaxRecipientCallback, LPVOID Context)
Definition: winfax.c:462
struct _FAX_ROUTING_METHODW FAX_ROUTING_METHODW
LPCWSTR RecTitle
Definition: winfax.h:209
BOOL WINAPI FaxGetConfigurationW(HANDLE FaxHandle, PFAX_CONFIGURATIONW *FaxConfig)
Definition: winfax.c:242
char CHAR
Definition: xmlstorage.h:175
BOOL WINAPI FaxSendDocumentForBroadcastA(HANDLE FaxHandle, LPCSTR FileName, LPDWORD FaxJobId, PFAX_RECIPIENT_CALLBACKA FaxRecipientCallback, LPVOID Context)
Definition: winfax.c:451
BOOL WINAPI FaxOpenPort(HANDLE FaxHandle, DWORD DeviceId, DWORD Flags, LPHANDLE FaxPortHandle)
Definition: winfax.c:385
LPCSTR RecipientNumber
Definition: winfax.h:122
LPCSTR SenderDept
Definition: winfax.h:127
FAX_ENUM_PORT_OPEN_TYPE
Definition: winfax.h:63
LPCSTR RecipientName
Definition: winfax.h:264
LPCSTR SenderDept
Definition: winfax.h:471
struct _FAX_PORT_INFOW FAX_PORT_INFOW
static HDC
Definition: imagelist.c:92
#define CALLBACK
Definition: compat.h:35
FAX_DEVICE_STATUSA FAX_DEVICE_STATUS
Definition: winfax.h:557
HWND hWnd
Definition: settings.c:17
LPCSTR Reserved
Definition: winfax.h:473
BOOL WINAPI FaxEnumGlobalRoutingInfoA(HANDLE FaxHandle, PFAX_GLOBAL_ROUTING_INFOA *RoutingInfo, LPDWORD MethodsReturned)
Definition: winfax.c:133
DWORD SizeOfStruct
Definition: winfax.h:372
struct _FAX_CONFIGURATIONA FAX_CONFIGURATIONA
struct _FAX_CONFIGURATIONW FAX_CONFIGURATIONW
_In_ DWORD _Out_ PDWORD _In_opt_ PCSTR MachineName
Definition: setupapi.h:1286
WORD Hour
Definition: winfax.h:29
LPCSTR DeviceName
Definition: winfax.h:309
LPCWSTR Reserved
Definition: winfax.h:488
DWORD SizeOfStruct
Definition: winfax.h:316
struct _FAX_GLOBAL_ROUTING_INFOA * PFAX_GLOBAL_ROUTING_INFOA
DWORD JobId
Definition: winfax.h:256
LPCWSTR RecipientNumber
Definition: winfax.h:141
BOOL WINAPI FaxSetJobA(HANDLE FaxHandle, DWORD JobId, DWORD Command, CONST FAX_JOB_ENTRYA *JobEntry)
Definition: winfax.c:528
DWORD SizeOfStruct
Definition: winfax.h:140
LPCSTR DocName
Definition: winfax.h:466
Definition: shell.h:41
BOOL WINAPI FaxGetPortA(HANDLE FaxPortHandle, PFAX_PORT_INFOA *PortInfo)
Definition: winfax.c:330
struct _FAX_COVERAGE_INFOA FAX_COVERAGE_INFOA
BOOL WINAPI FaxEnumRoutingMethodsA(HANDLE FaxPortHandle, PFAX_ROUTING_METHODA *RoutingMethod, LPDWORD MethodsReturned)
Definition: winfax.c:199
LPCWSTR Subject
Definition: winfax.h:226
LPCWSTR UserName
Definition: winfax.h:432
struct _FAX_COVERAGE_INFOA * PFAX_COVERAGE_INFOA
LPCWSTR SdrCompany
Definition: winfax.h:217
LPCSTR SenderDept
Definition: winfax.h:268
BOOL WINAPI FaxGetDeviceStatusW(HANDLE FaxPortHandle, PFAX_DEVICE_STATUSW *DeviceStatus)
Definition: winfax.c:264
LPCWSTR RecipientNumber
Definition: winfax.h:287
#define BOOL
Definition: nt_native.h:43
struct _FAX_GLOBAL_ROUTING_INFOA FAX_GLOBAL_ROUTING_INFOA
LPCWSTR StatusString
Definition: winfax.h:428
DWORD ScheduleAction
Definition: winfax.h:129
SYSTEMTIME ScheduleTime
Definition: winfax.h:271
FAX_PRINT_INFOA FAX_PRINT_INFO
Definition: winfax.h:563
LPCWSTR SenderCompany
Definition: winfax.h:291
LPCSTR DocumentName
Definition: winfax.h:133
LPCSTR RecDepartment
Definition: winfax.h:173
BOOL WINAPI FaxEnumGlobalRoutingInfoW(HANDLE FaxHandle, PFAX_GLOBAL_ROUTING_INFOW *RoutingInfo, LPDWORD MethodsReturned)
Definition: winfax.c:144
struct _FAX_JOB_PARAMA * PFAX_JOB_PARAMA
FAX_TIME StopCheapTime
Definition: winfax.h:381
BOOL WINAPI FaxSendDocumentW(HANDLE FaxHandle, LPCWSTR FileName, PFAX_JOB_PARAMW JobParams, CONST FAX_COVERAGE_INFOW *CoverpageInfo, LPDWORD FaxJobId)
Definition: winfax.c:473
BOOL WINAPI FaxRegisterServiceProviderW(LPCWSTR DeviceProvider, LPCWSTR FriendlyName, LPCWSTR ImageName, LPCWSTR TspName)
Definition: winfax.c:429
DWORD JobType
Definition: winfax.h:282
uint32_t ULONG_PTR
Definition: typedefs.h:65
LPCSTR CoverPageName
Definition: winfax.h:161
CHAR ServerName[MAX_COMPUTERNAME_LENGTH+1]
Definition: winfax.h:453
VOID WINAPI FaxFreeBuffer(LPVOID Buffer)
Definition: winfax.c:221
DWORD PageCount
Definition: winfax.h:262
FILETIME SubmittedTime
Definition: winfax.h:429
struct _FAX_GLOBAL_ROUTING_INFOW FAX_GLOBAL_ROUTING_INFOW
LPCSTR UserName
Definition: winfax.h:257
BOOL WINAPI FaxConnectFaxServerA(LPCSTR MachineName, LPHANDLE FaxHandle)
Definition: winfax.c:89
LPCSTR Tsid
Definition: winfax.h:265
DWORD SizeOfStruct
Definition: winfax.h:255
BOOL WINAPI FaxRegisterRoutingExtensionW(HANDLE FaxHandle, LPCWSTR ExtensionName, LPCWSTR FriendlyName, LPCWSTR ImageName, PFAX_ROUTING_INSTALLATION_CALLBACK CallBack, LPVOID Context)
BOOL WINAPI FaxSetPortW(HANDLE FaxPortHandle, CONST FAX_PORT_INFOW *PortInfo)
Definition: winfax.c:583
unsigned char * LPBYTE
Definition: typedefs.h:53
LPCSTR SdrCompany
Definition: winfax.h:180
LPCSTR StatusString
Definition: winfax.h:404
LPCWSTR DocumentName
Definition: winfax.h:152
struct _FAX_JOB_ENTRYW FAX_JOB_ENTRYW
unsigned int BOOL
Definition: ntddk_ex.h:94
LPCWSTR Tsid
Definition: winfax.h:323
LPCWSTR FriendlyName
Definition: winfax.h:347
LPCWSTR RecZip
Definition: winfax.h:207
DWORD Flags
Definition: winfax.h:306
const GUID Categories[]
Definition: splitter.c:208
BOOL(CALLBACK * PFAX_ROUTING_INSTALLATION_CALLBACKW)(HANDLE FaxHandle, LPVOID Context, LPWSTR MethodName, LPWSTR FriendlyName, LPWSTR FunctionName, LPWSTR Guid)
Definition: winfax.h:590
struct _FAX_GLOBAL_ROUTING_INFOW * PFAX_GLOBAL_ROUTING_INFOW
struct _FAX_PRINT_INFOA FAX_PRINT_INFOA
PFAX_RECIPIENT_CALLBACKW PFAX_RECIPIENT_CALLBACK
Definition: winfax.h:565
BOOL WINAPI FaxGetJobA(HANDLE FaxHandle, DWORD JobId, PFAX_JOB_ENTRYA *JobEntry)
Definition: winfax.c:275
struct _FAX_DEVICE_STATUSA * PFAX_DEVICE_STATUSA
SYSTEMTIME ScheduleTime
Definition: winfax.h:295
BOOL WINAPI FaxGetRoutingInfoW(HANDLE FaxPortHandle, LPCWSTR RoutingGuid, LPBYTE *RoutingInfoBuffer, LPDWORD RoutingInfoBufferSize)
Definition: winfax.c:363
LPCSTR RecipientNumber
Definition: winfax.h:468
LPCWSTR RecCity
Definition: winfax.h:205
LPCWSTR ExtensionFriendlyName
Definition: winfax.h:350
DWORD DeviceId
Definition: winfax.h:317
DWORD DeviceId
Definition: winfax.h:304
struct _FAX_PORT_INFOW * PFAX_PORT_INFOW
LPCWSTR Tsid
Definition: winfax.h:289
BOOL WINAPI FaxEnumJobsW(HANDLE FaxHandle, PFAX_JOB_ENTRYW *JobEntry, LPDWORD JobsReturned)
Definition: winfax.c:166
LPCWSTR SdrFaxNumber
Definition: winfax.h:216
LPCWSTR CallerId
Definition: winfax.h:414
BOOL WINAPI FaxGetRoutingInfoA(HANDLE FaxPortHandle, LPCSTR RoutingGuid, LPBYTE *RoutingInfoBuffer, LPDWORD RoutingInfoBufferSize)
Definition: winfax.c:352
#define PFAX_ROUTING_INSTALLATION_CALLBACK
Definition: winfax.h:591
BOOL WINAPI FaxClose(HANDLE FaxHandle)
Definition: winfax.c:56
FAX_TIME StartCheapTime
Definition: winfax.h:363
LPCSTR RecipientName
Definition: winfax.h:400
LPCSTR DeviceName
Definition: winfax.h:394
DWORD Priority
Definition: winfax.h:321
_Reserved_ PVOID Reserved
Definition: winddi.h:3974
LPCWSTR RecOfficePhone
Definition: winfax.h:213
Definition: bufpool.h:45
const char * LPCSTR
Definition: xmlstorage.h:183
LPCWSTR SdrAddress
Definition: winfax.h:218
DWORD SizeOfStruct
Definition: winfax.h:159
struct _FAX_LOG_CATEGORYW FAX_LOG_CATEGORYW
DWORD SizeOfStruct
Definition: winfax.h:465
LPCSTR ExtensionFriendlyName
Definition: winfax.h:239
LPCWSTR SdrTitle
Definition: winfax.h:219
FILETIME StartTime
Definition: winfax.h:402
BOOL WINAPI FaxConnectFaxServerW(LPCWSTR MachineName, LPHANDLE FaxHandle)
Definition: winfax.c:100
LPCWSTR UserName
Definition: winfax.h:281
LPCWSTR SdrHomePhone
Definition: winfax.h:222
FAX_JOB_PARAMA FAX_JOB_PARAM
Definition: winfax.h:543
HCALL CallHandle
Definition: winfax.h:153
DWORD SizeOfStruct
Definition: winfax.h:389
LPCWSTR SdrOfficePhone
Definition: winfax.h:223
BOOL PauseServerQueue
Definition: winfax.h:379
LPCWSTR ExtensionImageName
Definition: winfax.h:249
LPCWSTR DeviceName
Definition: winfax.h:418
DWORD Flags
Definition: winfax.h:319
LPCWSTR Csid
Definition: winfax.h:324
LPCWSTR RecipientName
Definition: winfax.h:142
struct _FAX_DEVICE_STATUSW * PFAX_DEVICE_STATUSW
_Must_inspect_result_ _In_ ULONG Flags
Definition: wsk.h:170
LPCWSTR RecipientName
Definition: winfax.h:288
DWORD SizeOfStruct
Definition: winfax.h:279
struct _FAX_PRINT_INFOA * PFAX_PRINT_INFOA
BOOL ArchiveOutgoingFaxes
Definition: winfax.h:382
struct _FAX_DEVICE_STATUSW FAX_DEVICE_STATUSW
DWORD Rings
Definition: winfax.h:307
struct _FAX_COVERAGE_INFOW * PFAX_COVERAGE_INFOW
__wchar_t WCHAR
Definition: xmlstorage.h:180
BOOL WINAPI FaxGetDeviceStatusA(HANDLE FaxPortHandle, PFAX_DEVICE_STATUSA *DeviceStatus)
Definition: winfax.c:253
LPCWSTR SenderName
Definition: winfax.h:484
Definition: winfax.h:35
LPCWSTR DeviceName
Definition: winfax.h:345
_Must_inspect_result_ _In_ WDFOBJECT _In_ CONST GUID * Guid
Definition: wdfobject.h:760
BOOL WINAPI FaxCompleteJobParamsW(PFAX_JOB_PARAMW *JobParams, PFAX_COVERAGE_INFOW *CoverageInfo)
Definition: winfax.c:78
LPCWSTR InboundProfile
Definition: winfax.h:384
BOOL WINAPI FaxStartPrintJobA(LPCSTR PrinterName, CONST FAX_PRINT_INFOA *PrintInfo, LPDWORD FaxJobId, PFAX_CONTEXT_INFOA FaxContextInfo)
Definition: winfax.c:616
BOOL WINAPI FaxSendDocumentA(HANDLE FaxHandle, LPCSTR FileName, PFAX_JOB_PARAMA JobParams, CONST FAX_COVERAGE_INFOA *CoverpageInfo, LPDWORD FaxJobId)
Definition: winfax.c:440
PFAX_LOG_CATEGORYA PFAX_LOG_CATEGORY
Definition: winfax.h:560
#define WINAPI
Definition: msvc.h:6
LPCSTR SdrAddress
Definition: winfax.h:181
struct _FAX_JOB_ENTRYA FAX_JOB_ENTRYA
PFAX_CONTEXT_INFOA PFAX_CONTEXT_INFO
Definition: winfax.h:562
_In_ ACCESS_MASK AccessMask
Definition: exfuncs.h:186
struct _FAX_CONFIGURATIONA * PFAX_CONFIGURATIONA
unsigned short WORD
Definition: ntddk_ex.h:93
FAX_JOB_ENTRYA FAX_JOB_ENTRY
Definition: winfax.h:549
LPCSTR Tsid
Definition: winfax.h:124
BOOL WINAPI FaxEnumJobsA(HANDLE FaxHandle, PFAX_JOB_ENTRYA *JobEntry, LPDWORD JobsReturned)
Definition: winfax.c:155
unsigned long DWORD
Definition: ntddk_ex.h:95
struct _FAX_JOB_ENTRYW * PFAX_JOB_ENTRYW
struct _FAX_CONTEXT_INFOA FAX_CONTEXT_INFOA
DWORD Size
Definition: winfax.h:285
LPCSTR SdrOfficeLocation
Definition: winfax.h:184
BOOL UseServerCoverPage
Definition: winfax.h:162
LPCWSTR DeliveryReportAddress
Definition: winfax.h:151
DWORD SizeOfStruct
Definition: winfax.h:413
LPCSTR Tsid
Definition: winfax.h:310
LPCSTR RecStreetAddress
Definition: winfax.h:167
LPCSTR RecHomePhone
Definition: winfax.h:175
LPCWSTR DocName
Definition: winfax.h:481
FAX_ENUM_LOG_LEVELS
Definition: winfax.h:55
LPCSTR SenderName
Definition: winfax.h:469
DWORD PageCount
Definition: winfax.h:286
FAX_ENUM_JOB_COMMANDS
Definition: winfax.h:69
BOOL WINAPI FaxSetGlobalRoutingInfoW(HANDLE FaxHandle, CONST FAX_GLOBAL_ROUTING_INFOW *RoutingInfo)
Definition: winfax.c:517
FAX_ENUM_JOB_SEND_ATTRIBUTES
Definition: winfax.h:33
static const char * ImageName
Definition: image.c:34
LPCSTR InboundProfile
Definition: winfax.h:367
LPCSTR ExtensionImageName
Definition: winfax.h:336
BOOL WINAPI FaxCompleteJobParamsA(PFAX_JOB_PARAMA *JobParams, PFAX_COVERAGE_INFOA *CoverageInfo)
Definition: winfax.c:67
struct _FAX_JOB_PARAMW * PFAX_JOB_PARAMW
LPCSTR SenderCompany
Definition: winfax.h:470
LPCSTR RoutingString
Definition: winfax.h:398
BOOL WINAPI FaxStartPrintJobW(LPCWSTR PrinterName, CONST FAX_PRINT_INFOW *PrintInfo, LPDWORD FaxJobId, PFAX_CONTEXT_INFOW FaxContextInfo)
Definition: winfax.c:627
FAX_TIME StartCheapTime
Definition: winfax.h:380
FAX_PORT_INFOA FAX_PORT_INFO
Definition: winfax.h:551
LPCWSTR Name
Definition: winfax.h:444
BOOL WINAPI FaxPrintCoverPageW(CONST FAX_CONTEXT_INFOW *FaxContextInfo, CONST FAX_COVERAGE_INFOW *CoverPageInfo)
Definition: winfax.c:407
LPCSTR DocumentName
Definition: winfax.h:395
DWORD Status
Definition: winfax.h:260
SYSTEMTIME TimeSent
Definition: winfax.h:227
WORD Minute
Definition: winfax.h:30
LPCSTR DeliveryReportAddress
Definition: winfax.h:273
LPCWSTR DocumentName
Definition: winfax.h:298
LPCWSTR RecOfficeLocation
Definition: winfax.h:211
PFAX_JOB_PARAMA PFAX_JOB_PARAM
Definition: winfax.h:544
DWORD SizeOfStruct
Definition: winfax.h:480
uint32_t DWORD_PTR
Definition: typedefs.h:65
struct _FAX_ROUTING_METHODW * PFAX_ROUTING_METHODW
BOOL WINAPI FaxAbort(HANDLE FaxHandle, DWORD JobId)
Definition: winfax.c:34
struct _FAX_CONFIGURATIONW * PFAX_CONFIGURATIONW
FAX_CONTEXT_INFOA FAX_CONTEXT_INFO
Definition: winfax.h:561
unsigned char BYTE
Definition: xxhash.c:193
DWORD DeliveryReportType
Definition: winfax.h:296
DWORD Status
Definition: winfax.h:284
LPCSTR DrEmailAddress
Definition: winfax.h:474
struct _FAX_LOG_CATEGORYA FAX_LOG_CATEGORYA
LPCWSTR PhoneNumber
Definition: winfax.h:421
BOOL WINAPI FaxInitializeEventQueue(HANDLE FaxHandle, HANDLE CompletionPort, ULONG_PTR CompletionKey, HWND hWnd, UINT MessageStart)
Definition: winfax.c:374
DWORD ScheduleAction
Definition: winfax.h:270
LPCWSTR RecHomePhone
Definition: winfax.h:212
BOOL WINAPI FaxGetLoggingCategoriesA(HANDLE FaxHandle, PFAX_LOG_CATEGORYA *Categories, LPDWORD NumberCategories)
Definition: winfax.c:297
LPCWSTR ExtensionFriendlyName
Definition: winfax.h:250
LPCSTR RecCountry
Definition: winfax.h:171
LPCSTR ArchiveDirectory
Definition: winfax.h:366
DWORD QueueStatus
Definition: winfax.h:283
DWORD SizeOfStruct
Definition: winfax.h:458
LPCSTR DocumentName
Definition: winfax.h:274
#define MAX_COMPUTERNAME_LENGTH
Definition: winbase.h:240
LPCSTR SenderBillingCode
Definition: winfax.h:472
PFAX_PORT_INFOA PFAX_PORT_INFO
Definition: winfax.h:552
BOOL WINAPI FaxPrintCoverPageA(CONST FAX_CONTEXT_INFOA *FaxContextInfo, CONST FAX_COVERAGE_INFOA *CoverPageInfo)
Definition: winfax.c:396
LPCSTR SdrHomePhone
Definition: winfax.h:185
DWORD Size
Definition: winfax.h:261
struct _FAX_LOG_CATEGORYA * PFAX_LOG_CATEGORYA
FAX_ROUTING_METHODA FAX_ROUTING_METHOD
Definition: winfax.h:553
LPCWSTR BillingCode
Definition: winfax.h:147
BOOL WINAPI FaxEnableRoutingMethodW(HANDLE FaxPortHandle, LPCWSTR RoutingGuid, BOOL Enabled)
Definition: winfax.c:122
BOOL WINAPI FaxSetRoutingInfoA(HANDLE FaxPortHandle, LPCSTR RoutingGuid, CONST BYTE *RoutingInfoBuffer, DWORD RoutingInfoBufferSize)
Definition: winfax.c:594
LPCWSTR RecState
Definition: winfax.h:206
SYSTEMTIME TimeSent
Definition: winfax.h:190
LPCWSTR BillingCode
Definition: winfax.h:293
LPCWSTR RecName
Definition: winfax.h:201
LPCSTR RecCompany
Definition: winfax.h:166
DWORD ScheduleAction
Definition: winfax.h:148
struct _FAX_DEVICE_STATUSA FAX_DEVICE_STATUSA
LPCWSTR CoverPageName
Definition: winfax.h:198
unsigned int UINT
Definition: ndis.h:50
LPCSTR SenderName
Definition: winfax.h:399
DWORD SizeOfStruct
Definition: winfax.h:303
WCHAR ServerName[MAX_COMPUTERNAME_LENGTH+1]
Definition: winfax.h:460
struct _FAX_CONTEXT_INFOA * PFAX_CONTEXT_INFOA
LPCSTR RecipientName
Definition: winfax.h:467
struct _FAX_TIME * PFAX_TIME
BOOL WINAPI FaxSetPortA(HANDLE FaxPortHandle, CONST FAX_PORT_INFOA *PortInfo)
Definition: winfax.c:572
ACPI_BUFFER *RetBuffer ACPI_BUFFER *RetBuffer char ACPI_WALK_RESOURCE_CALLBACK void *Context ACPI_BUFFER *RetBuffer UINT16 ACPI_RESOURCE **ResourcePtr ACPI_GENERIC_ADDRESS *Reg UINT32 *ReturnValue UINT8 UINT8 *Slp_TypB ACPI_PHYSICAL_ADDRESS PhysicalAddress64 UINT32 UINT32 *TimeElapsed UINT32 ACPI_STATUS const char UINT32 ACPI_STATUS const char UINT32 const char * FunctionName
Definition: acpixf.h:1274
LPCSTR FriendlyName
Definition: winfax.h:334
LPCWSTR SenderBillingCode
Definition: winfax.h:487
LPCSTR SenderCompany
Definition: winfax.h:267
LPCWSTR SdrDepartment
Definition: winfax.h:220
struct tagContext Context
Definition: acpixf.h:1034
struct _FAX_PORT_INFOA FAX_PORT_INFOA
FAX_ENUM_LOG_CATEGORIES
Definition: winfax.h:47
BOOL(CALLBACK * PFAX_RECIPIENT_CALLBACKA)(HANDLE FaxHandle, DWORD RecipientNumber, LPVOID Context, PFAX_JOB_PARAMA JobParams, PFAX_COVERAGE_INFOA CoverpageInfo)
Definition: winfax.h:493
LPCSTR RecipientNumber
Definition: winfax.h:263
BOOL WINAPI FaxSetJobW(HANDLE FaxHandle, DWORD JobId, DWORD Command, CONST FAX_JOB_ENTRYW *JobEntry)
Definition: winfax.c:539
DWORD State
Definition: winfax.h:305
LPCWSTR FunctionName
Definition: winfax.h:348
LPCWSTR SdrOfficeLocation
Definition: winfax.h:221
uint32_t * LPDWORD
Definition: typedefs.h:59
LPCSTR RecipientName
Definition: winfax.h:123
LPCSTR Csid
Definition: winfax.h:311
BOOL WINAPI FaxSetRoutingInfoW(HANDLE FaxPortHandle, LPCWSTR RoutingGuid, CONST BYTE *RoutingInfoBuffer, DWORD RoutingInfoBufferSize)
Definition: winfax.c:605
SYSTEMTIME ScheduleTime
Definition: winfax.h:149
HCALL CallHandle
Definition: winfax.h:134
LPCSTR DeliveryReportAddress
Definition: winfax.h:132
DWORD SizeOfStruct
Definition: winfax.h:121
DWORD Priority
Definition: winfax.h:308
DWORD SizeOfStruct
Definition: winfax.h:355
LPCWSTR SdrName
Definition: winfax.h:215
BOOL(CALLBACK * PFAX_RECIPIENT_CALLBACKW)(HANDLE FaxHandle, DWORD RecipientNumber, LPVOID Context, PFAX_JOB_PARAMW JobParams, PFAX_COVERAGE_INFOW CoverpageInfo)
Definition: winfax.h:494
LPCSTR SdrDepartment
Definition: winfax.h:183
LPCSTR SdrFaxNumber
Definition: winfax.h:179
BOOL WINAPI FaxSetConfigurationW(HANDLE FaxHandle, CONST FAX_CONFIGURATIONW *FaxConfig)
Definition: winfax.c:495
LPCWSTR RecipientNumber
Definition: winfax.h:483
FILETIME StartTime
Definition: winfax.h:426
LPCSTR BillingCode
Definition: winfax.h:269
LPCWSTR DeviceName
Definition: winfax.h:322
LPCWSTR RecCountry
Definition: winfax.h:208
LPCWSTR SenderName
Definition: winfax.h:144
BOOL WINAPI FaxSetLoggingCategoriesA(HANDLE FaxHandle, CONST FAX_LOG_CATEGORYA *Categories, DWORD NumberCategories)
Definition: winfax.c:550
LPCWSTR DocumentName
Definition: winfax.h:419
WCHAR * LPWSTR
Definition: xmlstorage.h:184
LPCWSTR SenderDept
Definition: winfax.h:146
PFAX_ROUTING_METHODA PFAX_ROUTING_METHOD
Definition: winfax.h:554
BOOL PauseServerQueue
Definition: winfax.h:362
BOOL WINAPI FaxGetLoggingCategoriesW(HANDLE FaxHandle, PFAX_LOG_CATEGORYW *Categories, LPDWORD NumberCategories)
Definition: winfax.c:308
LPCWSTR RecFaxNumber
Definition: winfax.h:202
DWORD SizeOfStruct
Definition: winfax.h:451
LPCWSTR ExtensionImageName
Definition: winfax.h:349
BOOL WINAPI FaxGetConfigurationA(HANDLE FaxHandle, PFAX_CONFIGURATIONA *FaxConfig)
Definition: winfax.c:231
struct _FAX_PRINT_INFOW FAX_PRINT_INFOW
LPCWSTR SenderCompany
Definition: winfax.h:145
BOOL WINAPI FaxEnumRoutingMethodsW(HANDLE FaxPortHandle, PFAX_ROUTING_METHODW *RoutingMethod, LPDWORD MethodsReturned)
Definition: winfax.c:210
BOOL WINAPI FaxEnableRoutingMethodA(HANDLE FaxPortHandle, LPCSTR RoutingGuid, BOOL Enabled)
Definition: winfax.c:111
struct _FAX_CONTEXT_INFOW * PFAX_CONTEXT_INFOW
LPCWSTR OutputFileName
Definition: winfax.h:490
FILETIME SubmittedTime
Definition: winfax.h:405
DWORD DeliveryReportType
Definition: winfax.h:272
LPCSTR RecFaxNumber
Definition: winfax.h:165
LPCWSTR RoutingString
Definition: winfax.h:422
FAX_GLOBAL_ROUTING_INFOA FAX_GLOBAL_ROUTING_INFO
Definition: winfax.h:547
LPCSTR RecOfficeLocation
Definition: winfax.h:174
LPCWSTR ArchiveDirectory
Definition: winfax.h:383
#define CONST
Definition: pedump.c:81
BOOL ArchiveOutgoingFaxes
Definition: winfax.h:365
LPCWSTR RecStreetAddress
Definition: winfax.h:204
BOOL WINAPI FaxEnumPortsA(HANDLE FaxHandle, PFAX_PORT_INFOA *PortInfo, LPDWORD PortsReturned)
Definition: winfax.c:177
DWORD Rings
Definition: winfax.h:320
FAX_ENUM_DELIVERY_REPORT_TYPES
Definition: winfax.h:40
PFAX_JOB_ENTRYA PFAX_JOB_ENTRY
Definition: winfax.h:550
PFAX_DEVICE_STATUSA PFAX_DEVICE_STATUS
Definition: winfax.h:558
_In_ WDFMEMORY _Out_opt_ size_t * BufferSize
Definition: wdfmemory.h:251
LPCWSTR RecipientName
Definition: winfax.h:482
struct _FAX_JOB_PARAMA FAX_JOB_PARAMA
BOOL WINAPI FaxEnumPortsW(HANDLE FaxHandle, PFAX_PORT_INFOW *PortInfo, LPDWORD PortsReturned)
Definition: winfax.c:188
DWORD QueueStatus
Definition: winfax.h:259
LPCWSTR DrEmailAddress
Definition: winfax.h:489
BOOL WINAPI FaxGetJobW(HANDLE FaxHandle, DWORD JobId, PFAX_JOB_ENTRYW *JobEntry)
Definition: winfax.c:286
LPCWSTR RecDepartment
Definition: winfax.h:210
PFAX_CONFIGURATIONA PFAX_CONFIGURATION
Definition: winfax.h:556