forked from arnaudmorin/libgtop11dotnet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
PCSCMissing.h
79 lines (61 loc) · 2.08 KB
/
PCSCMissing.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
/*
* PKCS#11 library for .Net smart cards
* Copyright (C) 2007-2009 Gemalto <[email protected]>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*
*/
#ifndef __GEMALTO_PCSC_MISSING__
#define __GEMALTO_PCSC_MISSING__
#ifndef SCARD_E_NO_SUCH_CERTIFICATE
#define SCARD_E_NO_SUCH_CERTIFICATE ((LONG)0x8010002C)
#endif
#ifndef SCARD_E_FILE_NOT_FOUND
#define SCARD_E_FILE_NOT_FOUND ((LONG)0x80100024)
#endif
#ifndef SCARD_E_COMM_DATA_LOST
#define SCARD_E_COMM_DATA_LOST ((LONG)0x8010002F)
#endif
#ifndef SCARD_W_CHV_BLOCKED
#define SCARD_W_CHV_BLOCKED ((LONG)0x8010006C)
#endif
#ifndef SCARD_E_UNEXPECTED
#define SCARD_E_UNEXPECTED ((LONG)0x8010001F)
#endif
#ifndef SCARD_E_WRITE_TOO_MANY
#define SCARD_E_WRITE_TOO_MANY ((LONG)0x80100028)
#endif
#ifndef SCARD_W_CANCELLED_BY_USER
#define SCARD_W_CANCELLED_BY_USER ((LONG)0x8010006E)
#endif
#ifndef SCARD_W_WRONG_CHV
#define SCARD_W_WRONG_CHV ((LONG)0x8010006B)
#endif
#ifndef SCARD_W_CARD_NOT_AUTHENTICATED
#define SCARD_W_CARD_NOT_AUTHENTICATED ((LONG)0x8010006F)
#endif
#ifndef SCARD_E_DIR_NOT_FOUND
#define SCARD_E_DIR_NOT_FOUND ((LONG)0x80100023)
#endif
#ifndef SCARD_E_INVALID_CHV
#define SCARD_E_INVALID_CHV ((LONG)0x8010002A)
#endif
#ifndef SCARD_E_CERTIFICATE_UNAVAILABLE
#define SCARD_E_CERTIFICATE_UNAVAILABLE ((LONG)0x8010002D)
#endif
#ifndef SCARD_E_NO_ACCESS
#define SCARD_E_NO_ACCESS ((LONG)0x80100027)
#endif
#endif //__GEMALTO_PCSC_MISSING__