winex11: Load the XVidMode extension (libXxf86vm) when available.
[wine] / include / scarderr.h
1 /*
2  * Winscard definitions
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2.1 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library; if not, write to the Free Software
16  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17  */
18
19 /* Note that if you included winerror.h directly or indirectly,
20  * none of these definitions will be used!
21  */
22 #ifndef SCARD_S_SUCCESS
23
24 #define FACILITY_SYSTEM                       0
25 #define FACILITY_SCARD                       16
26
27 #define STATUS_SEVERITY_INFORMATIONAL    ((NTSTATUS) 0x00000001)
28 #define STATUS_SEVERITY_WARNING          ((NTSTATUS) 0x00000002)
29 #define STATUS_SEVERITY_ERROR            ((NTSTATUS) 0x00000003)
30
31 #define SCARD_S_SUCCESS                                    NO_ERROR
32 #define SCARD_F_INTERNAL_ERROR                             ((DWORD)0x80100001)
33 #define SCARD_E_CANCELLED                                  ((DWORD)0x80100002)
34 #define SCARD_E_INVALID_HANDLE                             ((DWORD)0x80100003)
35 #define SCARD_E_INVALID_PARAMETER                          ((DWORD)0x80100004)
36 #define SCARD_E_INVALID_TARGET                             ((DWORD)0x80100005)
37 #define SCARD_E_NO_MEMORY                                  ((DWORD)0x80100006)
38 #define SCARD_F_WAITED_TOO_LONG                            ((DWORD)0x80100007)
39 #define SCARD_E_INSUFFICIENT_BUFFER                        ((DWORD)0x80100008)
40 #define SCARD_E_UNKNOWN_READER                             ((DWORD)0x80100009)
41 #define SCARD_E_TIMEOUT                                    ((DWORD)0x8010000A)
42 #define SCARD_E_SHARING_VIOLATION                          ((DWORD)0x8010000B)
43 #define SCARD_E_NO_SMARTCARD                               ((DWORD)0x8010000C)
44 #define SCARD_E_UNKNOWN_CARD                               ((DWORD)0x8010000D)
45 #define SCARD_E_CANT_DISPOSE                               ((DWORD)0x8010000E)
46 #define SCARD_E_PROTO_MISMATCH                             ((DWORD)0x8010000F)
47 #define SCARD_E_NOT_READY                                  ((DWORD)0x80100010)
48 #define SCARD_E_INVALID_VALUE                              ((DWORD)0x80100011)
49 #define SCARD_E_SYSTEM_CANCELLED                           ((DWORD)0x80100012)
50 #define SCARD_F_COMM_ERROR                                 ((DWORD)0x80100013)
51 #define SCARD_F_UNKNOWN_ERROR                              ((DWORD)0x80100014)
52 #define SCARD_E_INVALID_ATR                                ((DWORD)0x80100015)
53 #define SCARD_E_NOT_TRANSACTED                             ((DWORD)0x80100016)
54 #define SCARD_E_READER_UNAVAILABLE                         ((DWORD)0x80100017)
55 #define SCARD_P_SHUTDOWN                                   ((DWORD)0x80100018)
56 #define SCARD_E_PCI_TOO_SMALL                              ((DWORD)0x80100019)
57 #define SCARD_E_READER_UNSUPPORTED                         ((DWORD)0x8010001A)
58 #define SCARD_E_DUPLICATE_READER                           ((DWORD)0x8010001B)
59 #define SCARD_E_CARD_UNSUPPORTED                           ((DWORD)0x8010001C)
60 #define SCARD_E_NO_SERVICE                                 ((DWORD)0x8010001D)
61 #define SCARD_E_SERVICE_STOPPED                            ((DWORD)0x8010001E)
62 #define SCARD_E_UNEXPECTED                                 ((DWORD)0x8010001F)
63 #define SCARD_E_ICC_INSTALLATION                           ((DWORD)0x80100020)
64 #define SCARD_E_ICC_CREATEORDER                            ((DWORD)0x80100021)
65 #define SCARD_E_UNSUPPORTED_FEATURE                        ((DWORD)0x80100022)
66 #define SCARD_E_DIR_NOT_FOUND                              ((DWORD)0x80100023)
67 #define SCARD_E_FILE_NOT_FOUND                             ((DWORD)0x80100024)
68 #define SCARD_E_NO_DIR                                     ((DWORD)0x80100025)
69 #define SCARD_E_NO_FILE                                    ((DWORD)0x80100026)
70 #define SCARD_E_NO_ACCESS                                  ((DWORD)0x80100027)
71 #define SCARD_E_WRITE_TOO_MANY                             ((DWORD)0x80100028)
72 #define SCARD_E_BAD_SEEK                                   ((DWORD)0x80100029)
73 #define SCARD_E_INVALID_CHV                                ((DWORD)0x8010002A)
74 #define SCARD_E_UNKNOWN_RES_MNG                            ((DWORD)0x8010002B)
75 #define SCARD_E_NO_SUCH_CERTIFICATE                        ((DWORD)0x8010002C)
76 #define SCARD_E_CERTIFICATE_UNAVAILABLE                    ((DWORD)0x8010002D)
77 #define SCARD_E_NO_READERS_AVAILABLE                       ((DWORD)0x8010002E)
78 #define SCARD_E_COMM_DATA_LOST                             ((DWORD)0x8010002F)
79 #define SCARD_E_NO_KEY_CONTAINER                           ((DWORD)0x80100030)
80 #define SCARD_E_SERVER_TOO_BUSY                            ((DWORD)0x80100031)
81 #define SCARD_W_UNSUPPORTED_CARD                           ((DWORD)0x80100065)
82 #define SCARD_W_UNRESPONSIVE_CARD                          ((DWORD)0x80100066)
83 #define SCARD_W_UNPOWERED_CARD                             ((DWORD)0x80100067)
84 #define SCARD_W_RESET_CARD                                 ((DWORD)0x80100068)
85 #define SCARD_W_REMOVED_CARD                               ((DWORD)0x80100069)
86 #define SCARD_W_SECURITY_VIOLATION                         ((DWORD)0x8010006A)
87 #define SCARD_W_WRONG_CHV                                  ((DWORD)0x8010006B)
88 #define SCARD_W_CHV_BLOCKED                                ((DWORD)0x8010006C)
89 #define SCARD_W_EOF                                        ((DWORD)0x8010006D)
90 #define SCARD_W_CANCELLED_BY_USER                          ((DWORD)0x8010006E)
91 #define SCARD_W_CARD_NOT_AUTHENTICATED                     ((DWORD)0x8010006F)
92 #define SCARD_W_CACHE_ITEM_NOT_FOUND                       ((DWORD)0x80100070)
93 #define SCARD_W_CACHE_ITEM_STALE                           ((DWORD)0x80100071)
94 #define SCARD_W_CACHE_ITEM_TOO_BIG                         ((DWORD)0x80100072)
95
96 #endif /* SCARD_S_SUCCESS */