]>
Commit | Line | Data |
---|---|---|
064997fb FG |
1 | #![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] |
2 | #[link(name = "windows")] | |
3 | extern "system" { | |
4 | #[cfg(feature = "Win32_Foundation")] | |
5 | pub fn CanSendToFaxRecipient() -> super::super::Foundation::BOOL; | |
6 | #[cfg(feature = "Win32_Foundation")] | |
7 | pub fn FaxAbort(faxhandle: super::super::Foundation::HANDLE, jobid: u32) -> super::super::Foundation::BOOL; | |
8 | #[cfg(feature = "Win32_Foundation")] | |
9 | pub fn FaxAccessCheck(faxhandle: super::super::Foundation::HANDLE, accessmask: u32) -> super::super::Foundation::BOOL; | |
10 | #[cfg(feature = "Win32_Foundation")] | |
11 | pub fn FaxClose(faxhandle: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; | |
12 | #[cfg(feature = "Win32_Foundation")] | |
13 | pub fn FaxCompleteJobParamsA(jobparams: *mut *mut FAX_JOB_PARAMA, coverpageinfo: *mut *mut FAX_COVERPAGE_INFOA) -> super::super::Foundation::BOOL; | |
14 | #[cfg(feature = "Win32_Foundation")] | |
15 | pub fn FaxCompleteJobParamsW(jobparams: *mut *mut FAX_JOB_PARAMW, coverpageinfo: *mut *mut FAX_COVERPAGE_INFOW) -> super::super::Foundation::BOOL; | |
16 | #[cfg(feature = "Win32_Foundation")] | |
17 | pub fn FaxConnectFaxServerA(machinename: super::super::Foundation::PSTR, faxhandle: *mut super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; | |
18 | #[cfg(feature = "Win32_Foundation")] | |
19 | pub fn FaxConnectFaxServerW(machinename: super::super::Foundation::PWSTR, faxhandle: *mut super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; | |
20 | #[cfg(feature = "Win32_Foundation")] | |
21 | pub fn FaxEnableRoutingMethodA(faxporthandle: super::super::Foundation::HANDLE, routingguid: super::super::Foundation::PSTR, enabled: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; | |
22 | #[cfg(feature = "Win32_Foundation")] | |
23 | pub fn FaxEnableRoutingMethodW(faxporthandle: super::super::Foundation::HANDLE, routingguid: super::super::Foundation::PWSTR, enabled: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; | |
24 | #[cfg(feature = "Win32_Foundation")] | |
25 | pub fn FaxEnumGlobalRoutingInfoA(faxhandle: super::super::Foundation::HANDLE, routinginfo: *mut *mut FAX_GLOBAL_ROUTING_INFOA, methodsreturned: *mut u32) -> super::super::Foundation::BOOL; | |
26 | #[cfg(feature = "Win32_Foundation")] | |
27 | pub fn FaxEnumGlobalRoutingInfoW(faxhandle: super::super::Foundation::HANDLE, routinginfo: *mut *mut FAX_GLOBAL_ROUTING_INFOW, methodsreturned: *mut u32) -> super::super::Foundation::BOOL; | |
28 | #[cfg(feature = "Win32_Foundation")] | |
29 | pub fn FaxEnumJobsA(faxhandle: super::super::Foundation::HANDLE, jobentry: *mut *mut FAX_JOB_ENTRYA, jobsreturned: *mut u32) -> super::super::Foundation::BOOL; | |
30 | #[cfg(feature = "Win32_Foundation")] | |
31 | pub fn FaxEnumJobsW(faxhandle: super::super::Foundation::HANDLE, jobentry: *mut *mut FAX_JOB_ENTRYW, jobsreturned: *mut u32) -> super::super::Foundation::BOOL; | |
32 | #[cfg(feature = "Win32_Foundation")] | |
33 | pub fn FaxEnumPortsA(faxhandle: super::super::Foundation::HANDLE, portinfo: *mut *mut FAX_PORT_INFOA, portsreturned: *mut u32) -> super::super::Foundation::BOOL; | |
34 | #[cfg(feature = "Win32_Foundation")] | |
35 | pub fn FaxEnumPortsW(faxhandle: super::super::Foundation::HANDLE, portinfo: *mut *mut FAX_PORT_INFOW, portsreturned: *mut u32) -> super::super::Foundation::BOOL; | |
36 | #[cfg(feature = "Win32_Foundation")] | |
37 | pub fn FaxEnumRoutingMethodsA(faxporthandle: super::super::Foundation::HANDLE, routingmethod: *mut *mut FAX_ROUTING_METHODA, methodsreturned: *mut u32) -> super::super::Foundation::BOOL; | |
38 | #[cfg(feature = "Win32_Foundation")] | |
39 | pub fn FaxEnumRoutingMethodsW(faxporthandle: super::super::Foundation::HANDLE, routingmethod: *mut *mut FAX_ROUTING_METHODW, methodsreturned: *mut u32) -> super::super::Foundation::BOOL; | |
40 | pub fn FaxFreeBuffer(buffer: *mut ::core::ffi::c_void); | |
41 | #[cfg(feature = "Win32_Foundation")] | |
42 | pub fn FaxGetConfigurationA(faxhandle: super::super::Foundation::HANDLE, faxconfig: *mut *mut FAX_CONFIGURATIONA) -> super::super::Foundation::BOOL; | |
43 | #[cfg(feature = "Win32_Foundation")] | |
44 | pub fn FaxGetConfigurationW(faxhandle: super::super::Foundation::HANDLE, faxconfig: *mut *mut FAX_CONFIGURATIONW) -> super::super::Foundation::BOOL; | |
45 | #[cfg(feature = "Win32_Foundation")] | |
46 | pub fn FaxGetDeviceStatusA(faxporthandle: super::super::Foundation::HANDLE, devicestatus: *mut *mut FAX_DEVICE_STATUSA) -> super::super::Foundation::BOOL; | |
47 | #[cfg(feature = "Win32_Foundation")] | |
48 | pub fn FaxGetDeviceStatusW(faxporthandle: super::super::Foundation::HANDLE, devicestatus: *mut *mut FAX_DEVICE_STATUSW) -> super::super::Foundation::BOOL; | |
49 | #[cfg(feature = "Win32_Foundation")] | |
50 | pub fn FaxGetJobA(faxhandle: super::super::Foundation::HANDLE, jobid: u32, jobentry: *mut *mut FAX_JOB_ENTRYA) -> super::super::Foundation::BOOL; | |
51 | #[cfg(feature = "Win32_Foundation")] | |
52 | pub fn FaxGetJobW(faxhandle: super::super::Foundation::HANDLE, jobid: u32, jobentry: *mut *mut FAX_JOB_ENTRYW) -> super::super::Foundation::BOOL; | |
53 | #[cfg(feature = "Win32_Foundation")] | |
54 | pub fn FaxGetLoggingCategoriesA(faxhandle: super::super::Foundation::HANDLE, categories: *mut *mut FAX_LOG_CATEGORYA, numbercategories: *mut u32) -> super::super::Foundation::BOOL; | |
55 | #[cfg(feature = "Win32_Foundation")] | |
56 | pub fn FaxGetLoggingCategoriesW(faxhandle: super::super::Foundation::HANDLE, categories: *mut *mut FAX_LOG_CATEGORYW, numbercategories: *mut u32) -> super::super::Foundation::BOOL; | |
57 | #[cfg(feature = "Win32_Foundation")] | |
58 | pub fn FaxGetPageData(faxhandle: super::super::Foundation::HANDLE, jobid: u32, buffer: *mut *mut u8, buffersize: *mut u32, imagewidth: *mut u32, imageheight: *mut u32) -> super::super::Foundation::BOOL; | |
59 | #[cfg(feature = "Win32_Foundation")] | |
60 | pub fn FaxGetPortA(faxporthandle: super::super::Foundation::HANDLE, portinfo: *mut *mut FAX_PORT_INFOA) -> super::super::Foundation::BOOL; | |
61 | #[cfg(feature = "Win32_Foundation")] | |
62 | pub fn FaxGetPortW(faxporthandle: super::super::Foundation::HANDLE, portinfo: *mut *mut FAX_PORT_INFOW) -> super::super::Foundation::BOOL; | |
63 | #[cfg(feature = "Win32_Foundation")] | |
64 | pub fn FaxGetRoutingInfoA(faxporthandle: super::super::Foundation::HANDLE, routingguid: super::super::Foundation::PSTR, routinginfobuffer: *mut *mut u8, routinginfobuffersize: *mut u32) -> super::super::Foundation::BOOL; | |
65 | #[cfg(feature = "Win32_Foundation")] | |
66 | pub fn FaxGetRoutingInfoW(faxporthandle: super::super::Foundation::HANDLE, routingguid: super::super::Foundation::PWSTR, routinginfobuffer: *mut *mut u8, routinginfobuffersize: *mut u32) -> super::super::Foundation::BOOL; | |
67 | #[cfg(feature = "Win32_Foundation")] | |
68 | pub fn FaxInitializeEventQueue(faxhandle: super::super::Foundation::HANDLE, completionport: super::super::Foundation::HANDLE, completionkey: usize, hwnd: super::super::Foundation::HWND, messagestart: u32) -> super::super::Foundation::BOOL; | |
69 | #[cfg(feature = "Win32_Foundation")] | |
70 | pub fn FaxOpenPort(faxhandle: super::super::Foundation::HANDLE, deviceid: u32, flags: u32, faxporthandle: *mut super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; | |
71 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] | |
72 | pub fn FaxPrintCoverPageA(faxcontextinfo: *const FAX_CONTEXT_INFOA, coverpageinfo: *const FAX_COVERPAGE_INFOA) -> super::super::Foundation::BOOL; | |
73 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] | |
74 | pub fn FaxPrintCoverPageW(faxcontextinfo: *const FAX_CONTEXT_INFOW, coverpageinfo: *const FAX_COVERPAGE_INFOW) -> super::super::Foundation::BOOL; | |
75 | #[cfg(feature = "Win32_Foundation")] | |
76 | pub fn FaxRegisterRoutingExtensionW(faxhandle: super::super::Foundation::HANDLE, extensionname: super::super::Foundation::PWSTR, friendlyname: super::super::Foundation::PWSTR, imagename: super::super::Foundation::PWSTR, callback: ::core::option::Option<PFAX_ROUTING_INSTALLATION_CALLBACKW>, context: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; | |
77 | #[cfg(feature = "Win32_Foundation")] | |
78 | pub fn FaxRegisterServiceProviderW(deviceprovider: super::super::Foundation::PWSTR, friendlyname: super::super::Foundation::PWSTR, imagename: super::super::Foundation::PWSTR, tspname: super::super::Foundation::PWSTR) -> super::super::Foundation::BOOL; | |
79 | #[cfg(feature = "Win32_Foundation")] | |
80 | pub fn FaxSendDocumentA(faxhandle: super::super::Foundation::HANDLE, filename: super::super::Foundation::PSTR, jobparams: *mut FAX_JOB_PARAMA, coverpageinfo: *const FAX_COVERPAGE_INFOA, faxjobid: *mut u32) -> super::super::Foundation::BOOL; | |
81 | #[cfg(feature = "Win32_Foundation")] | |
82 | pub fn FaxSendDocumentForBroadcastA(faxhandle: super::super::Foundation::HANDLE, filename: super::super::Foundation::PSTR, faxjobid: *mut u32, faxrecipientcallback: ::core::option::Option<PFAX_RECIPIENT_CALLBACKA>, context: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; | |
83 | #[cfg(feature = "Win32_Foundation")] | |
84 | pub fn FaxSendDocumentForBroadcastW(faxhandle: super::super::Foundation::HANDLE, filename: super::super::Foundation::PWSTR, faxjobid: *mut u32, faxrecipientcallback: ::core::option::Option<PFAX_RECIPIENT_CALLBACKW>, context: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; | |
85 | #[cfg(feature = "Win32_Foundation")] | |
86 | pub fn FaxSendDocumentW(faxhandle: super::super::Foundation::HANDLE, filename: super::super::Foundation::PWSTR, jobparams: *mut FAX_JOB_PARAMW, coverpageinfo: *const FAX_COVERPAGE_INFOW, faxjobid: *mut u32) -> super::super::Foundation::BOOL; | |
87 | #[cfg(feature = "Win32_Foundation")] | |
88 | pub fn FaxSetConfigurationA(faxhandle: super::super::Foundation::HANDLE, faxconfig: *const FAX_CONFIGURATIONA) -> super::super::Foundation::BOOL; | |
89 | #[cfg(feature = "Win32_Foundation")] | |
90 | pub fn FaxSetConfigurationW(faxhandle: super::super::Foundation::HANDLE, faxconfig: *const FAX_CONFIGURATIONW) -> super::super::Foundation::BOOL; | |
91 | #[cfg(feature = "Win32_Foundation")] | |
92 | pub fn FaxSetGlobalRoutingInfoA(faxhandle: super::super::Foundation::HANDLE, routinginfo: *const FAX_GLOBAL_ROUTING_INFOA) -> super::super::Foundation::BOOL; | |
93 | #[cfg(feature = "Win32_Foundation")] | |
94 | pub fn FaxSetGlobalRoutingInfoW(faxhandle: super::super::Foundation::HANDLE, routinginfo: *const FAX_GLOBAL_ROUTING_INFOW) -> super::super::Foundation::BOOL; | |
95 | #[cfg(feature = "Win32_Foundation")] | |
96 | pub fn FaxSetJobA(faxhandle: super::super::Foundation::HANDLE, jobid: u32, command: u32, jobentry: *const FAX_JOB_ENTRYA) -> super::super::Foundation::BOOL; | |
97 | #[cfg(feature = "Win32_Foundation")] | |
98 | pub fn FaxSetJobW(faxhandle: super::super::Foundation::HANDLE, jobid: u32, command: u32, jobentry: *const FAX_JOB_ENTRYW) -> super::super::Foundation::BOOL; | |
99 | #[cfg(feature = "Win32_Foundation")] | |
100 | pub fn FaxSetLoggingCategoriesA(faxhandle: super::super::Foundation::HANDLE, categories: *const FAX_LOG_CATEGORYA, numbercategories: u32) -> super::super::Foundation::BOOL; | |
101 | #[cfg(feature = "Win32_Foundation")] | |
102 | pub fn FaxSetLoggingCategoriesW(faxhandle: super::super::Foundation::HANDLE, categories: *const FAX_LOG_CATEGORYW, numbercategories: u32) -> super::super::Foundation::BOOL; | |
103 | #[cfg(feature = "Win32_Foundation")] | |
104 | pub fn FaxSetPortA(faxporthandle: super::super::Foundation::HANDLE, portinfo: *const FAX_PORT_INFOA) -> super::super::Foundation::BOOL; | |
105 | #[cfg(feature = "Win32_Foundation")] | |
106 | pub fn FaxSetPortW(faxporthandle: super::super::Foundation::HANDLE, portinfo: *const FAX_PORT_INFOW) -> super::super::Foundation::BOOL; | |
107 | #[cfg(feature = "Win32_Foundation")] | |
108 | pub fn FaxSetRoutingInfoA(faxporthandle: super::super::Foundation::HANDLE, routingguid: super::super::Foundation::PSTR, routinginfobuffer: *const u8, routinginfobuffersize: u32) -> super::super::Foundation::BOOL; | |
109 | #[cfg(feature = "Win32_Foundation")] | |
110 | pub fn FaxSetRoutingInfoW(faxporthandle: super::super::Foundation::HANDLE, routingguid: super::super::Foundation::PWSTR, routinginfobuffer: *const u8, routinginfobuffersize: u32) -> super::super::Foundation::BOOL; | |
111 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] | |
112 | pub fn FaxStartPrintJobA(printername: super::super::Foundation::PSTR, printinfo: *const FAX_PRINT_INFOA, faxjobid: *mut u32, faxcontextinfo: *mut FAX_CONTEXT_INFOA) -> super::super::Foundation::BOOL; | |
113 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] | |
114 | pub fn FaxStartPrintJobW(printername: super::super::Foundation::PWSTR, printinfo: *const FAX_PRINT_INFOW, faxjobid: *mut u32, faxcontextinfo: *mut FAX_CONTEXT_INFOW) -> super::super::Foundation::BOOL; | |
115 | #[cfg(feature = "Win32_Foundation")] | |
116 | pub fn FaxUnregisterServiceProviderW(deviceprovider: super::super::Foundation::PWSTR) -> super::super::Foundation::BOOL; | |
117 | #[cfg(feature = "Win32_Foundation")] | |
118 | pub fn SendToFaxRecipient(sndmode: SendToMode, lpfilename: super::super::Foundation::PWSTR) -> u32; | |
119 | #[cfg(feature = "Win32_Foundation")] | |
120 | pub fn StiCreateInstanceW(hinst: super::super::Foundation::HINSTANCE, dwver: u32, ppsti: *mut IStillImageW, punkouter: ::windows_sys::core::IUnknown) -> ::windows_sys::core::HRESULT; | |
121 | } | |
122 | pub const CLSID_Sti: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 3005479136, data2: 11880, data3: 4560, data4: [144, 234, 0, 170, 0, 96, 248, 108] }; | |
123 | #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] | |
124 | pub const DEVPKEY_WIA_DeviceType: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { | |
125 | fmtid: ::windows_sys::core::GUID { data1: 1809653702, data2: 33039, data3: 4560, data4: [190, 199, 8, 0, 43, 226, 9, 47] }, | |
126 | pid: 2u32, | |
127 | }; | |
128 | #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] | |
129 | pub const DEVPKEY_WIA_USDClassId: super::super::UI::Shell::PropertiesSystem::PROPERTYKEY = super::super::UI::Shell::PropertiesSystem::PROPERTYKEY { | |
130 | fmtid: ::windows_sys::core::GUID { data1: 1809653702, data2: 33039, data3: 4560, data4: [190, 199, 8, 0, 43, 226, 9, 47] }, | |
131 | pid: 3u32, | |
132 | }; | |
133 | pub const FAXDEVRECEIVE_SIZE: u32 = 4096u32; | |
134 | pub const FAXDEVREPORTSTATUS_SIZE: u32 = 4096u32; | |
135 | pub type FAXROUTE_ENABLE = i32; | |
136 | pub const QUERY_STATUS: FAXROUTE_ENABLE = -1i32; | |
137 | pub const STATUS_DISABLE: FAXROUTE_ENABLE = 0i32; | |
138 | pub const STATUS_ENABLE: FAXROUTE_ENABLE = 1i32; | |
139 | pub type FAX_ACCESS_RIGHTS_ENUM = i32; | |
140 | pub const farSUBMIT_LOW: FAX_ACCESS_RIGHTS_ENUM = 1i32; | |
141 | pub const farSUBMIT_NORMAL: FAX_ACCESS_RIGHTS_ENUM = 2i32; | |
142 | pub const farSUBMIT_HIGH: FAX_ACCESS_RIGHTS_ENUM = 4i32; | |
143 | pub const farQUERY_JOBS: FAX_ACCESS_RIGHTS_ENUM = 8i32; | |
144 | pub const farMANAGE_JOBS: FAX_ACCESS_RIGHTS_ENUM = 16i32; | |
145 | pub const farQUERY_CONFIG: FAX_ACCESS_RIGHTS_ENUM = 32i32; | |
146 | pub const farMANAGE_CONFIG: FAX_ACCESS_RIGHTS_ENUM = 64i32; | |
147 | pub const farQUERY_IN_ARCHIVE: FAX_ACCESS_RIGHTS_ENUM = 128i32; | |
148 | pub const farMANAGE_IN_ARCHIVE: FAX_ACCESS_RIGHTS_ENUM = 256i32; | |
149 | pub const farQUERY_OUT_ARCHIVE: FAX_ACCESS_RIGHTS_ENUM = 512i32; | |
150 | pub const farMANAGE_OUT_ARCHIVE: FAX_ACCESS_RIGHTS_ENUM = 1024i32; | |
151 | pub type FAX_ACCESS_RIGHTS_ENUM_2 = i32; | |
152 | pub const far2SUBMIT_LOW: FAX_ACCESS_RIGHTS_ENUM_2 = 1i32; | |
153 | pub const far2SUBMIT_NORMAL: FAX_ACCESS_RIGHTS_ENUM_2 = 2i32; | |
154 | pub const far2SUBMIT_HIGH: FAX_ACCESS_RIGHTS_ENUM_2 = 4i32; | |
155 | pub const far2QUERY_OUT_JOBS: FAX_ACCESS_RIGHTS_ENUM_2 = 8i32; | |
156 | pub const far2MANAGE_OUT_JOBS: FAX_ACCESS_RIGHTS_ENUM_2 = 16i32; | |
157 | pub const far2QUERY_CONFIG: FAX_ACCESS_RIGHTS_ENUM_2 = 32i32; | |
158 | pub const far2MANAGE_CONFIG: FAX_ACCESS_RIGHTS_ENUM_2 = 64i32; | |
159 | pub const far2QUERY_ARCHIVES: FAX_ACCESS_RIGHTS_ENUM_2 = 128i32; | |
160 | pub const far2MANAGE_ARCHIVES: FAX_ACCESS_RIGHTS_ENUM_2 = 256i32; | |
161 | pub const far2MANAGE_RECEIVE_FOLDER: FAX_ACCESS_RIGHTS_ENUM_2 = 512i32; | |
162 | pub type FAX_ACCOUNT_EVENTS_TYPE_ENUM = i32; | |
163 | pub const faetNONE: FAX_ACCOUNT_EVENTS_TYPE_ENUM = 0i32; | |
164 | pub const faetIN_QUEUE: FAX_ACCOUNT_EVENTS_TYPE_ENUM = 1i32; | |
165 | pub const faetOUT_QUEUE: FAX_ACCOUNT_EVENTS_TYPE_ENUM = 2i32; | |
166 | pub const faetIN_ARCHIVE: FAX_ACCOUNT_EVENTS_TYPE_ENUM = 4i32; | |
167 | pub const faetOUT_ARCHIVE: FAX_ACCOUNT_EVENTS_TYPE_ENUM = 8i32; | |
168 | pub const faetFXSSVC_ENDED: FAX_ACCOUNT_EVENTS_TYPE_ENUM = 16i32; | |
169 | #[repr(C)] | |
170 | #[cfg(feature = "Win32_Foundation")] | |
171 | pub struct FAX_CONFIGURATIONA { | |
172 | pub SizeOfStruct: u32, | |
173 | pub Retries: u32, | |
174 | pub RetryDelay: u32, | |
175 | pub DirtyDays: u32, | |
176 | pub Branding: super::super::Foundation::BOOL, | |
177 | pub UseDeviceTsid: super::super::Foundation::BOOL, | |
178 | pub ServerCp: super::super::Foundation::BOOL, | |
179 | pub PauseServerQueue: super::super::Foundation::BOOL, | |
180 | pub StartCheapTime: FAX_TIME, | |
181 | pub StopCheapTime: FAX_TIME, | |
182 | pub ArchiveOutgoingFaxes: super::super::Foundation::BOOL, | |
183 | pub ArchiveDirectory: super::super::Foundation::PSTR, | |
184 | pub Reserved: super::super::Foundation::PSTR, | |
185 | } | |
186 | #[cfg(feature = "Win32_Foundation")] | |
187 | impl ::core::marker::Copy for FAX_CONFIGURATIONA {} | |
188 | #[cfg(feature = "Win32_Foundation")] | |
189 | impl ::core::clone::Clone for FAX_CONFIGURATIONA { | |
190 | fn clone(&self) -> Self { | |
191 | *self | |
192 | } | |
193 | } | |
194 | #[repr(C)] | |
195 | #[cfg(feature = "Win32_Foundation")] | |
196 | pub struct FAX_CONFIGURATIONW { | |
197 | pub SizeOfStruct: u32, | |
198 | pub Retries: u32, | |
199 | pub RetryDelay: u32, | |
200 | pub DirtyDays: u32, | |
201 | pub Branding: super::super::Foundation::BOOL, | |
202 | pub UseDeviceTsid: super::super::Foundation::BOOL, | |
203 | pub ServerCp: super::super::Foundation::BOOL, | |
204 | pub PauseServerQueue: super::super::Foundation::BOOL, | |
205 | pub StartCheapTime: FAX_TIME, | |
206 | pub StopCheapTime: FAX_TIME, | |
207 | pub ArchiveOutgoingFaxes: super::super::Foundation::BOOL, | |
208 | pub ArchiveDirectory: super::super::Foundation::PWSTR, | |
209 | pub Reserved: super::super::Foundation::PWSTR, | |
210 | } | |
211 | #[cfg(feature = "Win32_Foundation")] | |
212 | impl ::core::marker::Copy for FAX_CONFIGURATIONW {} | |
213 | #[cfg(feature = "Win32_Foundation")] | |
214 | impl ::core::clone::Clone for FAX_CONFIGURATIONW { | |
215 | fn clone(&self) -> Self { | |
216 | *self | |
217 | } | |
218 | } | |
219 | pub const FAX_CONFIG_QUERY: u32 = 4u32; | |
220 | pub const FAX_CONFIG_SET: u32 = 8u32; | |
221 | #[repr(C)] | |
222 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] | |
223 | pub struct FAX_CONTEXT_INFOA { | |
224 | pub SizeOfStruct: u32, | |
225 | pub hDC: super::super::Graphics::Gdi::HDC, | |
226 | pub ServerName: [super::super::Foundation::CHAR; 16], | |
227 | } | |
228 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] | |
229 | impl ::core::marker::Copy for FAX_CONTEXT_INFOA {} | |
230 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] | |
231 | impl ::core::clone::Clone for FAX_CONTEXT_INFOA { | |
232 | fn clone(&self) -> Self { | |
233 | *self | |
234 | } | |
235 | } | |
236 | #[repr(C)] | |
237 | #[cfg(feature = "Win32_Graphics_Gdi")] | |
238 | pub struct FAX_CONTEXT_INFOW { | |
239 | pub SizeOfStruct: u32, | |
240 | pub hDC: super::super::Graphics::Gdi::HDC, | |
241 | pub ServerName: [u16; 16], | |
242 | } | |
243 | #[cfg(feature = "Win32_Graphics_Gdi")] | |
244 | impl ::core::marker::Copy for FAX_CONTEXT_INFOW {} | |
245 | #[cfg(feature = "Win32_Graphics_Gdi")] | |
246 | impl ::core::clone::Clone for FAX_CONTEXT_INFOW { | |
247 | fn clone(&self) -> Self { | |
248 | *self | |
249 | } | |
250 | } | |
251 | #[repr(C)] | |
252 | #[cfg(feature = "Win32_Foundation")] | |
253 | pub struct FAX_COVERPAGE_INFOA { | |
254 | pub SizeOfStruct: u32, | |
255 | pub CoverPageName: super::super::Foundation::PSTR, | |
256 | pub UseServerCoverPage: super::super::Foundation::BOOL, | |
257 | pub RecName: super::super::Foundation::PSTR, | |
258 | pub RecFaxNumber: super::super::Foundation::PSTR, | |
259 | pub RecCompany: super::super::Foundation::PSTR, | |
260 | pub RecStreetAddress: super::super::Foundation::PSTR, | |
261 | pub RecCity: super::super::Foundation::PSTR, | |
262 | pub RecState: super::super::Foundation::PSTR, | |
263 | pub RecZip: super::super::Foundation::PSTR, | |
264 | pub RecCountry: super::super::Foundation::PSTR, | |
265 | pub RecTitle: super::super::Foundation::PSTR, | |
266 | pub RecDepartment: super::super::Foundation::PSTR, | |
267 | pub RecOfficeLocation: super::super::Foundation::PSTR, | |
268 | pub RecHomePhone: super::super::Foundation::PSTR, | |
269 | pub RecOfficePhone: super::super::Foundation::PSTR, | |
270 | pub SdrName: super::super::Foundation::PSTR, | |
271 | pub SdrFaxNumber: super::super::Foundation::PSTR, | |
272 | pub SdrCompany: super::super::Foundation::PSTR, | |
273 | pub SdrAddress: super::super::Foundation::PSTR, | |
274 | pub SdrTitle: super::super::Foundation::PSTR, | |
275 | pub SdrDepartment: super::super::Foundation::PSTR, | |
276 | pub SdrOfficeLocation: super::super::Foundation::PSTR, | |
277 | pub SdrHomePhone: super::super::Foundation::PSTR, | |
278 | pub SdrOfficePhone: super::super::Foundation::PSTR, | |
279 | pub Note: super::super::Foundation::PSTR, | |
280 | pub Subject: super::super::Foundation::PSTR, | |
281 | pub TimeSent: super::super::Foundation::SYSTEMTIME, | |
282 | pub PageCount: u32, | |
283 | } | |
284 | #[cfg(feature = "Win32_Foundation")] | |
285 | impl ::core::marker::Copy for FAX_COVERPAGE_INFOA {} | |
286 | #[cfg(feature = "Win32_Foundation")] | |
287 | impl ::core::clone::Clone for FAX_COVERPAGE_INFOA { | |
288 | fn clone(&self) -> Self { | |
289 | *self | |
290 | } | |
291 | } | |
292 | #[repr(C)] | |
293 | #[cfg(feature = "Win32_Foundation")] | |
294 | pub struct FAX_COVERPAGE_INFOW { | |
295 | pub SizeOfStruct: u32, | |
296 | pub CoverPageName: super::super::Foundation::PWSTR, | |
297 | pub UseServerCoverPage: super::super::Foundation::BOOL, | |
298 | pub RecName: super::super::Foundation::PWSTR, | |
299 | pub RecFaxNumber: super::super::Foundation::PWSTR, | |
300 | pub RecCompany: super::super::Foundation::PWSTR, | |
301 | pub RecStreetAddress: super::super::Foundation::PWSTR, | |
302 | pub RecCity: super::super::Foundation::PWSTR, | |
303 | pub RecState: super::super::Foundation::PWSTR, | |
304 | pub RecZip: super::super::Foundation::PWSTR, | |
305 | pub RecCountry: super::super::Foundation::PWSTR, | |
306 | pub RecTitle: super::super::Foundation::PWSTR, | |
307 | pub RecDepartment: super::super::Foundation::PWSTR, | |
308 | pub RecOfficeLocation: super::super::Foundation::PWSTR, | |
309 | pub RecHomePhone: super::super::Foundation::PWSTR, | |
310 | pub RecOfficePhone: super::super::Foundation::PWSTR, | |
311 | pub SdrName: super::super::Foundation::PWSTR, | |
312 | pub SdrFaxNumber: super::super::Foundation::PWSTR, | |
313 | pub SdrCompany: super::super::Foundation::PWSTR, | |
314 | pub SdrAddress: super::super::Foundation::PWSTR, | |
315 | pub SdrTitle: super::super::Foundation::PWSTR, | |
316 | pub SdrDepartment: super::super::Foundation::PWSTR, | |
317 | pub SdrOfficeLocation: super::super::Foundation::PWSTR, | |
318 | pub SdrHomePhone: super::super::Foundation::PWSTR, | |
319 | pub SdrOfficePhone: super::super::Foundation::PWSTR, | |
320 | pub Note: super::super::Foundation::PWSTR, | |
321 | pub Subject: super::super::Foundation::PWSTR, | |
322 | pub TimeSent: super::super::Foundation::SYSTEMTIME, | |
323 | pub PageCount: u32, | |
324 | } | |
325 | #[cfg(feature = "Win32_Foundation")] | |
326 | impl ::core::marker::Copy for FAX_COVERPAGE_INFOW {} | |
327 | #[cfg(feature = "Win32_Foundation")] | |
328 | impl ::core::clone::Clone for FAX_COVERPAGE_INFOW { | |
329 | fn clone(&self) -> Self { | |
330 | *self | |
331 | } | |
332 | } | |
333 | pub type FAX_COVERPAGE_TYPE_ENUM = i32; | |
334 | pub const fcptNONE: FAX_COVERPAGE_TYPE_ENUM = 0i32; | |
335 | pub const fcptLOCAL: FAX_COVERPAGE_TYPE_ENUM = 1i32; | |
336 | pub const fcptSERVER: FAX_COVERPAGE_TYPE_ENUM = 2i32; | |
337 | pub type FAX_DEVICE_RECEIVE_MODE_ENUM = i32; | |
338 | pub const fdrmNO_ANSWER: FAX_DEVICE_RECEIVE_MODE_ENUM = 0i32; | |
339 | pub const fdrmAUTO_ANSWER: FAX_DEVICE_RECEIVE_MODE_ENUM = 1i32; | |
340 | pub const fdrmMANUAL_ANSWER: FAX_DEVICE_RECEIVE_MODE_ENUM = 2i32; | |
341 | #[repr(C)] | |
342 | #[cfg(feature = "Win32_Foundation")] | |
343 | pub struct FAX_DEVICE_STATUSA { | |
344 | pub SizeOfStruct: u32, | |
345 | pub CallerId: super::super::Foundation::PSTR, | |
346 | pub Csid: super::super::Foundation::PSTR, | |
347 | pub CurrentPage: u32, | |
348 | pub DeviceId: u32, | |
349 | pub DeviceName: super::super::Foundation::PSTR, | |
350 | pub DocumentName: super::super::Foundation::PSTR, | |
351 | pub JobType: u32, | |
352 | pub PhoneNumber: super::super::Foundation::PSTR, | |
353 | pub RoutingString: super::super::Foundation::PSTR, | |
354 | pub SenderName: super::super::Foundation::PSTR, | |
355 | pub RecipientName: super::super::Foundation::PSTR, | |
356 | pub Size: u32, | |
357 | pub StartTime: super::super::Foundation::FILETIME, | |
358 | pub Status: u32, | |
359 | pub StatusString: super::super::Foundation::PSTR, | |
360 | pub SubmittedTime: super::super::Foundation::FILETIME, | |
361 | pub TotalPages: u32, | |
362 | pub Tsid: super::super::Foundation::PSTR, | |
363 | pub UserName: super::super::Foundation::PSTR, | |
364 | } | |
365 | #[cfg(feature = "Win32_Foundation")] | |
366 | impl ::core::marker::Copy for FAX_DEVICE_STATUSA {} | |
367 | #[cfg(feature = "Win32_Foundation")] | |
368 | impl ::core::clone::Clone for FAX_DEVICE_STATUSA { | |
369 | fn clone(&self) -> Self { | |
370 | *self | |
371 | } | |
372 | } | |
373 | #[repr(C)] | |
374 | #[cfg(feature = "Win32_Foundation")] | |
375 | pub struct FAX_DEVICE_STATUSW { | |
376 | pub SizeOfStruct: u32, | |
377 | pub CallerId: super::super::Foundation::PWSTR, | |
378 | pub Csid: super::super::Foundation::PWSTR, | |
379 | pub CurrentPage: u32, | |
380 | pub DeviceId: u32, | |
381 | pub DeviceName: super::super::Foundation::PWSTR, | |
382 | pub DocumentName: super::super::Foundation::PWSTR, | |
383 | pub JobType: u32, | |
384 | pub PhoneNumber: super::super::Foundation::PWSTR, | |
385 | pub RoutingString: super::super::Foundation::PWSTR, | |
386 | pub SenderName: super::super::Foundation::PWSTR, | |
387 | pub RecipientName: super::super::Foundation::PWSTR, | |
388 | pub Size: u32, | |
389 | pub StartTime: super::super::Foundation::FILETIME, | |
390 | pub Status: u32, | |
391 | pub StatusString: super::super::Foundation::PWSTR, | |
392 | pub SubmittedTime: super::super::Foundation::FILETIME, | |
393 | pub TotalPages: u32, | |
394 | pub Tsid: super::super::Foundation::PWSTR, | |
395 | pub UserName: super::super::Foundation::PWSTR, | |
396 | } | |
397 | #[cfg(feature = "Win32_Foundation")] | |
398 | impl ::core::marker::Copy for FAX_DEVICE_STATUSW {} | |
399 | #[cfg(feature = "Win32_Foundation")] | |
400 | impl ::core::clone::Clone for FAX_DEVICE_STATUSW { | |
401 | fn clone(&self) -> Self { | |
402 | *self | |
403 | } | |
404 | } | |
405 | #[repr(C)] | |
406 | #[cfg(feature = "Win32_Foundation")] | |
407 | pub struct FAX_DEV_STATUS { | |
408 | pub SizeOfStruct: u32, | |
409 | pub StatusId: u32, | |
410 | pub StringId: u32, | |
411 | pub PageCount: u32, | |
412 | pub CSI: super::super::Foundation::PWSTR, | |
413 | pub CallerId: super::super::Foundation::PWSTR, | |
414 | pub RoutingInfo: super::super::Foundation::PWSTR, | |
415 | pub ErrorCode: u32, | |
416 | pub Reserved: [u32; 3], | |
417 | } | |
418 | #[cfg(feature = "Win32_Foundation")] | |
419 | impl ::core::marker::Copy for FAX_DEV_STATUS {} | |
420 | #[cfg(feature = "Win32_Foundation")] | |
421 | impl ::core::clone::Clone for FAX_DEV_STATUS { | |
422 | fn clone(&self) -> Self { | |
423 | *self | |
424 | } | |
425 | } | |
426 | pub type FAX_ENUM_DELIVERY_REPORT_TYPES = i32; | |
427 | pub const DRT_NONE: FAX_ENUM_DELIVERY_REPORT_TYPES = 0i32; | |
428 | pub const DRT_EMAIL: FAX_ENUM_DELIVERY_REPORT_TYPES = 1i32; | |
429 | pub const DRT_INBOX: FAX_ENUM_DELIVERY_REPORT_TYPES = 2i32; | |
430 | pub type FAX_ENUM_DEVICE_ID_SOURCE = i32; | |
431 | pub const DEV_ID_SRC_FAX: FAX_ENUM_DEVICE_ID_SOURCE = 0i32; | |
432 | pub const DEV_ID_SRC_TAPI: FAX_ENUM_DEVICE_ID_SOURCE = 1i32; | |
433 | pub type FAX_ENUM_JOB_COMMANDS = i32; | |
434 | pub const JC_UNKNOWN: FAX_ENUM_JOB_COMMANDS = 0i32; | |
435 | pub const JC_DELETE: FAX_ENUM_JOB_COMMANDS = 1i32; | |
436 | pub const JC_PAUSE: FAX_ENUM_JOB_COMMANDS = 2i32; | |
437 | pub const JC_RESUME: FAX_ENUM_JOB_COMMANDS = 3i32; | |
438 | pub type FAX_ENUM_JOB_SEND_ATTRIBUTES = i32; | |
439 | pub const JSA_NOW: FAX_ENUM_JOB_SEND_ATTRIBUTES = 0i32; | |
440 | pub const JSA_SPECIFIC_TIME: FAX_ENUM_JOB_SEND_ATTRIBUTES = 1i32; | |
441 | pub const JSA_DISCOUNT_PERIOD: FAX_ENUM_JOB_SEND_ATTRIBUTES = 2i32; | |
442 | pub type FAX_ENUM_LOG_CATEGORIES = i32; | |
443 | pub const FAXLOG_CATEGORY_INIT: FAX_ENUM_LOG_CATEGORIES = 1i32; | |
444 | pub const FAXLOG_CATEGORY_OUTBOUND: FAX_ENUM_LOG_CATEGORIES = 2i32; | |
445 | pub const FAXLOG_CATEGORY_INBOUND: FAX_ENUM_LOG_CATEGORIES = 3i32; | |
446 | pub const FAXLOG_CATEGORY_UNKNOWN: FAX_ENUM_LOG_CATEGORIES = 4i32; | |
447 | pub type FAX_ENUM_LOG_LEVELS = i32; | |
448 | pub const FAXLOG_LEVEL_NONE: FAX_ENUM_LOG_LEVELS = 0i32; | |
449 | pub const FAXLOG_LEVEL_MIN: FAX_ENUM_LOG_LEVELS = 1i32; | |
450 | pub const FAXLOG_LEVEL_MED: FAX_ENUM_LOG_LEVELS = 2i32; | |
451 | pub const FAXLOG_LEVEL_MAX: FAX_ENUM_LOG_LEVELS = 3i32; | |
452 | pub type FAX_ENUM_PORT_OPEN_TYPE = i32; | |
453 | pub const PORT_OPEN_QUERY: FAX_ENUM_PORT_OPEN_TYPE = 1i32; | |
454 | pub const PORT_OPEN_MODIFY: FAX_ENUM_PORT_OPEN_TYPE = 2i32; | |
455 | pub const FAX_ERR_BAD_GROUP_CONFIGURATION: i32 = 7003i32; | |
456 | pub const FAX_ERR_DEVICE_NUM_LIMIT_EXCEEDED: i32 = 7010i32; | |
457 | pub const FAX_ERR_DIRECTORY_IN_USE: i32 = 7007i32; | |
458 | pub const FAX_ERR_END: i32 = 7013i32; | |
459 | pub const FAX_ERR_FILE_ACCESS_DENIED: i32 = 7008i32; | |
460 | pub const FAX_ERR_GROUP_IN_USE: i32 = 7004i32; | |
461 | pub const FAX_ERR_GROUP_NOT_FOUND: i32 = 7002i32; | |
462 | pub const FAX_ERR_MESSAGE_NOT_FOUND: i32 = 7009i32; | |
463 | pub const FAX_ERR_NOT_NTFS: i32 = 7006i32; | |
464 | pub const FAX_ERR_NOT_SUPPORTED_ON_THIS_SKU: i32 = 7011i32; | |
465 | pub const FAX_ERR_RECIPIENTS_LIMIT: i32 = 7013i32; | |
466 | pub const FAX_ERR_RULE_NOT_FOUND: i32 = 7005i32; | |
467 | pub const FAX_ERR_SRV_OUTOFMEMORY: i32 = 7001i32; | |
468 | pub const FAX_ERR_START: i32 = 7001i32; | |
469 | pub const FAX_ERR_VERSION_MISMATCH: i32 = 7012i32; | |
470 | #[repr(C)] | |
471 | #[cfg(feature = "Win32_Foundation")] | |
472 | pub struct FAX_EVENTA { | |
473 | pub SizeOfStruct: u32, | |
474 | pub TimeStamp: super::super::Foundation::FILETIME, | |
475 | pub DeviceId: u32, | |
476 | pub EventId: u32, | |
477 | pub JobId: u32, | |
478 | } | |
479 | #[cfg(feature = "Win32_Foundation")] | |
480 | impl ::core::marker::Copy for FAX_EVENTA {} | |
481 | #[cfg(feature = "Win32_Foundation")] | |
482 | impl ::core::clone::Clone for FAX_EVENTA { | |
483 | fn clone(&self) -> Self { | |
484 | *self | |
485 | } | |
486 | } | |
487 | #[repr(C)] | |
488 | #[cfg(feature = "Win32_Foundation")] | |
489 | pub struct FAX_EVENTW { | |
490 | pub SizeOfStruct: u32, | |
491 | pub TimeStamp: super::super::Foundation::FILETIME, | |
492 | pub DeviceId: u32, | |
493 | pub EventId: u32, | |
494 | pub JobId: u32, | |
495 | } | |
496 | #[cfg(feature = "Win32_Foundation")] | |
497 | impl ::core::marker::Copy for FAX_EVENTW {} | |
498 | #[cfg(feature = "Win32_Foundation")] | |
499 | impl ::core::clone::Clone for FAX_EVENTW { | |
500 | fn clone(&self) -> Self { | |
501 | *self | |
502 | } | |
503 | } | |
504 | pub const FAX_E_BAD_GROUP_CONFIGURATION: ::windows_sys::core::HRESULT = -2147214501i32; | |
505 | pub const FAX_E_DEVICE_NUM_LIMIT_EXCEEDED: ::windows_sys::core::HRESULT = -2147214494i32; | |
506 | pub const FAX_E_DIRECTORY_IN_USE: ::windows_sys::core::HRESULT = -2147214497i32; | |
507 | pub const FAX_E_FILE_ACCESS_DENIED: ::windows_sys::core::HRESULT = -2147214496i32; | |
508 | pub const FAX_E_GROUP_IN_USE: ::windows_sys::core::HRESULT = -2147214500i32; | |
509 | pub const FAX_E_GROUP_NOT_FOUND: ::windows_sys::core::HRESULT = -2147214502i32; | |
510 | pub const FAX_E_MESSAGE_NOT_FOUND: ::windows_sys::core::HRESULT = -2147214495i32; | |
511 | pub const FAX_E_NOT_NTFS: ::windows_sys::core::HRESULT = -2147214498i32; | |
512 | pub const FAX_E_NOT_SUPPORTED_ON_THIS_SKU: ::windows_sys::core::HRESULT = -2147214493i32; | |
513 | pub const FAX_E_RECIPIENTS_LIMIT: ::windows_sys::core::HRESULT = -2147214491i32; | |
514 | pub const FAX_E_RULE_NOT_FOUND: ::windows_sys::core::HRESULT = -2147214499i32; | |
515 | pub const FAX_E_SRV_OUTOFMEMORY: ::windows_sys::core::HRESULT = -2147214503i32; | |
516 | pub const FAX_E_VERSION_MISMATCH: ::windows_sys::core::HRESULT = -2147214492i32; | |
517 | #[repr(C)] | |
518 | #[cfg(feature = "Win32_Foundation")] | |
519 | pub struct FAX_GLOBAL_ROUTING_INFOA { | |
520 | pub SizeOfStruct: u32, | |
521 | pub Priority: u32, | |
522 | pub Guid: super::super::Foundation::PSTR, | |
523 | pub FriendlyName: super::super::Foundation::PSTR, | |
524 | pub FunctionName: super::super::Foundation::PSTR, | |
525 | pub ExtensionImageName: super::super::Foundation::PSTR, | |
526 | pub ExtensionFriendlyName: super::super::Foundation::PSTR, | |
527 | } | |
528 | #[cfg(feature = "Win32_Foundation")] | |
529 | impl ::core::marker::Copy for FAX_GLOBAL_ROUTING_INFOA {} | |
530 | #[cfg(feature = "Win32_Foundation")] | |
531 | impl ::core::clone::Clone for FAX_GLOBAL_ROUTING_INFOA { | |
532 | fn clone(&self) -> Self { | |
533 | *self | |
534 | } | |
535 | } | |
536 | #[repr(C)] | |
537 | #[cfg(feature = "Win32_Foundation")] | |
538 | pub struct FAX_GLOBAL_ROUTING_INFOW { | |
539 | pub SizeOfStruct: u32, | |
540 | pub Priority: u32, | |
541 | pub Guid: super::super::Foundation::PWSTR, | |
542 | pub FriendlyName: super::super::Foundation::PWSTR, | |
543 | pub FunctionName: super::super::Foundation::PWSTR, | |
544 | pub ExtensionImageName: super::super::Foundation::PWSTR, | |
545 | pub ExtensionFriendlyName: super::super::Foundation::PWSTR, | |
546 | } | |
547 | #[cfg(feature = "Win32_Foundation")] | |
548 | impl ::core::marker::Copy for FAX_GLOBAL_ROUTING_INFOW {} | |
549 | #[cfg(feature = "Win32_Foundation")] | |
550 | impl ::core::clone::Clone for FAX_GLOBAL_ROUTING_INFOW { | |
551 | fn clone(&self) -> Self { | |
552 | *self | |
553 | } | |
554 | } | |
555 | pub type FAX_GROUP_STATUS_ENUM = i32; | |
556 | pub const fgsALL_DEV_VALID: FAX_GROUP_STATUS_ENUM = 0i32; | |
557 | pub const fgsEMPTY: FAX_GROUP_STATUS_ENUM = 1i32; | |
558 | pub const fgsALL_DEV_NOT_VALID: FAX_GROUP_STATUS_ENUM = 2i32; | |
559 | pub const fgsSOME_DEV_NOT_VALID: FAX_GROUP_STATUS_ENUM = 3i32; | |
560 | #[repr(C)] | |
561 | #[cfg(feature = "Win32_Foundation")] | |
562 | pub struct FAX_JOB_ENTRYA { | |
563 | pub SizeOfStruct: u32, | |
564 | pub JobId: u32, | |
565 | pub UserName: super::super::Foundation::PSTR, | |
566 | pub JobType: u32, | |
567 | pub QueueStatus: u32, | |
568 | pub Status: u32, | |
569 | pub Size: u32, | |
570 | pub PageCount: u32, | |
571 | pub RecipientNumber: super::super::Foundation::PSTR, | |
572 | pub RecipientName: super::super::Foundation::PSTR, | |
573 | pub Tsid: super::super::Foundation::PSTR, | |
574 | pub SenderName: super::super::Foundation::PSTR, | |
575 | pub SenderCompany: super::super::Foundation::PSTR, | |
576 | pub SenderDept: super::super::Foundation::PSTR, | |
577 | pub BillingCode: super::super::Foundation::PSTR, | |
578 | pub ScheduleAction: u32, | |
579 | pub ScheduleTime: super::super::Foundation::SYSTEMTIME, | |
580 | pub DeliveryReportType: u32, | |
581 | pub DeliveryReportAddress: super::super::Foundation::PSTR, | |
582 | pub DocumentName: super::super::Foundation::PSTR, | |
583 | } | |
584 | #[cfg(feature = "Win32_Foundation")] | |
585 | impl ::core::marker::Copy for FAX_JOB_ENTRYA {} | |
586 | #[cfg(feature = "Win32_Foundation")] | |
587 | impl ::core::clone::Clone for FAX_JOB_ENTRYA { | |
588 | fn clone(&self) -> Self { | |
589 | *self | |
590 | } | |
591 | } | |
592 | #[repr(C)] | |
593 | #[cfg(feature = "Win32_Foundation")] | |
594 | pub struct FAX_JOB_ENTRYW { | |
595 | pub SizeOfStruct: u32, | |
596 | pub JobId: u32, | |
597 | pub UserName: super::super::Foundation::PWSTR, | |
598 | pub JobType: u32, | |
599 | pub QueueStatus: u32, | |
600 | pub Status: u32, | |
601 | pub Size: u32, | |
602 | pub PageCount: u32, | |
603 | pub RecipientNumber: super::super::Foundation::PWSTR, | |
604 | pub RecipientName: super::super::Foundation::PWSTR, | |
605 | pub Tsid: super::super::Foundation::PWSTR, | |
606 | pub SenderName: super::super::Foundation::PWSTR, | |
607 | pub SenderCompany: super::super::Foundation::PWSTR, | |
608 | pub SenderDept: super::super::Foundation::PWSTR, | |
609 | pub BillingCode: super::super::Foundation::PWSTR, | |
610 | pub ScheduleAction: u32, | |
611 | pub ScheduleTime: super::super::Foundation::SYSTEMTIME, | |
612 | pub DeliveryReportType: u32, | |
613 | pub DeliveryReportAddress: super::super::Foundation::PWSTR, | |
614 | pub DocumentName: super::super::Foundation::PWSTR, | |
615 | } | |
616 | #[cfg(feature = "Win32_Foundation")] | |
617 | impl ::core::marker::Copy for FAX_JOB_ENTRYW {} | |
618 | #[cfg(feature = "Win32_Foundation")] | |
619 | impl ::core::clone::Clone for FAX_JOB_ENTRYW { | |
620 | fn clone(&self) -> Self { | |
621 | *self | |
622 | } | |
623 | } | |
624 | pub type FAX_JOB_EXTENDED_STATUS_ENUM = i32; | |
625 | pub const fjesNONE: FAX_JOB_EXTENDED_STATUS_ENUM = 0i32; | |
626 | pub const fjesDISCONNECTED: FAX_JOB_EXTENDED_STATUS_ENUM = 1i32; | |
627 | pub const fjesINITIALIZING: FAX_JOB_EXTENDED_STATUS_ENUM = 2i32; | |
628 | pub const fjesDIALING: FAX_JOB_EXTENDED_STATUS_ENUM = 3i32; | |
629 | pub const fjesTRANSMITTING: FAX_JOB_EXTENDED_STATUS_ENUM = 4i32; | |
630 | pub const fjesANSWERED: FAX_JOB_EXTENDED_STATUS_ENUM = 5i32; | |
631 | pub const fjesRECEIVING: FAX_JOB_EXTENDED_STATUS_ENUM = 6i32; | |
632 | pub const fjesLINE_UNAVAILABLE: FAX_JOB_EXTENDED_STATUS_ENUM = 7i32; | |
633 | pub const fjesBUSY: FAX_JOB_EXTENDED_STATUS_ENUM = 8i32; | |
634 | pub const fjesNO_ANSWER: FAX_JOB_EXTENDED_STATUS_ENUM = 9i32; | |
635 | pub const fjesBAD_ADDRESS: FAX_JOB_EXTENDED_STATUS_ENUM = 10i32; | |
636 | pub const fjesNO_DIAL_TONE: FAX_JOB_EXTENDED_STATUS_ENUM = 11i32; | |
637 | pub const fjesFATAL_ERROR: FAX_JOB_EXTENDED_STATUS_ENUM = 12i32; | |
638 | pub const fjesCALL_DELAYED: FAX_JOB_EXTENDED_STATUS_ENUM = 13i32; | |
639 | pub const fjesCALL_BLACKLISTED: FAX_JOB_EXTENDED_STATUS_ENUM = 14i32; | |
640 | pub const fjesNOT_FAX_CALL: FAX_JOB_EXTENDED_STATUS_ENUM = 15i32; | |
641 | pub const fjesPARTIALLY_RECEIVED: FAX_JOB_EXTENDED_STATUS_ENUM = 16i32; | |
642 | pub const fjesHANDLED: FAX_JOB_EXTENDED_STATUS_ENUM = 17i32; | |
643 | pub const fjesCALL_COMPLETED: FAX_JOB_EXTENDED_STATUS_ENUM = 18i32; | |
644 | pub const fjesCALL_ABORTED: FAX_JOB_EXTENDED_STATUS_ENUM = 19i32; | |
645 | pub const fjesPROPRIETARY: FAX_JOB_EXTENDED_STATUS_ENUM = 16777216i32; | |
646 | pub const FAX_JOB_MANAGE: u32 = 64u32; | |
647 | pub type FAX_JOB_OPERATIONS_ENUM = i32; | |
648 | pub const fjoVIEW: FAX_JOB_OPERATIONS_ENUM = 1i32; | |
649 | pub const fjoPAUSE: FAX_JOB_OPERATIONS_ENUM = 2i32; | |
650 | pub const fjoRESUME: FAX_JOB_OPERATIONS_ENUM = 4i32; | |
651 | pub const fjoRESTART: FAX_JOB_OPERATIONS_ENUM = 8i32; | |
652 | pub const fjoDELETE: FAX_JOB_OPERATIONS_ENUM = 16i32; | |
653 | pub const fjoRECIPIENT_INFO: FAX_JOB_OPERATIONS_ENUM = 32i32; | |
654 | pub const fjoSENDER_INFO: FAX_JOB_OPERATIONS_ENUM = 64i32; | |
655 | #[repr(C)] | |
656 | #[cfg(feature = "Win32_Foundation")] | |
657 | pub struct FAX_JOB_PARAMA { | |
658 | pub SizeOfStruct: u32, | |
659 | pub RecipientNumber: super::super::Foundation::PSTR, | |
660 | pub RecipientName: super::super::Foundation::PSTR, | |
661 | pub Tsid: super::super::Foundation::PSTR, | |
662 | pub SenderName: super::super::Foundation::PSTR, | |
663 | pub SenderCompany: super::super::Foundation::PSTR, | |
664 | pub SenderDept: super::super::Foundation::PSTR, | |
665 | pub BillingCode: super::super::Foundation::PSTR, | |
666 | pub ScheduleAction: u32, | |
667 | pub ScheduleTime: super::super::Foundation::SYSTEMTIME, | |
668 | pub DeliveryReportType: u32, | |
669 | pub DeliveryReportAddress: super::super::Foundation::PSTR, | |
670 | pub DocumentName: super::super::Foundation::PSTR, | |
671 | pub CallHandle: u32, | |
672 | pub Reserved: [usize; 3], | |
673 | } | |
674 | #[cfg(feature = "Win32_Foundation")] | |
675 | impl ::core::marker::Copy for FAX_JOB_PARAMA {} | |
676 | #[cfg(feature = "Win32_Foundation")] | |
677 | impl ::core::clone::Clone for FAX_JOB_PARAMA { | |
678 | fn clone(&self) -> Self { | |
679 | *self | |
680 | } | |
681 | } | |
682 | #[repr(C)] | |
683 | #[cfg(feature = "Win32_Foundation")] | |
684 | pub struct FAX_JOB_PARAMW { | |
685 | pub SizeOfStruct: u32, | |
686 | pub RecipientNumber: super::super::Foundation::PWSTR, | |
687 | pub RecipientName: super::super::Foundation::PWSTR, | |
688 | pub Tsid: super::super::Foundation::PWSTR, | |
689 | pub SenderName: super::super::Foundation::PWSTR, | |
690 | pub SenderCompany: super::super::Foundation::PWSTR, | |
691 | pub SenderDept: super::super::Foundation::PWSTR, | |
692 | pub BillingCode: super::super::Foundation::PWSTR, | |
693 | pub ScheduleAction: u32, | |
694 | pub ScheduleTime: super::super::Foundation::SYSTEMTIME, | |
695 | pub DeliveryReportType: u32, | |
696 | pub DeliveryReportAddress: super::super::Foundation::PWSTR, | |
697 | pub DocumentName: super::super::Foundation::PWSTR, | |
698 | pub CallHandle: u32, | |
699 | pub Reserved: [usize; 3], | |
700 | } | |
701 | #[cfg(feature = "Win32_Foundation")] | |
702 | impl ::core::marker::Copy for FAX_JOB_PARAMW {} | |
703 | #[cfg(feature = "Win32_Foundation")] | |
704 | impl ::core::clone::Clone for FAX_JOB_PARAMW { | |
705 | fn clone(&self) -> Self { | |
706 | *self | |
707 | } | |
708 | } | |
709 | pub const FAX_JOB_QUERY: u32 = 2u32; | |
710 | pub type FAX_JOB_STATUS_ENUM = i32; | |
711 | pub const fjsPENDING: FAX_JOB_STATUS_ENUM = 1i32; | |
712 | pub const fjsINPROGRESS: FAX_JOB_STATUS_ENUM = 2i32; | |
713 | pub const fjsFAILED: FAX_JOB_STATUS_ENUM = 8i32; | |
714 | pub const fjsPAUSED: FAX_JOB_STATUS_ENUM = 16i32; | |
715 | pub const fjsNOLINE: FAX_JOB_STATUS_ENUM = 32i32; | |
716 | pub const fjsRETRYING: FAX_JOB_STATUS_ENUM = 64i32; | |
717 | pub const fjsRETRIES_EXCEEDED: FAX_JOB_STATUS_ENUM = 128i32; | |
718 | pub const fjsCOMPLETED: FAX_JOB_STATUS_ENUM = 256i32; | |
719 | pub const fjsCANCELED: FAX_JOB_STATUS_ENUM = 512i32; | |
720 | pub const fjsCANCELING: FAX_JOB_STATUS_ENUM = 1024i32; | |
721 | pub const fjsROUTING: FAX_JOB_STATUS_ENUM = 2048i32; | |
722 | pub const FAX_JOB_SUBMIT: u32 = 1u32; | |
723 | pub type FAX_JOB_TYPE_ENUM = i32; | |
724 | pub const fjtSEND: FAX_JOB_TYPE_ENUM = 0i32; | |
725 | pub const fjtRECEIVE: FAX_JOB_TYPE_ENUM = 1i32; | |
726 | pub const fjtROUTING: FAX_JOB_TYPE_ENUM = 2i32; | |
727 | #[repr(C)] | |
728 | #[cfg(feature = "Win32_Foundation")] | |
729 | pub struct FAX_LOG_CATEGORYA { | |
730 | pub Name: super::super::Foundation::PSTR, | |
731 | pub Category: u32, | |
732 | pub Level: u32, | |
733 | } | |
734 | #[cfg(feature = "Win32_Foundation")] | |
735 | impl ::core::marker::Copy for FAX_LOG_CATEGORYA {} | |
736 | #[cfg(feature = "Win32_Foundation")] | |
737 | impl ::core::clone::Clone for FAX_LOG_CATEGORYA { | |
738 | fn clone(&self) -> Self { | |
739 | *self | |
740 | } | |
741 | } | |
742 | #[repr(C)] | |
743 | #[cfg(feature = "Win32_Foundation")] | |
744 | pub struct FAX_LOG_CATEGORYW { | |
745 | pub Name: super::super::Foundation::PWSTR, | |
746 | pub Category: u32, | |
747 | pub Level: u32, | |
748 | } | |
749 | #[cfg(feature = "Win32_Foundation")] | |
750 | impl ::core::marker::Copy for FAX_LOG_CATEGORYW {} | |
751 | #[cfg(feature = "Win32_Foundation")] | |
752 | impl ::core::clone::Clone for FAX_LOG_CATEGORYW { | |
753 | fn clone(&self) -> Self { | |
754 | *self | |
755 | } | |
756 | } | |
757 | pub type FAX_LOG_LEVEL_ENUM = i32; | |
758 | pub const fllNONE: FAX_LOG_LEVEL_ENUM = 0i32; | |
759 | pub const fllMIN: FAX_LOG_LEVEL_ENUM = 1i32; | |
760 | pub const fllMED: FAX_LOG_LEVEL_ENUM = 2i32; | |
761 | pub const fllMAX: FAX_LOG_LEVEL_ENUM = 3i32; | |
762 | #[repr(C)] | |
763 | #[cfg(feature = "Win32_Foundation")] | |
764 | pub struct FAX_PORT_INFOA { | |
765 | pub SizeOfStruct: u32, | |
766 | pub DeviceId: u32, | |
767 | pub State: u32, | |
768 | pub Flags: u32, | |
769 | pub Rings: u32, | |
770 | pub Priority: u32, | |
771 | pub DeviceName: super::super::Foundation::PSTR, | |
772 | pub Tsid: super::super::Foundation::PSTR, | |
773 | pub Csid: super::super::Foundation::PSTR, | |
774 | } | |
775 | #[cfg(feature = "Win32_Foundation")] | |
776 | impl ::core::marker::Copy for FAX_PORT_INFOA {} | |
777 | #[cfg(feature = "Win32_Foundation")] | |
778 | impl ::core::clone::Clone for FAX_PORT_INFOA { | |
779 | fn clone(&self) -> Self { | |
780 | *self | |
781 | } | |
782 | } | |
783 | #[repr(C)] | |
784 | #[cfg(feature = "Win32_Foundation")] | |
785 | pub struct FAX_PORT_INFOW { | |
786 | pub SizeOfStruct: u32, | |
787 | pub DeviceId: u32, | |
788 | pub State: u32, | |
789 | pub Flags: u32, | |
790 | pub Rings: u32, | |
791 | pub Priority: u32, | |
792 | pub DeviceName: super::super::Foundation::PWSTR, | |
793 | pub Tsid: super::super::Foundation::PWSTR, | |
794 | pub Csid: super::super::Foundation::PWSTR, | |
795 | } | |
796 | #[cfg(feature = "Win32_Foundation")] | |
797 | impl ::core::marker::Copy for FAX_PORT_INFOW {} | |
798 | #[cfg(feature = "Win32_Foundation")] | |
799 | impl ::core::clone::Clone for FAX_PORT_INFOW { | |
800 | fn clone(&self) -> Self { | |
801 | *self | |
802 | } | |
803 | } | |
804 | pub const FAX_PORT_QUERY: u32 = 16u32; | |
805 | pub const FAX_PORT_SET: u32 = 32u32; | |
806 | #[repr(C)] | |
807 | #[cfg(feature = "Win32_Foundation")] | |
808 | pub struct FAX_PRINT_INFOA { | |
809 | pub SizeOfStruct: u32, | |
810 | pub DocName: super::super::Foundation::PSTR, | |
811 | pub RecipientName: super::super::Foundation::PSTR, | |
812 | pub RecipientNumber: super::super::Foundation::PSTR, | |
813 | pub SenderName: super::super::Foundation::PSTR, | |
814 | pub SenderCompany: super::super::Foundation::PSTR, | |
815 | pub SenderDept: super::super::Foundation::PSTR, | |
816 | pub SenderBillingCode: super::super::Foundation::PSTR, | |
817 | pub Reserved: super::super::Foundation::PSTR, | |
818 | pub DrEmailAddress: super::super::Foundation::PSTR, | |
819 | pub OutputFileName: super::super::Foundation::PSTR, | |
820 | } | |
821 | #[cfg(feature = "Win32_Foundation")] | |
822 | impl ::core::marker::Copy for FAX_PRINT_INFOA {} | |
823 | #[cfg(feature = "Win32_Foundation")] | |
824 | impl ::core::clone::Clone for FAX_PRINT_INFOA { | |
825 | fn clone(&self) -> Self { | |
826 | *self | |
827 | } | |
828 | } | |
829 | #[repr(C)] | |
830 | #[cfg(feature = "Win32_Foundation")] | |
831 | pub struct FAX_PRINT_INFOW { | |
832 | pub SizeOfStruct: u32, | |
833 | pub DocName: super::super::Foundation::PWSTR, | |
834 | pub RecipientName: super::super::Foundation::PWSTR, | |
835 | pub RecipientNumber: super::super::Foundation::PWSTR, | |
836 | pub SenderName: super::super::Foundation::PWSTR, | |
837 | pub SenderCompany: super::super::Foundation::PWSTR, | |
838 | pub SenderDept: super::super::Foundation::PWSTR, | |
839 | pub SenderBillingCode: super::super::Foundation::PWSTR, | |
840 | pub Reserved: super::super::Foundation::PWSTR, | |
841 | pub DrEmailAddress: super::super::Foundation::PWSTR, | |
842 | pub OutputFileName: super::super::Foundation::PWSTR, | |
843 | } | |
844 | #[cfg(feature = "Win32_Foundation")] | |
845 | impl ::core::marker::Copy for FAX_PRINT_INFOW {} | |
846 | #[cfg(feature = "Win32_Foundation")] | |
847 | impl ::core::clone::Clone for FAX_PRINT_INFOW { | |
848 | fn clone(&self) -> Self { | |
849 | *self | |
850 | } | |
851 | } | |
852 | pub type FAX_PRIORITY_TYPE_ENUM = i32; | |
853 | pub const fptLOW: FAX_PRIORITY_TYPE_ENUM = 0i32; | |
854 | pub const fptNORMAL: FAX_PRIORITY_TYPE_ENUM = 1i32; | |
855 | pub const fptHIGH: FAX_PRIORITY_TYPE_ENUM = 2i32; | |
856 | pub type FAX_PROVIDER_STATUS_ENUM = i32; | |
857 | pub const fpsSUCCESS: FAX_PROVIDER_STATUS_ENUM = 0i32; | |
858 | pub const fpsSERVER_ERROR: FAX_PROVIDER_STATUS_ENUM = 1i32; | |
859 | pub const fpsBAD_GUID: FAX_PROVIDER_STATUS_ENUM = 2i32; | |
860 | pub const fpsBAD_VERSION: FAX_PROVIDER_STATUS_ENUM = 3i32; | |
861 | pub const fpsCANT_LOAD: FAX_PROVIDER_STATUS_ENUM = 4i32; | |
862 | pub const fpsCANT_LINK: FAX_PROVIDER_STATUS_ENUM = 5i32; | |
863 | pub const fpsCANT_INIT: FAX_PROVIDER_STATUS_ENUM = 6i32; | |
864 | pub type FAX_RECEIPT_TYPE_ENUM = i32; | |
865 | pub const frtNONE: FAX_RECEIPT_TYPE_ENUM = 0i32; | |
866 | pub const frtMAIL: FAX_RECEIPT_TYPE_ENUM = 1i32; | |
867 | pub const frtMSGBOX: FAX_RECEIPT_TYPE_ENUM = 4i32; | |
868 | #[repr(C)] | |
869 | #[cfg(feature = "Win32_Foundation")] | |
870 | pub struct FAX_RECEIVE { | |
871 | pub SizeOfStruct: u32, | |
872 | pub FileName: super::super::Foundation::PWSTR, | |
873 | pub ReceiverName: super::super::Foundation::PWSTR, | |
874 | pub ReceiverNumber: super::super::Foundation::PWSTR, | |
875 | pub Reserved: [u32; 4], | |
876 | } | |
877 | #[cfg(feature = "Win32_Foundation")] | |
878 | impl ::core::marker::Copy for FAX_RECEIVE {} | |
879 | #[cfg(feature = "Win32_Foundation")] | |
880 | impl ::core::clone::Clone for FAX_RECEIVE { | |
881 | fn clone(&self) -> Self { | |
882 | *self | |
883 | } | |
884 | } | |
885 | #[repr(C)] | |
886 | #[cfg(feature = "Win32_Foundation")] | |
887 | pub struct FAX_ROUTE { | |
888 | pub SizeOfStruct: u32, | |
889 | pub JobId: u32, | |
890 | pub ElapsedTime: u64, | |
891 | pub ReceiveTime: u64, | |
892 | pub PageCount: u32, | |
893 | pub Csid: super::super::Foundation::PWSTR, | |
894 | pub Tsid: super::super::Foundation::PWSTR, | |
895 | pub CallerId: super::super::Foundation::PWSTR, | |
896 | pub RoutingInfo: super::super::Foundation::PWSTR, | |
897 | pub ReceiverName: super::super::Foundation::PWSTR, | |
898 | pub ReceiverNumber: super::super::Foundation::PWSTR, | |
899 | pub DeviceName: super::super::Foundation::PWSTR, | |
900 | pub DeviceId: u32, | |
901 | pub RoutingInfoData: *mut u8, | |
902 | pub RoutingInfoDataSize: u32, | |
903 | } | |
904 | #[cfg(feature = "Win32_Foundation")] | |
905 | impl ::core::marker::Copy for FAX_ROUTE {} | |
906 | #[cfg(feature = "Win32_Foundation")] | |
907 | impl ::core::clone::Clone for FAX_ROUTE { | |
908 | fn clone(&self) -> Self { | |
909 | *self | |
910 | } | |
911 | } | |
912 | #[repr(C)] | |
913 | #[cfg(feature = "Win32_Foundation")] | |
914 | pub struct FAX_ROUTE_CALLBACKROUTINES { | |
915 | pub SizeOfStruct: u32, | |
916 | pub FaxRouteAddFile: PFAXROUTEADDFILE, | |
917 | pub FaxRouteDeleteFile: PFAXROUTEDELETEFILE, | |
918 | pub FaxRouteGetFile: PFAXROUTEGETFILE, | |
919 | pub FaxRouteEnumFiles: PFAXROUTEENUMFILES, | |
920 | pub FaxRouteModifyRoutingData: PFAXROUTEMODIFYROUTINGDATA, | |
921 | } | |
922 | #[cfg(feature = "Win32_Foundation")] | |
923 | impl ::core::marker::Copy for FAX_ROUTE_CALLBACKROUTINES {} | |
924 | #[cfg(feature = "Win32_Foundation")] | |
925 | impl ::core::clone::Clone for FAX_ROUTE_CALLBACKROUTINES { | |
926 | fn clone(&self) -> Self { | |
927 | *self | |
928 | } | |
929 | } | |
930 | #[repr(C)] | |
931 | #[cfg(feature = "Win32_Foundation")] | |
932 | pub struct FAX_ROUTING_METHODA { | |
933 | pub SizeOfStruct: u32, | |
934 | pub DeviceId: u32, | |
935 | pub Enabled: super::super::Foundation::BOOL, | |
936 | pub DeviceName: super::super::Foundation::PSTR, | |
937 | pub Guid: super::super::Foundation::PSTR, | |
938 | pub FriendlyName: super::super::Foundation::PSTR, | |
939 | pub FunctionName: super::super::Foundation::PSTR, | |
940 | pub ExtensionImageName: super::super::Foundation::PSTR, | |
941 | pub ExtensionFriendlyName: super::super::Foundation::PSTR, | |
942 | } | |
943 | #[cfg(feature = "Win32_Foundation")] | |
944 | impl ::core::marker::Copy for FAX_ROUTING_METHODA {} | |
945 | #[cfg(feature = "Win32_Foundation")] | |
946 | impl ::core::clone::Clone for FAX_ROUTING_METHODA { | |
947 | fn clone(&self) -> Self { | |
948 | *self | |
949 | } | |
950 | } | |
951 | #[repr(C)] | |
952 | #[cfg(feature = "Win32_Foundation")] | |
953 | pub struct FAX_ROUTING_METHODW { | |
954 | pub SizeOfStruct: u32, | |
955 | pub DeviceId: u32, | |
956 | pub Enabled: super::super::Foundation::BOOL, | |
957 | pub DeviceName: super::super::Foundation::PWSTR, | |
958 | pub Guid: super::super::Foundation::PWSTR, | |
959 | pub FriendlyName: super::super::Foundation::PWSTR, | |
960 | pub FunctionName: super::super::Foundation::PWSTR, | |
961 | pub ExtensionImageName: super::super::Foundation::PWSTR, | |
962 | pub ExtensionFriendlyName: super::super::Foundation::PWSTR, | |
963 | } | |
964 | #[cfg(feature = "Win32_Foundation")] | |
965 | impl ::core::marker::Copy for FAX_ROUTING_METHODW {} | |
966 | #[cfg(feature = "Win32_Foundation")] | |
967 | impl ::core::clone::Clone for FAX_ROUTING_METHODW { | |
968 | fn clone(&self) -> Self { | |
969 | *self | |
970 | } | |
971 | } | |
972 | pub type FAX_ROUTING_RULE_CODE_ENUM = i32; | |
973 | pub const frrcANY_CODE: FAX_ROUTING_RULE_CODE_ENUM = 0i32; | |
974 | pub type FAX_RULE_STATUS_ENUM = i32; | |
975 | pub const frsVALID: FAX_RULE_STATUS_ENUM = 0i32; | |
976 | pub const frsEMPTY_GROUP: FAX_RULE_STATUS_ENUM = 1i32; | |
977 | pub const frsALL_GROUP_DEV_NOT_VALID: FAX_RULE_STATUS_ENUM = 2i32; | |
978 | pub const frsSOME_GROUP_DEV_NOT_VALID: FAX_RULE_STATUS_ENUM = 3i32; | |
979 | pub const frsBAD_DEVICE: FAX_RULE_STATUS_ENUM = 4i32; | |
980 | pub type FAX_SCHEDULE_TYPE_ENUM = i32; | |
981 | pub const fstNOW: FAX_SCHEDULE_TYPE_ENUM = 0i32; | |
982 | pub const fstSPECIFIC_TIME: FAX_SCHEDULE_TYPE_ENUM = 1i32; | |
983 | pub const fstDISCOUNT_PERIOD: FAX_SCHEDULE_TYPE_ENUM = 2i32; | |
984 | #[repr(C)] | |
985 | #[cfg(feature = "Win32_Foundation")] | |
986 | pub struct FAX_SEND { | |
987 | pub SizeOfStruct: u32, | |
988 | pub FileName: super::super::Foundation::PWSTR, | |
989 | pub CallerName: super::super::Foundation::PWSTR, | |
990 | pub CallerNumber: super::super::Foundation::PWSTR, | |
991 | pub ReceiverName: super::super::Foundation::PWSTR, | |
992 | pub ReceiverNumber: super::super::Foundation::PWSTR, | |
993 | pub Branding: super::super::Foundation::BOOL, | |
994 | pub CallHandle: u32, | |
995 | pub Reserved: [u32; 3], | |
996 | } | |
997 | #[cfg(feature = "Win32_Foundation")] | |
998 | impl ::core::marker::Copy for FAX_SEND {} | |
999 | #[cfg(feature = "Win32_Foundation")] | |
1000 | impl ::core::clone::Clone for FAX_SEND { | |
1001 | fn clone(&self) -> Self { | |
1002 | *self | |
1003 | } | |
1004 | } | |
1005 | pub type FAX_SERVER_APIVERSION_ENUM = i32; | |
1006 | pub const fsAPI_VERSION_0: FAX_SERVER_APIVERSION_ENUM = 0i32; | |
1007 | pub const fsAPI_VERSION_1: FAX_SERVER_APIVERSION_ENUM = 65536i32; | |
1008 | pub const fsAPI_VERSION_2: FAX_SERVER_APIVERSION_ENUM = 131072i32; | |
1009 | pub const fsAPI_VERSION_3: FAX_SERVER_APIVERSION_ENUM = 196608i32; | |
1010 | pub type FAX_SERVER_EVENTS_TYPE_ENUM = i32; | |
1011 | pub const fsetNONE: FAX_SERVER_EVENTS_TYPE_ENUM = 0i32; | |
1012 | pub const fsetIN_QUEUE: FAX_SERVER_EVENTS_TYPE_ENUM = 1i32; | |
1013 | pub const fsetOUT_QUEUE: FAX_SERVER_EVENTS_TYPE_ENUM = 2i32; | |
1014 | pub const fsetCONFIG: FAX_SERVER_EVENTS_TYPE_ENUM = 4i32; | |
1015 | pub const fsetACTIVITY: FAX_SERVER_EVENTS_TYPE_ENUM = 8i32; | |
1016 | pub const fsetQUEUE_STATE: FAX_SERVER_EVENTS_TYPE_ENUM = 16i32; | |
1017 | pub const fsetIN_ARCHIVE: FAX_SERVER_EVENTS_TYPE_ENUM = 32i32; | |
1018 | pub const fsetOUT_ARCHIVE: FAX_SERVER_EVENTS_TYPE_ENUM = 64i32; | |
1019 | pub const fsetFXSSVC_ENDED: FAX_SERVER_EVENTS_TYPE_ENUM = 128i32; | |
1020 | pub const fsetDEVICE_STATUS: FAX_SERVER_EVENTS_TYPE_ENUM = 256i32; | |
1021 | pub const fsetINCOMING_CALL: FAX_SERVER_EVENTS_TYPE_ENUM = 512i32; | |
1022 | pub type FAX_SMTP_AUTHENTICATION_TYPE_ENUM = i32; | |
1023 | pub const fsatANONYMOUS: FAX_SMTP_AUTHENTICATION_TYPE_ENUM = 0i32; | |
1024 | pub const fsatBASIC: FAX_SMTP_AUTHENTICATION_TYPE_ENUM = 1i32; | |
1025 | pub const fsatNTLM: FAX_SMTP_AUTHENTICATION_TYPE_ENUM = 2i32; | |
1026 | #[repr(C)] | |
1027 | pub struct FAX_TIME { | |
1028 | pub Hour: u16, | |
1029 | pub Minute: u16, | |
1030 | } | |
1031 | impl ::core::marker::Copy for FAX_TIME {} | |
1032 | impl ::core::clone::Clone for FAX_TIME { | |
1033 | fn clone(&self) -> Self { | |
1034 | *self | |
1035 | } | |
1036 | } | |
1037 | pub const FEI_ABORTING: u32 = 15u32; | |
1038 | pub const FEI_ANSWERED: u32 = 21u32; | |
1039 | pub const FEI_BAD_ADDRESS: u32 = 7u32; | |
1040 | pub const FEI_BUSY: u32 = 5u32; | |
1041 | pub const FEI_CALL_BLACKLISTED: u32 = 13u32; | |
1042 | pub const FEI_CALL_DELAYED: u32 = 12u32; | |
1043 | pub const FEI_COMPLETED: u32 = 4u32; | |
1044 | pub const FEI_DELETED: u32 = 23u32; | |
1045 | pub const FEI_DIALING: u32 = 1u32; | |
1046 | pub const FEI_DISCONNECTED: u32 = 9u32; | |
1047 | pub const FEI_FATAL_ERROR: u32 = 10u32; | |
1048 | pub const FEI_FAXSVC_ENDED: u32 = 20u32; | |
1049 | pub const FEI_FAXSVC_STARTED: u32 = 27u32; | |
1050 | pub const FEI_HANDLED: u32 = 26u32; | |
1051 | pub const FEI_IDLE: u32 = 19u32; | |
1052 | pub const FEI_INITIALIZING: u32 = 24u32; | |
1053 | pub const FEI_JOB_QUEUED: u32 = 22u32; | |
1054 | pub const FEI_LINE_UNAVAILABLE: u32 = 25u32; | |
1055 | pub const FEI_MODEM_POWERED_OFF: u32 = 18u32; | |
1056 | pub const FEI_MODEM_POWERED_ON: u32 = 17u32; | |
1057 | pub const FEI_NEVENTS: u32 = 27u32; | |
1058 | pub const FEI_NOT_FAX_CALL: u32 = 11u32; | |
1059 | pub const FEI_NO_ANSWER: u32 = 6u32; | |
1060 | pub const FEI_NO_DIAL_TONE: u32 = 8u32; | |
1061 | pub const FEI_RECEIVING: u32 = 3u32; | |
1062 | pub const FEI_RINGING: u32 = 14u32; | |
1063 | pub const FEI_ROUTING: u32 = 16u32; | |
1064 | pub const FEI_SENDING: u32 = 2u32; | |
1065 | pub const FPF_RECEIVE: u32 = 1u32; | |
1066 | pub const FPF_SEND: u32 = 2u32; | |
1067 | pub const FPF_VIRTUAL: u32 = 4u32; | |
1068 | pub const FPS_ABORTING: u32 = 538968064u32; | |
1069 | pub const FPS_ANSWERED: u32 = 545259520u32; | |
1070 | pub const FPS_AVAILABLE: u32 = 537919488u32; | |
1071 | pub const FPS_BAD_ADDRESS: u32 = 536871168u32; | |
1072 | pub const FPS_BUSY: u32 = 536870976u32; | |
1073 | pub const FPS_CALL_BLACKLISTED: u32 = 536887296u32; | |
1074 | pub const FPS_CALL_DELAYED: u32 = 536879104u32; | |
1075 | pub const FPS_COMPLETED: u32 = 536870920u32; | |
1076 | pub const FPS_DIALING: u32 = 536870913u32; | |
1077 | pub const FPS_DISCONNECTED: u32 = 536871936u32; | |
1078 | pub const FPS_FATAL_ERROR: u32 = 536872960u32; | |
1079 | pub const FPS_HANDLED: u32 = 536870928u32; | |
1080 | pub const FPS_INITIALIZING: u32 = 536903680u32; | |
1081 | pub const FPS_NOT_FAX_CALL: u32 = 536875008u32; | |
1082 | pub const FPS_NO_ANSWER: u32 = 536871040u32; | |
1083 | pub const FPS_NO_DIAL_TONE: u32 = 536871424u32; | |
1084 | pub const FPS_OFFLINE: u32 = 536936448u32; | |
1085 | pub const FPS_RECEIVING: u32 = 536870916u32; | |
1086 | pub const FPS_RINGING: u32 = 537001984u32; | |
1087 | pub const FPS_ROUTING: u32 = 541065216u32; | |
1088 | pub const FPS_SENDING: u32 = 536870914u32; | |
1089 | pub const FPS_UNAVAILABLE: u32 = 536870944u32; | |
1090 | pub const FS_ANSWERED: u32 = 545259520u32; | |
1091 | pub const FS_BAD_ADDRESS: u32 = 536871168u32; | |
1092 | pub const FS_BUSY: u32 = 536870976u32; | |
1093 | pub const FS_CALL_BLACKLISTED: u32 = 536887296u32; | |
1094 | pub const FS_CALL_DELAYED: u32 = 536879104u32; | |
1095 | pub const FS_COMPLETED: u32 = 536870920u32; | |
1096 | pub const FS_DIALING: u32 = 536870913u32; | |
1097 | pub const FS_DISCONNECTED: u32 = 536871936u32; | |
1098 | pub const FS_FATAL_ERROR: u32 = 536872960u32; | |
1099 | pub const FS_HANDLED: u32 = 536870928u32; | |
1100 | pub const FS_INITIALIZING: u32 = 536870912u32; | |
1101 | pub const FS_LINE_UNAVAILABLE: u32 = 536870944u32; | |
1102 | pub const FS_NOT_FAX_CALL: u32 = 536875008u32; | |
1103 | pub const FS_NO_ANSWER: u32 = 536871040u32; | |
1104 | pub const FS_NO_DIAL_TONE: u32 = 536871424u32; | |
1105 | pub const FS_RECEIVING: u32 = 536870916u32; | |
1106 | pub const FS_TRANSMITTING: u32 = 536870914u32; | |
1107 | pub const FS_USER_ABORT: u32 = 538968064u32; | |
1108 | pub const FaxAccount: ::windows_sys::core::GUID = ::windows_sys::core::GUID { | |
1109 | data1: 2816500863, | |
1110 | data2: 17700, | |
1111 | data3: 17508, | |
1112 | data4: [165, 109, 185, 254, 102, 111, 113, 94], | |
1113 | }; | |
1114 | pub const FaxAccountFolders: ::windows_sys::core::GUID = ::windows_sys::core::GUID { | |
1115 | data1: 2235141961, | |
1116 | data2: 49204, | |
1117 | data3: 19007, | |
1118 | data4: [130, 28, 219, 125, 104, 94, 129, 41], | |
1119 | }; | |
1120 | pub const FaxAccountIncomingArchive: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 347291061, data2: 19520, data3: 20175, data4: [158, 248, 163, 96, 203, 232, 9, 237] }; | |
1121 | pub const FaxAccountIncomingQueue: ::windows_sys::core::GUID = ::windows_sys::core::GUID { | |
1122 | data1: 2614059156, | |
1123 | data2: 46298, | |
1124 | data3: 17908, | |
1125 | data4: [184, 214, 221, 235, 33, 134, 101, 44], | |
1126 | }; | |
1127 | pub const FaxAccountOutgoingArchive: ::windows_sys::core::GUID = ::windows_sys::core::GUID { | |
1128 | data1: 2233367285, | |
1129 | data2: 17210, | |
1130 | data3: 18233, | |
1131 | data4: [162, 223, 173, 36, 92, 44, 185, 142], | |
1132 | }; | |
1133 | pub const FaxAccountOutgoingQueue: ::windows_sys::core::GUID = ::windows_sys::core::GUID { | |
1134 | data1: 4276940539, | |
1135 | data2: 49481, | |
1136 | data3: 18618, | |
1137 | data4: [186, 184, 183, 145, 225, 1, 246, 47], | |
1138 | }; | |
1139 | pub const FaxAccountSet: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 4223810635, data2: 31200, data3: 17041, data4: [188, 86, 193, 46, 37, 59, 191, 58] }; | |
1140 | pub const FaxAccounts: ::windows_sys::core::GUID = ::windows_sys::core::GUID { | |
1141 | data1: 3659502762, | |
1142 | data2: 60972, | |
1143 | data3: 18368, | |
1144 | data4: [143, 79, 42, 33, 112, 117, 183, 110], | |
1145 | }; | |
1146 | pub const FaxActivity: ::windows_sys::core::GUID = ::windows_sys::core::GUID { | |
1147 | data1: 3488570638, | |
1148 | data2: 59469, | |
1149 | data3: 17966, | |
1150 | data4: [170, 187, 135, 211, 30, 176, 79, 239], | |
1151 | }; | |
1152 | pub const FaxActivityLogging: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 4037028174, data2: 15293, data3: 18616, data4: [143, 19, 140, 89, 26, 85, 189, 188] }; | |
1153 | pub const FaxConfiguration: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1482109551, data2: 59315, data3: 16807, data4: [156, 25, 169, 27, 70, 62, 45, 86] }; | |
1154 | pub const FaxDevice: ::windows_sys::core::GUID = ::windows_sys::core::GUID { | |
1155 | data1: 1508091314, | |
1156 | data2: 54902, | |
1157 | data3: 18507, | |
1158 | data4: [166, 222, 114, 11, 250, 137, 181, 175], | |
1159 | }; | |
1160 | pub const FaxDeviceIds: ::windows_sys::core::GUID = ::windows_sys::core::GUID { | |
1161 | data1: 3452254698, | |
1162 | data2: 29303, | |
1163 | data3: 17934, | |
1164 | data4: [141, 224, 72, 160, 165, 118, 13, 31], | |
1165 | }; | |
1166 | pub const FaxDeviceProvider: ::windows_sys::core::GUID = ::windows_sys::core::GUID { | |
1167 | data1: 399448739, | |
1168 | data2: 62955, | |
1169 | data3: 18506, | |
1170 | data4: [156, 154, 68, 64, 165, 186, 171, 252], | |
1171 | }; | |
1172 | pub const FaxDeviceProviders: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 3952076648, data2: 34650, data3: 20319, data4: [130, 197, 3, 242, 58, 172, 27, 215] }; | |
1173 | pub const FaxDevices: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1435099790, data2: 9163, data3: 18713, data4: [136, 8, 230, 16, 24, 70, 232, 13] }; | |
1174 | pub const FaxDocument: ::windows_sys::core::GUID = ::windows_sys::core::GUID { | |
1175 | data1: 255827857, | |
1176 | data2: 51256, | |
1177 | data3: 16734, | |
1178 | data4: [164, 243, 62, 130, 140, 164, 69, 224], | |
1179 | }; | |
1180 | pub const FaxEventLogging: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2793736496, data2: 41206, data3: 19055, data4: [149, 183, 219, 46, 191, 61, 2, 227] }; | |
1181 | pub const FaxFolders: ::windows_sys::core::GUID = ::windows_sys::core::GUID { | |
1182 | data1: 3276935639, | |
1183 | data2: 22390, | |
1184 | data3: 18635, | |
1185 | data4: [175, 68, 195, 27, 227, 178, 207, 229], | |
1186 | }; | |
1187 | pub const FaxInboundRouting: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 3892463853, data2: 44389, data3: 16920, data4: [129, 8, 153, 25, 36, 212, 231, 237] }; | |
1188 | pub const FaxInboundRoutingExtension: ::windows_sys::core::GUID = ::windows_sys::core::GUID { | |
1189 | data1: 494795601, | |
1190 | data2: 29191, | |
1191 | data3: 17462, | |
1192 | data4: [160, 217, 36, 227, 46, 229, 105, 136], | |
1193 | }; | |
1194 | pub const FaxInboundRoutingExtensions: ::windows_sys::core::GUID = ::windows_sys::core::GUID { | |
1195 | data1: 412764397, | |
1196 | data2: 25148, | |
1197 | data3: 19469, | |
1198 | data4: [128, 242, 214, 108, 123, 158, 254, 194], | |
1199 | }; | |
1200 | pub const FaxInboundRoutingMethod: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1268766556, data2: 404, data3: 19314, data4: [156, 229, 2, 168, 32, 90, 199, 212] }; | |
1201 | pub const FaxInboundRoutingMethods: ::windows_sys::core::GUID = ::windows_sys::core::GUID { | |
1202 | data1: 637319018, | |
1203 | data2: 46928, | |
1204 | data3: 19330, | |
1205 | data4: [146, 102, 251, 187, 174, 137, 34, 186], | |
1206 | }; | |
1207 | pub const FaxIncomingArchive: ::windows_sys::core::GUID = ::windows_sys::core::GUID { | |
1208 | data1: 2217133418, | |
1209 | data2: 13729, | |
1210 | data3: 19567, | |
1211 | data4: [175, 147, 252, 149, 36, 34, 226, 194], | |
1212 | }; | |
1213 | pub const FaxIncomingJob: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 3295875564, data2: 44594, data3: 16824, data4: [174, 75, 62, 174, 6, 41, 208, 201] }; | |
1214 | pub const FaxIncomingJobs: ::windows_sys::core::GUID = ::windows_sys::core::GUID { | |
1215 | data1: 2713422403, | |
1216 | data2: 34918, | |
1217 | data3: 20407, | |
1218 | data4: [161, 93, 98, 102, 200, 117, 165, 204], | |
1219 | }; | |
1220 | pub const FaxIncomingMessage: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 422771959, data2: 40259, data3: 19802, data4: [137, 255, 3, 134, 27, 50, 23, 54] }; | |
1221 | pub const FaxIncomingMessageIterator: ::windows_sys::core::GUID = ::windows_sys::core::GUID { | |
1222 | data1: 1619583448, | |
1223 | data2: 16328, | |
1224 | data3: 17858, | |
1225 | data4: [135, 177, 144, 154, 41, 96, 126, 169], | |
1226 | }; | |
1227 | pub const FaxIncomingQueue: ::windows_sys::core::GUID = ::windows_sys::core::GUID { | |
1228 | data1: 1762858775, | |
1229 | data2: 62449, | |
1230 | data3: 16611, | |
1231 | data4: [128, 157, 166, 203, 247, 189, 133, 229], | |
1232 | }; | |
1233 | pub const FaxJobStatus: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2079466228, data2: 48781, data3: 17455, data4: [132, 29, 97, 50, 116, 36, 35, 187] }; | |
1234 | pub const FaxLoggingOptions: ::windows_sys::core::GUID = ::windows_sys::core::GUID { | |
1235 | data1: 469364390, | |
1236 | data2: 60640, | |
1237 | data3: 18309, | |
1238 | data4: [161, 139, 222, 86, 233, 238, 249, 106], | |
1239 | }; | |
1240 | pub const FaxOutboundRouting: ::windows_sys::core::GUID = ::windows_sys::core::GUID { | |
1241 | data1: 3357227102, | |
1242 | data2: 47209, | |
1243 | data3: 19197, | |
1244 | data4: [134, 192, 97, 100, 152, 237, 155, 226], | |
1245 | }; | |
1246 | pub const FaxOutboundRoutingGroup: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 34862048, data2: 26513, data3: 19831, data4: [162, 113, 4, 210, 53, 124, 80, 214] }; | |
1247 | pub const FaxOutboundRoutingGroups: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 3435045285, data2: 58036, data3: 19287, data4: [148, 33, 176, 75, 98, 137, 70, 75] }; | |
1248 | pub const FaxOutboundRoutingRule: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1699344063, data2: 2257, data3: 18266, data4: [130, 139, 59, 241, 5, 149, 47, 160] }; | |
1249 | pub const FaxOutboundRoutingRules: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 3548757706, data2: 58916, data3: 17523, data4: [191, 170, 159, 64, 0, 131, 31, 84] }; | |
1250 | pub const FaxOutgoingArchive: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1136821251, data2: 57423, data3: 18253, data4: [153, 12, 185, 70, 105, 20, 143, 89] }; | |
1251 | pub const FaxOutgoingJob: ::windows_sys::core::GUID = ::windows_sys::core::GUID { | |
1252 | data1: 1908097692, | |
1253 | data2: 3833, | |
1254 | data3: 18709, | |
1255 | data4: [190, 197, 165, 216, 151, 163, 233, 36], | |
1256 | }; | |
1257 | pub const FaxOutgoingJobs: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2462001772, data2: 14270, data3: 17402, data4: [163, 125, 203, 14, 95, 117, 59, 53] }; | |
1258 | pub const FaxOutgoingMessage: ::windows_sys::core::GUID = ::windows_sys::core::GUID { | |
1259 | data1: 2444534648, | |
1260 | data2: 19160, | |
1261 | data3: 19183, | |
1262 | data4: [164, 220, 151, 217, 110, 147, 154, 58], | |
1263 | }; | |
1264 | pub const FaxOutgoingMessageIterator: ::windows_sys::core::GUID = ::windows_sys::core::GUID { | |
1265 | data1: 2318542032, | |
1266 | data2: 54027, | |
1267 | data3: 18910, | |
1268 | data4: [152, 19, 203, 56, 87, 144, 251, 187], | |
1269 | }; | |
1270 | pub const FaxOutgoingQueue: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1948325534, data2: 35907, data3: 19213, data4: [187, 22, 100, 92, 143, 164, 3, 87] }; | |
1271 | pub const FaxReceiptOptions: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1770145915, data2: 8827, data3: 19606, data4: [166, 28, 36, 131, 72, 176, 90, 182] }; | |
1272 | pub const FaxRecipient: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1623143169, data2: 32248, data3: 19416, data4: [145, 72, 123, 88, 1, 249, 239, 223] }; | |
1273 | pub const FaxRecipients: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 3936083795, data2: 4265, data3: 19791, data4: [160, 103, 99, 200, 248, 79, 1, 176] }; | |
1274 | pub const FaxSecurity: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 281337310, data2: 44016, data3: 17375, data4: [150, 79, 127, 58, 194, 26, 76, 123] }; | |
1275 | pub const FaxSecurity2: ::windows_sys::core::GUID = ::windows_sys::core::GUID { | |
1276 | data1: 1935413832, | |
1277 | data2: 60553, | |
1278 | data3: 19504, | |
1279 | data4: [161, 39, 101, 110, 146, 227, 196, 234], | |
1280 | }; | |
1281 | pub const FaxSender: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 643663056, data2: 6224, data3: 17248, data4: [183, 200, 117, 139, 187, 95, 11, 150] }; | |
1282 | pub const FaxServer: ::windows_sys::core::GUID = ::windows_sys::core::GUID { | |
1283 | data1: 3450383536, | |
1284 | data2: 36085, | |
1285 | data3: 20332, | |
1286 | data4: [155, 162, 89, 49, 212, 12, 140, 174], | |
1287 | }; | |
1288 | pub const GUID_DeviceArrivedLaunch: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1947049702, data2: 28913, data3: 4561, data4: [173, 16, 0, 160, 36, 56, 173, 72] }; | |
1289 | pub const GUID_STIUserDefined1: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 3222189973, data2: 35950, data3: 4562, data4: [151, 122, 0, 0, 248, 122, 146, 111] }; | |
1290 | pub const GUID_STIUserDefined2: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 3346721221, data2: 35950, data3: 4562, data4: [151, 122, 0, 0, 248, 122, 146, 111] }; | |
1291 | pub const GUID_STIUserDefined3: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 3346721222, data2: 35950, data3: 4562, data4: [151, 122, 0, 0, 248, 122, 146, 111] }; | |
1292 | pub const GUID_ScanFaxImage: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 3222189971, data2: 35950, data3: 4562, data4: [151, 122, 0, 0, 248, 122, 146, 111] }; | |
1293 | pub const GUID_ScanImage: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2797971221, data2: 35950, data3: 4562, data4: [151, 122, 0, 0, 248, 122, 146, 111] }; | |
1294 | pub const GUID_ScanPrintImage: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 3024221221, data2: 35950, data3: 4562, data4: [151, 122, 0, 0, 248, 122, 146, 111] }; | |
1295 | pub type IFaxAccount = *mut ::core::ffi::c_void; | |
1296 | pub type IFaxAccountFolders = *mut ::core::ffi::c_void; | |
1297 | pub type IFaxAccountIncomingArchive = *mut ::core::ffi::c_void; | |
1298 | pub type IFaxAccountIncomingQueue = *mut ::core::ffi::c_void; | |
1299 | pub type IFaxAccountNotify = *mut ::core::ffi::c_void; | |
1300 | pub type IFaxAccountOutgoingArchive = *mut ::core::ffi::c_void; | |
1301 | pub type IFaxAccountOutgoingQueue = *mut ::core::ffi::c_void; | |
1302 | pub type IFaxAccountSet = *mut ::core::ffi::c_void; | |
1303 | pub type IFaxAccounts = *mut ::core::ffi::c_void; | |
1304 | pub type IFaxActivity = *mut ::core::ffi::c_void; | |
1305 | pub type IFaxActivityLogging = *mut ::core::ffi::c_void; | |
1306 | pub type IFaxConfiguration = *mut ::core::ffi::c_void; | |
1307 | pub type IFaxDevice = *mut ::core::ffi::c_void; | |
1308 | pub type IFaxDeviceIds = *mut ::core::ffi::c_void; | |
1309 | pub type IFaxDeviceProvider = *mut ::core::ffi::c_void; | |
1310 | pub type IFaxDeviceProviders = *mut ::core::ffi::c_void; | |
1311 | pub type IFaxDevices = *mut ::core::ffi::c_void; | |
1312 | pub type IFaxDocument = *mut ::core::ffi::c_void; | |
1313 | pub type IFaxDocument2 = *mut ::core::ffi::c_void; | |
1314 | pub type IFaxEventLogging = *mut ::core::ffi::c_void; | |
1315 | pub type IFaxFolders = *mut ::core::ffi::c_void; | |
1316 | pub type IFaxInboundRouting = *mut ::core::ffi::c_void; | |
1317 | pub type IFaxInboundRoutingExtension = *mut ::core::ffi::c_void; | |
1318 | pub type IFaxInboundRoutingExtensions = *mut ::core::ffi::c_void; | |
1319 | pub type IFaxInboundRoutingMethod = *mut ::core::ffi::c_void; | |
1320 | pub type IFaxInboundRoutingMethods = *mut ::core::ffi::c_void; | |
1321 | pub type IFaxIncomingArchive = *mut ::core::ffi::c_void; | |
1322 | pub type IFaxIncomingJob = *mut ::core::ffi::c_void; | |
1323 | pub type IFaxIncomingJobs = *mut ::core::ffi::c_void; | |
1324 | pub type IFaxIncomingMessage = *mut ::core::ffi::c_void; | |
1325 | pub type IFaxIncomingMessage2 = *mut ::core::ffi::c_void; | |
1326 | pub type IFaxIncomingMessageIterator = *mut ::core::ffi::c_void; | |
1327 | pub type IFaxIncomingQueue = *mut ::core::ffi::c_void; | |
1328 | pub type IFaxJobStatus = *mut ::core::ffi::c_void; | |
1329 | pub type IFaxLoggingOptions = *mut ::core::ffi::c_void; | |
1330 | pub type IFaxOutboundRouting = *mut ::core::ffi::c_void; | |
1331 | pub type IFaxOutboundRoutingGroup = *mut ::core::ffi::c_void; | |
1332 | pub type IFaxOutboundRoutingGroups = *mut ::core::ffi::c_void; | |
1333 | pub type IFaxOutboundRoutingRule = *mut ::core::ffi::c_void; | |
1334 | pub type IFaxOutboundRoutingRules = *mut ::core::ffi::c_void; | |
1335 | pub type IFaxOutgoingArchive = *mut ::core::ffi::c_void; | |
1336 | pub type IFaxOutgoingJob = *mut ::core::ffi::c_void; | |
1337 | pub type IFaxOutgoingJob2 = *mut ::core::ffi::c_void; | |
1338 | pub type IFaxOutgoingJobs = *mut ::core::ffi::c_void; | |
1339 | pub type IFaxOutgoingMessage = *mut ::core::ffi::c_void; | |
1340 | pub type IFaxOutgoingMessage2 = *mut ::core::ffi::c_void; | |
1341 | pub type IFaxOutgoingMessageIterator = *mut ::core::ffi::c_void; | |
1342 | pub type IFaxOutgoingQueue = *mut ::core::ffi::c_void; | |
1343 | pub type IFaxReceiptOptions = *mut ::core::ffi::c_void; | |
1344 | pub type IFaxRecipient = *mut ::core::ffi::c_void; | |
1345 | pub type IFaxRecipients = *mut ::core::ffi::c_void; | |
1346 | pub type IFaxSecurity = *mut ::core::ffi::c_void; | |
1347 | pub type IFaxSecurity2 = *mut ::core::ffi::c_void; | |
1348 | pub type IFaxSender = *mut ::core::ffi::c_void; | |
1349 | pub type IFaxServer = *mut ::core::ffi::c_void; | |
1350 | pub type IFaxServer2 = *mut ::core::ffi::c_void; | |
1351 | pub type IFaxServerNotify = *mut ::core::ffi::c_void; | |
1352 | pub type IFaxServerNotify2 = *mut ::core::ffi::c_void; | |
1353 | pub const IS_DIGITAL_CAMERA_VAL: u32 = 1u32; | |
1354 | pub type IStiDevice = *mut ::core::ffi::c_void; | |
1355 | pub type IStiDeviceControl = *mut ::core::ffi::c_void; | |
1356 | #[repr(C)] | |
1357 | pub struct IStiDeviceW(pub u8); | |
1358 | pub type IStiUSD = *mut ::core::ffi::c_void; | |
1359 | pub type IStillImageW = *mut ::core::ffi::c_void; | |
1360 | pub const JS_DELETING: u32 = 2u32; | |
1361 | pub const JS_FAILED: u32 = 4u32; | |
1362 | pub const JS_INPROGRESS: u32 = 1u32; | |
1363 | pub const JS_NOLINE: u32 = 16u32; | |
1364 | pub const JS_PAUSED: u32 = 8u32; | |
1365 | pub const JS_PENDING: u32 = 0u32; | |
1366 | pub const JS_RETRIES_EXCEEDED: u32 = 64u32; | |
1367 | pub const JS_RETRYING: u32 = 32u32; | |
1368 | pub const JT_FAIL_RECEIVE: u32 = 4u32; | |
1369 | pub const JT_RECEIVE: u32 = 2u32; | |
1370 | pub const JT_ROUTING: u32 = 3u32; | |
1371 | pub const JT_SEND: u32 = 1u32; | |
1372 | pub const JT_UNKNOWN: u32 = 0u32; | |
1373 | pub const MAX_NOTIFICATION_DATA: u32 = 64u32; | |
1374 | #[cfg(feature = "Win32_Foundation")] | |
1375 | pub type PFAXABORT = unsafe extern "system" fn(faxhandle: super::super::Foundation::HANDLE, jobid: u32) -> super::super::Foundation::BOOL; | |
1376 | #[cfg(feature = "Win32_Foundation")] | |
1377 | pub type PFAXACCESSCHECK = unsafe extern "system" fn(faxhandle: super::super::Foundation::HANDLE, accessmask: u32) -> super::super::Foundation::BOOL; | |
1378 | #[cfg(feature = "Win32_Foundation")] | |
1379 | pub type PFAXCLOSE = unsafe extern "system" fn(faxhandle: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; | |
1380 | #[cfg(feature = "Win32_Foundation")] | |
1381 | pub type PFAXCOMPLETEJOBPARAMSA = unsafe extern "system" fn(jobparams: *mut *mut FAX_JOB_PARAMA, coverpageinfo: *mut *mut FAX_COVERPAGE_INFOA) -> super::super::Foundation::BOOL; | |
1382 | #[cfg(feature = "Win32_Foundation")] | |
1383 | pub type PFAXCOMPLETEJOBPARAMSW = unsafe extern "system" fn(jobparams: *mut *mut FAX_JOB_PARAMW, coverpageinfo: *mut *mut FAX_COVERPAGE_INFOW) -> super::super::Foundation::BOOL; | |
1384 | #[cfg(feature = "Win32_Foundation")] | |
1385 | pub type PFAXCONNECTFAXSERVERA = unsafe extern "system" fn(machinename: super::super::Foundation::PSTR, faxhandle: *mut super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; | |
1386 | #[cfg(feature = "Win32_Foundation")] | |
1387 | pub type PFAXCONNECTFAXSERVERW = unsafe extern "system" fn(machinename: super::super::Foundation::PWSTR, faxhandle: *mut super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; | |
1388 | #[cfg(feature = "Win32_Foundation")] | |
1389 | pub type PFAXDEVABORTOPERATION = unsafe extern "system" fn(param0: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; | |
1390 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))] | |
1391 | pub type PFAXDEVCONFIGURE = unsafe extern "system" fn(param0: *mut super::super::UI::Controls::HPROPSHEETPAGE) -> super::super::Foundation::BOOL; | |
1392 | #[cfg(feature = "Win32_Foundation")] | |
1393 | pub type PFAXDEVENDJOB = unsafe extern "system" fn(param0: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; | |
1394 | #[cfg(feature = "Win32_Foundation")] | |
1395 | pub type PFAXDEVINITIALIZE = unsafe extern "system" fn(param0: u32, param1: super::super::Foundation::HANDLE, param2: *mut ::core::option::Option<PFAX_LINECALLBACK>, param3: ::core::option::Option<PFAX_SERVICE_CALLBACK>) -> super::super::Foundation::BOOL; | |
1396 | #[cfg(feature = "Win32_Foundation")] | |
1397 | pub type PFAXDEVRECEIVE = unsafe extern "system" fn(param0: super::super::Foundation::HANDLE, param1: u32, param2: *mut FAX_RECEIVE) -> super::super::Foundation::BOOL; | |
1398 | #[cfg(feature = "Win32_Foundation")] | |
1399 | pub type PFAXDEVREPORTSTATUS = unsafe extern "system" fn(param0: super::super::Foundation::HANDLE, param1: *mut FAX_DEV_STATUS, param2: u32, param3: *mut u32) -> super::super::Foundation::BOOL; | |
1400 | #[cfg(feature = "Win32_Foundation")] | |
1401 | pub type PFAXDEVSEND = unsafe extern "system" fn(param0: super::super::Foundation::HANDLE, param1: *mut FAX_SEND, param2: ::core::option::Option<PFAX_SEND_CALLBACK>) -> super::super::Foundation::BOOL; | |
1402 | pub type PFAXDEVSHUTDOWN = unsafe extern "system" fn() -> ::windows_sys::core::HRESULT; | |
1403 | #[cfg(feature = "Win32_Foundation")] | |
1404 | pub type PFAXDEVSTARTJOB = unsafe extern "system" fn(param0: u32, param1: u32, param2: *mut super::super::Foundation::HANDLE, param3: super::super::Foundation::HANDLE, param4: usize) -> super::super::Foundation::BOOL; | |
1405 | #[cfg(feature = "Win32_Foundation")] | |
1406 | pub type PFAXDEVVIRTUALDEVICECREATION = unsafe extern "system" fn(devicecount: *mut u32, devicenameprefix: super::super::Foundation::PWSTR, deviceidprefix: *mut u32, completionport: super::super::Foundation::HANDLE, completionkey: usize) -> super::super::Foundation::BOOL; | |
1407 | #[cfg(feature = "Win32_Foundation")] | |
1408 | pub type PFAXENABLEROUTINGMETHODA = unsafe extern "system" fn(faxporthandle: super::super::Foundation::HANDLE, routingguid: super::super::Foundation::PSTR, enabled: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; | |
1409 | #[cfg(feature = "Win32_Foundation")] | |
1410 | pub type PFAXENABLEROUTINGMETHODW = unsafe extern "system" fn(faxporthandle: super::super::Foundation::HANDLE, routingguid: super::super::Foundation::PWSTR, enabled: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; | |
1411 | #[cfg(feature = "Win32_Foundation")] | |
1412 | pub type PFAXENUMGLOBALROUTINGINFOA = unsafe extern "system" fn(faxhandle: super::super::Foundation::HANDLE, routinginfo: *mut *mut FAX_GLOBAL_ROUTING_INFOA, methodsreturned: *mut u32) -> super::super::Foundation::BOOL; | |
1413 | #[cfg(feature = "Win32_Foundation")] | |
1414 | pub type PFAXENUMGLOBALROUTINGINFOW = unsafe extern "system" fn(faxhandle: super::super::Foundation::HANDLE, routinginfo: *mut *mut FAX_GLOBAL_ROUTING_INFOW, methodsreturned: *mut u32) -> super::super::Foundation::BOOL; | |
1415 | #[cfg(feature = "Win32_Foundation")] | |
1416 | pub type PFAXENUMJOBSA = unsafe extern "system" fn(faxhandle: super::super::Foundation::HANDLE, jobentry: *mut *mut FAX_JOB_ENTRYA, jobsreturned: *mut u32) -> super::super::Foundation::BOOL; | |
1417 | #[cfg(feature = "Win32_Foundation")] | |
1418 | pub type PFAXENUMJOBSW = unsafe extern "system" fn(faxhandle: super::super::Foundation::HANDLE, jobentry: *mut *mut FAX_JOB_ENTRYW, jobsreturned: *mut u32) -> super::super::Foundation::BOOL; | |
1419 | #[cfg(feature = "Win32_Foundation")] | |
1420 | pub type PFAXENUMPORTSA = unsafe extern "system" fn(faxhandle: super::super::Foundation::HANDLE, portinfo: *mut *mut FAX_PORT_INFOA, portsreturned: *mut u32) -> super::super::Foundation::BOOL; | |
1421 | #[cfg(feature = "Win32_Foundation")] | |
1422 | pub type PFAXENUMPORTSW = unsafe extern "system" fn(faxhandle: super::super::Foundation::HANDLE, portinfo: *mut *mut FAX_PORT_INFOW, portsreturned: *mut u32) -> super::super::Foundation::BOOL; | |
1423 | #[cfg(feature = "Win32_Foundation")] | |
1424 | pub type PFAXENUMROUTINGMETHODSA = unsafe extern "system" fn(faxporthandle: super::super::Foundation::HANDLE, routingmethod: *mut *mut FAX_ROUTING_METHODA, methodsreturned: *mut u32) -> super::super::Foundation::BOOL; | |
1425 | #[cfg(feature = "Win32_Foundation")] | |
1426 | pub type PFAXENUMROUTINGMETHODSW = unsafe extern "system" fn(faxporthandle: super::super::Foundation::HANDLE, routingmethod: *mut *mut FAX_ROUTING_METHODW, methodsreturned: *mut u32) -> super::super::Foundation::BOOL; | |
1427 | pub type PFAXFREEBUFFER = unsafe extern "system" fn(buffer: *mut ::core::ffi::c_void); | |
1428 | #[cfg(feature = "Win32_Foundation")] | |
1429 | pub type PFAXGETCONFIGURATIONA = unsafe extern "system" fn(faxhandle: super::super::Foundation::HANDLE, faxconfig: *mut *mut FAX_CONFIGURATIONA) -> super::super::Foundation::BOOL; | |
1430 | #[cfg(feature = "Win32_Foundation")] | |
1431 | pub type PFAXGETCONFIGURATIONW = unsafe extern "system" fn(faxhandle: super::super::Foundation::HANDLE, faxconfig: *mut *mut FAX_CONFIGURATIONW) -> super::super::Foundation::BOOL; | |
1432 | #[cfg(feature = "Win32_Foundation")] | |
1433 | pub type PFAXGETDEVICESTATUSA = unsafe extern "system" fn(faxporthandle: super::super::Foundation::HANDLE, devicestatus: *mut *mut FAX_DEVICE_STATUSA) -> super::super::Foundation::BOOL; | |
1434 | #[cfg(feature = "Win32_Foundation")] | |
1435 | pub type PFAXGETDEVICESTATUSW = unsafe extern "system" fn(faxporthandle: super::super::Foundation::HANDLE, devicestatus: *mut *mut FAX_DEVICE_STATUSW) -> super::super::Foundation::BOOL; | |
1436 | #[cfg(feature = "Win32_Foundation")] | |
1437 | pub type PFAXGETJOBA = unsafe extern "system" fn(faxhandle: super::super::Foundation::HANDLE, jobid: u32, jobentry: *mut *mut FAX_JOB_ENTRYA) -> super::super::Foundation::BOOL; | |
1438 | #[cfg(feature = "Win32_Foundation")] | |
1439 | pub type PFAXGETJOBW = unsafe extern "system" fn(faxhandle: super::super::Foundation::HANDLE, jobid: u32, jobentry: *mut *mut FAX_JOB_ENTRYW) -> super::super::Foundation::BOOL; | |
1440 | #[cfg(feature = "Win32_Foundation")] | |
1441 | pub type PFAXGETLOGGINGCATEGORIESA = unsafe extern "system" fn(faxhandle: super::super::Foundation::HANDLE, categories: *mut *mut FAX_LOG_CATEGORYA, numbercategories: *mut u32) -> super::super::Foundation::BOOL; | |
1442 | #[cfg(feature = "Win32_Foundation")] | |
1443 | pub type PFAXGETLOGGINGCATEGORIESW = unsafe extern "system" fn(faxhandle: super::super::Foundation::HANDLE, categories: *mut *mut FAX_LOG_CATEGORYW, numbercategories: *mut u32) -> super::super::Foundation::BOOL; | |
1444 | #[cfg(feature = "Win32_Foundation")] | |
1445 | pub type PFAXGETPAGEDATA = unsafe extern "system" fn(faxhandle: super::super::Foundation::HANDLE, jobid: u32, buffer: *mut *mut u8, buffersize: *mut u32, imagewidth: *mut u32, imageheight: *mut u32) -> super::super::Foundation::BOOL; | |
1446 | #[cfg(feature = "Win32_Foundation")] | |
1447 | pub type PFAXGETPORTA = unsafe extern "system" fn(faxporthandle: super::super::Foundation::HANDLE, portinfo: *mut *mut FAX_PORT_INFOA) -> super::super::Foundation::BOOL; | |
1448 | #[cfg(feature = "Win32_Foundation")] | |
1449 | pub type PFAXGETPORTW = unsafe extern "system" fn(faxporthandle: super::super::Foundation::HANDLE, portinfo: *mut *mut FAX_PORT_INFOW) -> super::super::Foundation::BOOL; | |
1450 | #[cfg(feature = "Win32_Foundation")] | |
1451 | pub type PFAXGETROUTINGINFOA = unsafe extern "system" fn(faxporthandle: super::super::Foundation::HANDLE, routingguid: super::super::Foundation::PSTR, routinginfobuffer: *mut *mut u8, routinginfobuffersize: *mut u32) -> super::super::Foundation::BOOL; | |
1452 | #[cfg(feature = "Win32_Foundation")] | |
1453 | pub type PFAXGETROUTINGINFOW = unsafe extern "system" fn(faxporthandle: super::super::Foundation::HANDLE, routingguid: super::super::Foundation::PWSTR, routinginfobuffer: *mut *mut u8, routinginfobuffersize: *mut u32) -> super::super::Foundation::BOOL; | |
1454 | #[cfg(feature = "Win32_Foundation")] | |
1455 | pub type PFAXINITIALIZEEVENTQUEUE = unsafe extern "system" fn(faxhandle: super::super::Foundation::HANDLE, completionport: super::super::Foundation::HANDLE, completionkey: usize, hwnd: super::super::Foundation::HWND, messagestart: u32) -> super::super::Foundation::BOOL; | |
1456 | #[cfg(feature = "Win32_Foundation")] | |
1457 | pub type PFAXOPENPORT = unsafe extern "system" fn(faxhandle: super::super::Foundation::HANDLE, deviceid: u32, flags: u32, faxporthandle: *mut super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL; | |
1458 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] | |
1459 | pub type PFAXPRINTCOVERPAGEA = unsafe extern "system" fn(faxcontextinfo: *const FAX_CONTEXT_INFOA, coverpageinfo: *const FAX_COVERPAGE_INFOA) -> super::super::Foundation::BOOL; | |
1460 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] | |
1461 | pub type PFAXPRINTCOVERPAGEW = unsafe extern "system" fn(faxcontextinfo: *const FAX_CONTEXT_INFOW, coverpageinfo: *const FAX_COVERPAGE_INFOW) -> super::super::Foundation::BOOL; | |
1462 | #[cfg(feature = "Win32_Foundation")] | |
1463 | pub type PFAXREGISTERROUTINGEXTENSIONW = unsafe extern "system" fn(faxhandle: super::super::Foundation::HANDLE, extensionname: super::super::Foundation::PWSTR, friendlyname: super::super::Foundation::PWSTR, imagename: super::super::Foundation::PWSTR, callback: ::core::option::Option<PFAX_ROUTING_INSTALLATION_CALLBACKW>, context: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; | |
1464 | #[cfg(feature = "Win32_Foundation")] | |
1465 | pub type PFAXREGISTERSERVICEPROVIDERW = unsafe extern "system" fn(deviceprovider: super::super::Foundation::PWSTR, friendlyname: super::super::Foundation::PWSTR, imagename: super::super::Foundation::PWSTR, tspname: super::super::Foundation::PWSTR) -> super::super::Foundation::BOOL; | |
1466 | #[cfg(feature = "Win32_Foundation")] | |
1467 | pub type PFAXROUTEADDFILE = unsafe extern "system" fn(jobid: u32, filename: super::super::Foundation::PWSTR, guid: *mut ::windows_sys::core::GUID) -> i32; | |
1468 | #[cfg(feature = "Win32_Foundation")] | |
1469 | pub type PFAXROUTEDELETEFILE = unsafe extern "system" fn(jobid: u32, filename: super::super::Foundation::PWSTR) -> i32; | |
1470 | #[cfg(feature = "Win32_Foundation")] | |
1471 | pub type PFAXROUTEDEVICECHANGENOTIFICATION = unsafe extern "system" fn(param0: u32, param1: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL; | |
1472 | #[cfg(feature = "Win32_Foundation")] | |
1473 | pub type PFAXROUTEDEVICEENABLE = unsafe extern "system" fn(param0: super::super::Foundation::PWSTR, param1: u32, param2: i32) -> super::super::Foundation::BOOL; | |
1474 | #[cfg(feature = "Win32_Foundation")] | |
1475 | pub type PFAXROUTEENUMFILE = unsafe extern "system" fn(jobid: u32, guidowner: *mut ::windows_sys::core::GUID, guidcaller: *mut ::windows_sys::core::GUID, filename: super::super::Foundation::PWSTR, context: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; | |
1476 | #[cfg(feature = "Win32_Foundation")] | |
1477 | pub type PFAXROUTEENUMFILES = unsafe extern "system" fn(jobid: u32, guid: *mut ::windows_sys::core::GUID, fileenumerator: ::core::option::Option<PFAXROUTEENUMFILE>, context: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; | |
1478 | #[cfg(feature = "Win32_Foundation")] | |
1479 | pub type PFAXROUTEGETFILE = unsafe extern "system" fn(jobid: u32, index: u32, filenamebuffer: super::super::Foundation::PWSTR, requiredsize: *mut u32) -> super::super::Foundation::BOOL; | |
1480 | #[cfg(feature = "Win32_Foundation")] | |
1481 | pub type PFAXROUTEGETROUTINGINFO = unsafe extern "system" fn(param0: super::super::Foundation::PWSTR, param1: u32, param2: *mut u8, param3: *mut u32) -> super::super::Foundation::BOOL; | |
1482 | #[cfg(feature = "Win32_Foundation")] | |
1483 | pub type PFAXROUTEINITIALIZE = unsafe extern "system" fn(param0: super::super::Foundation::HANDLE, param1: *mut FAX_ROUTE_CALLBACKROUTINES) -> super::super::Foundation::BOOL; | |
1484 | #[cfg(feature = "Win32_Foundation")] | |
1485 | pub type PFAXROUTEMETHOD = unsafe extern "system" fn(param0: *const FAX_ROUTE, param1: *mut *mut ::core::ffi::c_void, param2: *mut u32) -> super::super::Foundation::BOOL; | |
1486 | #[cfg(feature = "Win32_Foundation")] | |
1487 | pub type PFAXROUTEMODIFYROUTINGDATA = unsafe extern "system" fn(jobid: u32, routingguid: super::super::Foundation::PWSTR, routingdata: *mut u8, routingdatasize: u32) -> super::super::Foundation::BOOL; | |
1488 | #[cfg(feature = "Win32_Foundation")] | |
1489 | pub type PFAXROUTESETROUTINGINFO = unsafe extern "system" fn(param0: super::super::Foundation::PWSTR, param1: u32, param2: *const u8, param3: u32) -> super::super::Foundation::BOOL; | |
1490 | #[cfg(feature = "Win32_Foundation")] | |
1491 | pub type PFAXSENDDOCUMENTA = unsafe extern "system" fn(faxhandle: super::super::Foundation::HANDLE, filename: super::super::Foundation::PSTR, jobparams: *mut FAX_JOB_PARAMA, coverpageinfo: *const FAX_COVERPAGE_INFOA, faxjobid: *mut u32) -> super::super::Foundation::BOOL; | |
1492 | #[cfg(feature = "Win32_Foundation")] | |
1493 | pub type PFAXSENDDOCUMENTFORBROADCASTA = unsafe extern "system" fn(faxhandle: super::super::Foundation::HANDLE, filename: super::super::Foundation::PSTR, faxjobid: *mut u32, faxrecipientcallback: ::core::option::Option<PFAX_RECIPIENT_CALLBACKA>, context: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; | |
1494 | #[cfg(feature = "Win32_Foundation")] | |
1495 | pub type PFAXSENDDOCUMENTFORBROADCASTW = unsafe extern "system" fn(faxhandle: super::super::Foundation::HANDLE, filename: super::super::Foundation::PWSTR, faxjobid: *mut u32, faxrecipientcallback: ::core::option::Option<PFAX_RECIPIENT_CALLBACKW>, context: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL; | |
1496 | #[cfg(feature = "Win32_Foundation")] | |
1497 | pub type PFAXSENDDOCUMENTW = unsafe extern "system" fn(faxhandle: super::super::Foundation::HANDLE, filename: super::super::Foundation::PWSTR, jobparams: *mut FAX_JOB_PARAMW, coverpageinfo: *const FAX_COVERPAGE_INFOW, faxjobid: *mut u32) -> super::super::Foundation::BOOL; | |
1498 | #[cfg(feature = "Win32_Foundation")] | |
1499 | pub type PFAXSETCONFIGURATIONA = unsafe extern "system" fn(faxhandle: super::super::Foundation::HANDLE, faxconfig: *const FAX_CONFIGURATIONA) -> super::super::Foundation::BOOL; | |
1500 | #[cfg(feature = "Win32_Foundation")] | |
1501 | pub type PFAXSETCONFIGURATIONW = unsafe extern "system" fn(faxhandle: super::super::Foundation::HANDLE, faxconfig: *const FAX_CONFIGURATIONW) -> super::super::Foundation::BOOL; | |
1502 | #[cfg(feature = "Win32_Foundation")] | |
1503 | pub type PFAXSETGLOBALROUTINGINFOA = unsafe extern "system" fn(faxporthandle: super::super::Foundation::HANDLE, routinginfo: *const FAX_GLOBAL_ROUTING_INFOA) -> super::super::Foundation::BOOL; | |
1504 | #[cfg(feature = "Win32_Foundation")] | |
1505 | pub type PFAXSETGLOBALROUTINGINFOW = unsafe extern "system" fn(faxporthandle: super::super::Foundation::HANDLE, routinginfo: *const FAX_GLOBAL_ROUTING_INFOW) -> super::super::Foundation::BOOL; | |
1506 | #[cfg(feature = "Win32_Foundation")] | |
1507 | pub type PFAXSETJOBA = unsafe extern "system" fn(faxhandle: super::super::Foundation::HANDLE, jobid: u32, command: u32, jobentry: *const FAX_JOB_ENTRYA) -> super::super::Foundation::BOOL; | |
1508 | #[cfg(feature = "Win32_Foundation")] | |
1509 | pub type PFAXSETJOBW = unsafe extern "system" fn(faxhandle: super::super::Foundation::HANDLE, jobid: u32, command: u32, jobentry: *const FAX_JOB_ENTRYW) -> super::super::Foundation::BOOL; | |
1510 | #[cfg(feature = "Win32_Foundation")] | |
1511 | pub type PFAXSETLOGGINGCATEGORIESA = unsafe extern "system" fn(faxhandle: super::super::Foundation::HANDLE, categories: *const FAX_LOG_CATEGORYA, numbercategories: u32) -> super::super::Foundation::BOOL; | |
1512 | #[cfg(feature = "Win32_Foundation")] | |
1513 | pub type PFAXSETLOGGINGCATEGORIESW = unsafe extern "system" fn(faxhandle: super::super::Foundation::HANDLE, categories: *const FAX_LOG_CATEGORYW, numbercategories: u32) -> super::super::Foundation::BOOL; | |
1514 | #[cfg(feature = "Win32_Foundation")] | |
1515 | pub type PFAXSETPORTA = unsafe extern "system" fn(faxporthandle: super::super::Foundation::HANDLE, portinfo: *const FAX_PORT_INFOA) -> super::super::Foundation::BOOL; | |
1516 | #[cfg(feature = "Win32_Foundation")] | |
1517 | pub type PFAXSETPORTW = unsafe extern "system" fn(faxporthandle: super::super::Foundation::HANDLE, portinfo: *const FAX_PORT_INFOW) -> super::super::Foundation::BOOL; | |
1518 | #[cfg(feature = "Win32_Foundation")] | |
1519 | pub type PFAXSETROUTINGINFOA = unsafe extern "system" fn(faxporthandle: super::super::Foundation::HANDLE, routingguid: super::super::Foundation::PSTR, routinginfobuffer: *const u8, routinginfobuffersize: u32) -> super::super::Foundation::BOOL; | |
1520 | #[cfg(feature = "Win32_Foundation")] | |
1521 | pub type PFAXSETROUTINGINFOW = unsafe extern "system" fn(faxporthandle: super::super::Foundation::HANDLE, routingguid: super::super::Foundation::PWSTR, routinginfobuffer: *const u8, routinginfobuffersize: u32) -> super::super::Foundation::BOOL; | |
1522 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] | |
1523 | pub type PFAXSTARTPRINTJOBA = unsafe extern "system" fn(printername: super::super::Foundation::PSTR, printinfo: *const FAX_PRINT_INFOA, faxjobid: *mut u32, faxcontextinfo: *mut FAX_CONTEXT_INFOA) -> super::super::Foundation::BOOL; | |
1524 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] | |
1525 | pub type PFAXSTARTPRINTJOBW = unsafe extern "system" fn(printername: super::super::Foundation::PWSTR, printinfo: *const FAX_PRINT_INFOW, faxjobid: *mut u32, faxcontextinfo: *mut FAX_CONTEXT_INFOW) -> super::super::Foundation::BOOL; | |
1526 | #[cfg(feature = "Win32_Foundation")] | |
1527 | pub type PFAXUNREGISTERSERVICEPROVIDERW = unsafe extern "system" fn(deviceprovider: super::super::Foundation::PWSTR) -> super::super::Foundation::BOOL; | |
1528 | #[cfg(feature = "Win32_Foundation")] | |
1529 | pub type PFAX_EXT_CONFIG_CHANGE = unsafe extern "system" fn(param0: u32, param1: super::super::Foundation::PWSTR, param2: *mut u8, param3: u32) -> ::windows_sys::core::HRESULT; | |
1530 | pub type PFAX_EXT_FREE_BUFFER = unsafe extern "system" fn(param0: *mut ::core::ffi::c_void); | |
1531 | #[cfg(feature = "Win32_Foundation")] | |
1532 | pub type PFAX_EXT_GET_DATA = unsafe extern "system" fn(param0: u32, param1: FAX_ENUM_DEVICE_ID_SOURCE, param2: super::super::Foundation::PWSTR, param3: *mut *mut u8, param4: *mut u32) -> u32; | |
1533 | #[cfg(feature = "Win32_Foundation")] | |
1534 | pub type PFAX_EXT_INITIALIZE_CONFIG = unsafe extern "system" fn(param0: ::core::option::Option<PFAX_EXT_GET_DATA>, param1: ::core::option::Option<PFAX_EXT_SET_DATA>, param2: ::core::option::Option<PFAX_EXT_REGISTER_FOR_EVENTS>, param3: ::core::option::Option<PFAX_EXT_UNREGISTER_FOR_EVENTS>, param4: ::core::option::Option<PFAX_EXT_FREE_BUFFER>) -> ::windows_sys::core::HRESULT; | |
1535 | #[cfg(feature = "Win32_Foundation")] | |
1536 | pub type PFAX_EXT_REGISTER_FOR_EVENTS = unsafe extern "system" fn(param0: super::super::Foundation::HINSTANCE, param1: u32, param2: FAX_ENUM_DEVICE_ID_SOURCE, param3: super::super::Foundation::PWSTR, param4: ::core::option::Option<PFAX_EXT_CONFIG_CHANGE>) -> super::super::Foundation::HANDLE; | |
1537 | #[cfg(feature = "Win32_Foundation")] | |
1538 | pub type PFAX_EXT_SET_DATA = unsafe extern "system" fn(param0: super::super::Foundation::HINSTANCE, param1: u32, param2: FAX_ENUM_DEVICE_ID_SOURCE, param3: super::super::Foundation::PWSTR, param4: *mut u8, param5: u32) -> u32; | |
1539 | #[cfg(feature = "Win32_Foundation")] | |
1540 | pub type PFAX_EXT_UNREGISTER_FOR_EVENTS = unsafe extern "system" fn(param0: super::super::Foundation::HANDLE) -> u32; | |
1541 | #[cfg(feature = "Win32_Foundation")] | |
1542 | pub type PFAX_LINECALLBACK = unsafe extern "system" fn(faxhandle: super::super::Foundation::HANDLE, hdevice: u32, dwmessage: u32, dwinstance: usize, dwparam1: usize, dwparam2: usize, dwparam3: usize); | |
1543 | #[cfg(feature = "Win32_Foundation")] | |
1544 | pub type PFAX_RECIPIENT_CALLBACKA = unsafe extern "system" fn(faxhandle: super::super::Foundation::HANDLE, recipientnumber: u32, context: *mut ::core::ffi::c_void, jobparams: *mut FAX_JOB_PARAMA, coverpageinfo: *mut FAX_COVERPAGE_INFOA) -> super::super::Foundation::BOOL; | |
1545 | #[cfg(feature = "Win32_Foundation")] | |
1546 | pub type PFAX_RECIPIENT_CALLBACKW = unsafe extern "system" fn(faxhandle: super::super::Foundation::HANDLE, recipientnumber: u32, context: *mut ::core::ffi::c_void, jobparams: *mut FAX_JOB_PARAMW, coverpageinfo: *mut FAX_COVERPAGE_INFOW) -> super::super::Foundation::BOOL; | |
1547 | #[cfg(feature = "Win32_Foundation")] | |
1548 | pub type PFAX_ROUTING_INSTALLATION_CALLBACKW = unsafe extern "system" fn(faxhandle: super::super::Foundation::HANDLE, context: *mut ::core::ffi::c_void, methodname: super::super::Foundation::PWSTR, friendlyname: super::super::Foundation::PWSTR, functionname: super::super::Foundation::PWSTR, guid: super::super::Foundation::PWSTR) -> super::super::Foundation::BOOL; | |
1549 | #[cfg(feature = "Win32_Foundation")] | |
1550 | pub type PFAX_SEND_CALLBACK = unsafe extern "system" fn(faxhandle: super::super::Foundation::HANDLE, callhandle: u32, reserved1: u32, reserved2: u32) -> super::super::Foundation::BOOL; | |
1551 | #[cfg(feature = "Win32_Foundation")] | |
1552 | pub type PFAX_SERVICE_CALLBACK = unsafe extern "system" fn(faxhandle: super::super::Foundation::HANDLE, deviceid: u32, param1: usize, param2: usize, param3: usize) -> super::super::Foundation::BOOL; | |
1553 | pub const STIEDFL_ALLDEVICES: u32 = 0u32; | |
1554 | pub const STIEDFL_ATTACHEDONLY: u32 = 1u32; | |
1555 | pub const STIERR_ALREADY_INITIALIZED: ::windows_sys::core::HRESULT = -2147023649i32; | |
1556 | pub const STIERR_BADDRIVER: ::windows_sys::core::HRESULT = -2147024777i32; | |
1557 | pub const STIERR_BETA_VERSION: ::windows_sys::core::HRESULT = -2147023743i32; | |
1558 | pub const STIERR_DEVICENOTREG: i32 = -2147221164i32; | |
1559 | pub const STIERR_DEVICE_LOCKED: ::windows_sys::core::HRESULT = -2147024863i32; | |
1560 | pub const STIERR_DEVICE_NOTREADY: ::windows_sys::core::HRESULT = -2147024875i32; | |
1561 | pub const STIERR_GENERIC: i32 = -2147467259i32; | |
1562 | pub const STIERR_HANDLEEXISTS: ::windows_sys::core::HRESULT = -2147024713i32; | |
1563 | pub const STIERR_INVALID_DEVICE_NAME: ::windows_sys::core::HRESULT = -2147024773i32; | |
1564 | pub const STIERR_INVALID_HW_TYPE: ::windows_sys::core::HRESULT = -2147024883i32; | |
1565 | pub const STIERR_INVALID_PARAM: i32 = -2147024809i32; | |
1566 | pub const STIERR_NEEDS_LOCK: ::windows_sys::core::HRESULT = -2147024738i32; | |
1567 | pub const STIERR_NOEVENTS: ::windows_sys::core::HRESULT = -2147024637i32; | |
1568 | pub const STIERR_NOINTERFACE: i32 = -2147467262i32; | |
1569 | pub const STIERR_NOTINITIALIZED: i32 = -2147024891i32; | |
1570 | pub const STIERR_NOT_INITIALIZED: ::windows_sys::core::HRESULT = -2147024875i32; | |
1571 | pub const STIERR_OBJECTNOTFOUND: ::windows_sys::core::HRESULT = -2147024894i32; | |
1572 | pub const STIERR_OLD_VERSION: ::windows_sys::core::HRESULT = -2147023746i32; | |
1573 | pub const STIERR_OUTOFMEMORY: i32 = -2147024882i32; | |
1574 | pub const STIERR_READONLY: i32 = -2147024891i32; | |
1575 | pub const STIERR_SHARING_VIOLATION: ::windows_sys::core::HRESULT = -2147024864i32; | |
1576 | pub const STIERR_UNSUPPORTED: i32 = -2147467263i32; | |
1577 | #[repr(C)] | |
1578 | pub struct STINOTIFY { | |
1579 | pub dwSize: u32, | |
1580 | pub guidNotificationCode: ::windows_sys::core::GUID, | |
1581 | pub abNotificationData: [u8; 64], | |
1582 | } | |
1583 | impl ::core::marker::Copy for STINOTIFY {} | |
1584 | impl ::core::clone::Clone for STINOTIFY { | |
1585 | fn clone(&self) -> Self { | |
1586 | *self | |
1587 | } | |
1588 | } | |
1589 | #[repr(C)] | |
1590 | #[cfg(feature = "Win32_Foundation")] | |
1591 | pub struct STISUBSCRIBE { | |
1592 | pub dwSize: u32, | |
1593 | pub dwFlags: u32, | |
1594 | pub dwFilter: u32, | |
1595 | pub hWndNotify: super::super::Foundation::HWND, | |
1596 | pub hEvent: super::super::Foundation::HANDLE, | |
1597 | pub uiNotificationMessage: u32, | |
1598 | } | |
1599 | #[cfg(feature = "Win32_Foundation")] | |
1600 | impl ::core::marker::Copy for STISUBSCRIBE {} | |
1601 | #[cfg(feature = "Win32_Foundation")] | |
1602 | impl ::core::clone::Clone for STISUBSCRIBE { | |
1603 | fn clone(&self) -> Self { | |
1604 | *self | |
1605 | } | |
1606 | } | |
1607 | pub const STI_CHANGENOEFFECT: i32 = 1i32; | |
1608 | pub const STI_DEVICE_CREATE_BOTH: u32 = 3u32; | |
1609 | pub const STI_DEVICE_CREATE_DATA: u32 = 2u32; | |
1610 | pub const STI_DEVICE_CREATE_FOR_MONITOR: u32 = 16777216u32; | |
1611 | pub const STI_DEVICE_CREATE_MASK: u32 = 65535u32; | |
1612 | pub const STI_DEVICE_CREATE_STATUS: u32 = 1u32; | |
1613 | #[repr(C)] | |
1614 | #[cfg(feature = "Win32_Foundation")] | |
1615 | pub struct STI_DEVICE_INFORMATIONW { | |
1616 | pub dwSize: u32, | |
1617 | pub DeviceType: u32, | |
1618 | pub szDeviceInternalName: [u16; 128], | |
1619 | pub DeviceCapabilitiesA: STI_DEV_CAPS, | |
1620 | pub dwHardwareConfiguration: u32, | |
1621 | pub pszVendorDescription: super::super::Foundation::PWSTR, | |
1622 | pub pszDeviceDescription: super::super::Foundation::PWSTR, | |
1623 | pub pszPortName: super::super::Foundation::PWSTR, | |
1624 | pub pszPropProvider: super::super::Foundation::PWSTR, | |
1625 | pub pszLocalName: super::super::Foundation::PWSTR, | |
1626 | } | |
1627 | #[cfg(feature = "Win32_Foundation")] | |
1628 | impl ::core::marker::Copy for STI_DEVICE_INFORMATIONW {} | |
1629 | #[cfg(feature = "Win32_Foundation")] | |
1630 | impl ::core::clone::Clone for STI_DEVICE_INFORMATIONW { | |
1631 | fn clone(&self) -> Self { | |
1632 | *self | |
1633 | } | |
1634 | } | |
1635 | pub type STI_DEVICE_MJ_TYPE = i32; | |
1636 | pub const StiDeviceTypeDefault: STI_DEVICE_MJ_TYPE = 0i32; | |
1637 | pub const StiDeviceTypeScanner: STI_DEVICE_MJ_TYPE = 1i32; | |
1638 | pub const StiDeviceTypeDigitalCamera: STI_DEVICE_MJ_TYPE = 2i32; | |
1639 | pub const StiDeviceTypeStreamingVideo: STI_DEVICE_MJ_TYPE = 3i32; | |
1640 | #[repr(C)] | |
1641 | pub struct STI_DEVICE_STATUS { | |
1642 | pub dwSize: u32, | |
1643 | pub StatusMask: u32, | |
1644 | pub dwOnlineState: u32, | |
1645 | pub dwHardwareStatusCode: u32, | |
1646 | pub dwEventHandlingState: u32, | |
1647 | pub dwPollingInterval: u32, | |
1648 | } | |
1649 | impl ::core::marker::Copy for STI_DEVICE_STATUS {} | |
1650 | impl ::core::clone::Clone for STI_DEVICE_STATUS { | |
1651 | fn clone(&self) -> Self { | |
1652 | *self | |
1653 | } | |
1654 | } | |
1655 | pub const STI_DEVSTATUS_EVENTS_STATE: u32 = 2u32; | |
1656 | pub const STI_DEVSTATUS_ONLINE_STATE: u32 = 1u32; | |
1657 | #[repr(C)] | |
1658 | pub struct STI_DEV_CAPS { | |
1659 | pub dwGeneric: u32, | |
1660 | } | |
1661 | impl ::core::marker::Copy for STI_DEV_CAPS {} | |
1662 | impl ::core::clone::Clone for STI_DEV_CAPS { | |
1663 | fn clone(&self) -> Self { | |
1664 | *self | |
1665 | } | |
1666 | } | |
1667 | #[repr(C)] | |
1668 | pub struct STI_DIAG { | |
1669 | pub dwSize: u32, | |
1670 | pub dwBasicDiagCode: u32, | |
1671 | pub dwVendorDiagCode: u32, | |
1672 | pub dwStatusMask: u32, | |
1673 | pub sErrorInfo: _ERROR_INFOW, | |
1674 | } | |
1675 | impl ::core::marker::Copy for STI_DIAG {} | |
1676 | impl ::core::clone::Clone for STI_DIAG { | |
1677 | fn clone(&self) -> Self { | |
1678 | *self | |
1679 | } | |
1680 | } | |
1681 | pub const STI_DIAGCODE_HWPRESENCE: u32 = 1u32; | |
1682 | pub const STI_ERROR_NO_ERROR: i32 = 0i32; | |
1683 | pub const STI_EVENTHANDLING_ENABLED: u32 = 1u32; | |
1684 | pub const STI_EVENTHANDLING_PENDING: u32 = 4u32; | |
1685 | pub const STI_EVENTHANDLING_POLLING: u32 = 2u32; | |
1686 | pub const STI_GENCAP_AUTO_PORTSELECT: u32 = 8u32; | |
1687 | pub const STI_GENCAP_GENERATE_ARRIVALEVENT: u32 = 4u32; | |
1688 | pub const STI_GENCAP_NOTIFICATIONS: u32 = 1u32; | |
1689 | pub const STI_GENCAP_POLLING_NEEDED: u32 = 2u32; | |
1690 | pub const STI_GENCAP_SUBSET: u32 = 32u32; | |
1691 | pub const STI_GENCAP_WIA: u32 = 16u32; | |
1692 | pub const STI_HW_CONFIG_PARALLEL: u32 = 16u32; | |
1693 | pub const STI_HW_CONFIG_SCSI: u32 = 2u32; | |
1694 | pub const STI_HW_CONFIG_SERIAL: u32 = 8u32; | |
1695 | pub const STI_HW_CONFIG_UNKNOWN: u32 = 1u32; | |
1696 | pub const STI_HW_CONFIG_USB: u32 = 4u32; | |
1697 | pub const STI_MAX_INTERNAL_NAME_LENGTH: u32 = 128u32; | |
1698 | pub const STI_NOTCONNECTED: i32 = 1i32; | |
1699 | pub const STI_OK: i32 = 0i32; | |
1700 | pub const STI_ONLINESTATE_BUSY: u32 = 256u32; | |
1701 | pub const STI_ONLINESTATE_ERROR: u32 = 4u32; | |
1702 | pub const STI_ONLINESTATE_INITIALIZING: u32 = 1024u32; | |
1703 | pub const STI_ONLINESTATE_IO_ACTIVE: u32 = 128u32; | |
1704 | pub const STI_ONLINESTATE_OFFLINE: u32 = 64u32; | |
1705 | pub const STI_ONLINESTATE_OPERATIONAL: u32 = 1u32; | |
1706 | pub const STI_ONLINESTATE_PAPER_JAM: u32 = 16u32; | |
1707 | pub const STI_ONLINESTATE_PAPER_PROBLEM: u32 = 32u32; | |
1708 | pub const STI_ONLINESTATE_PAUSED: u32 = 8u32; | |
1709 | pub const STI_ONLINESTATE_PENDING: u32 = 2u32; | |
1710 | pub const STI_ONLINESTATE_POWER_SAVE: u32 = 8192u32; | |
1711 | pub const STI_ONLINESTATE_TRANSFERRING: u32 = 512u32; | |
1712 | pub const STI_ONLINESTATE_USER_INTERVENTION: u32 = 4096u32; | |
1713 | pub const STI_ONLINESTATE_WARMING_UP: u32 = 2048u32; | |
1714 | pub const STI_RAW_RESERVED: u32 = 4096u32; | |
1715 | pub const STI_SUBSCRIBE_FLAG_EVENT: u32 = 2u32; | |
1716 | pub const STI_SUBSCRIBE_FLAG_WINDOW: u32 = 1u32; | |
1717 | pub const STI_TRACE_ERROR: u32 = 4u32; | |
1718 | pub const STI_TRACE_INFORMATION: u32 = 1u32; | |
1719 | pub const STI_TRACE_WARNING: u32 = 2u32; | |
1720 | pub const STI_UNICODE: u32 = 1u32; | |
1721 | #[repr(C)] | |
1722 | pub struct STI_USD_CAPS { | |
1723 | pub dwVersion: u32, | |
1724 | pub dwGenericCaps: u32, | |
1725 | } | |
1726 | impl ::core::marker::Copy for STI_USD_CAPS {} | |
1727 | impl ::core::clone::Clone for STI_USD_CAPS { | |
1728 | fn clone(&self) -> Self { | |
1729 | *self | |
1730 | } | |
1731 | } | |
1732 | pub const STI_USD_GENCAP_NATIVE_PUSHSUPPORT: u32 = 1u32; | |
1733 | pub const STI_VERSION: u32 = 2u32; | |
1734 | pub const STI_VERSION_FLAG_MASK: u32 = 4278190080u32; | |
1735 | pub const STI_VERSION_FLAG_UNICODE: u32 = 16777216u32; | |
1736 | pub const STI_VERSION_MIN_ALLOWED: u32 = 2u32; | |
1737 | pub const STI_VERSION_REAL: u32 = 2u32; | |
1738 | #[repr(C)] | |
1739 | #[cfg(feature = "Win32_Foundation")] | |
1740 | pub struct STI_WIA_DEVICE_INFORMATIONW { | |
1741 | pub dwSize: u32, | |
1742 | pub DeviceType: u32, | |
1743 | pub szDeviceInternalName: [u16; 128], | |
1744 | pub DeviceCapabilitiesA: STI_DEV_CAPS, | |
1745 | pub dwHardwareConfiguration: u32, | |
1746 | pub pszVendorDescription: super::super::Foundation::PWSTR, | |
1747 | pub pszDeviceDescription: super::super::Foundation::PWSTR, | |
1748 | pub pszPortName: super::super::Foundation::PWSTR, | |
1749 | pub pszPropProvider: super::super::Foundation::PWSTR, | |
1750 | pub pszLocalName: super::super::Foundation::PWSTR, | |
1751 | pub pszUiDll: super::super::Foundation::PWSTR, | |
1752 | pub pszServer: super::super::Foundation::PWSTR, | |
1753 | } | |
1754 | #[cfg(feature = "Win32_Foundation")] | |
1755 | impl ::core::marker::Copy for STI_WIA_DEVICE_INFORMATIONW {} | |
1756 | #[cfg(feature = "Win32_Foundation")] | |
1757 | impl ::core::clone::Clone for STI_WIA_DEVICE_INFORMATIONW { | |
1758 | fn clone(&self) -> Self { | |
1759 | *self | |
1760 | } | |
1761 | } | |
1762 | pub const SUPPORTS_MSCPLUS_VAL: u32 = 1u32; | |
1763 | pub type SendToMode = i32; | |
1764 | pub const SEND_TO_FAX_RECIPIENT_ATTACHMENT: SendToMode = 0i32; | |
1765 | pub const WIA_INCOMPAT_XP: u32 = 1u32; | |
1766 | #[repr(C)] | |
1767 | pub struct _ERROR_INFOW { | |
1768 | pub dwSize: u32, | |
1769 | pub dwGenericError: u32, | |
1770 | pub dwVendorError: u32, | |
1771 | pub szExtendedErrorText: [u16; 255], | |
1772 | } | |
1773 | impl ::core::marker::Copy for _ERROR_INFOW {} | |
1774 | impl ::core::clone::Clone for _ERROR_INFOW { | |
1775 | fn clone(&self) -> Self { | |
1776 | *self | |
1777 | } | |
1778 | } | |
1779 | pub type _IFaxAccountNotify = *mut ::core::ffi::c_void; | |
1780 | pub type _IFaxServerNotify2 = *mut ::core::ffi::c_void; | |
1781 | pub const lDEFAULT_PREFETCH_SIZE: i32 = 100i32; | |
1782 | pub const wcharREASSIGN_RECIPIENTS_DELIMITER: u16 = 59u16; |