Mercurial > mercurial > hgweb_golang.cgi
comparison src/kaigo/qtuti/95y/xdw_api.h @ 65:0369656be06c default tip
many changes.
author | pyon@macmini |
---|---|
date | Fri, 20 May 2022 06:30:34 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
64:ad5c30ee5cf1 | 65:0369656be06c |
---|---|
1 /* File: xdw_api.h | |
2 // Copyright(C) 1999-2013 by Fuji Xerox Co., Ltd. All right reserved. | |
3 */ | |
4 | |
5 #ifndef XDW_API_H | |
6 #define XDW_API_H | |
7 | |
8 #ifdef __cplusplus | |
9 extern "C" { | |
10 #endif /* __cplusplus */ | |
11 | |
12 #ifndef XDWAPI_DECLARATIONS | |
13 #define XDWAPI_DECLARATIONS | |
14 | |
15 #ifdef _WIN64 | |
16 #ifndef XDW_DISABLE_PRAGMA_PACK | |
17 #pragma pack(push, xdwapi_enter_parser) | |
18 #pragma pack(8) | |
19 #endif /* XDW_DISABLE_PRAGMA_PACK */ | |
20 #endif /* _WIN64 */ | |
21 | |
22 #define XDWAPI __stdcall | |
23 | |
24 #define XDW_GI_VERSION 1 | |
25 #define XDW_GI_INSTALLPATH 2 | |
26 #define XDW_GI_BINPATH 3 | |
27 #define XDW_GI_PLUGINPATH 4 | |
28 #define XDW_GI_FOLDERROOTPATH 5 | |
29 #define XDW_GI_USERFOLDERPATH 6 | |
30 #define XDW_GI_SYSTEMFOLDERPATH 7 | |
31 #define XDW_GI_RECEIVEFOLDERPATH 8 | |
32 #define XDW_GI_SENDFOLDERPATH 9 | |
33 #define XDW_GI_DWINPUTPATH 10 | |
34 #define XDW_GI_DWDESKPATH 11 | |
35 #define XDW_GI_DWVIEWERPATH 12 | |
36 #define XDW_GI_DWVLTPATH 13 | |
37 #define XDW_GI_DWDESK_FILENAME_DELIMITER 1001 | |
38 #define XDW_GI_DWDESK_FILENAME_DIGITS 1002 | |
39 | |
40 | |
41 #define XDW_PGT_NULL 0 | |
42 #define XDW_PGT_FROMIMAGE 1 | |
43 #define XDW_PGT_FROMAPPL 2 | |
44 | |
45 #define XDW_MAXPATH 255 | |
46 #define XDW_MAXINPUTIMAGEPATH 127 | |
47 | |
48 #define XDW_OPEN_READONLY 0 | |
49 #define XDW_OPEN_UPDATE 1 | |
50 | |
51 #define XDW_AUTH_NONE 0 | |
52 #define XDW_AUTH_NODIALOGUE 1 | |
53 #define XDW_AUTH_CONDITIONAL_DIALOGUE 2 | |
54 | |
55 #define XDW_PERM_DOC_EDIT 0x02 | |
56 #define XDW_PERM_ANNO_EDIT 0x04 | |
57 #define XDW_PERM_PRINT 0x08 | |
58 #define XDW_PERM_COPY 0x10 | |
59 | |
60 #define XDW_DT_DOCUMENT 0 | |
61 #define XDW_DT_BINDER 1 | |
62 #define XDW_DT_CONTAINER 2 | |
63 | |
64 #define XDW_ROT_0 0 | |
65 #define XDW_ROT_90 90 | |
66 #define XDW_ROT_180 180 | |
67 #define XDW_ROT_270 270 | |
68 | |
69 #define XDW_CREATE_FITDEF 0 | |
70 #define XDW_CREATE_FIT 1 | |
71 #define XDW_CREATE_USERDEF 2 | |
72 #define XDW_CREATE_USERDEF_FIT 3 | |
73 #define XDW_CREATE_FITDEF_DIVIDEBMP 4 | |
74 | |
75 #define XDW_COMPRESS_NORMAL 0 | |
76 #define XDW_COMPRESS_LOSSLESS 1 | |
77 #define XDW_COMPRESS_HIGHQUALITY 2 | |
78 #define XDW_COMPRESS_HIGHCOMPRESS 3 | |
79 #define XDW_COMPRESS_NOCOMPRESS 4 | |
80 #define XDW_COMPRESS_JPEG 5 | |
81 #define XDW_COMPRESS_PACKBITS 6 | |
82 #define XDW_COMPRESS_G4 7 | |
83 #define XDW_COMPRESS_MRC_NORMAL 8 | |
84 #define XDW_COMPRESS_MRC_HIGHQUALITY 9 | |
85 #define XDW_COMPRESS_MRC_HIGHCOMPRESS 10 | |
86 #define XDW_COMPRESS_MRC 11 | |
87 #define XDW_COMPRESS_JPEG_TTN2 12 | |
88 | |
89 #define XDW_CONVERT_MRC_ORIGINAL 0 | |
90 #define XDW_CONVERT_MRC_OS 1 | |
91 | |
92 #define XDW_IMAGE_DIB 0 | |
93 #define XDW_IMAGE_TIFF 1 | |
94 #define XDW_IMAGE_JPEG 2 | |
95 #define XDW_IMAGE_PDF 3 | |
96 | |
97 #define XDW_CREATE_HCENTER 0 | |
98 #define XDW_CREATE_LEFT 1 | |
99 #define XDW_CREATE_RIGHT 2 | |
100 | |
101 #define XDW_CREATE_VCENTER 0 | |
102 #define XDW_CREATE_TOP 1 | |
103 #define XDW_CREATE_BOTTOM 2 | |
104 | |
105 #define XDW_CREATE_DEFAULT_SIZE 0 | |
106 #define XDW_CREATE_A3_SIZE 1 | |
107 #define XDW_CREATE_2A0_SIZE 2 | |
108 | |
109 #define XDW_LINE_NONE 0 | |
110 #define XDW_LINE_BEGINNING 1 | |
111 #define XDW_LINE_ENDING 2 | |
112 #define XDW_LINE_BOTH 3 | |
113 #define XDW_LINE_WIDE_POLYLINE 0 | |
114 #define XDW_LINE_POLYLINE 1 | |
115 #define XDW_LINE_POLYGON 2 | |
116 | |
117 #define XDW_BORDER_TYPE_SOLID 0 | |
118 #define XDW_BORDER_TYPE_DOT 1 | |
119 #define XDW_BORDER_TYPE_DASH 2 | |
120 #define XDW_BORDER_TYPE_DASHDOT 3 | |
121 #define XDW_BORDER_TYPE_DOUBLE 4 | |
122 | |
123 #define XDW_STAMP_AUTO 0 | |
124 #define XDW_STAMP_MANUAL 1 | |
125 #define XDW_STAMP_NO_BASISYEAR 0 | |
126 #define XDW_STAMP_BASISYEAR 1 | |
127 #define XDW_STAMP_DATE_YMD 0 | |
128 #define XDW_STAMP_DATE_DMY 1 | |
129 | |
130 #define XDW_PAGEFORM_HEADER 0 | |
131 #define XDW_PAGEFORM_FOOTER 1 | |
132 #define XDW_PAGEFORM_TOPIMAGE 2 | |
133 #define XDW_PAGEFORM_BOTTOMIMAGE 3 | |
134 #define XDW_PAGEFORM_PAGENUMBER 4 | |
135 | |
136 #define XDW_PAGEFORM_STAY 0 | |
137 #define XDW_PAGEFORM_REMOVE 1 | |
138 | |
139 #define XDW_ALIGN_LEFT 0 | |
140 #define XDW_ALIGN_HCENTER 1 | |
141 #define XDW_ALIGN_RIGHT 2 | |
142 #define XDW_ALIGN_TOP 0 | |
143 #define XDW_ALIGN_BOTTOM 1 | |
144 #define XDW_ALIGN_VCENTER 2 | |
145 | |
146 #define XDW_PAGERANGE_ALL 0 | |
147 #define XDW_PAGERANGE_SPECIFIED 1 | |
148 | |
149 #define XDW_CRTP_BEGINNING 1 | |
150 #define XDW_CRTP_PRINTING 2 | |
151 #define XDW_CRTP_PAGE_CREATING 3 | |
152 #define XDW_CRTP_ORIGINAL_APPENDING 4 | |
153 #define XDW_CRTP_WRITING 5 | |
154 #define XDW_CRTP_ENDING 6 | |
155 #define XDW_CRTP_CANCELING 7 | |
156 #define XDW_CRTP_FINISHED 8 | |
157 #define XDW_CRTP_CANCELED 9 | |
158 | |
159 #define XDW_AID_FUSEN 32794 | |
160 #define XDW_AID_TEXT 32785 | |
161 #define XDW_AID_STAMP 32819 | |
162 #define XDW_AID_STRAIGHTLINE 32828 | |
163 #define XDW_AID_RECTANGLE 32829 | |
164 #define XDW_AID_ARC 32830 | |
165 #define XDW_AID_POLYGON 32834 | |
166 #define XDW_AID_MARKER 32795 | |
167 #define XDW_AID_LINK 49199 | |
168 #define XDW_AID_PAGEFORM 32814 | |
169 #define XDW_AID_OLE 32783 | |
170 #define XDW_AID_BITMAP 32831 | |
171 #define XDW_AID_RECEIVEDSTAMP 32832 | |
172 #define XDW_AID_CUSTOM 32837 | |
173 #define XDW_AID_TITLE 32838 | |
174 #define XDW_AID_GROUP 32839 | |
175 | |
176 #define XDW_ATYPE_INT 0 | |
177 #define XDW_ATYPE_STRING 1 | |
178 #define XDW_ATYPE_DATE 2 | |
179 #define XDW_ATYPE_BOOL 3 | |
180 #define XDW_ATYPE_OCTS 4 | |
181 #define XDW_ATYPE_OTHER 999 | |
182 | |
183 #define XDW_SUMMARY_INFO 1 | |
184 #define XDW_USER_DEF 2 | |
185 #define XDW_ANNOTATION 4 | |
186 | |
187 #define XDW_SIZE_FREE 0 | |
188 #define XDW_SIZE_A3_PORTRAIT 1 | |
189 #define XDW_SIZE_A3_LANDSCAPE 2 | |
190 #define XDW_SIZE_A4_PORTRAIT 3 | |
191 #define XDW_SIZE_A4_LANDSCAPE 4 | |
192 #define XDW_SIZE_A5_PORTRAIT 5 | |
193 #define XDW_SIZE_A5_LANDSCAPE 6 | |
194 #define XDW_SIZE_B4_PORTRAIT 7 | |
195 #define XDW_SIZE_B4_LANDSCAPE 8 | |
196 #define XDW_SIZE_B5_PORTRAIT 9 | |
197 #define XDW_SIZE_B5_LANDSCAPE 10 | |
198 | |
199 #define XDW_BINDER_COLOR_0 0 | |
200 #define XDW_BINDER_COLOR_1 1 | |
201 #define XDW_BINDER_COLOR_2 2 | |
202 #define XDW_BINDER_COLOR_3 3 | |
203 #define XDW_BINDER_COLOR_4 4 | |
204 #define XDW_BINDER_COLOR_5 5 | |
205 #define XDW_BINDER_COLOR_6 6 | |
206 #define XDW_BINDER_COLOR_7 7 | |
207 #define XDW_BINDER_COLOR_8 8 | |
208 #define XDW_BINDER_COLOR_9 9 | |
209 #define XDW_BINDER_COLOR_10 10 | |
210 #define XDW_BINDER_COLOR_11 11 | |
211 #define XDW_BINDER_COLOR_12 12 | |
212 #define XDW_BINDER_COLOR_13 13 | |
213 #define XDW_BINDER_COLOR_14 14 | |
214 #define XDW_BINDER_COLOR_15 15 | |
215 | |
216 #define XDW_REDUCENOISE_NONE 0 | |
217 #define XDW_REDUCENOISE_NORMAL 1 | |
218 #define XDW_REDUCENOISE_WEAK 2 | |
219 #define XDW_REDUCENOISE_STRONG 3 | |
220 | |
221 #define XDW_PRIORITY_NONE 0 | |
222 #define XDW_PRIORITY_SPEED 1 | |
223 #define XDW_PRIORITY_RECOGNITION 2 | |
224 | |
225 #define XDW_OCR_ENGINE_V4 1 // old name - should be here for compatibility | |
226 #define XDW_OCR_ENGINE_DEFAULT 1 | |
227 #define XDW_OCR_ENGINE_WRP 2 | |
228 #define XDW_OCR_ENGINE_FRE 3 | |
229 #define XDW_OCR_ENGINE_FRE_MULTI 4 | |
230 | |
231 #define XDW_OCR_LANGUAGE_AUTO -1 | |
232 #define XDW_OCR_LANGUAGE_JAPANESE 0 | |
233 #define XDW_OCR_LANGUAGE_ENGLISH 1 | |
234 | |
235 #define XDW_OCR_MULTIPLELANGUAGES_ENGLISH 0x02 | |
236 #define XDW_OCR_MULTIPLELANGUAGES_FRENCH 0x04 | |
237 #define XDW_OCR_MULTIPLELANGUAGES_SIMPLIFIED_CHINESE 0x08 | |
238 #define XDW_OCR_MULTIPLELANGUAGES_TRADITIONAL_CHINESE 0x10 | |
239 #define XDW_OCR_MULTIPLELANGUAGES_THAI 0x20 | |
240 #define XDW_OCR_MULTIPLELANGUAGES_JAPANESE 0x40 | |
241 #define XDW_OCR_MULTIPLELANGUAGES_KOREAN 0x80 | |
242 | |
243 #define XDW_OCR_FORM_AUTO 0 | |
244 #define XDW_OCR_FORM_TABLE 1 | |
245 #define XDW_OCR_FORM_WRITING 2 | |
246 | |
247 #define XDW_OCR_COLUMN_AUTO 0 | |
248 #define XDW_OCR_COLUMN_HORIZONTAL_SINGLE 1 | |
249 #define XDW_OCR_COLUMN_HORIZONTAL_MULTI 2 | |
250 #define XDW_OCR_COLUMN_VERTICAL_SINGLE 3 | |
251 #define XDW_OCR_COLUMN_VERTICAL_MULTI 4 | |
252 | |
253 #define XDW_OCR_DOCTYPE_AUTO 0 | |
254 #define XDW_OCR_DOCTYPE_HORIZONTAL_SINGLE 1 | |
255 #define XDW_OCR_DOCTYPE_PLAINTEXT 2 | |
256 | |
257 #define XDW_OCR_ENGINE_LEVEL_SPEED 1 | |
258 #define XDW_OCR_ENGINE_LEVEL_STANDARD 2 | |
259 #define XDW_OCR_ENGINE_LEVEL_ACCURACY 3 | |
260 | |
261 #define XDW_OCR_MIXEDRATE_JAPANESE 1 | |
262 #define XDW_OCR_MIXEDRATE_BALANCED 2 | |
263 #define XDW_OCR_MIXEDRATE_ENGLISH 3 | |
264 | |
265 #define XDW_PROTECT_PSWD 1 | |
266 #define XDW_PROTECT_PSWD128 3 | |
267 #define XDW_PROTECT_PKI 4 | |
268 #define XDW_PROTECT_STAMP 5 | |
269 #define XDW_PROTECT_CONTEXT_SERVICE 6 | |
270 #define XDW_PROTECT_PSWD256 7 | |
271 #define XDW_PROTECT_PKI256 8 | |
272 | |
273 #define XDW_GPTI_TYPE_EMF 0 | |
274 #define XDW_GPTI_TYPE_OCRTEXT 1 | |
275 | |
276 #define XDW_IMAGE_MONO 0 | |
277 #define XDW_IMAGE_COLOR 1 | |
278 #define XDW_IMAGE_MONO_HIGHQUALITY 2 | |
279 | |
280 #define XDW_SIGNATURE_STAMP 100 | |
281 #define XDW_SIGNATURE_PKI 102 | |
282 #define XDW_SIGNATURE_PKI_SHA256 105 | |
283 | |
284 #define XDW_SIGNATURE_STAMP_DOC_NONE 0 | |
285 #define XDW_SIGNATURE_STAMP_DOC_NOEDIT 1 | |
286 #define XDW_SIGNATURE_STAMP_DOC_EDIT 2 | |
287 #define XDW_SIGNATURE_STAMP_DOC_BAD 3 | |
288 | |
289 #define XDW_SIGNATURE_STAMP_STAMP_NONE 0 | |
290 #define XDW_SIGNATURE_STAMP_STAMP_TRUSTED 1 | |
291 #define XDW_SIGNATURE_STAMP_STAMP_NOTRUST 2 | |
292 | |
293 #define XDW_SIGNATURE_STAMP_ERROR_OK 0 | |
294 #define XDW_SIGNATURE_STAMP_ERROR_NO_OPENING_CASE 1 | |
295 #define XDW_SIGNATURE_STAMP_ERROR_NO_SELFSTAMP 2 | |
296 #define XDW_SIGNATURE_STAMP_ERROR_OUT_OF_VALIDITY 3 | |
297 #define XDW_SIGNATURE_STAMP_ERROR_INVALID_DATA 4 | |
298 #define XDW_SIGNATURE_STAMP_ERROR_OUT_OF_MEMORY 100 | |
299 #define XDW_SIGNATURE_STAMP_ERROR_UNKNOWN 9999 | |
300 | |
301 #define XDW_SIGNATURE_PKI_DOC_UNKNOWN 0 | |
302 #define XDW_SIGNATURE_PKI_DOC_GOOD 1 | |
303 #define XDW_SIGNATURE_PKI_DOC_MODIFIED 2 | |
304 #define XDW_SIGNATURE_PKI_DOC_BAD 3 | |
305 #define XDW_SIGNATURE_PKI_DOC_GOOD_TRUSTED 4 | |
306 #define XDW_SIGNATURE_PKI_DOC_MODIFIED_TRUSTED 5 | |
307 | |
308 #define XDW_SIGNATURE_PKI_TYPE_LOW 0 | |
309 #define XDW_SIGNATURE_PKI_TYPE_MID_LOCAL 1 | |
310 #define XDW_SIGNATURE_PKI_TYPE_MID_NETWORK 2 | |
311 #define XDW_SIGNATURE_PKI_TYPE_HIGH_LOCAL 3 | |
312 #define XDW_SIGNATURE_PKI_TYPE_HIGH_NETWORK 4 | |
313 | |
314 #define XDW_SIGNATURE_PKI_CERT_UNKNOWN 0 | |
315 #define XDW_SIGNATURE_PKI_CERT_OK 1 | |
316 #define XDW_SIGNATURE_PKI_CERT_NO_ROOT_CERTIFICATE 2 | |
317 #define XDW_SIGNATURE_PKI_CERT_NO_REVOCATION_CHECK 3 | |
318 #define XDW_SIGNATURE_PKI_CERT_OUT_OF_VALIDITY 4 | |
319 #define XDW_SIGNATURE_PKI_CERT_OUT_OF_VALIDITY_AT_SIGNED_TIME 5 | |
320 #define XDW_SIGNATURE_PKI_CERT_REVOKE_CERTIFICATE 6 | |
321 #define XDW_SIGNATURE_PKI_CERT_REVOKE_INTERMEDIATE_CERTIFICATE 7 | |
322 #define XDW_SIGNATURE_PKI_CERT_INVALID_SIGNATURE 8 | |
323 #define XDW_SIGNATURE_PKI_CERT_INVALID_USAGE 9 | |
324 #define XDW_SIGNATURE_PKI_CERT_UNDEFINED_ERROR 10 | |
325 | |
326 #define XDW_SIGNATURE_PKI_ERROR_UNKNOWN 0 | |
327 #define XDW_SIGNATURE_PKI_ERROR_OK 1 | |
328 #define XDW_SIGNATURE_PKI_ERROR_BAD_PLATFORM 2 | |
329 #define XDW_SIGNATURE_PKI_ERROR_WRITE_REG_ERROR 3 | |
330 #define XDW_SIGNATURE_PKI_ERROR_BAD_TRUST_LEVEL 4 | |
331 #define XDW_SIGNATURE_PKI_ERROR_BAD_REVOKE_CHECK_TYPE 5 | |
332 #define XDW_SIGNATURE_PKI_ERROR_BAD_AUTO_IMPORT_CERT_FLAG 6 | |
333 #define XDW_SIGNATURE_PKI_ERROR_BAD_SIGN_CONFIG 7 | |
334 #define XDW_SIGNATURE_PKI_ERROR_NO_IMAGE_FILE 8 | |
335 #define XDW_SIGNATURE_PKI_ERROR_BAD_SIGN_CERT 9 | |
336 #define XDW_SIGNATURE_PKI_ERROR_NO_SIGN_CERT 10 | |
337 #define XDW_SIGNATURE_PKI_ERROR_NOT_USE_PRIVATE_KEY 11 | |
338 #define XDW_SIGNATURE_PKI_ERROR_INVALID 12 | |
339 #define XDW_SIGNATURE_PKI_ERROR_BAD_SIGN 13 | |
340 #define XDW_SIGNATURE_PKI_ERROR_REVOKE_CHECK_ERROR 14 | |
341 #define XDW_SIGNATURE_PKI_ERROR_OUT_OF_VALIDITY 15 | |
342 #define XDW_SIGNATURE_PKI_ERROR_NO_CERT 16 | |
343 #define XDW_SIGNATURE_PKI_ERROR_FAILURE_IMPOPT_CERT 17 | |
344 #define XDW_SIGNATURE_PKI_ERROR_NO_ROOT_CERT 18 | |
345 #define XDW_SIGNATURE_PKI_ERROR_BAD_CERT_SIZE 19 | |
346 #define XDW_SIGNATURE_PKI_ERROR_BAD_ARG 20 | |
347 #define XDW_SIGNATURE_PKI_ERROR_BAD_CERT_FORMAT 21 | |
348 | |
349 #define XDW_SECURITY_PKI_ERROR_UNKNOWN 0 | |
350 #define XDW_SECURITY_PKI_ERROR_OK 1 | |
351 #define XDW_SECURITY_PKI_ERROR_BAD_PLATFORM 2 | |
352 #define XDW_SECURITY_PKI_ERROR_WRITE_REG_ERROR 3 | |
353 #define XDW_SECURITY_PKI_ERROR_BAD_TRUST_LEVEL 4 | |
354 #define XDW_SECURITY_PKI_ERROR_BAD_REVOKE_CHECK_TYPE 5 | |
355 #define XDW_SECURITY_PKI_ERROR_REVOKED 6 | |
356 #define XDW_SECURITY_PKI_ERROR_BAD_SIGN 7 | |
357 #define XDW_SECURITY_PKI_ERROR_REVOKE_CHECK_ERROR 8 | |
358 #define XDW_SECURITY_PKI_ERROR_OUT_OF_VALIDITY 9 | |
359 #define XDW_SECURITY_PKI_ERROR_NO_CERT 10 | |
360 #define XDW_SECURITY_PKI_ERROR_FAILURE_IMPORT_CERT 11 | |
361 #define XDW_SECURITY_PKI_ERROR_NO_ROOT_CERT 12 | |
362 #define XDW_SECURITY_PKI_ERROR_BAD_CERT_FORMAT 13 | |
363 #define XDW_SECURITY_PKI_ERROR_BAD_CERT_USAGE 14 | |
364 #define XDW_SECURITY_PKI_ERROR_CA_CERT_IS_REVOKED 15 | |
365 #define XDW_SECURITY_PKI_ERROR_TOO_MANY_CERT 16 | |
366 | |
367 #define XDW_IGNORE_CASE 0x02 | |
368 #define XDW_IGNORE_WIDTH 0x04 | |
369 #define XDW_IGNORE_HIRAKATA 0x08 | |
370 | |
371 #define XDW_STARCH 1 | |
372 #define XDW_STARCH_OFF 0 | |
373 | |
374 #define XDW_TEXT_UNKNOWN 0 | |
375 #define XDW_TEXT_MULTIBYTE 1 | |
376 #define XDW_TEXT_UNICODE 2 | |
377 #define XDW_TEXT_UNICODE_IFNECESSARY 3 | |
378 | |
379 #define XDW_HGLOBAL void* | |
380 | |
381 typedef struct { int dummy; } *XDW_DOCUMENT_HANDLE; | |
382 typedef struct { int dummy; } *XDW_CREATE_HANDLE; | |
383 typedef struct { int dummy; } *XDW_ANNOTATION_HANDLE; | |
384 typedef struct { int dummy; } *XDW_FOUND_HANDLE; | |
385 | |
386 typedef unsigned short XDW_WCHAR; | |
387 | |
388 typedef struct tag_XDW_RECT { | |
389 long left; | |
390 long top; | |
391 long right; | |
392 long bottom; | |
393 } XDW_RECT; | |
394 | |
395 typedef struct tag_XDW_GPTI_OCRTEXT_UNIT { | |
396 const char* lpszText; | |
397 XDW_RECT rect; | |
398 } XDW_GPTI_OCRTEXT_UNIT; | |
399 | |
400 typedef struct tag_XDW_GPTI_OCRTEXT { | |
401 int nUnitNum; | |
402 XDW_GPTI_OCRTEXT_UNIT* pUnits; | |
403 } XDW_GPTI_OCRTEXT; | |
404 | |
405 typedef struct tag_XDW_GPTI_INFO { | |
406 int nSize; | |
407 int nInfoType; | |
408 int nPageWidth; | |
409 int nPageHeight; | |
410 int nRotateDegree; | |
411 int nDataSize; | |
412 XDW_HGLOBAL pData; | |
413 } XDW_GPTI_INFO; | |
414 | |
415 typedef struct tag_XDW_DOCUMENT_INFO { | |
416 int nSize; | |
417 int nPages; | |
418 int nVersion; | |
419 int nOriginalData; | |
420 int nDocType; | |
421 int nPermission; | |
422 int nShowAnnotations; | |
423 int nDocuments; | |
424 int nBinderColor; | |
425 int nBinderSize; | |
426 } XDW_DOCUMENT_INFO; | |
427 | |
428 typedef struct tag_XDW_PAGE_INFO { | |
429 int nSize; | |
430 int nWidth; | |
431 int nHeight; | |
432 int nPageType; | |
433 int nHorRes; | |
434 int nVerRes; | |
435 int nCompressType; | |
436 int nAnnotations; | |
437 } XDW_PAGE_INFO; | |
438 | |
439 typedef struct tag_XDW_PAGE_INFO_EX { | |
440 int nSize; | |
441 int nWidth; | |
442 int nHeight; | |
443 int nPageType; | |
444 int nHorRes; | |
445 int nVerRes; | |
446 int nCompressType; | |
447 int nAnnotations; | |
448 int nDegree; | |
449 int nOrgWidth; | |
450 int nOrgHeight; | |
451 int nOrgHorRes; | |
452 int nOrgVerRes; | |
453 int nImageWidth; | |
454 int nImageHeight; | |
455 } XDW_PAGE_INFO_EX; | |
456 | |
457 typedef struct tag_XDW_IMAGE_OPTION { | |
458 int nSize; | |
459 int nDpi; | |
460 int nColor; | |
461 } XDW_IMAGE_OPTION; | |
462 | |
463 typedef struct tag_XDW_OPEN_MODE { | |
464 int nSize; | |
465 int nOption; | |
466 } XDW_OPEN_MODE; | |
467 | |
468 typedef struct tag_XDW_OPEN_MODE_EX { | |
469 int nSize; | |
470 int nOption; | |
471 int nAuthMode; | |
472 } XDW_OPEN_MODE_EX; | |
473 | |
474 typedef struct tag_XDW_CREATE_OPTION { | |
475 int nSize; | |
476 int nFitImage; | |
477 int nCompress; | |
478 int nZoom; | |
479 int nWidth; | |
480 int nHeight; | |
481 int nHorPos; | |
482 int nVerPos; | |
483 } XDW_CREATE_OPTION; | |
484 | |
485 typedef struct tag_XDW_CREATE_OPTION_EX { | |
486 int nSize; | |
487 int nFitImage; | |
488 int nCompress; | |
489 int nZoom; | |
490 int nWidth; | |
491 int nHeight; | |
492 int nHorPos; | |
493 int nVerPos; | |
494 int nZoomDetail; | |
495 } XDW_CREATE_OPTION_EX; | |
496 | |
497 typedef struct tag_XDW_CREATE_OPTION_EX2 { | |
498 int nSize; | |
499 int nFitImage; | |
500 int nCompress; | |
501 int nZoom; | |
502 int nWidth; | |
503 int nHeight; | |
504 int nHorPos; | |
505 int nVerPos; | |
506 int nZoomDetail; | |
507 int nMaxPaperSize; | |
508 } XDW_CREATE_OPTION_EX2; | |
509 | |
510 | |
511 #define XDW_SIZEOF_ORGDATANAME 256 | |
512 typedef struct tag_XDW_ORGDATA_INFO { | |
513 int nSize; | |
514 int nDataSize; | |
515 long nDate; | |
516 char szName[XDW_SIZEOF_ORGDATANAME]; | |
517 } XDW_ORGDATA_INFO; | |
518 | |
519 typedef struct tag_XDW_ORGDATA_INFOW { | |
520 int nSize; | |
521 int nDataSize; | |
522 long nDate; | |
523 XDW_WCHAR szName[XDW_SIZEOF_ORGDATANAME]; | |
524 } XDW_ORGDATA_INFOW; | |
525 | |
526 #define XDW_SIZEOF_LINKROOTFOLDER 256 | |
527 typedef struct tag_XDW_LINKROOTFOLDER_INFO { | |
528 int nSize; | |
529 char szPath[XDW_SIZEOF_LINKROOTFOLDER]; | |
530 char szLinkRootFolderName[XDW_SIZEOF_LINKROOTFOLDER]; | |
531 } XDW_LINKROOTFOLDER_INFO ; | |
532 | |
533 typedef struct tag_XDW_LINKROOTFOLDER_INFOW { | |
534 int nSize; | |
535 XDW_WCHAR wszPath[XDW_SIZEOF_LINKROOTFOLDER]; | |
536 XDW_WCHAR wszLinkRootFolderName[XDW_SIZEOF_LINKROOTFOLDER]; | |
537 } XDW_LINKROOTFOLDER_INFOW ; | |
538 | |
539 typedef struct tag_XDW_CREATE_STATUS { | |
540 int nSize; | |
541 int phase; | |
542 int nTotalPage; | |
543 int nPage; | |
544 } XDW_CREATE_STATUS; | |
545 | |
546 typedef struct tag_XDW_ANNOTATION_INFO { | |
547 int nSize; | |
548 XDW_ANNOTATION_HANDLE handle; | |
549 int nHorPos; | |
550 int nVerPos; | |
551 int nWidth; | |
552 int nHeight; | |
553 int nAnnotationType; | |
554 int nChildAnnotations; | |
555 } XDW_ANNOTATION_INFO; | |
556 | |
557 | |
558 typedef struct tag_XDW_AA_INITIAL_DATA { | |
559 int nSize; | |
560 int nAnnotationType; | |
561 int nReserved1; | |
562 int nReserved2; | |
563 } XDW_AA_INITIAL_DATA; | |
564 | |
565 typedef struct tag_XDW_AA_FUSEN_INITIAL_DATA { | |
566 XDW_AA_INITIAL_DATA common; | |
567 int nWidth; | |
568 int nHeight; | |
569 } XDW_AA_FUSEN_INITIAL_DATA; | |
570 | |
571 typedef struct tag_XDW_AA_STRAIGHTLINE_INITIAL_DATA { | |
572 XDW_AA_INITIAL_DATA common; | |
573 int nHorVec; | |
574 int nVerVec; | |
575 } XDW_AA_STRAIGHTLINE_INITIAL_DATA; | |
576 | |
577 typedef struct tag_XDW_AA_RECT_INITIAL_DATA { | |
578 XDW_AA_INITIAL_DATA common; | |
579 int nWidth; | |
580 int nHeight; | |
581 } XDW_AA_RECT_INITIAL_DATA; | |
582 | |
583 typedef struct tag_XDW_AA_ARC_INITIAL_DATA { | |
584 XDW_AA_INITIAL_DATA common; | |
585 int nWidth; | |
586 int nHeight; | |
587 } XDW_AA_ARC_INITIAL_DATA; | |
588 | |
589 typedef struct tag_XDW_AA_BITMAP_INITIAL_DATA { | |
590 XDW_AA_INITIAL_DATA common; | |
591 char szImagePath[256]; | |
592 } XDW_AA_BITMAP_INITIAL_DATA; | |
593 | |
594 typedef struct tag_XDW_AA_BITMAP_INITIAL_DATAW { | |
595 XDW_AA_INITIAL_DATA common; | |
596 XDW_WCHAR wszImagePath[256]; | |
597 } XDW_AA_BITMAP_INITIAL_DATAW; | |
598 | |
599 typedef struct tag_XDW_AA_STAMP_INITIAL_DATA { | |
600 XDW_AA_INITIAL_DATA common; | |
601 int nWidth; | |
602 } XDW_AA_STAMP_INITIAL_DATA; | |
603 | |
604 typedef struct tag_XDW_AA_RECEIVEDSTAMP_INITIAL_DATA { | |
605 XDW_AA_INITIAL_DATA common; | |
606 int nWidth; | |
607 } XDW_AA_RECEIVEDSTAMP_INITIAL_DATA; | |
608 | |
609 #define XDW_SIZEOF_GUID 36 | |
610 typedef struct tag_XDW_AA_CUSTOM_INITIAL_DATA { | |
611 XDW_AA_INITIAL_DATA common; | |
612 int nWidth; | |
613 int nHeight; | |
614 char* lpszGuid; | |
615 int nCustomDataSize; | |
616 unsigned char* pCustomData; | |
617 } XDW_AA_CUSTOM_INITIAL_DATA; | |
618 | |
619 typedef struct tag_XDW_IMAGE_OPTION_EX { | |
620 int nSize; | |
621 int nDpi; | |
622 int nColor; | |
623 int nImageType; | |
624 void* pDetailOption; | |
625 } XDW_IMAGE_OPTION_EX; | |
626 | |
627 typedef struct tag_XDW_IMAGE_OPTION_TIFF { | |
628 int nSize; | |
629 int nCompress; | |
630 int nEndOfMultiPages; | |
631 } XDW_IMAGE_OPTION_TIFF; | |
632 | |
633 typedef struct tag_XDW_IMAGE_OPTION_JPEG { | |
634 int nSize; | |
635 int nCompress; | |
636 } XDW_IMAGE_OPTION_JPEG; | |
637 | |
638 typedef struct tag_XDW_IMAGE_OPTION_PDF { | |
639 int nSize; | |
640 int nCompress; | |
641 int nConvertMethod; | |
642 int nEndOfMultiPages; | |
643 } XDW_IMAGE_OPTION_PDF; | |
644 | |
645 typedef struct tag_XDW_BINDER_INITIAL_DATA { | |
646 int nSize; | |
647 int nBinderColor; | |
648 int nBinderSize; | |
649 } XDW_BINDER_INITIAL_DATA; | |
650 | |
651 typedef struct tag_XDW_OCR_OPTION_V4 { | |
652 int nSize; | |
653 int nNoiseReduction; | |
654 int nLanguage; | |
655 int nInsertSpaceCharacter; | |
656 int nJapaneseKnowledgeProcessing; | |
657 int nForm; | |
658 int nColumn; | |
659 int nDisplayProcess; | |
660 int nAutoDeskew; | |
661 } XDW_OCR_OPTION_V4; | |
662 | |
663 typedef struct tag_XDW_OCR_OPTION_V5 { | |
664 int nSize; | |
665 int nNoiseReduction; | |
666 int nLanguage; | |
667 int nInsertSpaceCharacter; | |
668 int nJapaneseKnowledgeProcessing; | |
669 int nForm; | |
670 int nColumn; | |
671 int nDisplayProcess; | |
672 int nAutoDeskew; | |
673 unsigned int nAreaNum; | |
674 XDW_RECT** pAreaRects; | |
675 } XDW_OCR_OPTION_V5; | |
676 | |
677 typedef struct tag_XDW_OCR_OPTION_V5_EX { | |
678 int nSize; | |
679 int nNoiseReduction; | |
680 int nLanguage; | |
681 int nInsertSpaceCharacter; | |
682 int nJapaneseKnowledgeProcessing; | |
683 int nForm; | |
684 int nColumn; | |
685 int nDisplayProcess; | |
686 int nAutoDeskew; | |
687 unsigned int nAreaNum; | |
688 XDW_RECT** pAreaRects; | |
689 int nPriority; | |
690 } XDW_OCR_OPTION_V5_EX; | |
691 | |
692 typedef struct tag_XDW_OCR_OPTION_WRP { | |
693 int nSize; | |
694 int nNoiseReduction; | |
695 int nLanguage; | |
696 int nInsertSpaceCharacter; | |
697 int nForm; | |
698 int nColumn; | |
699 int nAutoDeskew; | |
700 int nPriority; | |
701 } XDW_OCR_OPTION_WRP; | |
702 | |
703 typedef struct tag_XDW_OCR_OPTION_FRE { | |
704 int nSize; | |
705 int nNoiseReduction; | |
706 int nLanguage; | |
707 int nDocumentType; | |
708 int nDisplayProcess; | |
709 int nAutoDeskew; | |
710 unsigned int nAreaNum; | |
711 XDW_RECT** pAreaRects; | |
712 int nPriority; | |
713 } XDW_OCR_OPTION_FRE; | |
714 | |
715 typedef struct tag_XDW_OCR_OPTION_V7 { | |
716 int nSize; | |
717 int nNoiseReduction; | |
718 int nLanguage; | |
719 int nInsertSpaceCharacter; | |
720 int nJapaneseKnowledgeProcessing; | |
721 int nForm; | |
722 int nColumn; | |
723 int nDisplayProcess; | |
724 int nAutoDeskew; | |
725 unsigned int nAreaNum; | |
726 XDW_RECT** pAreaRects; | |
727 int nPriority; | |
728 int nEngineLevel; | |
729 int nLanguageMixedRate; | |
730 int nHalfSizeChar; | |
731 } XDW_OCR_OPTION_V7; | |
732 | |
733 typedef struct tag_XDW_OCR_OPTION_FRE_V7 { | |
734 int nSize; | |
735 int nNoiseReduction; | |
736 int nLanguage; | |
737 int nDocumentType; | |
738 int nDisplayProcess; | |
739 int nAutoDeskew; | |
740 unsigned int nAreaNum; | |
741 XDW_RECT** pAreaRects; | |
742 int nPriority; | |
743 int nEngineLevel; | |
744 } XDW_OCR_OPTION_FRE_V7; | |
745 | |
746 typedef struct tag_XDW_PAGE_COLOR_INFO { | |
747 int nSize; | |
748 int nColor; | |
749 int nImageDepth; | |
750 } XDW_PAGE_COLOR_INFO; | |
751 | |
752 #define XDW_SIZEOF_PSWD 256 | |
753 typedef struct tag_XDW_SECURITY_OPTION_PSWD { | |
754 int nSize; | |
755 int nPermission; | |
756 char szOpenPswd[XDW_SIZEOF_PSWD]; | |
757 char szFullAccessPswd[XDW_SIZEOF_PSWD]; | |
758 char* lpszComment; | |
759 } XDW_SECURITY_OPTION_PSWD; | |
760 | |
761 typedef struct tag_XDW_DER_CERTIFICATE { | |
762 void *pCert; | |
763 int nCertSize; | |
764 } XDW_DER_CERTIFICATE; | |
765 | |
766 typedef struct tag_XDW_SECURITY_OPTION_PKI { | |
767 int nSize; | |
768 int nPermission; | |
769 XDW_DER_CERTIFICATE* lpxdcCerts; | |
770 int nCertsNum; | |
771 int nFullAccessCertsNum; | |
772 int nErrorStatus; | |
773 int nFirstErrorCert; | |
774 } XDW_SECURITY_OPTION_PKI; | |
775 | |
776 typedef struct tag_XDW_PROTECT_OPTION { | |
777 int nSize; | |
778 int nAuthMode; | |
779 } XDW_PROTECT_OPTION; | |
780 | |
781 typedef struct tag_XDW_RELEASE_PROTECTION_OPTION { | |
782 int nSize; | |
783 int nAuthMode; | |
784 } XDW_RELEASE_PROTECTION_OPTION; | |
785 | |
786 typedef struct tag_XDW_PROTECTION_INFO { | |
787 int nSize; | |
788 int nProtectType; | |
789 int nPermission; | |
790 } XDW_PROTECTION_INFO; | |
791 | |
792 typedef struct tag_XDW_SIGNATURE_OPTION_V5 { | |
793 int nSize; | |
794 int nPage; | |
795 int nHorPos; | |
796 int nVerPos; | |
797 int nSignatureType; | |
798 } XDW_SIGNATURE_OPTION_V5; | |
799 | |
800 typedef struct tag_XDW_SIGNATURE_INFO_V5 { | |
801 int nSize; | |
802 int nSignatureType; | |
803 int nPage; | |
804 int nHorPos; | |
805 int nVerPos; | |
806 int nWidth; | |
807 int nHeight; | |
808 long nSignedTime; | |
809 } XDW_SIGNATURE_INFO_V5; | |
810 | |
811 typedef struct tag_XDW_SIGNATURE_MODULE_STATUS { | |
812 int nSize; | |
813 int nSignatureType; | |
814 int nErrorStatus; | |
815 } XDW_SIGNATURE_MODULE_STATUS; | |
816 | |
817 typedef struct tag_XDW_SIGNATURE_MODULE_OPTION_PKI { | |
818 int nSize; | |
819 void *pSignerCert; | |
820 int nSignerCertSize; | |
821 } XDW_SIGNATURE_MODULE_OPTION_PKI; | |
822 | |
823 #define XDW_SIZEOF_STAMPNAME 256 | |
824 #define XDW_SIZEOF_STAMPOWNERNAME 64 | |
825 #define XDW_SIZEOF_STAMPREMARKS 1024 | |
826 typedef struct tag_XDW_SIGNATURE_STAMP_INFO_V5 { | |
827 int nSize; | |
828 char lpszStampName[XDW_SIZEOF_STAMPNAME]; | |
829 char lpszOwnerName[XDW_SIZEOF_STAMPOWNERNAME]; | |
830 long nValidDate; | |
831 char lpszRemarks[XDW_SIZEOF_STAMPREMARKS]; | |
832 int nDocVerificationStatus; | |
833 int nStampVerificationStatus; | |
834 } XDW_SIGNATURE_STAMP_INFO_V5; | |
835 | |
836 #define XDW_SIZEOF_PKIMODULENAME 16 | |
837 #define XDW_SIZEOF_PKISUBJECTDN 512 | |
838 #define XDW_SIZEOF_PKISUBJECT 256 | |
839 #define XDW_SIZEOF_PKIISSUERDN 512 | |
840 #define XDW_SIZEOF_PKIISSUER 256 | |
841 #define XDW_SIZEOF_PKINOTBEFORE 32 | |
842 #define XDW_SIZEOF_PKINOTAFTER 32 | |
843 #define XDW_SIZEOF_PKISERIAL 64 | |
844 #define XDW_SIZEOF_PKIREMARKS 64 | |
845 #define XDW_SIZEOF_PKISIGNEDTIME 32 | |
846 | |
847 typedef struct tag_XDW_SIGNATURE_PKI_INFO_V5 { | |
848 int nSize; | |
849 char lpszModule[XDW_SIZEOF_PKIMODULENAME]; | |
850 char lpszSubjectDN[XDW_SIZEOF_PKISUBJECTDN]; | |
851 char lpszSubject[XDW_SIZEOF_PKISUBJECT]; | |
852 char lpszIssuerDN[XDW_SIZEOF_PKIISSUERDN]; | |
853 char lpszIssuer[XDW_SIZEOF_PKIISSUER]; | |
854 char lpszNotBefore[XDW_SIZEOF_PKINOTBEFORE]; | |
855 char lpszNotAfter[XDW_SIZEOF_PKINOTAFTER]; | |
856 char lpszSerial[XDW_SIZEOF_PKISERIAL]; | |
857 void* pSignerCert; | |
858 int nSignerCertSize; | |
859 char lpszRemarks[XDW_SIZEOF_PKIREMARKS]; | |
860 char lpszSigningTime[XDW_SIZEOF_PKISIGNEDTIME]; | |
861 int nDocVerificationStatus; | |
862 int nCertVerificationType; | |
863 int nCertVerificationStatus; | |
864 } XDW_SIGNATURE_PKI_INFO_V5; | |
865 | |
866 typedef struct tag_XDW_OCR_TEXTINFO { | |
867 int nSize; | |
868 int nWidth; | |
869 int nHeight; | |
870 long charset; | |
871 char* lpszText; | |
872 int nLineRect; | |
873 XDW_RECT* pLineRect; | |
874 } XDW_OCR_TEXTINFO; | |
875 | |
876 typedef struct tag_XDW_OCRIMAGE_OPTION { | |
877 int nSize; | |
878 int nDpi; | |
879 int nNoiseReduction; | |
880 int nPriority; | |
881 } XDW_OCRIMAGE_OPTION; | |
882 | |
883 typedef struct tag_XDW_FIND_TEXT_OPTION { | |
884 int nSize; | |
885 int nIgnoreMode; | |
886 int nReserved; | |
887 int nReserved2; | |
888 } XDW_FIND_TEXT_OPTION; | |
889 | |
890 #define XDW_FOUND_RECT_STATUS_HIT (0) | |
891 #define XDW_FOUND_RECT_STATUS_PAGE (1) | |
892 | |
893 typedef struct tag_XDW_POINT { | |
894 int x; | |
895 int y; | |
896 } XDW_POINT; | |
897 | |
898 | |
899 typedef struct tag_XDW_AA_MARKER_INITIAL_DATA { | |
900 XDW_AA_INITIAL_DATA common; | |
901 int nCounts; | |
902 XDW_POINT* pPoints; | |
903 } XDW_AA_MARKER_INITIAL_DATA; | |
904 | |
905 typedef struct tag_XDW_AA_POLYGON_INITIAL_DATA { | |
906 XDW_AA_INITIAL_DATA common; | |
907 int nCounts; | |
908 XDW_POINT* pPoints; | |
909 } XDW_AA_POLYGON_INITIAL_DATA; | |
910 | |
911 typedef struct XDW_BEGIN_CREATE_OPTION { | |
912 int nSize; | |
913 BOOL bNoUseSpecifiedApp; | |
914 } XDW_BEGIN_CREATE_OPTION; | |
915 | |
916 #ifdef _WIN64 | |
917 #ifndef XDW_DISABLE_PRAGMA_PACK | |
918 #pragma pack(pop, xdwapi_enter_parser) | |
919 #endif /* XDW_DISABLE_PRAGMA_PACK */ | |
920 #endif /* _WIN64 */ | |
921 | |
922 #endif //XDWAPI_DECLARATIONS | |
923 | |
924 | |
925 int XDWAPI XDW_GetInformation(int nIndex, char* lpszOutput, int nSize, void* reserved); | |
926 int XDWAPI XDW_GetInformationW(int nIndex, XDW_WCHAR* lpwszOutput, int nSize, void* reserved); | |
927 int XDWAPI XDW_AddSystemFolder(int nIndex, void* reserved ); | |
928 | |
929 int XDWAPI XDW_MergeXdwFiles(const char** lpszInputPaths, int nFiles, const char* lpszOutputPath, void* reserved ); | |
930 int XDWAPI XDW_MergeXdwFilesW(const XDW_WCHAR** lpwszInputPaths, int nFiles, const XDW_WCHAR* lpwszOutputPath, void* reserved ); | |
931 int XDWAPI XDW_OpenDocumentHandle(const char* lpszFilePath, XDW_DOCUMENT_HANDLE* pHandle, XDW_OPEN_MODE* pOpenMode); | |
932 int XDWAPI XDW_OpenDocumentHandleW(const XDW_WCHAR* lpwszFilePath, XDW_DOCUMENT_HANDLE* pHandle, XDW_OPEN_MODE* pOpenMode); | |
933 int XDWAPI XDW_CloseDocumentHandle(XDW_DOCUMENT_HANDLE handle, void* reserved ); | |
934 int XDWAPI XDW_GetDocumentInformation(XDW_DOCUMENT_HANDLE handle, XDW_DOCUMENT_INFO* pDocumentInfo); | |
935 int XDWAPI XDW_GetPageInformation(XDW_DOCUMENT_HANDLE handle, int nPage, XDW_PAGE_INFO* pPageInfo); | |
936 int XDWAPI XDW_GetPageImage(XDW_DOCUMENT_HANDLE handle, int nPage, const char* lpszOutputPath, void* reserved); | |
937 int XDWAPI XDW_GetPageImageW(XDW_DOCUMENT_HANDLE handle, int nPage, const XDW_WCHAR* lpwszOutputPath, void* reserved); | |
938 int XDWAPI XDW_GetPageText(XDW_DOCUMENT_HANDLE handle, int nPage, const char* lpszOutputPath, void* reserved ); | |
939 int XDWAPI XDW_ConvertPageToImageFile(XDW_DOCUMENT_HANDLE handle, int nPage, const char* lpszOutputPath, XDW_IMAGE_OPTION* pImageOption); | |
940 int XDWAPI XDW_ConvertPageToImageFileW(XDW_DOCUMENT_HANDLE handle, int nPage, const XDW_WCHAR* lpwszOutputPath, XDW_IMAGE_OPTION* pImageOption); | |
941 int XDWAPI XDW_GetPage(XDW_DOCUMENT_HANDLE handle, int nPage, const char* lpszOutputPath, void* reserved); | |
942 int XDWAPI XDW_GetPageW(XDW_DOCUMENT_HANDLE handle, int nPage, const XDW_WCHAR* lpwszOutputPath, void* reserved); | |
943 int XDWAPI XDW_DeletePage(XDW_DOCUMENT_HANDLE handle, int nPage, void* reserved); | |
944 int XDWAPI XDW_RotatePage(XDW_DOCUMENT_HANDLE handle, int nPage, int nDegree, void* reserved); | |
945 int XDWAPI XDW_SaveDocument(XDW_DOCUMENT_HANDLE handle, void* reserved); | |
946 int XDWAPI XDW_CreateXdwFromImageFile(const char* lpszInputPath, const char* lpszOutputPath, XDW_CREATE_OPTION* pOption); | |
947 int XDWAPI XDW_CreateXdwFromImageFileW(const XDW_WCHAR* lpwszInputPath, const XDW_WCHAR* lpwszOutputPath, XDW_CREATE_OPTION* pOption); | |
948 | |
949 int XDWAPI XDW_GetOriginalDataInformation(XDW_DOCUMENT_HANDLE handle, int nOriginalData, XDW_ORGDATA_INFO* pOriginalDataInfo, void* reserved); | |
950 int XDWAPI XDW_GetOriginalData(XDW_DOCUMENT_HANDLE handle, int nOriginalData, const char* lpszOutputPath, void* reserved); | |
951 int XDWAPI XDW_GetOriginalDataW(XDW_DOCUMENT_HANDLE handle, int nOriginalData, const XDW_WCHAR* lpwszOutputPath, void* reserved); | |
952 int XDWAPI XDW_InsertOriginalData(XDW_DOCUMENT_HANDLE handle, int nOriginalData, const char* lpszInputPath, void* reserved); | |
953 int XDWAPI XDW_DeleteOriginalData(XDW_DOCUMENT_HANDLE handle, int nOriginalData, void* reserved); | |
954 | |
955 int XDWAPI XDW_BeginCreationFromAppFile(const char* lpszInputPath, const char* lpszOutputPath, BOOL bWithOriginal, XDW_CREATE_HANDLE* handle, void* pCreateOption); | |
956 int XDWAPI XDW_BeginCreationFromAppFileW(const XDW_WCHAR* lpszInputPath, const XDW_WCHAR* lpszOutputPath, BOOL bWithOriginal, XDW_CREATE_HANDLE* handle, void* pCreateOption); | |
957 int XDWAPI XDW_EndCreationFromAppFile(XDW_CREATE_HANDLE handle, void* reserved); | |
958 int XDWAPI XDW_GetStatusCreationFromAppFile(XDW_CREATE_HANDLE handle, XDW_CREATE_STATUS* pStatus); | |
959 int XDWAPI XDW_CancelCreationFromAppFile(XDW_CREATE_HANDLE handle, void* reserved); | |
960 | |
961 int XDWAPI XDW_GetUserAttribute(XDW_DOCUMENT_HANDLE handle, const char* lpszAttributeName, char* pAttributeValue, int nDataSize, void *reserved); | |
962 int XDWAPI XDW_SetUserAttribute(XDW_DOCUMENT_HANDLE handle, const char* lpszAttributeName, char* pAttributeValue, int nDataSize, void *reserved); | |
963 | |
964 int XDWAPI XDW_GetAnnotationInformation(XDW_DOCUMENT_HANDLE hDocument, int nPage, XDW_ANNOTATION_HANDLE hAnnotation,int nIndex, XDW_ANNOTATION_INFO* pAnnotationInfo, void* reserved); | |
965 int XDWAPI XDW_GetAnnotationAttribute(XDW_ANNOTATION_HANDLE handle, const char* lpszAttributeName, char* pAttribute, int nDataSize, void* reserved); | |
966 | |
967 int XDWAPI XDW_AddAnnotation(XDW_DOCUMENT_HANDLE handle, int hAnnotationType, int nPage, int nHorPos, int nVerPos, XDW_AA_INITIAL_DATA *pInitialData, XDW_ANNOTATION_HANDLE* phNewAnnotation, void* reserved); | |
968 int XDWAPI XDW_RemoveAnnotation(XDW_DOCUMENT_HANDLE handle, XDW_ANNOTATION_HANDLE hRemoveAnnotation, void* reserved); | |
969 int XDWAPI XDW_SetAnnotationAttribute(XDW_DOCUMENT_HANDLE handle, XDW_ANNOTATION_HANDLE hAnnotation, const char* lpszAttributeName, int nAttributeType, char* pAttributeValue, int nReserved, void* pReserved); | |
970 int XDWAPI XDW_SetAnnotationSize(XDW_DOCUMENT_HANDLE handle, XDW_ANNOTATION_HANDLE hAnnotation, int nWidth, int nHeight, void* reserved); | |
971 int XDWAPI XDW_SetAnnotationPosition(XDW_DOCUMENT_HANDLE handle, XDW_ANNOTATION_HANDLE hAnnotation, int nHorPos, int nVerPos, void* reserved); | |
972 int XDWAPI XDW_CreateSfxDocument(const char* lpszInputPath, const char* lpszOutputPath, void* reserved); | |
973 int XDWAPI XDW_CreateSfxDocumentW(const XDW_WCHAR* lpwszInputPath, const XDW_WCHAR* lpwszOutputPath, void* reserved); | |
974 int XDWAPI XDW_ExtractFromSfxDocument(const char* lpszInputPath, const char* lpszOutputPath, void* reserved); | |
975 int XDWAPI XDW_ExtractFromSfxDocumentW(const XDW_WCHAR* lpwszInputPath, const XDW_WCHAR* lpwszOutputPath, void* reserved); | |
976 | |
977 int XDWAPI XDW_ConvertPageToImageHandle(XDW_DOCUMENT_HANDLE handle, int nPage, XDW_HGLOBAL* phDIB, XDW_IMAGE_OPTION* pImageOption); | |
978 int XDWAPI XDW_GetThumbnailImageHandle(XDW_DOCUMENT_HANDLE handle, int nPage, XDW_HGLOBAL* phDIB, void* reserved); | |
979 | |
980 int XDWAPI XDW_GetPageTextToMemory(XDW_DOCUMENT_HANDLE handle, int nPage, char* lpszValue, int nDataSize, void* reserved); | |
981 int XDWAPI XDW_GetFullText(XDW_DOCUMENT_HANDLE handle, const char* lpszOutputPath, void* reserved); | |
982 int XDWAPI XDW_GetPageUserAttribute(XDW_DOCUMENT_HANDLE handle, int nPage, const char* lpszAttributeName, char* pAttributeValue, int nDataSize, void *reserved); | |
983 int XDWAPI XDW_SetPageUserAttribute(XDW_DOCUMENT_HANDLE handle, int nPage, const char* lpszAttributeName, char* pAttributeValue, int nDataSize, void *reserved); | |
984 | |
985 int XDWAPI XDW_ReducePageNoise(XDW_DOCUMENT_HANDLE handle, int nPage, int nLevel, void* reserved); | |
986 int XDWAPI XDW_ShowOrHideAnnotations(XDW_DOCUMENT_HANDLE handle, int nShowAnnotations, void* reserved); | |
987 int XDWAPI XDW_GetCompressedPageImage(XDW_DOCUMENT_HANDLE handle, int nPage, const char* lpszOutputPath, void* reserved); | |
988 int XDWAPI XDW_GetCompressedPageImageW(XDW_DOCUMENT_HANDLE handle, int nPage, const XDW_WCHAR* lpwszOutputPath, void* reserved); | |
989 int XDWAPI XDW_InsertDocument(XDW_DOCUMENT_HANDLE handle, int nPage, const char* lpszInputPath, void* reserved); | |
990 int XDWAPI XDW_InsertDocumentW(XDW_DOCUMENT_HANDLE handle, int nPage, const XDW_WCHAR* lpwszInputPath, void* reserved); | |
991 int XDWAPI XDW_ApplyOcr(XDW_DOCUMENT_HANDLE handle, int nPage, int nOcrEngine, void* pOption, void* reserved); | |
992 int XDWAPI XDW_RotatePageAuto(XDW_DOCUMENT_HANDLE handle, int nPage, void* reserved); | |
993 int XDWAPI XDW_CreateBinder(const char* lpszOutputPath, XDW_BINDER_INITIAL_DATA* pInitialData, void* reserved); | |
994 int XDWAPI XDW_CreateBinderW(const XDW_WCHAR* lpwszOutputPath, XDW_BINDER_INITIAL_DATA* pInitialData, void* reserved); | |
995 int XDWAPI XDW_InsertDocumentToBinder(XDW_DOCUMENT_HANDLE handle, int nPosition, const char* lpszInputPath, void* reserved); | |
996 | |
997 int XDWAPI XDW_GetDocumentFromBinder(XDW_DOCUMENT_HANDLE handle, int nPosition, const char* lpszOutputPath, void* reserved); | |
998 int XDWAPI XDW_GetDocumentFromBinderW(XDW_DOCUMENT_HANDLE handle, int nPosition, const XDW_WCHAR* lpwszOutputPath, void* reserved); | |
999 int XDWAPI XDW_DeleteDocumentInBinder(XDW_DOCUMENT_HANDLE handle, int nPosition, void* reserved); | |
1000 int XDWAPI XDW_GetDocumentNameInBinder(XDW_DOCUMENT_HANDLE handle, int nPosition, char* lpszDocName, int nDocNameSize, void* reserved); | |
1001 int XDWAPI XDW_SetDocumentNameInBinder(XDW_DOCUMENT_HANDLE handle, int nPosition, char* lpszDocName, void* reserved); | |
1002 int XDWAPI XDW_GetDocumentInformationInBinder(XDW_DOCUMENT_HANDLE handle, int nPosition, XDW_DOCUMENT_INFO* pDocumentInfo, void* reserved); | |
1003 int XDWAPI XDW_Finalize(void* reserved); | |
1004 int XDWAPI XDW_GetPageColorInformation(XDW_DOCUMENT_HANDLE handle, int nPage, XDW_PAGE_COLOR_INFO* pColorInfo, void* reserved); | |
1005 int XDWAPI XDW_OptimizeDocument(const char* lpszInputPath, const char* lpszOutputPath, void* reserved); | |
1006 int XDWAPI XDW_OptimizeDocumentW(const XDW_WCHAR* lpwszInputPath, const XDW_WCHAR* lpwszOutputPath, void* reserved); | |
1007 int XDWAPI XDW_ProtectDocument(const char* lpszInputPath, const char* lpszOutputPath, int nProtectType, void* pModuleOption, void* pProtectOption); | |
1008 int XDWAPI XDW_ProtectDocumentW(const XDW_WCHAR* lpwszInputPath, const XDW_WCHAR* lpwszOutputPath, int nProtectType, void* pModuleOption, void* pProtectOption); | |
1009 | |
1010 int XDWAPI XDW_CreateXdwFromImageFileAndInsertDocument(XDW_DOCUMENT_HANDLE handle, int nPage, const char* lpszInputPath, XDW_CREATE_OPTION* pOption, void* reserved); | |
1011 int XDWAPI XDW_CreateXdwFromImageFileAndInsertDocumentW(XDW_DOCUMENT_HANDLE handle, int nPage, const XDW_WCHAR* lpwszInputPath, XDW_CREATE_OPTION* pOption, void* reserved); | |
1012 int XDWAPI XDW_GetDocumentAttributeNumber(XDW_DOCUMENT_HANDLE handle, void* reserved); | |
1013 int XDWAPI XDW_GetDocumentAttributeByName(XDW_DOCUMENT_HANDLE handle, const char* lpszAttributeName, int* nAttributeType, char* pAttributeValue, int nDataSize, void* reserved); | |
1014 int XDWAPI XDW_GetDocumentAttributeByOrder(XDW_DOCUMENT_HANDLE handle, int nOrder, char* lpszAttributeName, int* nAttributeType, char* pAttributeValue, int nDataSize, void* reserved); | |
1015 int XDWAPI XDW_SetDocumentAttribute(XDW_DOCUMENT_HANDLE handle, const char* lpszAttributeName, int nAttributeType, char* pAttributeValue, void* reserved); | |
1016 int XDWAPI XDW_SucceedAttribute(XDW_DOCUMENT_HANDLE handle, const char* lpszFilePath, int nDocument, int nSuccession, void* reserved); | |
1017 int XDWAPI XDW_SucceedAttributeW(XDW_DOCUMENT_HANDLE handle, const XDW_WCHAR* lpwszFilePath, int nDocument, int nSuccession, void* reserved); | |
1018 int XDWAPI XDW_GetPageFormAttribute(XDW_DOCUMENT_HANDLE handle, int nPageForm, const char* lpszAttributeName, char* pAttributeValue, int nDataSize, void* reserved); | |
1019 int XDWAPI XDW_SetPageFormAttribute(XDW_DOCUMENT_HANDLE handle, int nPageForm, const char* lpszAttributeName, int nAttributeType, char* pAttributeValue, int nReserved, void* pReserved); | |
1020 int XDWAPI XDW_UpdatePageForm(XDW_DOCUMENT_HANDLE handle, int nOtherPageForm, void* reserved); | |
1021 int XDWAPI XDW_RemovePageForm(XDW_DOCUMENT_HANDLE handle, int nOtherPageForm, void* reserved); | |
1022 int XDWAPI XDW_GetLinkRootFolderInformation(int nOrder, XDW_LINKROOTFOLDER_INFO* pLinkRootFolderInfo, void* reserved); | |
1023 int XDWAPI XDW_GetLinkRootFolderInformationW(int nOrder, XDW_LINKROOTFOLDER_INFOW* pLinkRootFolderInfo, void* reserved); | |
1024 int XDWAPI XDW_GetLinkRootFolderNumber(void* reserved); | |
1025 int XDWAPI XDW_GetLinkRootFolderNumberW(void* reserved); | |
1026 int XDWAPI XDW_GetPageTextInformation(XDW_DOCUMENT_HANDLE handle, int nPage, void* pInfo, void* reserved); | |
1027 int XDWAPI XDW_GetDocumentSignatureNumber(XDW_DOCUMENT_HANDLE handle, void* reserved); | |
1028 int XDWAPI XDW_AddAnnotationOnParentAnnotation(XDW_DOCUMENT_HANDLE handle, XDW_ANNOTATION_HANDLE hAnnotation, int hAnnotationType, int nHorPos, int nVerPos, XDW_AA_INITIAL_DATA *pInitialData, XDW_ANNOTATION_HANDLE* phNewAnnotation, void* reserved); | |
1029 int XDWAPI XDW_SignDocument(const char* lpszInputPath, const char* lpszOutputPath, void* pOption, void* pModuleOption, void* pReserved, void* pModuleStatus); | |
1030 int XDWAPI XDW_SignDocumentW(const XDW_WCHAR* lpwszInputPath, const XDW_WCHAR* lpwszOutputPath, void* pOption, void* pModuleOption, void* pReserved, void* pModuleStatus); | |
1031 int XDWAPI XDW_GetSignatureInformation(XDW_DOCUMENT_HANDLE handle, int nSignature, void* pInfo, void* pModuleInfo, void* pReserved, void* pModuleStatus); | |
1032 int XDWAPI XDW_UpdateSignatureStatus(XDW_DOCUMENT_HANDLE handle, int nSignature, void* pModuleOption, void* pReserved, void* pModuleStatus); | |
1033 | |
1034 int XDWAPI XDW_GetOcrImage(XDW_DOCUMENT_HANDLE handle, int nPage, const char* lpszOutputPath, void* pImageOption, void* reserved); | |
1035 int XDWAPI XDW_GetOcrImageW(XDW_DOCUMENT_HANDLE handle, int nPage, const XDW_WCHAR* lpwszOutputPath, void* pImageOption, void* reserved); | |
1036 int XDWAPI XDW_SetOcrData(XDW_DOCUMENT_HANDLE handle, int nPage, XDW_OCR_TEXTINFO* pData, void* reserved); | |
1037 | |
1038 int XDWAPI XDW_GetDocumentAttributeNumberInBinder(XDW_DOCUMENT_HANDLE handle, int nPosition, void* reserved); | |
1039 int XDWAPI XDW_GetDocumentAttributeByNameInBinder(XDW_DOCUMENT_HANDLE handle, int nPosition, const char* lpszAttributeName, int* nAttributeType, char* pAttributeValue, int nDataSize, void* reserved); | |
1040 int XDWAPI XDW_GetDocumentAttributeByOrderInBinder(XDW_DOCUMENT_HANDLE handle, int nPosition, int nOrder, char* lpszAttributeName, int* nAttributeType, char* pAttributeValue, int nDataSize, void* reserved); | |
1041 | |
1042 int XDWAPI XDW_GetTMInfo(XDW_DOCUMENT_HANDLE handle, void* pTMInfo, int nTMInfoSize, void* reserved); | |
1043 int XDWAPI XDW_SetTMInfo(XDW_DOCUMENT_HANDLE handle, const void* pTMInfo, int nTMInfoSize, void* reserved); | |
1044 | |
1045 int XDWAPI XDW_CreateXdwFromImagePdfFile(const char* lpszInputPath, const char* lpszOutputPath, void* reserved); | |
1046 | |
1047 int XDWAPI XDW_FindTextInPage(XDW_DOCUMENT_HANDLE handle, int nPage, const char* lpszText, XDW_FIND_TEXT_OPTION* pOption, XDW_FOUND_HANDLE* pFoundHandle, void* reserved); | |
1048 int XDWAPI XDW_FindNext(XDW_FOUND_HANDLE* pFoundHandle, void* reserved); | |
1049 int XDWAPI XDW_GetNumberOfRectsInFoundObject(XDW_FOUND_HANDLE foundHandle, void* reserved); | |
1050 int XDWAPI XDW_GetRectInFoundObject(XDW_FOUND_HANDLE foundHandle, int nRect, XDW_RECT* pRect, int* pnStatus, void* reserved); | |
1051 int XDWAPI XDW_CloseFoundHandle(XDW_FOUND_HANDLE foundHandle); | |
1052 | |
1053 int XDWAPI XDW_GetAnnotationUserAttribute(XDW_ANNOTATION_HANDLE hAnnotation, const char* lpszAttributeName, char* pAttributeValue, int nDataSize, void *reserved); | |
1054 int XDWAPI XDW_SetAnnotationUserAttribute(XDW_DOCUMENT_HANDLE handle, XDW_ANNOTATION_HANDLE hAnnotation, const char* lpszAttributeName, char* pAttributeValue, int nDataSize, void *reserved); | |
1055 | |
1056 int XDWAPI XDW_StarchAnnotation(XDW_DOCUMENT_HANDLE handle, XDW_ANNOTATION_HANDLE hAnnotation, int nStarch, void* reserved); | |
1057 | |
1058 int XDWAPI XDW_ReleaseProtectionOfDocument(const char* lpszInputPath, const char* lpszOutputPath, void* pOption); | |
1059 int XDWAPI XDW_ReleaseProtectionOfDocumentW(const XDW_WCHAR* lpwszInputPath, const XDW_WCHAR* lpwszOutputPath, void* pOption); | |
1060 int XDWAPI XDW_GetProtectionInformation(const char* lpszInputPath, XDW_PROTECTION_INFO* pProtectionInfo, void* reserved); | |
1061 int XDWAPI XDW_GetProtectionInformationW(const XDW_WCHAR* lpwszInputPath, XDW_PROTECTION_INFO* pProtectionInfo, void* reserved); | |
1062 | |
1063 int XDWAPI XDW_GetAnnotationCustomAttributeByName(XDW_ANNOTATION_HANDLE hAnnotation, XDW_WCHAR* lpszAttributeName, int* pnAttributeType, char* pAttributeValue, int nDataSize, void* reserved); | |
1064 int XDWAPI XDW_GetAnnotationCustomAttributeByOrder(XDW_ANNOTATION_HANDLE hAnnotation, int nOrder, XDW_WCHAR* lpszAttributeName, int* pnAttributeType, char* pAttributeValue, int nDataSize, void* reserved); | |
1065 int XDWAPI XDW_GetAnnotationCustomAttributeNumber(XDW_ANNOTATION_HANDLE hAnnotation, void* reserved); | |
1066 int XDWAPI XDW_SetAnnotationCustomAttribute(XDW_DOCUMENT_HANDLE handle, XDW_ANNOTATION_HANDLE hAnnotation, XDW_WCHAR* lpszAttributeName, int nAttributeType, char* pAttributeValue, void* reserved); | |
1067 | |
1068 int XDWAPI XDW_GetPageTextToMemoryW(XDW_DOCUMENT_HANDLE handle, int nPage, XDW_WCHAR* pValue, int nBufferLength, void* reserved); | |
1069 int XDWAPI XDW_GetFullTextW(XDW_DOCUMENT_HANDLE handle, const XDW_WCHAR* pOutputPath, void* reserved); | |
1070 int XDWAPI XDW_GetAnnotationAttributeW(XDW_ANNOTATION_HANDLE handle, const char* lpszAttributeName, void* pAttributeValue, int nDataSize, int* pnTextType, unsigned int codepage, void* reserved); | |
1071 int XDWAPI XDW_SetAnnotationAttributeW(XDW_DOCUMENT_HANDLE handle, XDW_ANNOTATION_HANDLE hAnnotation, const char* lpszAttributeName, int nAttributeType, void* pAttributeValue, int nTextType, unsigned int codepage, int nReserved, void* pReserved); | |
1072 int XDWAPI XDW_GetDocumentAttributeByNameW(XDW_DOCUMENT_HANDLE handle, const XDW_WCHAR* pAttributeName, int* pnAttributeType, void* pAttributeValue, int nDataSize, int* pnTextType, unsigned int codepage, void* reserved); | |
1073 int XDWAPI XDW_GetDocumentAttributeByOrderW(XDW_DOCUMENT_HANDLE handle, int nOrder, XDW_WCHAR* pAttributeName, int* pnAttributeType, void* pAttributeValue, int nDataSize, int* pnTextType, unsigned int codepage, void* reserved); | |
1074 int XDWAPI XDW_GetDocumentAttributeByNameInBinderW(XDW_DOCUMENT_HANDLE handle, int nPosition, const XDW_WCHAR* pAttributeName, int* pnAttributeType, void* pAttributeValue, int nDataSize, int* pnTextType, unsigned int codepage, void* reserved); | |
1075 int XDWAPI XDW_GetDocumentAttributeByOrderInBinderW(XDW_DOCUMENT_HANDLE handle, int nPosition, int nOrder, XDW_WCHAR* pAttributeName, int* pnAttributeType, void* pAttributeValue, int nDataSize, int* pnTextType, unsigned int codepage, void* reserved); | |
1076 int XDWAPI XDW_SetDocumentAttributeW(XDW_DOCUMENT_HANDLE handle, const XDW_WCHAR* pAttributeName, int nAttributeType, void* pAttributeValue, int nTextType, unsigned int codepage, void* reserved); | |
1077 int XDWAPI XDW_GetDocumentNameInBinderW(XDW_DOCUMENT_HANDLE handle, int nPosition, XDW_WCHAR* pDocName, int nBufferLength, int* pnTextType, unsigned int codepage, void* reserved); | |
1078 int XDWAPI XDW_SetDocumentNameInBinderW(XDW_DOCUMENT_HANDLE handle, int nPosition, const XDW_WCHAR* pDocName, int nTextType, unsigned int codepage, void* reserved); | |
1079 int XDWAPI XDW_GetOriginalDataInformationW(XDW_DOCUMENT_HANDLE handle, int nOriginalData, XDW_ORGDATA_INFOW* pOriginalDataInfoW, int* pnTextType, unsigned int codepage, void* reserved); | |
1080 | |
1081 int XDWAPI XDW_AddAnnotationFromAnnFile(XDW_DOCUMENT_HANDLE handle, const char* lpszAnnFilePath, int nIndex, int nPage, XDW_ANNOTATION_HANDLE hAnnotation, int nHorPos, int nVerPos, XDW_ANNOTATION_HANDLE* phNewAnnotation, void* reserved); | |
1082 int XDWAPI XDW_AddAnnotationFromAnnFileW(XDW_DOCUMENT_HANDLE handle, const XDW_WCHAR* lpwszAnnFilePath, int nIndex, int nPage, XDW_ANNOTATION_HANDLE hAnnotation, int nHorPos, int nVerPos, XDW_ANNOTATION_HANDLE* phNewAnnotation, void* reserved); | |
1083 int XDWAPI XDW_GroupAnnotations(XDW_DOCUMENT_HANDLE handle, int nPage, XDW_ANNOTATION_HANDLE hAnnotation, int* pnAnntationIndexes, int nAnnotationNum, XDW_ANNOTATION_HANDLE* phNewAnnotation, void* reserved); | |
1084 int XDWAPI XDW_UnGroupAnnotation(XDW_DOCUMENT_HANDLE handle, XDW_ANNOTATION_HANDLE hAnnotation, void* reserved); | |
1085 | |
1086 /* error code */ | |
1087 #ifndef XDWAPI_E_DECLARATIONS | |
1088 #define XDWAPI_E_DECLARATIONS | |
1089 | |
1090 #define XDW_E_NOT_INSTALLED ((int)0x80040001) | |
1091 #define XDW_E_INFO_NOT_FOUND ((int)0x80040002) | |
1092 #define XDW_E_INSUFFICIENT_BUFFER ((int)0x8007007A) | |
1093 #define XDW_E_FILE_NOT_FOUND ((int)0x80070002) | |
1094 #define XDW_E_FILE_EXISTS ((int)0x80070050) | |
1095 #define XDW_E_ACCESSDENIED ((int)0x80070005) | |
1096 #define XDW_E_BAD_FORMAT ((int)0x8007000B) | |
1097 #define XDW_E_OUTOFMEMORY ((int)0x8007000E) | |
1098 #define XDW_E_WRITE_FAULT ((int)0x8007001D) | |
1099 #define XDW_E_SHARING_VIOLATION ((int)0x80070020) | |
1100 #define XDW_E_DISK_FULL ((int)0x80070027) | |
1101 #define XDW_E_INVALIDARG ((int)0x80070057) | |
1102 #define XDW_E_INVALID_NAME ((int)0x8007007B) | |
1103 #define XDW_E_INVALID_ACCESS ((int)0x80040003) | |
1104 #define XDW_E_INVALID_OPERATION ((int)0x80040004) | |
1105 #define XDW_E_NEWFORMAT ((int)0x800E0004) | |
1106 #define XDW_E_BAD_NETPATH ((int)0x800E0005) | |
1107 #define XDW_E_APPLICATION_FAILED ((int)0x80001156) | |
1108 #define XDW_E_SIGNATURE_MODULE ((int)0x800E0010) | |
1109 #define XDW_E_PROTECT_MODULE ((int)0x800E0012) | |
1110 #define XDW_E_UNEXPECTED ((int)0x8000FFFF) | |
1111 #define XDW_E_CANCELED ((int)0x80040005) | |
1112 #define XDW_E_ANNOTATION_NOT_ACCEPTED ((int)0x80040006) | |
1113 | |
1114 #endif //XDWAPI_E_DECLARATIONS | |
1115 | |
1116 #ifdef __cplusplus | |
1117 } /* end of extern "C" */ | |
1118 #endif /* __cplusplus */ | |
1119 | |
1120 #endif /* XDW_API_H */ | |
1121 |