[1166] | 1 | /**
|
---|
| 2 | * This file has no copyright assigned and is placed in the Public Domain.
|
---|
| 3 | * This file is part of the mingw-w64 runtime package.
|
---|
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package.
|
---|
| 5 | */
|
---|
| 6 | #ifndef SCARD_S_SUCCESS
|
---|
| 7 | #define SCARD_S_SUCCESS NO_ERROR
|
---|
| 8 |
|
---|
| 9 | #define FACILITY_SYSTEM 0x0
|
---|
| 10 | #define FACILITY_SCARD 0x10
|
---|
| 11 |
|
---|
| 12 | #define STATUS_SEVERITY_WARNING 0x2
|
---|
| 13 | #define STATUS_SEVERITY_INFORMATIONAL 0x1
|
---|
| 14 | #define STATUS_SEVERITY_ERROR 0x3
|
---|
| 15 |
|
---|
| 16 | #define SCARD_F_INTERNAL_ERROR ((DWORD)0x80100001)
|
---|
| 17 | #define SCARD_E_CANCELLED ((DWORD)0x80100002)
|
---|
| 18 | #define SCARD_E_INVALID_HANDLE ((DWORD)0x80100003)
|
---|
| 19 | #define SCARD_E_INVALID_PARAMETER ((DWORD)0x80100004)
|
---|
| 20 | #define SCARD_E_INVALID_TARGET ((DWORD)0x80100005)
|
---|
| 21 | #define SCARD_E_NO_MEMORY ((DWORD)0x80100006)
|
---|
| 22 | #define SCARD_F_WAITED_TOO_LONG ((DWORD)0x80100007)
|
---|
| 23 | #define SCARD_E_INSUFFICIENT_BUFFER ((DWORD)0x80100008)
|
---|
| 24 | #define SCARD_E_UNKNOWN_READER ((DWORD)0x80100009)
|
---|
| 25 | #define SCARD_E_TIMEOUT ((DWORD)0x8010000A)
|
---|
| 26 | #define SCARD_E_SHARING_VIOLATION ((DWORD)0x8010000B)
|
---|
| 27 | #define SCARD_E_NO_SMARTCARD ((DWORD)0x8010000C)
|
---|
| 28 | #define SCARD_E_UNKNOWN_CARD ((DWORD)0x8010000D)
|
---|
| 29 | #define SCARD_E_CANT_DISPOSE ((DWORD)0x8010000E)
|
---|
| 30 | #define SCARD_E_PROTO_MISMATCH ((DWORD)0x8010000F)
|
---|
| 31 | #define SCARD_E_NOT_READY ((DWORD)0x80100010)
|
---|
| 32 | #define SCARD_E_INVALID_VALUE ((DWORD)0x80100011)
|
---|
| 33 | #define SCARD_E_SYSTEM_CANCELLED ((DWORD)0x80100012)
|
---|
| 34 | #define SCARD_F_COMM_ERROR ((DWORD)0x80100013)
|
---|
| 35 | #define SCARD_F_UNKNOWN_ERROR ((DWORD)0x80100014)
|
---|
| 36 | #define SCARD_E_INVALID_ATR ((DWORD)0x80100015)
|
---|
| 37 | #define SCARD_E_NOT_TRANSACTED ((DWORD)0x80100016)
|
---|
| 38 | #define SCARD_E_READER_UNAVAILABLE ((DWORD)0x80100017)
|
---|
| 39 | #define SCARD_P_SHUTDOWN ((DWORD)0x80100018)
|
---|
| 40 | #define SCARD_E_PCI_TOO_SMALL ((DWORD)0x80100019)
|
---|
| 41 | #define SCARD_E_READER_UNSUPPORTED ((DWORD)0x8010001A)
|
---|
| 42 | #define SCARD_E_DUPLICATE_READER ((DWORD)0x8010001B)
|
---|
| 43 | #define SCARD_E_CARD_UNSUPPORTED ((DWORD)0x8010001C)
|
---|
| 44 | #define SCARD_E_NO_SERVICE ((DWORD)0x8010001D)
|
---|
| 45 | #define SCARD_E_SERVICE_STOPPED ((DWORD)0x8010001E)
|
---|
| 46 | #define SCARD_E_UNEXPECTED ((DWORD)0x8010001F)
|
---|
| 47 | #define SCARD_E_ICC_INSTALLATION ((DWORD)0x80100020)
|
---|
| 48 | #define SCARD_E_ICC_CREATEORDER ((DWORD)0x80100021)
|
---|
| 49 | #define SCARD_E_UNSUPPORTED_FEATURE ((DWORD)0x80100022)
|
---|
| 50 | #define SCARD_E_DIR_NOT_FOUND ((DWORD)0x80100023)
|
---|
| 51 | #define SCARD_E_FILE_NOT_FOUND ((DWORD)0x80100024)
|
---|
| 52 | #define SCARD_E_NO_DIR ((DWORD)0x80100025)
|
---|
| 53 | #define SCARD_E_NO_FILE ((DWORD)0x80100026)
|
---|
| 54 | #define SCARD_E_NO_ACCESS ((DWORD)0x80100027)
|
---|
| 55 | #define SCARD_E_WRITE_TOO_MANY ((DWORD)0x80100028)
|
---|
| 56 | #define SCARD_E_BAD_SEEK ((DWORD)0x80100029)
|
---|
| 57 | #define SCARD_E_INVALID_CHV ((DWORD)0x8010002A)
|
---|
| 58 | #define SCARD_E_UNKNOWN_RES_MNG ((DWORD)0x8010002B)
|
---|
| 59 | #define SCARD_E_NO_SUCH_CERTIFICATE ((DWORD)0x8010002C)
|
---|
| 60 | #define SCARD_E_CERTIFICATE_UNAVAILABLE ((DWORD)0x8010002D)
|
---|
| 61 | #define SCARD_E_NO_READERS_AVAILABLE ((DWORD)0x8010002E)
|
---|
| 62 | #define SCARD_E_COMM_DATA_LOST ((DWORD)0x8010002F)
|
---|
| 63 | #define SCARD_E_NO_KEY_CONTAINER ((DWORD)0x80100030)
|
---|
| 64 | #define SCARD_E_SERVER_TOO_BUSY ((DWORD)0x80100031)
|
---|
| 65 | #define SCARD_W_UNSUPPORTED_CARD ((DWORD)0x80100065)
|
---|
| 66 | #define SCARD_W_UNRESPONSIVE_CARD ((DWORD)0x80100066)
|
---|
| 67 | #define SCARD_W_UNPOWERED_CARD ((DWORD)0x80100067)
|
---|
| 68 | #define SCARD_W_RESET_CARD ((DWORD)0x80100068)
|
---|
| 69 | #define SCARD_W_REMOVED_CARD ((DWORD)0x80100069)
|
---|
| 70 | #define SCARD_W_SECURITY_VIOLATION ((DWORD)0x8010006A)
|
---|
| 71 | #define SCARD_W_WRONG_CHV ((DWORD)0x8010006B)
|
---|
| 72 | #define SCARD_W_CHV_BLOCKED ((DWORD)0x8010006C)
|
---|
| 73 | #define SCARD_W_EOF ((DWORD)0x8010006D)
|
---|
| 74 | #define SCARD_W_CANCELLED_BY_USER ((DWORD)0x8010006E)
|
---|
| 75 | #define SCARD_W_CARD_NOT_AUTHENTICATED ((DWORD)0x8010006F)
|
---|
| 76 |
|
---|
| 77 | #define SCARD_W_CACHE_ITEM_NOT_FOUND ((DWORD)0x80100070)
|
---|
| 78 | #define SCARD_W_CACHE_ITEM_STALE ((DWORD)0x80100071)
|
---|
| 79 |
|
---|
| 80 | #endif
|
---|
| 81 |
|
---|