1 | /*
|
---|
2 | scarderr.mc
|
---|
3 |
|
---|
4 | Error message codes from the Smart Card Resource Manager
|
---|
5 | These messages must be reconciled with winerror.w
|
---|
6 | They exist here to provide error messages on pre-Win2K systems.
|
---|
7 |
|
---|
8 | */
|
---|
9 | #ifndef SCARD_S_SUCCESS
|
---|
10 | //
|
---|
11 | // =============================
|
---|
12 | // Facility SCARD Error Messages
|
---|
13 | // =============================
|
---|
14 | //
|
---|
15 | #define SCARD_S_SUCCESS NO_ERROR
|
---|
16 | //
|
---|
17 | // Values are 32 bit values laid out as follows:
|
---|
18 | //
|
---|
19 | // 3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
|
---|
20 | // 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
|
---|
21 | // +---+-+-+-----------------------+-------------------------------+
|
---|
22 | // |Sev|C|R| Facility | Code |
|
---|
23 | // +---+-+-+-----------------------+-------------------------------+
|
---|
24 | //
|
---|
25 | // where
|
---|
26 | //
|
---|
27 | // Sev - is the severity code
|
---|
28 | //
|
---|
29 | // 00 - Success
|
---|
30 | // 01 - Informational
|
---|
31 | // 10 - Warning
|
---|
32 | // 11 - Error
|
---|
33 | //
|
---|
34 | // C - is the Customer code flag
|
---|
35 | //
|
---|
36 | // R - is a reserved bit
|
---|
37 | //
|
---|
38 | // Facility - is the facility code
|
---|
39 | //
|
---|
40 | // Code - is the facility's status code
|
---|
41 | //
|
---|
42 | //
|
---|
43 | // Define the facility codes
|
---|
44 | //
|
---|
45 | #define FACILITY_SYSTEM 0x0
|
---|
46 | #define FACILITY_SCARD 0x10
|
---|
47 |
|
---|
48 |
|
---|
49 | //
|
---|
50 | // Define the severity codes
|
---|
51 | //
|
---|
52 | #define STATUS_SEVERITY_WARNING 0x2
|
---|
53 | #define STATUS_SEVERITY_INFORMATIONAL 0x1
|
---|
54 | #define STATUS_SEVERITY_ERROR 0x3
|
---|
55 |
|
---|
56 |
|
---|
57 | //
|
---|
58 | // MessageId: SCARD_F_INTERNAL_ERROR
|
---|
59 | //
|
---|
60 | // MessageText:
|
---|
61 | //
|
---|
62 | // An internal consistency check failed.
|
---|
63 | //
|
---|
64 | #define SCARD_F_INTERNAL_ERROR ((DWORD)0x80100001L)
|
---|
65 |
|
---|
66 | //
|
---|
67 | // MessageId: SCARD_E_CANCELLED
|
---|
68 | //
|
---|
69 | // MessageText:
|
---|
70 | //
|
---|
71 | // The action was cancelled by an SCardCancel request.
|
---|
72 | //
|
---|
73 | #define SCARD_E_CANCELLED ((DWORD)0x80100002L)
|
---|
74 |
|
---|
75 | //
|
---|
76 | // MessageId: SCARD_E_INVALID_HANDLE
|
---|
77 | //
|
---|
78 | // MessageText:
|
---|
79 | //
|
---|
80 | // The supplied handle was invalid.
|
---|
81 | //
|
---|
82 | #define SCARD_E_INVALID_HANDLE ((DWORD)0x80100003L)
|
---|
83 |
|
---|
84 | //
|
---|
85 | // MessageId: SCARD_E_INVALID_PARAMETER
|
---|
86 | //
|
---|
87 | // MessageText:
|
---|
88 | //
|
---|
89 | // One or more of the supplied parameters could not be properly interpreted.
|
---|
90 | //
|
---|
91 | #define SCARD_E_INVALID_PARAMETER ((DWORD)0x80100004L)
|
---|
92 |
|
---|
93 | //
|
---|
94 | // MessageId: SCARD_E_INVALID_TARGET
|
---|
95 | //
|
---|
96 | // MessageText:
|
---|
97 | //
|
---|
98 | // Registry startup information is missing or invalid.
|
---|
99 | //
|
---|
100 | #define SCARD_E_INVALID_TARGET ((DWORD)0x80100005L)
|
---|
101 |
|
---|
102 | //
|
---|
103 | // MessageId: SCARD_E_NO_MEMORY
|
---|
104 | //
|
---|
105 | // MessageText:
|
---|
106 | //
|
---|
107 | // Not enough memory available to complete this command.
|
---|
108 | //
|
---|
109 | #define SCARD_E_NO_MEMORY ((DWORD)0x80100006L)
|
---|
110 |
|
---|
111 | //
|
---|
112 | // MessageId: SCARD_F_WAITED_TOO_LONG
|
---|
113 | //
|
---|
114 | // MessageText:
|
---|
115 | //
|
---|
116 | // An internal consistency timer has expired.
|
---|
117 | //
|
---|
118 | #define SCARD_F_WAITED_TOO_LONG ((DWORD)0x80100007L)
|
---|
119 |
|
---|
120 | //
|
---|
121 | // MessageId: SCARD_E_INSUFFICIENT_BUFFER
|
---|
122 | //
|
---|
123 | // MessageText:
|
---|
124 | //
|
---|
125 | // The data buffer to receive returned data is too small for the returned data.
|
---|
126 | //
|
---|
127 | #define SCARD_E_INSUFFICIENT_BUFFER ((DWORD)0x80100008L)
|
---|
128 |
|
---|
129 | //
|
---|
130 | // MessageId: SCARD_E_UNKNOWN_READER
|
---|
131 | //
|
---|
132 | // MessageText:
|
---|
133 | //
|
---|
134 | // The specified reader name is not recognized.
|
---|
135 | //
|
---|
136 | #define SCARD_E_UNKNOWN_READER ((DWORD)0x80100009L)
|
---|
137 |
|
---|
138 | //
|
---|
139 | // MessageId: SCARD_E_TIMEOUT
|
---|
140 | //
|
---|
141 | // MessageText:
|
---|
142 | //
|
---|
143 | // The user-specified timeout value has expired.
|
---|
144 | //
|
---|
145 | #define SCARD_E_TIMEOUT ((DWORD)0x8010000AL)
|
---|
146 |
|
---|
147 | //
|
---|
148 | // MessageId: SCARD_E_SHARING_VIOLATION
|
---|
149 | //
|
---|
150 | // MessageText:
|
---|
151 | //
|
---|
152 | // The smart card cannot be accessed because of other connections outstanding.
|
---|
153 | //
|
---|
154 | #define SCARD_E_SHARING_VIOLATION ((DWORD)0x8010000BL)
|
---|
155 |
|
---|
156 | //
|
---|
157 | // MessageId: SCARD_E_NO_SMARTCARD
|
---|
158 | //
|
---|
159 | // MessageText:
|
---|
160 | //
|
---|
161 | // The operation requires a Smart Card, but no Smart Card is currently in the device.
|
---|
162 | //
|
---|
163 | #define SCARD_E_NO_SMARTCARD ((DWORD)0x8010000CL)
|
---|
164 |
|
---|
165 | //
|
---|
166 | // MessageId: SCARD_E_UNKNOWN_CARD
|
---|
167 | //
|
---|
168 | // MessageText:
|
---|
169 | //
|
---|
170 | // The specified smart card name is not recognized.
|
---|
171 | //
|
---|
172 | #define SCARD_E_UNKNOWN_CARD ((DWORD)0x8010000DL)
|
---|
173 |
|
---|
174 | //
|
---|
175 | // MessageId: SCARD_E_CANT_DISPOSE
|
---|
176 | //
|
---|
177 | // MessageText:
|
---|
178 | //
|
---|
179 | // The system could not dispose of the media in the requested manner.
|
---|
180 | //
|
---|
181 | #define SCARD_E_CANT_DISPOSE ((DWORD)0x8010000EL)
|
---|
182 |
|
---|
183 | //
|
---|
184 | // MessageId: SCARD_E_PROTO_MISMATCH
|
---|
185 | //
|
---|
186 | // MessageText:
|
---|
187 | //
|
---|
188 | // The requested protocols are incompatible with the protocol currently in use with the smart card.
|
---|
189 | //
|
---|
190 | #define SCARD_E_PROTO_MISMATCH ((DWORD)0x8010000FL)
|
---|
191 |
|
---|
192 | //
|
---|
193 | // MessageId: SCARD_E_NOT_READY
|
---|
194 | //
|
---|
195 | // MessageText:
|
---|
196 | //
|
---|
197 | // The reader or smart card is not ready to accept commands.
|
---|
198 | //
|
---|
199 | #define SCARD_E_NOT_READY ((DWORD)0x80100010L)
|
---|
200 |
|
---|
201 | //
|
---|
202 | // MessageId: SCARD_E_INVALID_VALUE
|
---|
203 | //
|
---|
204 | // MessageText:
|
---|
205 | //
|
---|
206 | // One or more of the supplied parameters values could not be properly interpreted.
|
---|
207 | //
|
---|
208 | #define SCARD_E_INVALID_VALUE ((DWORD)0x80100011L)
|
---|
209 |
|
---|
210 | //
|
---|
211 | // MessageId: SCARD_E_SYSTEM_CANCELLED
|
---|
212 | //
|
---|
213 | // MessageText:
|
---|
214 | //
|
---|
215 | // The action was cancelled by the system, presumably to log off or shut down.
|
---|
216 | //
|
---|
217 | #define SCARD_E_SYSTEM_CANCELLED ((DWORD)0x80100012L)
|
---|
218 |
|
---|
219 | //
|
---|
220 | // MessageId: SCARD_F_COMM_ERROR
|
---|
221 | //
|
---|
222 | // MessageText:
|
---|
223 | //
|
---|
224 | // An internal communications error has been detected.
|
---|
225 | //
|
---|
226 | #define SCARD_F_COMM_ERROR ((DWORD)0x80100013L)
|
---|
227 |
|
---|
228 | //
|
---|
229 | // MessageId: SCARD_F_UNKNOWN_ERROR
|
---|
230 | //
|
---|
231 | // MessageText:
|
---|
232 | //
|
---|
233 | // An internal error has been detected, but the source is unknown.
|
---|
234 | //
|
---|
235 | #define SCARD_F_UNKNOWN_ERROR ((DWORD)0x80100014L)
|
---|
236 |
|
---|
237 | //
|
---|
238 | // MessageId: SCARD_E_INVALID_ATR
|
---|
239 | //
|
---|
240 | // MessageText:
|
---|
241 | //
|
---|
242 | // An ATR obtained from the registry is not a valid ATR string.
|
---|
243 | //
|
---|
244 | #define SCARD_E_INVALID_ATR ((DWORD)0x80100015L)
|
---|
245 |
|
---|
246 | //
|
---|
247 | // MessageId: SCARD_E_NOT_TRANSACTED
|
---|
248 | //
|
---|
249 | // MessageText:
|
---|
250 | //
|
---|
251 | // An attempt was made to end a non-existent transaction.
|
---|
252 | //
|
---|
253 | #define SCARD_E_NOT_TRANSACTED ((DWORD)0x80100016L)
|
---|
254 |
|
---|
255 | //
|
---|
256 | // MessageId: SCARD_E_READER_UNAVAILABLE
|
---|
257 | //
|
---|
258 | // MessageText:
|
---|
259 | //
|
---|
260 | // The specified reader is not currently available for use.
|
---|
261 | //
|
---|
262 | #define SCARD_E_READER_UNAVAILABLE ((DWORD)0x80100017L)
|
---|
263 |
|
---|
264 | //
|
---|
265 | // MessageId: SCARD_P_SHUTDOWN
|
---|
266 | //
|
---|
267 | // MessageText:
|
---|
268 | //
|
---|
269 | // The operation has been aborted to allow the server application to exit.
|
---|
270 | //
|
---|
271 | #define SCARD_P_SHUTDOWN ((DWORD)0x80100018L)
|
---|
272 |
|
---|
273 | //
|
---|
274 | // MessageId: SCARD_E_PCI_TOO_SMALL
|
---|
275 | //
|
---|
276 | // MessageText:
|
---|
277 | //
|
---|
278 | // The PCI Receive buffer was too small.
|
---|
279 | //
|
---|
280 | #define SCARD_E_PCI_TOO_SMALL ((DWORD)0x80100019L)
|
---|
281 |
|
---|
282 | //
|
---|
283 | // MessageId: SCARD_E_READER_UNSUPPORTED
|
---|
284 | //
|
---|
285 | // MessageText:
|
---|
286 | //
|
---|
287 | // The reader driver does not meet minimal requirements for support.
|
---|
288 | //
|
---|
289 | #define SCARD_E_READER_UNSUPPORTED ((DWORD)0x8010001AL)
|
---|
290 |
|
---|
291 | //
|
---|
292 | // MessageId: SCARD_E_DUPLICATE_READER
|
---|
293 | //
|
---|
294 | // MessageText:
|
---|
295 | //
|
---|
296 | // The reader driver did not produce a unique reader name.
|
---|
297 | //
|
---|
298 | #define SCARD_E_DUPLICATE_READER ((DWORD)0x8010001BL)
|
---|
299 |
|
---|
300 | //
|
---|
301 | // MessageId: SCARD_E_CARD_UNSUPPORTED
|
---|
302 | //
|
---|
303 | // MessageText:
|
---|
304 | //
|
---|
305 | // The smart card does not meet minimal requirements for support.
|
---|
306 | //
|
---|
307 | #define SCARD_E_CARD_UNSUPPORTED ((DWORD)0x8010001CL)
|
---|
308 |
|
---|
309 | //
|
---|
310 | // MessageId: SCARD_E_NO_SERVICE
|
---|
311 | //
|
---|
312 | // MessageText:
|
---|
313 | //
|
---|
314 | // The Smart card resource manager is not running.
|
---|
315 | //
|
---|
316 | #define SCARD_E_NO_SERVICE ((DWORD)0x8010001DL)
|
---|
317 |
|
---|
318 | //
|
---|
319 | // MessageId: SCARD_E_SERVICE_STOPPED
|
---|
320 | //
|
---|
321 | // MessageText:
|
---|
322 | //
|
---|
323 | // The Smart card resource manager has shut down.
|
---|
324 | //
|
---|
325 | #define SCARD_E_SERVICE_STOPPED ((DWORD)0x8010001EL)
|
---|
326 |
|
---|
327 | //
|
---|
328 | // MessageId: SCARD_E_UNEXPECTED
|
---|
329 | //
|
---|
330 | // MessageText:
|
---|
331 | //
|
---|
332 | // An unexpected card error has occurred.
|
---|
333 | //
|
---|
334 | #define SCARD_E_UNEXPECTED ((DWORD)0x8010001FL)
|
---|
335 |
|
---|
336 | //
|
---|
337 | // MessageId: SCARD_E_ICC_INSTALLATION
|
---|
338 | //
|
---|
339 | // MessageText:
|
---|
340 | //
|
---|
341 | // No Primary Provider can be found for the smart card.
|
---|
342 | //
|
---|
343 | #define SCARD_E_ICC_INSTALLATION ((DWORD)0x80100020L)
|
---|
344 |
|
---|
345 | //
|
---|
346 | // MessageId: SCARD_E_ICC_CREATEORDER
|
---|
347 | //
|
---|
348 | // MessageText:
|
---|
349 | //
|
---|
350 | // The requested order of object creation is not supported.
|
---|
351 | //
|
---|
352 | #define SCARD_E_ICC_CREATEORDER ((DWORD)0x80100021L)
|
---|
353 |
|
---|
354 | //
|
---|
355 | // MessageId: SCARD_E_UNSUPPORTED_FEATURE
|
---|
356 | //
|
---|
357 | // MessageText:
|
---|
358 | //
|
---|
359 | // This smart card does not support the requested feature.
|
---|
360 | //
|
---|
361 | #define SCARD_E_UNSUPPORTED_FEATURE ((DWORD)0x80100022L)
|
---|
362 |
|
---|
363 | //
|
---|
364 | // MessageId: SCARD_E_DIR_NOT_FOUND
|
---|
365 | //
|
---|
366 | // MessageText:
|
---|
367 | //
|
---|
368 | // The identified directory does not exist in the smart card.
|
---|
369 | //
|
---|
370 | #define SCARD_E_DIR_NOT_FOUND ((DWORD)0x80100023L)
|
---|
371 |
|
---|
372 | //
|
---|
373 | // MessageId: SCARD_E_FILE_NOT_FOUND
|
---|
374 | //
|
---|
375 | // MessageText:
|
---|
376 | //
|
---|
377 | // The identified file does not exist in the smart card.
|
---|
378 | //
|
---|
379 | #define SCARD_E_FILE_NOT_FOUND ((DWORD)0x80100024L)
|
---|
380 |
|
---|
381 | //
|
---|
382 | // MessageId: SCARD_E_NO_DIR
|
---|
383 | //
|
---|
384 | // MessageText:
|
---|
385 | //
|
---|
386 | // The supplied path does not represent a smart card directory.
|
---|
387 | //
|
---|
388 | #define SCARD_E_NO_DIR ((DWORD)0x80100025L)
|
---|
389 |
|
---|
390 | //
|
---|
391 | // MessageId: SCARD_E_NO_FILE
|
---|
392 | //
|
---|
393 | // MessageText:
|
---|
394 | //
|
---|
395 | // The supplied path does not represent a smart card file.
|
---|
396 | //
|
---|
397 | #define SCARD_E_NO_FILE ((DWORD)0x80100026L)
|
---|
398 |
|
---|
399 | //
|
---|
400 | // MessageId: SCARD_E_NO_ACCESS
|
---|
401 | //
|
---|
402 | // MessageText:
|
---|
403 | //
|
---|
404 | // Access is denied to this file.
|
---|
405 | //
|
---|
406 | #define SCARD_E_NO_ACCESS ((DWORD)0x80100027L)
|
---|
407 |
|
---|
408 | //
|
---|
409 | // MessageId: SCARD_E_WRITE_TOO_MANY
|
---|
410 | //
|
---|
411 | // MessageText:
|
---|
412 | //
|
---|
413 | // The smartcard does not have enough memory to store the information.
|
---|
414 | //
|
---|
415 | #define SCARD_E_WRITE_TOO_MANY ((DWORD)0x80100028L)
|
---|
416 |
|
---|
417 | //
|
---|
418 | // MessageId: SCARD_E_BAD_SEEK
|
---|
419 | //
|
---|
420 | // MessageText:
|
---|
421 | //
|
---|
422 | // There was an error trying to set the smart card file object pointer.
|
---|
423 | //
|
---|
424 | #define SCARD_E_BAD_SEEK ((DWORD)0x80100029L)
|
---|
425 |
|
---|
426 | //
|
---|
427 | // MessageId: SCARD_E_INVALID_CHV
|
---|
428 | //
|
---|
429 | // MessageText:
|
---|
430 | //
|
---|
431 | // The supplied PIN is incorrect.
|
---|
432 | //
|
---|
433 | #define SCARD_E_INVALID_CHV ((DWORD)0x8010002AL)
|
---|
434 |
|
---|
435 | //
|
---|
436 | // MessageId: SCARD_E_UNKNOWN_RES_MNG
|
---|
437 | //
|
---|
438 | // MessageText:
|
---|
439 | //
|
---|
440 | // An unrecognized error code was returned from a layered component.
|
---|
441 | //
|
---|
442 | #define SCARD_E_UNKNOWN_RES_MNG ((DWORD)0x8010002BL)
|
---|
443 |
|
---|
444 | //
|
---|
445 | // MessageId: SCARD_E_NO_SUCH_CERTIFICATE
|
---|
446 | //
|
---|
447 | // MessageText:
|
---|
448 | //
|
---|
449 | // The requested certificate does not exist.
|
---|
450 | //
|
---|
451 | #define SCARD_E_NO_SUCH_CERTIFICATE ((DWORD)0x8010002CL)
|
---|
452 |
|
---|
453 | //
|
---|
454 | // MessageId: SCARD_E_CERTIFICATE_UNAVAILABLE
|
---|
455 | //
|
---|
456 | // MessageText:
|
---|
457 | //
|
---|
458 | // The requested certificate could not be obtained.
|
---|
459 | //
|
---|
460 | #define SCARD_E_CERTIFICATE_UNAVAILABLE ((DWORD)0x8010002DL)
|
---|
461 |
|
---|
462 | //
|
---|
463 | // MessageId: SCARD_E_NO_READERS_AVAILABLE
|
---|
464 | //
|
---|
465 | // MessageText:
|
---|
466 | //
|
---|
467 | // Cannot find a smart card reader.
|
---|
468 | //
|
---|
469 | #define SCARD_E_NO_READERS_AVAILABLE ((DWORD)0x8010002EL)
|
---|
470 |
|
---|
471 | //
|
---|
472 | // MessageId: SCARD_E_COMM_DATA_LOST
|
---|
473 | //
|
---|
474 | // MessageText:
|
---|
475 | //
|
---|
476 | // A communications error with the smart card has been detected. Retry the operation.
|
---|
477 | //
|
---|
478 | #define SCARD_E_COMM_DATA_LOST ((DWORD)0x8010002FL)
|
---|
479 |
|
---|
480 | //
|
---|
481 | // MessageId: SCARD_E_NO_KEY_CONTAINER
|
---|
482 | //
|
---|
483 | // MessageText:
|
---|
484 | //
|
---|
485 | // The requested key container does not exist on the smart card.
|
---|
486 | //
|
---|
487 | #define SCARD_E_NO_KEY_CONTAINER ((DWORD)0x80100030L)
|
---|
488 |
|
---|
489 | //
|
---|
490 | // MessageId: SCARD_E_SERVER_TOO_BUSY
|
---|
491 | //
|
---|
492 | // MessageText:
|
---|
493 | //
|
---|
494 | // The Smart card resource manager is too busy to complete this operation.
|
---|
495 | //
|
---|
496 | #define SCARD_E_SERVER_TOO_BUSY ((DWORD)0x80100031L)
|
---|
497 |
|
---|
498 | //
|
---|
499 | // MessageId: SCARD_E_PIN_CACHE_EXPIRED
|
---|
500 | //
|
---|
501 | // MessageText:
|
---|
502 | //
|
---|
503 | // The smart card PIN cache has expired.
|
---|
504 | //
|
---|
505 | #define SCARD_E_PIN_CACHE_EXPIRED ((DWORD)0x80100032L)
|
---|
506 |
|
---|
507 | //
|
---|
508 | // MessageId: SCARD_E_NO_PIN_CACHE
|
---|
509 | //
|
---|
510 | // MessageText:
|
---|
511 | //
|
---|
512 | // The smart card PIN cannot be cached.
|
---|
513 | //
|
---|
514 | #define SCARD_E_NO_PIN_CACHE ((DWORD)0x80100033L)
|
---|
515 |
|
---|
516 | //
|
---|
517 | // MessageId: SCARD_E_READ_ONLY_CARD
|
---|
518 | //
|
---|
519 | // MessageText:
|
---|
520 | //
|
---|
521 | // The smart card is read only and cannot be written to.
|
---|
522 | //
|
---|
523 | #define SCARD_E_READ_ONLY_CARD ((DWORD)0x80100034L)
|
---|
524 |
|
---|
525 | //
|
---|
526 | // These are warning codes.
|
---|
527 | //
|
---|
528 | //
|
---|
529 | // MessageId: SCARD_W_UNSUPPORTED_CARD
|
---|
530 | //
|
---|
531 | // MessageText:
|
---|
532 | //
|
---|
533 | // The reader cannot communicate with the smart card, due to ATR configuration conflicts.
|
---|
534 | //
|
---|
535 | #define SCARD_W_UNSUPPORTED_CARD ((DWORD)0x80100065L)
|
---|
536 |
|
---|
537 | //
|
---|
538 | // MessageId: SCARD_W_UNRESPONSIVE_CARD
|
---|
539 | //
|
---|
540 | // MessageText:
|
---|
541 | //
|
---|
542 | // The smart card is not responding to a reset.
|
---|
543 | //
|
---|
544 | #define SCARD_W_UNRESPONSIVE_CARD ((DWORD)0x80100066L)
|
---|
545 |
|
---|
546 | //
|
---|
547 | // MessageId: SCARD_W_UNPOWERED_CARD
|
---|
548 | //
|
---|
549 | // MessageText:
|
---|
550 | //
|
---|
551 | // Power has been removed from the smart card, so that further communication is not possible.
|
---|
552 | //
|
---|
553 | #define SCARD_W_UNPOWERED_CARD ((DWORD)0x80100067L)
|
---|
554 |
|
---|
555 | //
|
---|
556 | // MessageId: SCARD_W_RESET_CARD
|
---|
557 | //
|
---|
558 | // MessageText:
|
---|
559 | //
|
---|
560 | // The smart card has been reset, so any shared state information is invalid.
|
---|
561 | //
|
---|
562 | #define SCARD_W_RESET_CARD ((DWORD)0x80100068L)
|
---|
563 |
|
---|
564 | //
|
---|
565 | // MessageId: SCARD_W_REMOVED_CARD
|
---|
566 | //
|
---|
567 | // MessageText:
|
---|
568 | //
|
---|
569 | // The smart card has been removed, so that further communication is not possible.
|
---|
570 | //
|
---|
571 | #define SCARD_W_REMOVED_CARD ((DWORD)0x80100069L)
|
---|
572 |
|
---|
573 | //
|
---|
574 | // MessageId: SCARD_W_SECURITY_VIOLATION
|
---|
575 | //
|
---|
576 | // MessageText:
|
---|
577 | //
|
---|
578 | // Access was denied because of a security violation.
|
---|
579 | //
|
---|
580 | #define SCARD_W_SECURITY_VIOLATION ((DWORD)0x8010006AL)
|
---|
581 |
|
---|
582 | //
|
---|
583 | // MessageId: SCARD_W_WRONG_CHV
|
---|
584 | //
|
---|
585 | // MessageText:
|
---|
586 | //
|
---|
587 | // The card cannot be accessed because the wrong PIN was presented.
|
---|
588 | //
|
---|
589 | #define SCARD_W_WRONG_CHV ((DWORD)0x8010006BL)
|
---|
590 |
|
---|
591 | //
|
---|
592 | // MessageId: SCARD_W_CHV_BLOCKED
|
---|
593 | //
|
---|
594 | // MessageText:
|
---|
595 | //
|
---|
596 | // The card cannot be accessed because the maximum number of PIN entry attempts has been reached.
|
---|
597 | //
|
---|
598 | #define SCARD_W_CHV_BLOCKED ((DWORD)0x8010006CL)
|
---|
599 |
|
---|
600 | //
|
---|
601 | // MessageId: SCARD_W_EOF
|
---|
602 | //
|
---|
603 | // MessageText:
|
---|
604 | //
|
---|
605 | // The end of the smart card file has been reached.
|
---|
606 | //
|
---|
607 | #define SCARD_W_EOF ((DWORD)0x8010006DL)
|
---|
608 |
|
---|
609 | //
|
---|
610 | // MessageId: SCARD_W_CANCELLED_BY_USER
|
---|
611 | //
|
---|
612 | // MessageText:
|
---|
613 | //
|
---|
614 | // The action was cancelled by the user.
|
---|
615 | //
|
---|
616 | #define SCARD_W_CANCELLED_BY_USER ((DWORD)0x8010006EL)
|
---|
617 |
|
---|
618 | //
|
---|
619 | // MessageId: SCARD_W_CARD_NOT_AUTHENTICATED
|
---|
620 | //
|
---|
621 | // MessageText:
|
---|
622 | //
|
---|
623 | // No PIN was presented to the smart card.
|
---|
624 | //
|
---|
625 | #define SCARD_W_CARD_NOT_AUTHENTICATED ((DWORD)0x8010006FL)
|
---|
626 |
|
---|
627 | //
|
---|
628 | // MessageId: SCARD_W_CACHE_ITEM_NOT_FOUND
|
---|
629 | //
|
---|
630 | // MessageText:
|
---|
631 | //
|
---|
632 | // The requested item could not be found in the cache.
|
---|
633 | //
|
---|
634 | #define SCARD_W_CACHE_ITEM_NOT_FOUND ((DWORD)0x80100070L)
|
---|
635 |
|
---|
636 | //
|
---|
637 | // MessageId: SCARD_W_CACHE_ITEM_STALE
|
---|
638 | //
|
---|
639 | // MessageText:
|
---|
640 | //
|
---|
641 | // The requested cache item is too old and was deleted from the cache.
|
---|
642 | //
|
---|
643 | #define SCARD_W_CACHE_ITEM_STALE ((DWORD)0x80100071L)
|
---|
644 |
|
---|
645 | //
|
---|
646 | // MessageId: SCARD_W_CACHE_ITEM_TOO_BIG
|
---|
647 | //
|
---|
648 | // MessageText:
|
---|
649 | //
|
---|
650 | // The new cache item exceeds the maximum per-item size defined for the cache.
|
---|
651 | //
|
---|
652 | #define SCARD_W_CACHE_ITEM_TOO_BIG ((DWORD)0x80100072L)
|
---|
653 |
|
---|
654 | #endif // SCARD_S_SUCCESS
|
---|
655 |
|
---|