ReactOS 0.4.16-dev-117-g38f21f9
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
22extern "C" {
23#endif
24
25typedef DWORD HCALL;
26
27typedef struct _FAX_TIME
28{
32
33typedef enum
34{
39
40typedef enum
41{
46
47typedef enum
48{
54
55typedef enum
56{
62
63typedef enum
64{
68
69typedef 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
119typedef struct _FAX_JOB_PARAMA
120{
137
138typedef struct _FAX_JOB_PARAMW
139{
156
158{
160
163
177
187
193
195{
197
200
214
224
230
232{
241
243{
252
253typedef struct _FAX_JOB_ENTRYA
254{
276
277typedef struct _FAX_JOB_ENTRYW
278{
300
301typedef struct _FAX_PORT_INFOA
302{
313
314typedef struct _FAX_PORT_INFOW
315{
326
328{
339
341{
352
354{
369
371{
386
388{
410
412{
434
435typedef struct _FAX_LOG_CATEGORYA
436{
441
442typedef struct _FAX_LOG_CATEGORYW
443{
448
449typedef struct _FAX_CONTEXT_INFOA
450{
455
456typedef struct _FAX_CONTEXT_INFOW
457{
462
463typedef struct _FAX_PRINT_INFOA
464{
477
478typedef struct _FAX_PRINT_INFOW
479{
492
493typedef BOOL (CALLBACK *PFAX_RECIPIENT_CALLBACKA)(HANDLE FaxHandle, DWORD RecipientNumber, LPVOID Context, PFAX_JOB_PARAMA JobParams, PFAX_COVERAGE_INFOA CoverpageInfo);
494typedef 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
595BOOL WINAPI FaxAbort(HANDLE FaxHandle, DWORD JobId);
597BOOL WINAPI FaxClose(HANDLE FaxHandle);
602BOOL WINAPI FaxEnableRoutingMethodA(HANDLE FaxPortHandle, LPCSTR RoutingGuid, BOOL Enabled);
603BOOL WINAPI FaxEnableRoutingMethodW(HANDLE FaxPortHandle, LPCWSTR RoutingGuid, BOOL Enabled);
604BOOL WINAPI FaxEnumGlobalRoutingInfoA(HANDLE FaxHandle, PFAX_GLOBAL_ROUTING_INFOA *RoutingInfo, LPDWORD MethodsReturned);
605BOOL WINAPI FaxEnumGlobalRoutingInfoW(HANDLE FaxHandle, PFAX_GLOBAL_ROUTING_INFOW *RoutingInfo, LPDWORD MethodsReturned);
606BOOL WINAPI FaxEnumJobsA(HANDLE FaxHandle, PFAX_JOB_ENTRYA *JobEntry, LPDWORD JobsReturned);
607BOOL WINAPI FaxEnumJobsW(HANDLE FaxHandle, PFAX_JOB_ENTRYW *JobEntry, LPDWORD JobsReturned);
608BOOL WINAPI FaxEnumPortsA(HANDLE FaxHandle, PFAX_PORT_INFOA *PortInfo, LPDWORD PortsReturned);
609BOOL WINAPI FaxEnumPortsW(HANDLE FaxHandle, PFAX_PORT_INFOW *PortInfo, LPDWORD PortsReturned);
610BOOL WINAPI FaxEnumRoutingMethodsA(HANDLE FaxPortHandle, PFAX_ROUTING_METHODA *RoutingMethod, LPDWORD MethodsReturned);
611BOOL WINAPI FaxEnumRoutingMethodsW(HANDLE FaxPortHandle, PFAX_ROUTING_METHODW *RoutingMethod, LPDWORD MethodsReturned);
615BOOL WINAPI FaxGetDeviceStatusA(HANDLE FaxPortHandle, PFAX_DEVICE_STATUSA *DeviceStatus);
616BOOL WINAPI FaxGetDeviceStatusW(HANDLE FaxPortHandle, PFAX_DEVICE_STATUSW *DeviceStatus);
617BOOL WINAPI FaxGetJobA(HANDLE FaxHandle, DWORD JobId, PFAX_JOB_ENTRYA *JobEntry);
618BOOL WINAPI FaxGetJobW(HANDLE FaxHandle, DWORD JobId, PFAX_JOB_ENTRYW *JobEntry);
621BOOL WINAPI FaxGetPageData(HANDLE FaxHandle, DWORD JobId, LPBYTE *Buffer, LPDWORD BufferSize, LPDWORD ImageWidth, LPDWORD ImageHeight);
622BOOL WINAPI FaxGetPortA(HANDLE FaxPortHandle, PFAX_PORT_INFOA *PortInfo);
623BOOL WINAPI FaxGetPortW(HANDLE FaxPortHandle, PFAX_PORT_INFOW *PortInfo);
624BOOL WINAPI FaxGetRoutingInfoA(HANDLE FaxPortHandle, LPCSTR RoutingGuid, LPBYTE *RoutingInfoBuffer, LPDWORD RoutingInfoBufferSize);
625BOOL WINAPI FaxGetRoutingInfoW(HANDLE FaxPortHandle, LPCWSTR RoutingGuid, LPBYTE *RoutingInfoBuffer, LPDWORD RoutingInfoBufferSize);
626BOOL WINAPI FaxInitializeEventQueue(HANDLE FaxHandle, HANDLE CompletionPort, ULONG_PTR CompletionKey, HWND hWnd, UINT MessageStart);
627BOOL WINAPI FaxOpenPort(HANDLE FaxHandle, DWORD DeviceId, DWORD Flags, LPHANDLE FaxPortHandle);
631BOOL WINAPI FaxRegisterServiceProviderW(LPCWSTR DeviceProvider, LPCWSTR FriendlyName, LPCWSTR ImageName, LPCWSTR TspName);
632BOOL WINAPI FaxSendDocumentA(HANDLE FaxHandle, LPCSTR FileName, PFAX_JOB_PARAMA JobParams, CONST FAX_COVERAGE_INFOA *CoverpageInfo, LPDWORD FaxJobId);
635BOOL WINAPI FaxSendDocumentW(HANDLE FaxHandle, LPCWSTR FileName, PFAX_JOB_PARAMW JobParams, CONST FAX_COVERAGE_INFOW *CoverpageInfo, LPDWORD FaxJobId);
640BOOL WINAPI FaxSetJobA(HANDLE FaxHandle, DWORD JobId, DWORD Command, CONST FAX_JOB_ENTRYA *JobEntry);
641BOOL WINAPI FaxSetJobW(HANDLE FaxHandle, DWORD JobId, DWORD Command, CONST FAX_JOB_ENTRYW *JobEntry);
644BOOL WINAPI FaxSetPortA(HANDLE FaxPortHandle, CONST FAX_PORT_INFOA *PortInfo);
645BOOL WINAPI FaxSetPortW(HANDLE FaxPortHandle, CONST FAX_PORT_INFOW *PortInfo);
646BOOL WINAPI FaxSetRoutingInfoA(HANDLE FaxPortHandle, LPCSTR RoutingGuid, CONST BYTE *RoutingInfoBuffer, DWORD RoutingInfoBufferSize);
647BOOL WINAPI FaxSetRoutingInfoW(HANDLE FaxPortHandle, LPCWSTR RoutingGuid, CONST BYTE *RoutingInfoBuffer, DWORD RoutingInfoBufferSize);
648BOOL WINAPI FaxStartPrintJobA(LPCSTR PrinterName, CONST FAX_PRINT_INFOA *PrintInfo, LPDWORD FaxJobId, PFAX_CONTEXT_INFOA FaxContextInfo);
649BOOL 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 */
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:1279
HWND hWnd
Definition: settings.c:17
Definition: bufpool.h:45
#define CALLBACK
Definition: compat.h:35
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
unsigned short WORD
Definition: ntddk_ex.h:93
static HDC
Definition: imagelist.c:88
static const char * ImageName
Definition: image.c:34
@ Enabled
Definition: mountmgr.h:179
unsigned int UINT
Definition: ndis.h:50
_In_ ACCESS_MASK AccessMask
Definition: exfuncs.h:186
#define BOOL
Definition: nt_native.h:43
#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
BOOL ArchiveOutgoingFaxes
Definition: winfax.h:365
FAX_TIME StopCheapTime
Definition: winfax.h:364
FAX_TIME StartCheapTime
Definition: winfax.h:363
DWORD SizeOfStruct
Definition: winfax.h:355
LPCSTR ArchiveDirectory
Definition: winfax.h:366
LPCSTR InboundProfile
Definition: winfax.h:367
BOOL PauseServerQueue
Definition: winfax.h:362
BOOL PauseServerQueue
Definition: winfax.h:379
FAX_TIME StartCheapTime
Definition: winfax.h:380
BOOL ArchiveOutgoingFaxes
Definition: winfax.h:382
LPCWSTR ArchiveDirectory
Definition: winfax.h:383
DWORD SizeOfStruct
Definition: winfax.h:372
LPCWSTR InboundProfile
Definition: winfax.h:384
FAX_TIME StopCheapTime
Definition: winfax.h:381
CHAR ServerName[MAX_COMPUTERNAME_LENGTH+1]
Definition: winfax.h:453
DWORD SizeOfStruct
Definition: winfax.h:451
WCHAR ServerName[MAX_COMPUTERNAME_LENGTH+1]
Definition: winfax.h:460
DWORD SizeOfStruct
Definition: winfax.h:458
DWORD SizeOfStruct
Definition: winfax.h:159
LPCSTR RecHomePhone
Definition: winfax.h:175
LPCSTR SdrAddress
Definition: winfax.h:181
LPCSTR SdrOfficeLocation
Definition: winfax.h:184
LPCSTR RecCompany
Definition: winfax.h:166
LPCSTR RecCountry
Definition: winfax.h:171
LPCSTR RecOfficePhone
Definition: winfax.h:176
LPCSTR SdrFaxNumber
Definition: winfax.h:179
LPCSTR SdrDepartment
Definition: winfax.h:183
LPCSTR SdrHomePhone
Definition: winfax.h:185
LPCSTR SdrOfficePhone
Definition: winfax.h:186
LPCSTR CoverPageName
Definition: winfax.h:161
LPCSTR RecDepartment
Definition: winfax.h:173
LPCSTR RecFaxNumber
Definition: winfax.h:165
LPCSTR RecOfficeLocation
Definition: winfax.h:174
LPCSTR RecStreetAddress
Definition: winfax.h:167
LPCSTR SdrCompany
Definition: winfax.h:180
BOOL UseServerCoverPage
Definition: winfax.h:162
SYSTEMTIME TimeSent
Definition: winfax.h:190
LPCWSTR SdrTitle
Definition: winfax.h:219
LPCWSTR RecCompany
Definition: winfax.h:203
LPCWSTR RecName
Definition: winfax.h:201
LPCWSTR RecZip
Definition: winfax.h:207
LPCWSTR CoverPageName
Definition: winfax.h:198
DWORD SizeOfStruct
Definition: winfax.h:196
LPCWSTR SdrOfficePhone
Definition: winfax.h:223
LPCWSTR RecStreetAddress
Definition: winfax.h:204
LPCWSTR RecState
Definition: winfax.h:206
LPCWSTR SdrDepartment
Definition: winfax.h:220
LPCWSTR RecFaxNumber
Definition: winfax.h:202
LPCWSTR SdrFaxNumber
Definition: winfax.h:216
LPCWSTR RecHomePhone
Definition: winfax.h:212
LPCWSTR RecCountry
Definition: winfax.h:208
LPCWSTR SdrCompany
Definition: winfax.h:217
LPCWSTR RecOfficePhone
Definition: winfax.h:213
LPCWSTR SdrName
Definition: winfax.h:215
LPCWSTR RecOfficeLocation
Definition: winfax.h:211
LPCWSTR SdrHomePhone
Definition: winfax.h:222
LPCWSTR SdrAddress
Definition: winfax.h:218
SYSTEMTIME TimeSent
Definition: winfax.h:227
LPCWSTR SdrOfficeLocation
Definition: winfax.h:221
LPCWSTR RecDepartment
Definition: winfax.h:210
LPCWSTR RecCity
Definition: winfax.h:205
LPCWSTR RecTitle
Definition: winfax.h:209
LPCWSTR Subject
Definition: winfax.h:226
BOOL UseServerCoverPage
Definition: winfax.h:199
LPCSTR DocumentName
Definition: winfax.h:395
LPCSTR DeviceName
Definition: winfax.h:394
FILETIME StartTime
Definition: winfax.h:402
LPCSTR StatusString
Definition: winfax.h:404
LPCSTR RoutingString
Definition: winfax.h:398
LPCSTR RecipientName
Definition: winfax.h:400
DWORD SizeOfStruct
Definition: winfax.h:389
LPCSTR SenderName
Definition: winfax.h:399
LPCSTR PhoneNumber
Definition: winfax.h:397
FILETIME SubmittedTime
Definition: winfax.h:405
FILETIME StartTime
Definition: winfax.h:426
LPCWSTR RoutingString
Definition: winfax.h:422
LPCWSTR DocumentName
Definition: winfax.h:419
LPCWSTR UserName
Definition: winfax.h:432
LPCWSTR StatusString
Definition: winfax.h:428
LPCWSTR CallerId
Definition: winfax.h:414
DWORD SizeOfStruct
Definition: winfax.h:413
LPCWSTR RecipientName
Definition: winfax.h:424
LPCWSTR SenderName
Definition: winfax.h:423
FILETIME SubmittedTime
Definition: winfax.h:429
LPCWSTR DeviceName
Definition: winfax.h:418
LPCWSTR PhoneNumber
Definition: winfax.h:421
LPCSTR ExtensionFriendlyName
Definition: winfax.h:239
LPCWSTR ExtensionImageName
Definition: winfax.h:249
LPCWSTR ExtensionFriendlyName
Definition: winfax.h:250
DWORD Status
Definition: winfax.h:260
LPCSTR RecipientName
Definition: winfax.h:264
LPCSTR SenderDept
Definition: winfax.h:268
DWORD Size
Definition: winfax.h:261
LPCSTR BillingCode
Definition: winfax.h:269
DWORD DeliveryReportType
Definition: winfax.h:272
LPCSTR Tsid
Definition: winfax.h:265
LPCSTR DeliveryReportAddress
Definition: winfax.h:273
SYSTEMTIME ScheduleTime
Definition: winfax.h:271
DWORD QueueStatus
Definition: winfax.h:259
LPCSTR DocumentName
Definition: winfax.h:274
DWORD JobType
Definition: winfax.h:258
LPCSTR UserName
Definition: winfax.h:257
LPCSTR SenderName
Definition: winfax.h:266
DWORD JobId
Definition: winfax.h:256
LPCSTR SenderCompany
Definition: winfax.h:267
LPCSTR RecipientNumber
Definition: winfax.h:263
DWORD ScheduleAction
Definition: winfax.h:270
DWORD PageCount
Definition: winfax.h:262
DWORD SizeOfStruct
Definition: winfax.h:255
LPCWSTR BillingCode
Definition: winfax.h:293
LPCWSTR SenderName
Definition: winfax.h:290
DWORD Status
Definition: winfax.h:284
LPCWSTR RecipientName
Definition: winfax.h:288
LPCWSTR SenderCompany
Definition: winfax.h:291
LPCWSTR RecipientNumber
Definition: winfax.h:287
DWORD JobId
Definition: winfax.h:280
DWORD QueueStatus
Definition: winfax.h:283
LPCWSTR Tsid
Definition: winfax.h:289
LPCWSTR DocumentName
Definition: winfax.h:298
DWORD Size
Definition: winfax.h:285
DWORD ScheduleAction
Definition: winfax.h:294
DWORD JobType
Definition: winfax.h:282
DWORD PageCount
Definition: winfax.h:286
LPCWSTR UserName
Definition: winfax.h:281
LPCWSTR DeliveryReportAddress
Definition: winfax.h:297
SYSTEMTIME ScheduleTime
Definition: winfax.h:295
DWORD DeliveryReportType
Definition: winfax.h:296
DWORD SizeOfStruct
Definition: winfax.h:279
LPCWSTR SenderDept
Definition: winfax.h:292
LPCSTR RecipientName
Definition: winfax.h:123
LPCSTR Tsid
Definition: winfax.h:124
LPCSTR SenderDept
Definition: winfax.h:127
DWORD DeliveryReportType
Definition: winfax.h:131
LPCSTR RecipientNumber
Definition: winfax.h:122
LPCSTR SenderName
Definition: winfax.h:125
LPCSTR DocumentName
Definition: winfax.h:133
LPCSTR SenderCompany
Definition: winfax.h:126
SYSTEMTIME ScheduleTime
Definition: winfax.h:130
DWORD ScheduleAction
Definition: winfax.h:129
HCALL CallHandle
Definition: winfax.h:134
LPCSTR BillingCode
Definition: winfax.h:128
LPCSTR DeliveryReportAddress
Definition: winfax.h:132
DWORD SizeOfStruct
Definition: winfax.h:121
HCALL CallHandle
Definition: winfax.h:153
LPCWSTR DeliveryReportAddress
Definition: winfax.h:151
LPCWSTR DocumentName
Definition: winfax.h:152
LPCWSTR SenderDept
Definition: winfax.h:146
LPCWSTR SenderCompany
Definition: winfax.h:145
LPCWSTR RecipientNumber
Definition: winfax.h:141
LPCWSTR SenderName
Definition: winfax.h:144
DWORD DeliveryReportType
Definition: winfax.h:150
LPCWSTR RecipientName
Definition: winfax.h:142
LPCWSTR BillingCode
Definition: winfax.h:147
LPCWSTR Tsid
Definition: winfax.h:143
DWORD ScheduleAction
Definition: winfax.h:148
SYSTEMTIME ScheduleTime
Definition: winfax.h:149
DWORD SizeOfStruct
Definition: winfax.h:140
LPCWSTR Name
Definition: winfax.h:444
DWORD Priority
Definition: winfax.h:308
DWORD DeviceId
Definition: winfax.h:304
DWORD State
Definition: winfax.h:305
DWORD Rings
Definition: winfax.h:307
LPCSTR DeviceName
Definition: winfax.h:309
DWORD SizeOfStruct
Definition: winfax.h:303
LPCSTR Tsid
Definition: winfax.h:310
LPCSTR Csid
Definition: winfax.h:311
DWORD Flags
Definition: winfax.h:306
LPCWSTR Csid
Definition: winfax.h:324
DWORD SizeOfStruct
Definition: winfax.h:316
DWORD Flags
Definition: winfax.h:319
LPCWSTR DeviceName
Definition: winfax.h:322
DWORD Priority
Definition: winfax.h:321
DWORD State
Definition: winfax.h:318
DWORD DeviceId
Definition: winfax.h:317
LPCWSTR Tsid
Definition: winfax.h:323
DWORD Rings
Definition: winfax.h:320
DWORD SizeOfStruct
Definition: winfax.h:465
LPCSTR SenderDept
Definition: winfax.h:471
LPCSTR DrEmailAddress
Definition: winfax.h:474
LPCSTR SenderBillingCode
Definition: winfax.h:472
LPCSTR RecipientNumber
Definition: winfax.h:468
LPCSTR Reserved
Definition: winfax.h:473
LPCSTR OutputFileName
Definition: winfax.h:475
LPCSTR DocName
Definition: winfax.h:466
LPCSTR RecipientName
Definition: winfax.h:467
LPCSTR SenderCompany
Definition: winfax.h:470
LPCSTR SenderName
Definition: winfax.h:469
LPCWSTR DocName
Definition: winfax.h:481
LPCWSTR RecipientNumber
Definition: winfax.h:483
LPCWSTR OutputFileName
Definition: winfax.h:490
LPCWSTR SenderCompany
Definition: winfax.h:485
LPCWSTR SenderName
Definition: winfax.h:484
LPCWSTR DrEmailAddress
Definition: winfax.h:489
LPCWSTR SenderDept
Definition: winfax.h:486
LPCWSTR RecipientName
Definition: winfax.h:482
LPCWSTR SenderBillingCode
Definition: winfax.h:487
LPCWSTR Reserved
Definition: winfax.h:488
DWORD SizeOfStruct
Definition: winfax.h:480
LPCSTR ExtensionImageName
Definition: winfax.h:336
LPCSTR ExtensionFriendlyName
Definition: winfax.h:337
LPCSTR FunctionName
Definition: winfax.h:335
LPCSTR FriendlyName
Definition: winfax.h:334
LPCWSTR FunctionName
Definition: winfax.h:348
LPCWSTR ExtensionImageName
Definition: winfax.h:349
LPCWSTR DeviceName
Definition: winfax.h:345
LPCWSTR FriendlyName
Definition: winfax.h:347
LPCWSTR ExtensionFriendlyName
Definition: winfax.h:350
WORD Minute
Definition: winfax.h:30
WORD Hour
Definition: winfax.h:29
uint32_t DWORD_PTR
Definition: typedefs.h:65
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
_Must_inspect_result_ _In_ WDFOBJECT _In_ CONST GUID * Guid
Definition: wdfobject.h:762
#define MAX_COMPUTERNAME_LENGTH
Definition: winbase.h:243
_Reserved_ PVOID Reserved
Definition: winddi.h:3974
#define WINAPI
Definition: msvc.h:6
struct _FAX_DEVICE_STATUSA * PFAX_DEVICE_STATUSA
struct _FAX_PORT_INFOA FAX_PORT_INFOA
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
struct _FAX_COVERAGE_INFOW * PFAX_COVERAGE_INFOW
PFAX_JOB_ENTRYA PFAX_JOB_ENTRY
Definition: winfax.h:550
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
struct _FAX_JOB_PARAMA * PFAX_JOB_PARAMA
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
struct _FAX_COVERAGE_INFOA * PFAX_COVERAGE_INFOA
BOOL WINAPI FaxSetRoutingInfoA(HANDLE FaxPortHandle, LPCSTR RoutingGuid, CONST BYTE *RoutingInfoBuffer, DWORD RoutingInfoBufferSize)
Definition: winfax.c:594
struct _FAX_JOB_ENTRYA * PFAX_JOB_ENTRYA
struct _FAX_PORT_INFOW FAX_PORT_INFOW
FAX_ENUM_DELIVERY_REPORT_TYPES
Definition: winfax.h:41
@ DRT_NONE
Definition: winfax.h:42
@ DRT_INBOX
Definition: winfax.h:44
@ DRT_EMAIL
Definition: winfax.h:43
BOOL WINAPI FaxSetLoggingCategoriesA(HANDLE FaxHandle, CONST FAX_LOG_CATEGORYA *Categories, DWORD NumberCategories)
Definition: winfax.c:550
struct _FAX_JOB_ENTRYW * PFAX_JOB_ENTRYW
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
struct _FAX_GLOBAL_ROUTING_INFOA * PFAX_GLOBAL_ROUTING_INFOA
BOOL WINAPI FaxEnumPortsA(HANDLE FaxHandle, PFAX_PORT_INFOA *PortInfo, LPDWORD PortsReturned)
Definition: winfax.c:177
struct _FAX_CONFIGURATIONW * PFAX_CONFIGURATIONW
PFAX_DEVICE_STATUSA PFAX_DEVICE_STATUS
Definition: winfax.h:558
struct _FAX_CONFIGURATIONW FAX_CONFIGURATIONW
struct _FAX_JOB_PARAMW * PFAX_JOB_PARAMW
BOOL WINAPI FaxGetPortA(HANDLE FaxPortHandle, PFAX_PORT_INFOA *PortInfo)
Definition: winfax.c:330
FAX_PORT_INFOA FAX_PORT_INFO
Definition: winfax.h:551
BOOL WINAPI FaxGetJobA(HANDLE FaxHandle, DWORD JobId, PFAX_JOB_ENTRYA *JobEntry)
Definition: winfax.c:275
FAX_PRINT_INFOA FAX_PRINT_INFO
Definition: winfax.h:563
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
FAX_DEVICE_STATUSA FAX_DEVICE_STATUS
Definition: winfax.h:557
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 FaxRegisterRoutingExtensionW(HANDLE FaxHandle, LPCWSTR ExtensionName, LPCWSTR FriendlyName, LPCWSTR ImageName, PFAX_ROUTING_INSTALLATION_CALLBACK CallBack, LPVOID Context)
struct _FAX_DEVICE_STATUSA FAX_DEVICE_STATUSA
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
struct _FAX_DEVICE_STATUSW * PFAX_DEVICE_STATUSW
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
PFAX_CONFIGURATIONA PFAX_CONFIGURATION
Definition: winfax.h:556
struct _FAX_PORT_INFOA * PFAX_PORT_INFOA
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
PFAX_JOB_PARAMA PFAX_JOB_PARAM
Definition: winfax.h:544
struct _FAX_LOG_CATEGORYW FAX_LOG_CATEGORYW
BOOL WINAPI FaxPrintCoverPageA(CONST FAX_CONTEXT_INFOA *FaxContextInfo, CONST FAX_COVERAGE_INFOA *CoverPageInfo)
Definition: winfax.c:396
struct _FAX_GLOBAL_ROUTING_INFOW * PFAX_GLOBAL_ROUTING_INFOW
BOOL(CALLBACK * PFAX_RECIPIENT_CALLBACKW)(HANDLE FaxHandle, DWORD RecipientNumber, LPVOID Context, PFAX_JOB_PARAMW JobParams, PFAX_COVERAGE_INFOW CoverpageInfo)
Definition: winfax.h:494
BOOL WINAPI FaxEnableRoutingMethodW(HANDLE FaxPortHandle, LPCWSTR RoutingGuid, BOOL Enabled)
Definition: winfax.c:122
struct _FAX_PRINT_INFOW * PFAX_PRINT_INFOW
BOOL WINAPI FaxGetLoggingCategoriesA(HANDLE FaxHandle, PFAX_LOG_CATEGORYA *Categories, LPDWORD NumberCategories)
Definition: winfax.c:297
FAX_ENUM_JOB_COMMANDS
Definition: winfax.h:70
@ JC_DELETE
Definition: winfax.h:72
@ JC_RESUME
Definition: winfax.h:74
@ JC_PAUSE
Definition: winfax.h:73
@ JC_UNKNOWN
Definition: winfax.h:71
struct _FAX_CONTEXT_INFOA * PFAX_CONTEXT_INFOA
struct _FAX_PORT_INFOW * PFAX_PORT_INFOW
FAX_JOB_ENTRYA FAX_JOB_ENTRY
Definition: winfax.h:549
struct _FAX_JOB_PARAMW FAX_JOB_PARAMW
struct _FAX_LOG_CATEGORYA * PFAX_LOG_CATEGORYA
BOOL WINAPI FaxEnumJobsW(HANDLE FaxHandle, PFAX_JOB_ENTRYW *JobEntry, LPDWORD JobsReturned)
Definition: winfax.c:166
FAX_ENUM_LOG_LEVELS
Definition: winfax.h:56
@ FAXLOG_LEVEL_NONE
Definition: winfax.h:57
@ FAXLOG_LEVEL_MED
Definition: winfax.h:59
@ FAXLOG_LEVEL_MAX
Definition: winfax.h:60
@ FAXLOG_LEVEL_MIN
Definition: winfax.h:58
PFAX_PORT_INFOA PFAX_PORT_INFO
Definition: winfax.h:552
FAX_GLOBAL_ROUTING_INFOA FAX_GLOBAL_ROUTING_INFO
Definition: winfax.h:547
BOOL WINAPI FaxGetRoutingInfoW(HANDLE FaxPortHandle, LPCWSTR RoutingGuid, LPBYTE *RoutingInfoBuffer, LPDWORD RoutingInfoBufferSize)
Definition: winfax.c:363
struct _FAX_GLOBAL_ROUTING_INFOW FAX_GLOBAL_ROUTING_INFOW
struct _FAX_GLOBAL_ROUTING_INFOA FAX_GLOBAL_ROUTING_INFOA
PFAX_ROUTING_METHODA PFAX_ROUTING_METHOD
Definition: winfax.h:554
struct _FAX_CONTEXT_INFOW FAX_CONTEXT_INFOW
struct _FAX_TIME * PFAX_TIME
BOOL WINAPI FaxClose(HANDLE FaxHandle)
Definition: winfax.c:56
BOOL WINAPI FaxCompleteJobParamsA(PFAX_JOB_PARAMA *JobParams, PFAX_COVERAGE_INFOA *CoverageInfo)
Definition: winfax.c:67
FAX_ENUM_JOB_SEND_ATTRIBUTES
Definition: winfax.h:34
@ JSA_NOW
Definition: winfax.h:35
@ JSA_DISCOUNT_PERIOD
Definition: winfax.h:37
@ JSA_SPECIFIC_TIME
Definition: winfax.h:36
struct _FAX_COVERAGE_INFOA FAX_COVERAGE_INFOA
FAX_JOB_PARAMA FAX_JOB_PARAM
Definition: winfax.h:543
BOOL WINAPI FaxPrintCoverPageW(CONST FAX_CONTEXT_INFOW *FaxContextInfo, CONST FAX_COVERAGE_INFOW *CoverPageInfo)
Definition: winfax.c:407
struct _FAX_PRINT_INFOW FAX_PRINT_INFOW
struct _FAX_DEVICE_STATUSW FAX_DEVICE_STATUSW
struct _FAX_ROUTING_METHODA FAX_ROUTING_METHODA
PFAX_RECIPIENT_CALLBACKW PFAX_RECIPIENT_CALLBACK
Definition: winfax.h:565
BOOL WINAPI FaxConnectFaxServerW(LPCWSTR MachineName, LPHANDLE FaxHandle)
Definition: winfax.c:100
struct _FAX_CONFIGURATIONA FAX_CONFIGURATIONA
BOOL WINAPI FaxEnumJobsA(HANDLE FaxHandle, PFAX_JOB_ENTRYA *JobEntry, LPDWORD JobsReturned)
Definition: winfax.c:155
struct _FAX_ROUTING_METHODW FAX_ROUTING_METHODW
struct _FAX_JOB_ENTRYW FAX_JOB_ENTRYW
BOOL WINAPI FaxEnumGlobalRoutingInfoA(HANDLE FaxHandle, PFAX_GLOBAL_ROUTING_INFOA *RoutingInfo, LPDWORD MethodsReturned)
Definition: winfax.c:133
DWORD HCALL
Definition: winfax.h:25
PFAX_PRINT_INFOA PFAX_PRINT_INFO
Definition: winfax.h:564
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
#define PFAX_ROUTING_INSTALLATION_CALLBACK
Definition: winfax.h:591
struct _FAX_TIME FAX_TIME
BOOL WINAPI FaxGetDeviceStatusW(HANDLE FaxPortHandle, PFAX_DEVICE_STATUSW *DeviceStatus)
Definition: winfax.c:264
BOOL(CALLBACK * PFAX_ROUTING_INSTALLATION_CALLBACKW)(HANDLE FaxHandle, LPVOID Context, LPWSTR MethodName, LPWSTR FriendlyName, LPWSTR FunctionName, LPWSTR Guid)
Definition: winfax.h:590
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
PFAX_LOG_CATEGORYA PFAX_LOG_CATEGORY
Definition: winfax.h:560
BOOL WINAPI FaxEnumRoutingMethodsA(HANDLE FaxPortHandle, PFAX_ROUTING_METHODA *RoutingMethod, LPDWORD MethodsReturned)
Definition: winfax.c:199
struct _FAX_CONTEXT_INFOA FAX_CONTEXT_INFOA
struct _FAX_ROUTING_METHODA * PFAX_ROUTING_METHODA
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
struct _FAX_COVERAGE_INFOW FAX_COVERAGE_INFOW
FAX_CONFIGURATIONA FAX_CONFIGURATION
Definition: winfax.h:555
struct _FAX_ROUTING_METHODW * PFAX_ROUTING_METHODW
struct _FAX_CONTEXT_INFOW * PFAX_CONTEXT_INFOW
BOOL WINAPI FaxAccessCheck(HANDLE FaxHandle, DWORD AccessMask)
Definition: winfax.c:45
FAX_ROUTING_METHODA FAX_ROUTING_METHOD
Definition: winfax.h:553
FAX_ENUM_PORT_OPEN_TYPE
Definition: winfax.h:64
@ PORT_OPEN_MODIFY
Definition: winfax.h:66
@ PORT_OPEN_QUERY
Definition: winfax.h:65
struct _FAX_JOB_PARAMA FAX_JOB_PARAMA
struct _FAX_LOG_CATEGORYW * PFAX_LOG_CATEGORYW
FAX_COVERAGE_INFOA FAX_COVERAGE_INFO
Definition: winfax.h:545
PFAX_CONTEXT_INFOA PFAX_CONTEXT_INFO
Definition: winfax.h:562
struct _FAX_PRINT_INFOA * PFAX_PRINT_INFOA
BOOL WINAPI FaxEnumGlobalRoutingInfoW(HANDLE FaxHandle, PFAX_GLOBAL_ROUTING_INFOW *RoutingInfo, LPDWORD MethodsReturned)
Definition: winfax.c:144
FAX_LOG_CATEGORYA FAX_LOG_CATEGORY
Definition: winfax.h:559
FAX_ENUM_LOG_CATEGORIES
Definition: winfax.h:48
@ FAXLOG_CATEGORY_UNKNOWN
Definition: winfax.h:52
@ FAXLOG_CATEGORY_OUTBOUND
Definition: winfax.h:50
@ FAXLOG_CATEGORY_INIT
Definition: winfax.h:49
@ FAXLOG_CATEGORY_INBOUND
Definition: winfax.h:51
struct _FAX_PRINT_INFOA FAX_PRINT_INFOA
BOOL WINAPI FaxConnectFaxServerA(LPCSTR MachineName, LPHANDLE FaxHandle)
Definition: winfax.c:89
PFAX_GLOBAL_ROUTING_INFOA PFAX_GLOBAL_ROUTING_INFO
Definition: winfax.h:548
struct _FAX_JOB_ENTRYA FAX_JOB_ENTRYA
FAX_CONTEXT_INFOA FAX_CONTEXT_INFO
Definition: winfax.h:561
struct _FAX_LOG_CATEGORYA FAX_LOG_CATEGORYA
BOOL(CALLBACK * PFAX_RECIPIENT_CALLBACKA)(HANDLE FaxHandle, DWORD RecipientNumber, LPVOID Context, PFAX_JOB_PARAMA JobParams, PFAX_COVERAGE_INFOA CoverpageInfo)
Definition: winfax.h:493
PFAX_COVERAGE_INFOA PFAX_COVERAGE_INFO
Definition: winfax.h:546
struct _FAX_CONFIGURATIONA * PFAX_CONFIGURATIONA
_Must_inspect_result_ _In_ ULONG Flags
Definition: wsk.h:170
const char * LPCSTR
Definition: xmlstorage.h:183
__wchar_t WCHAR
Definition: xmlstorage.h:180
WCHAR * LPWSTR
Definition: xmlstorage.h:184
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185
char CHAR
Definition: xmlstorage.h:175
unsigned char BYTE
Definition: xxhash.c:193