ReactOS  0.4.14-dev-55-g2da92ac
winsmcrd.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _SCARD_IO_REQUEST
 
struct  _SCARD_T0_COMMAND
 
struct  _SCARD_T0_REQUEST
 
struct  _SCARD_T1_REQUEST
 

Macros

#define FILE_DEVICE_SMARTCARD   49
 
#define SCARD_ATR_LENGTH   (0x21)
 
#define SCARD_PROTOCOL_UNDEFINED   (0x00000)
 
#define SCARD_PROTOCOL_T0   (0x00001)
 
#define SCARD_PROTOCOL_T1   (0x00002)
 
#define SCARD_PROTOCOL_RAW   (0x10000)
 
#define SCARD_PROTOCOL_Tx   (SCARD_PROTOCOL_T0 | SCARD_PROTOCOL_T1)
 
#define SCARD_PROTOCOL_DEFAULT   (0x80000000)
 
#define SCARD_PROTOCOL_OPTIMAL   (0x00000000)
 
#define SCARD_T0_HEADER_LENGTH   (0x7)
 
#define SCARD_T0_CMD_LENGTH   (0x5)
 
#define SCARD_T1_PROLOGUE_LENGTH   (0x03)
 
#define SCARD_T1_EPILOGUE_LENGTH   (0x02)
 
#define SCARD_T1_MAX_IFS   (0xFE)
 
#define SCARD_POWER_DOWN   (0x0)
 
#define SCARD_COLD_RESET   (0x1)
 
#define SCARD_WARM_RESET   (0x2)
 
#define SCARD_UNKNOWN   (0x0)
 
#define SCARD_ABSENT   (0x1)
 
#define SCARD_PRESENT   (0x2)
 
#define SCARD_SWALLOWED   (0x3)
 
#define SCARD_POWERED   (0x4)
 
#define SCARD_NEGOTIABLE   (0x5)
 
#define SCARD_SPECIFIC   (0x6)
 
#define IOCTL_SMARTCARD_POWER   CTL_CODE(FILE_DEVICE_SMARTCARD, 1, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_SMARTCARD_GET_ATTRIBUTE   CTL_CODE(FILE_DEVICE_SMARTCARD, 2, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_SMARTCARD_SET_ATTRIBUTE   CTL_CODE(FILE_DEVICE_SMARTCARD, 3, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_SMARTCARD_CONFISCATE   CTL_CODE(FILE_DEVICE_SMARTCARD, 4, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_SMARTCARD_TRANSMIT   CTL_CODE(FILE_DEVICE_SMARTCARD, 5, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_SMARTCARD_EJECT   CTL_CODE(FILE_DEVICE_SMARTCARD, 6, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_SMARTCARD_SWALLOW   CTL_CODE(FILE_DEVICE_SMARTCARD, 7, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_SMARTCARD_READ   CTL_CODE(FILE_DEVICE_SMARTCARD, 8, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_SMARTCARD_WRITE   CTL_CODE(FILE_DEVICE_SMARTCARD, 9, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_SMARTCARD_IS_PRESENT   CTL_CODE(FILE_DEVICE_SMARTCARD, 10, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_SMARTCARD_IS_ABSENT   CTL_CODE(FILE_DEVICE_SMARTCARD, 11, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_SMARTCARD_SET_PROTOCOL   CTL_CODE(FILE_DEVICE_SMARTCARD, 12, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_SMARTCARD_GET_STATE   CTL_CODE(FILE_DEVICE_SMARTCARD, 14, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_SMARTCARD_GET_LAST_ERROR   CTL_CODE(FILE_DEVICE_SMARTCARD, 15, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define IOCTL_SMARTCARD_GET_PERF_CNTR   CTL_CODE(FILE_DEVICE_SMARTCARD, 16, METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define MAXIMUM_ATTR_STRING_LENGTH   (0x10)
 
#define MAXIMUM_SMARTCARD_READERS   (0x0A)
 
#define SCARD_CLASS_VENDOR_INFO   (0x0001)
 
#define SCARD_CLASS_COMMUNICATIONS   (0x0002)
 
#define SCARD_CLASS_PROTOCOL   (0x0003)
 
#define SCARD_CLASS_POWER_MGMT   (0x0004)
 
#define SCARD_CLASS_SECURITY   (0x0005)
 
#define SCARD_CLASS_MECHANICAL   (0x0006)
 
#define SCARD_CLASS_VENDOR_DEFINED   (0x0007)
 
#define SCARD_CLASS_IFD_PROTOCOL   (0x0008)
 
#define SCARD_CLASS_ICC_STATE   (0x0009)
 
#define SCARD_CLASS_PERF   (0x7FFE)
 
#define SCARD_CLASS_SYSTEM   (0x7FFF)
 
#define SCARD_READER_TYPE_VENDOR   (0xF0)
 
#define SCARD_READER_TYPE_SERIAL   (0x01)
 
#define SCARD_READER_TYPE_PARALELL   (0x02)
 
#define SCARD_READER_TYPE_KEYBOARD   (0x04)
 
#define SCARD_READER_TYPE_SCSI   (0x08)
 
#define SCARD_READER_TYPE_IDE   (0x10)
 
#define SCARD_READER_TYPE_USB   (0x20)
 
#define SCARD_READER_TYPE_PCMCIA   (0x40)
 
#define SCARD_READER_SWALLOWS   (0x1)
 
#define SCARD_READER_EJECTS   (0x2)
 
#define SCARD_READER_CONFISCATES   (0x4)
 
#define SCARD_ATTR_VALUE(Class, Tag)   (((ULONG)(Class) << 16) | (ULONG)(Tag))
 
#define SCARD_ATTR_VENDOR_NAME   SCARD_ATTR_VALUE(SCARD_CLASS_VENDOR_INFO, 0x0100)
 
#define SCARD_ATTR_VENDOR_IFD_TYPE   SCARD_ATTR_VALUE(SCARD_CLASS_VENDOR_INFO, 0x0101)
 
#define SCARD_ATTR_VENDOR_IFD_VERSION   SCARD_ATTR_VALUE(SCARD_CLASS_VENDOR_INFO, 0x0102)
 
#define SCARD_ATTR_VENDOR_IFD_SERIAL_NO   SCARD_ATTR_VALUE(SCARD_CLASS_VENDOR_INFO, 0x0103)
 
#define SCARD_ATTR_CHANNEL_ID   SCARD_ATTR_VALUE(SCARD_CLASS_COMMUNICATIONS, 0x0110)
 
#define SCARD_ATTR_PROTOCOL_TYPES   SCARD_ATTR_VALUE(SCARD_CLASS_PROTOCOL, 0x0120)
 
#define SCARD_ATTR_ASYNC_PROTOCOL_TYPES   SCARD_ATTR_VALUE(SCARD_CLASS_PROTOCOL, 0x0120)
 
#define SCARD_ATTR_DEFAULT_CLK   SCARD_ATTR_VALUE(SCARD_CLASS_PROTOCOL, 0x0121)
 
#define SCARD_ATTR_MAX_CLK   SCARD_ATTR_VALUE(SCARD_CLASS_PROTOCOL, 0x0122)
 
#define SCARD_ATTR_DEFAULT_DATA_RATE   SCARD_ATTR_VALUE(SCARD_CLASS_PROTOCOL, 0x0123)
 
#define SCARD_ATTR_MAX_DATA_RATE   SCARD_ATTR_VALUE(SCARD_CLASS_PROTOCOL, 0x0124)
 
#define SCARD_ATTR_MAX_IFSD   SCARD_ATTR_VALUE(SCARD_CLASS_PROTOCOL, 0x0125)
 
#define SCARD_ATTR_SYNC_PROTOCOL_TYPES   SCARD_ATTR_VALUE(SCARD_CLASS_PROTOCOL, 0x0126)
 
#define SCARD_ATTR_POWER_MGMT_SUPPORT   SCARD_ATTR_VALUE(SCARD_CLASS_POWER_MGMT, 0x0131)
 
#define SCARD_ATTR_USER_TO_CARD_AUTH_DEVICE   SCARD_ATTR_VALUE(SCARD_CLASS_SECURITY, 0x0140)
 
#define SCARD_ATTR_USER_AUTH_INPUT_DEVICE   SCARD_ATTR_VALUE(SCARD_CLASS_SECURITY, 0x0142)
 
#define SCARD_ATTR_CHARACTERISTICS   SCARD_ATTR_VALUE(SCARD_CLASS_MECHANICAL, 0x0150)
 
#define SCARD_ATTR_CURRENT_PROTOCOL_TYPE   SCARD_ATTR_VALUE(SCARD_CLASS_IFD_PROTOCOL, 0x0201)
 
#define SCARD_ATTR_CURRENT_CLK   SCARD_ATTR_VALUE(SCARD_CLASS_IFD_PROTOCOL, 0x0202)
 
#define SCARD_ATTR_CURRENT_F   SCARD_ATTR_VALUE(SCARD_CLASS_IFD_PROTOCOL, 0x0203)
 
#define SCARD_ATTR_CURRENT_D   SCARD_ATTR_VALUE(SCARD_CLASS_IFD_PROTOCOL, 0x0204)
 
#define SCARD_ATTR_CURRENT_N   SCARD_ATTR_VALUE(SCARD_CLASS_IFD_PROTOCOL, 0x0205)
 
#define SCARD_ATTR_CURRENT_W   SCARD_ATTR_VALUE(SCARD_CLASS_IFD_PROTOCOL, 0x0206)
 
#define SCARD_ATTR_CURRENT_IFSC   SCARD_ATTR_VALUE(SCARD_CLASS_IFD_PROTOCOL, 0x0207)
 
#define SCARD_ATTR_CURRENT_IFSD   SCARD_ATTR_VALUE(SCARD_CLASS_IFD_PROTOCOL, 0x0208)
 
#define SCARD_ATTR_CURRENT_BWT   SCARD_ATTR_VALUE(SCARD_CLASS_IFD_PROTOCOL, 0x0209)
 
#define SCARD_ATTR_CURRENT_CWT   SCARD_ATTR_VALUE(SCARD_CLASS_IFD_PROTOCOL, 0x020A)
 
#define SCARD_ATTR_CURRENT_EBC_ENCODING   SCARD_ATTR_VALUE(SCARD_CLASS_IFD_PROTOCOL, 0x020B)
 
#define SCARD_ATTR_EXTENDED_BWT   SCARD_ATTR_VALUE(SCARD_CLASS_IFD_PROTOCOL, 0x020C)
 
#define SCARD_ATTR_ICC_PRESENCE   SCARD_ATTR_VALUE(SCARD_CLASS_ICC_STATE, 0x0300)
 
#define SCARD_ATTR_ICC_INTERFACE_STATUS   SCARD_ATTR_VALUE(SCARD_CLASS_ICC_STATE, 0x0301)
 
#define SCARD_ATTR_CURRENT_IO_STATE   SCARD_ATTR_VALUE(SCARD_CLASS_ICC_STATE, 0x0302)
 
#define SCARD_ATTR_ATR_STRING   SCARD_ATTR_VALUE(SCARD_CLASS_ICC_STATE, 0x0303)
 
#define SCARD_ATTR_ICC_TYPE_PER_ATR   SCARD_ATTR_VALUE(SCARD_CLASS_ICC_STATE, 0x0304)
 
#define SCARD_ATTR_ESC_RESET   SCARD_ATTR_VALUE(SCARD_CLASS_VENDOR_DEFINED, 0xA000)
 
#define SCARD_ATTR_ESC_CANCEL   SCARD_ATTR_VALUE(SCARD_CLASS_VENDOR_DEFINED, 0xA003)
 
#define SCARD_ATTR_ESC_AUTHREQUEST   SCARD_ATTR_VALUE(SCARD_CLASS_VENDOR_DEFINED, 0xA005)
 
#define SCARD_ATTR_MAXINPUT   SCARD_ATTR_VALUE(SCARD_CLASS_VENDOR_DEFINED, 0xA007)
 
#define SCARD_ATTR_DEVICE_UNIT   SCARD_ATTR_VALUE(SCARD_CLASS_SYSTEM, 0x0001)
 
#define SCARD_ATTR_DEVICE_IN_USE   SCARD_ATTR_VALUE(SCARD_CLASS_SYSTEM, 0x0002)
 
#define SCARD_ATTR_DEVICE_FRIENDLY_NAME_A   SCARD_ATTR_VALUE(SCARD_CLASS_SYSTEM, 0x0003)
 
#define SCARD_ATTR_DEVICE_SYSTEM_NAME_A   SCARD_ATTR_VALUE(SCARD_CLASS_SYSTEM, 0x0004)
 
#define SCARD_ATTR_DEVICE_FRIENDLY_NAME_W   SCARD_ATTR_VALUE(SCARD_CLASS_SYSTEM, 0x0005)
 
#define SCARD_ATTR_DEVICE_SYSTEM_NAME_W   SCARD_ATTR_VALUE(SCARD_CLASS_SYSTEM, 0x0006)
 
#define SCARD_ATTR_SUPRESS_T1_IFS_REQUEST   SCARD_ATTR_VALUE(SCARD_CLASS_SYSTEM, 0x0007)
 
#define SCARD_PERF_NUM_TRANSMISSIONS   SCARD_ATTR_VALUE(SCARD_CLASS_PERF, 0x0001)
 
#define SCARD_PERF_BYTES_TRANSMITTED   SCARD_ATTR_VALUE(SCARD_CLASS_PERF, 0x0002)
 
#define SCARD_PERF_TRANSMISSION_TIME   SCARD_ATTR_VALUE(SCARD_CLASS_PERF, 0x0003)
 
#define SCARD_ATTR_DEVICE_FRIENDLY_NAME   SCARD_ATTR_DEVICE_FRIENDLY_NAME_A
 
#define SCARD_ATTR_DEVICE_SYSTEM_NAME   SCARD_ATTR_DEVICE_SYSTEM_NAME_A
 

Typedefs

typedef struct _SCARD_IO_REQUEST SCARD_IO_REQUEST
 
typedef struct _SCARD_IO_REQUESTPSCARD_IO_REQUEST
 
typedef struct _SCARD_IO_REQUESTLPSCARD_IO_REQUEST
 
typedef const SCARD_IO_REQUESTLPCSCARD_IO_REQUEST
 
typedef struct _SCARD_T0_COMMAND SCARD_T0_COMMAND
 
typedef struct _SCARD_T0_COMMANDPSCARD_T0_COMMAND
 
typedef struct _SCARD_T0_COMMANDLPSCARD_T0_COMMAND
 
typedef struct _SCARD_T0_REQUEST SCARD_T0_REQUEST
 
typedef struct _SCARD_T0_REQUESTPSCARD_T0_REQUEST
 
typedef struct _SCARD_T0_REQUESTLPSCARD_T0_REQUEST
 
typedef struct _SCARD_T1_REQUEST SCARD_T1_REQUEST
 
typedef struct _SCARD_T1_REQUESTPSCARD_T1_REQUEST
 
typedef struct _SCARD_T1_REQUESTLPSCARD_T1_REQUEST
 

Macro Definition Documentation

◆ FILE_DEVICE_SMARTCARD

#define FILE_DEVICE_SMARTCARD   49

Definition at line 64 of file winsmcrd.h.

◆ IOCTL_SMARTCARD_CONFISCATE

#define IOCTL_SMARTCARD_CONFISCATE   CTL_CODE(FILE_DEVICE_SMARTCARD, 4, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 103 of file winsmcrd.h.

◆ IOCTL_SMARTCARD_EJECT

Definition at line 105 of file winsmcrd.h.

◆ IOCTL_SMARTCARD_GET_ATTRIBUTE

#define IOCTL_SMARTCARD_GET_ATTRIBUTE   CTL_CODE(FILE_DEVICE_SMARTCARD, 2, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 101 of file winsmcrd.h.

◆ IOCTL_SMARTCARD_GET_LAST_ERROR

#define IOCTL_SMARTCARD_GET_LAST_ERROR   CTL_CODE(FILE_DEVICE_SMARTCARD, 15, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 113 of file winsmcrd.h.

◆ IOCTL_SMARTCARD_GET_PERF_CNTR

#define IOCTL_SMARTCARD_GET_PERF_CNTR   CTL_CODE(FILE_DEVICE_SMARTCARD, 16, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 114 of file winsmcrd.h.

◆ IOCTL_SMARTCARD_GET_STATE

#define IOCTL_SMARTCARD_GET_STATE   CTL_CODE(FILE_DEVICE_SMARTCARD, 14, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 112 of file winsmcrd.h.

◆ IOCTL_SMARTCARD_IS_ABSENT

#define IOCTL_SMARTCARD_IS_ABSENT   CTL_CODE(FILE_DEVICE_SMARTCARD, 11, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 110 of file winsmcrd.h.

◆ IOCTL_SMARTCARD_IS_PRESENT

#define IOCTL_SMARTCARD_IS_PRESENT   CTL_CODE(FILE_DEVICE_SMARTCARD, 10, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 109 of file winsmcrd.h.

◆ IOCTL_SMARTCARD_POWER

Definition at line 100 of file winsmcrd.h.

◆ IOCTL_SMARTCARD_READ

Definition at line 107 of file winsmcrd.h.

◆ IOCTL_SMARTCARD_SET_ATTRIBUTE

#define IOCTL_SMARTCARD_SET_ATTRIBUTE   CTL_CODE(FILE_DEVICE_SMARTCARD, 3, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 102 of file winsmcrd.h.

◆ IOCTL_SMARTCARD_SET_PROTOCOL

#define IOCTL_SMARTCARD_SET_PROTOCOL   CTL_CODE(FILE_DEVICE_SMARTCARD, 12, METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 111 of file winsmcrd.h.

◆ IOCTL_SMARTCARD_SWALLOW

Definition at line 106 of file winsmcrd.h.

◆ IOCTL_SMARTCARD_TRANSMIT

Definition at line 104 of file winsmcrd.h.

◆ IOCTL_SMARTCARD_WRITE

Definition at line 108 of file winsmcrd.h.

◆ MAXIMUM_ATTR_STRING_LENGTH

#define MAXIMUM_ATTR_STRING_LENGTH   (0x10)

Definition at line 116 of file winsmcrd.h.

◆ MAXIMUM_SMARTCARD_READERS

#define MAXIMUM_SMARTCARD_READERS   (0x0A)

Definition at line 117 of file winsmcrd.h.

◆ SCARD_ABSENT

#define SCARD_ABSENT   (0x1)

Definition at line 93 of file winsmcrd.h.

◆ SCARD_ATR_LENGTH

#define SCARD_ATR_LENGTH   (0x21)

Definition at line 69 of file winsmcrd.h.

◆ SCARD_ATTR_ASYNC_PROTOCOL_TYPES

#define SCARD_ATTR_ASYNC_PROTOCOL_TYPES   SCARD_ATTR_VALUE(SCARD_CLASS_PROTOCOL, 0x0120)

Definition at line 156 of file winsmcrd.h.

◆ SCARD_ATTR_ATR_STRING

#define SCARD_ATTR_ATR_STRING   SCARD_ATTR_VALUE(SCARD_CLASS_ICC_STATE, 0x0303)

Definition at line 187 of file winsmcrd.h.

◆ SCARD_ATTR_CHANNEL_ID

#define SCARD_ATTR_CHANNEL_ID   SCARD_ATTR_VALUE(SCARD_CLASS_COMMUNICATIONS, 0x0110)

Definition at line 153 of file winsmcrd.h.

◆ SCARD_ATTR_CHARACTERISTICS

#define SCARD_ATTR_CHARACTERISTICS   SCARD_ATTR_VALUE(SCARD_CLASS_MECHANICAL, 0x0150)

Definition at line 169 of file winsmcrd.h.

◆ SCARD_ATTR_CURRENT_BWT

#define SCARD_ATTR_CURRENT_BWT   SCARD_ATTR_VALUE(SCARD_CLASS_IFD_PROTOCOL, 0x0209)

Definition at line 179 of file winsmcrd.h.

◆ SCARD_ATTR_CURRENT_CLK

#define SCARD_ATTR_CURRENT_CLK   SCARD_ATTR_VALUE(SCARD_CLASS_IFD_PROTOCOL, 0x0202)

Definition at line 172 of file winsmcrd.h.

◆ SCARD_ATTR_CURRENT_CWT

#define SCARD_ATTR_CURRENT_CWT   SCARD_ATTR_VALUE(SCARD_CLASS_IFD_PROTOCOL, 0x020A)

Definition at line 180 of file winsmcrd.h.

◆ SCARD_ATTR_CURRENT_D

#define SCARD_ATTR_CURRENT_D   SCARD_ATTR_VALUE(SCARD_CLASS_IFD_PROTOCOL, 0x0204)

Definition at line 174 of file winsmcrd.h.

◆ SCARD_ATTR_CURRENT_EBC_ENCODING

#define SCARD_ATTR_CURRENT_EBC_ENCODING   SCARD_ATTR_VALUE(SCARD_CLASS_IFD_PROTOCOL, 0x020B)

Definition at line 181 of file winsmcrd.h.

◆ SCARD_ATTR_CURRENT_F

#define SCARD_ATTR_CURRENT_F   SCARD_ATTR_VALUE(SCARD_CLASS_IFD_PROTOCOL, 0x0203)

Definition at line 173 of file winsmcrd.h.

◆ SCARD_ATTR_CURRENT_IFSC

#define SCARD_ATTR_CURRENT_IFSC   SCARD_ATTR_VALUE(SCARD_CLASS_IFD_PROTOCOL, 0x0207)

Definition at line 177 of file winsmcrd.h.

◆ SCARD_ATTR_CURRENT_IFSD

#define SCARD_ATTR_CURRENT_IFSD   SCARD_ATTR_VALUE(SCARD_CLASS_IFD_PROTOCOL, 0x0208)

Definition at line 178 of file winsmcrd.h.

◆ SCARD_ATTR_CURRENT_IO_STATE

#define SCARD_ATTR_CURRENT_IO_STATE   SCARD_ATTR_VALUE(SCARD_CLASS_ICC_STATE, 0x0302)

Definition at line 186 of file winsmcrd.h.

◆ SCARD_ATTR_CURRENT_N

#define SCARD_ATTR_CURRENT_N   SCARD_ATTR_VALUE(SCARD_CLASS_IFD_PROTOCOL, 0x0205)

Definition at line 175 of file winsmcrd.h.

◆ SCARD_ATTR_CURRENT_PROTOCOL_TYPE

#define SCARD_ATTR_CURRENT_PROTOCOL_TYPE   SCARD_ATTR_VALUE(SCARD_CLASS_IFD_PROTOCOL, 0x0201)

Definition at line 171 of file winsmcrd.h.

◆ SCARD_ATTR_CURRENT_W

#define SCARD_ATTR_CURRENT_W   SCARD_ATTR_VALUE(SCARD_CLASS_IFD_PROTOCOL, 0x0206)

Definition at line 176 of file winsmcrd.h.

◆ SCARD_ATTR_DEFAULT_CLK

#define SCARD_ATTR_DEFAULT_CLK   SCARD_ATTR_VALUE(SCARD_CLASS_PROTOCOL, 0x0121)

Definition at line 157 of file winsmcrd.h.

◆ SCARD_ATTR_DEFAULT_DATA_RATE

#define SCARD_ATTR_DEFAULT_DATA_RATE   SCARD_ATTR_VALUE(SCARD_CLASS_PROTOCOL, 0x0123)

Definition at line 159 of file winsmcrd.h.

◆ SCARD_ATTR_DEVICE_FRIENDLY_NAME

#define SCARD_ATTR_DEVICE_FRIENDLY_NAME   SCARD_ATTR_DEVICE_FRIENDLY_NAME_A

Definition at line 211 of file winsmcrd.h.

◆ SCARD_ATTR_DEVICE_FRIENDLY_NAME_A

#define SCARD_ATTR_DEVICE_FRIENDLY_NAME_A   SCARD_ATTR_VALUE(SCARD_CLASS_SYSTEM, 0x0003)

Definition at line 197 of file winsmcrd.h.

◆ SCARD_ATTR_DEVICE_FRIENDLY_NAME_W

#define SCARD_ATTR_DEVICE_FRIENDLY_NAME_W   SCARD_ATTR_VALUE(SCARD_CLASS_SYSTEM, 0x0005)

Definition at line 199 of file winsmcrd.h.

◆ SCARD_ATTR_DEVICE_IN_USE

#define SCARD_ATTR_DEVICE_IN_USE   SCARD_ATTR_VALUE(SCARD_CLASS_SYSTEM, 0x0002)

Definition at line 196 of file winsmcrd.h.

◆ SCARD_ATTR_DEVICE_SYSTEM_NAME

#define SCARD_ATTR_DEVICE_SYSTEM_NAME   SCARD_ATTR_DEVICE_SYSTEM_NAME_A

Definition at line 212 of file winsmcrd.h.

◆ SCARD_ATTR_DEVICE_SYSTEM_NAME_A

#define SCARD_ATTR_DEVICE_SYSTEM_NAME_A   SCARD_ATTR_VALUE(SCARD_CLASS_SYSTEM, 0x0004)

Definition at line 198 of file winsmcrd.h.

◆ SCARD_ATTR_DEVICE_SYSTEM_NAME_W

#define SCARD_ATTR_DEVICE_SYSTEM_NAME_W   SCARD_ATTR_VALUE(SCARD_CLASS_SYSTEM, 0x0006)

Definition at line 200 of file winsmcrd.h.

◆ SCARD_ATTR_DEVICE_UNIT

#define SCARD_ATTR_DEVICE_UNIT   SCARD_ATTR_VALUE(SCARD_CLASS_SYSTEM, 0x0001)

Definition at line 195 of file winsmcrd.h.

◆ SCARD_ATTR_ESC_AUTHREQUEST

#define SCARD_ATTR_ESC_AUTHREQUEST   SCARD_ATTR_VALUE(SCARD_CLASS_VENDOR_DEFINED, 0xA005)

Definition at line 192 of file winsmcrd.h.

◆ SCARD_ATTR_ESC_CANCEL

#define SCARD_ATTR_ESC_CANCEL   SCARD_ATTR_VALUE(SCARD_CLASS_VENDOR_DEFINED, 0xA003)

Definition at line 191 of file winsmcrd.h.

◆ SCARD_ATTR_ESC_RESET

#define SCARD_ATTR_ESC_RESET   SCARD_ATTR_VALUE(SCARD_CLASS_VENDOR_DEFINED, 0xA000)

Definition at line 190 of file winsmcrd.h.

◆ SCARD_ATTR_EXTENDED_BWT

#define SCARD_ATTR_EXTENDED_BWT   SCARD_ATTR_VALUE(SCARD_CLASS_IFD_PROTOCOL, 0x020C)

Definition at line 182 of file winsmcrd.h.

◆ SCARD_ATTR_ICC_INTERFACE_STATUS

#define SCARD_ATTR_ICC_INTERFACE_STATUS   SCARD_ATTR_VALUE(SCARD_CLASS_ICC_STATE, 0x0301)

Definition at line 185 of file winsmcrd.h.

◆ SCARD_ATTR_ICC_PRESENCE

#define SCARD_ATTR_ICC_PRESENCE   SCARD_ATTR_VALUE(SCARD_CLASS_ICC_STATE, 0x0300)

Definition at line 184 of file winsmcrd.h.

◆ SCARD_ATTR_ICC_TYPE_PER_ATR

#define SCARD_ATTR_ICC_TYPE_PER_ATR   SCARD_ATTR_VALUE(SCARD_CLASS_ICC_STATE, 0x0304)

Definition at line 188 of file winsmcrd.h.

◆ SCARD_ATTR_MAX_CLK

#define SCARD_ATTR_MAX_CLK   SCARD_ATTR_VALUE(SCARD_CLASS_PROTOCOL, 0x0122)

Definition at line 158 of file winsmcrd.h.

◆ SCARD_ATTR_MAX_DATA_RATE

#define SCARD_ATTR_MAX_DATA_RATE   SCARD_ATTR_VALUE(SCARD_CLASS_PROTOCOL, 0x0124)

Definition at line 160 of file winsmcrd.h.

◆ SCARD_ATTR_MAX_IFSD

#define SCARD_ATTR_MAX_IFSD   SCARD_ATTR_VALUE(SCARD_CLASS_PROTOCOL, 0x0125)

Definition at line 161 of file winsmcrd.h.

◆ SCARD_ATTR_MAXINPUT

#define SCARD_ATTR_MAXINPUT   SCARD_ATTR_VALUE(SCARD_CLASS_VENDOR_DEFINED, 0xA007)

Definition at line 193 of file winsmcrd.h.

◆ SCARD_ATTR_POWER_MGMT_SUPPORT

#define SCARD_ATTR_POWER_MGMT_SUPPORT   SCARD_ATTR_VALUE(SCARD_CLASS_POWER_MGMT, 0x0131)

Definition at line 164 of file winsmcrd.h.

◆ SCARD_ATTR_PROTOCOL_TYPES

#define SCARD_ATTR_PROTOCOL_TYPES   SCARD_ATTR_VALUE(SCARD_CLASS_PROTOCOL, 0x0120)

Definition at line 155 of file winsmcrd.h.

◆ SCARD_ATTR_SUPRESS_T1_IFS_REQUEST

#define SCARD_ATTR_SUPRESS_T1_IFS_REQUEST   SCARD_ATTR_VALUE(SCARD_CLASS_SYSTEM, 0x0007)

Definition at line 201 of file winsmcrd.h.

◆ SCARD_ATTR_SYNC_PROTOCOL_TYPES

#define SCARD_ATTR_SYNC_PROTOCOL_TYPES   SCARD_ATTR_VALUE(SCARD_CLASS_PROTOCOL, 0x0126)

Definition at line 162 of file winsmcrd.h.

◆ SCARD_ATTR_USER_AUTH_INPUT_DEVICE

#define SCARD_ATTR_USER_AUTH_INPUT_DEVICE   SCARD_ATTR_VALUE(SCARD_CLASS_SECURITY, 0x0142)

Definition at line 167 of file winsmcrd.h.

◆ SCARD_ATTR_USER_TO_CARD_AUTH_DEVICE

#define SCARD_ATTR_USER_TO_CARD_AUTH_DEVICE   SCARD_ATTR_VALUE(SCARD_CLASS_SECURITY, 0x0140)

Definition at line 166 of file winsmcrd.h.

◆ SCARD_ATTR_VALUE

#define SCARD_ATTR_VALUE (   Class,
  Tag 
)    (((ULONG)(Class) << 16) | (ULONG)(Tag))

Definition at line 145 of file winsmcrd.h.

◆ SCARD_ATTR_VENDOR_IFD_SERIAL_NO

#define SCARD_ATTR_VENDOR_IFD_SERIAL_NO   SCARD_ATTR_VALUE(SCARD_CLASS_VENDOR_INFO, 0x0103)

Definition at line 151 of file winsmcrd.h.

◆ SCARD_ATTR_VENDOR_IFD_TYPE

#define SCARD_ATTR_VENDOR_IFD_TYPE   SCARD_ATTR_VALUE(SCARD_CLASS_VENDOR_INFO, 0x0101)

Definition at line 149 of file winsmcrd.h.

◆ SCARD_ATTR_VENDOR_IFD_VERSION

#define SCARD_ATTR_VENDOR_IFD_VERSION   SCARD_ATTR_VALUE(SCARD_CLASS_VENDOR_INFO, 0x0102)

Definition at line 150 of file winsmcrd.h.

◆ SCARD_ATTR_VENDOR_NAME

#define SCARD_ATTR_VENDOR_NAME   SCARD_ATTR_VALUE(SCARD_CLASS_VENDOR_INFO, 0x0100)

Definition at line 148 of file winsmcrd.h.

◆ SCARD_CLASS_COMMUNICATIONS

#define SCARD_CLASS_COMMUNICATIONS   (0x0002)

Definition at line 120 of file winsmcrd.h.

◆ SCARD_CLASS_ICC_STATE

#define SCARD_CLASS_ICC_STATE   (0x0009)

Definition at line 127 of file winsmcrd.h.

◆ SCARD_CLASS_IFD_PROTOCOL

#define SCARD_CLASS_IFD_PROTOCOL   (0x0008)

Definition at line 126 of file winsmcrd.h.

◆ SCARD_CLASS_MECHANICAL

#define SCARD_CLASS_MECHANICAL   (0x0006)

Definition at line 124 of file winsmcrd.h.

◆ SCARD_CLASS_PERF

#define SCARD_CLASS_PERF   (0x7FFE)

Definition at line 128 of file winsmcrd.h.

◆ SCARD_CLASS_POWER_MGMT

#define SCARD_CLASS_POWER_MGMT   (0x0004)

Definition at line 122 of file winsmcrd.h.

◆ SCARD_CLASS_PROTOCOL

#define SCARD_CLASS_PROTOCOL   (0x0003)

Definition at line 121 of file winsmcrd.h.

◆ SCARD_CLASS_SECURITY

#define SCARD_CLASS_SECURITY   (0x0005)

Definition at line 123 of file winsmcrd.h.

◆ SCARD_CLASS_SYSTEM

#define SCARD_CLASS_SYSTEM   (0x7FFF)

Definition at line 129 of file winsmcrd.h.

◆ SCARD_CLASS_VENDOR_DEFINED

#define SCARD_CLASS_VENDOR_DEFINED   (0x0007)

Definition at line 125 of file winsmcrd.h.

◆ SCARD_CLASS_VENDOR_INFO

#define SCARD_CLASS_VENDOR_INFO   (0x0001)

Definition at line 119 of file winsmcrd.h.

◆ SCARD_COLD_RESET

#define SCARD_COLD_RESET   (0x1)

Definition at line 89 of file winsmcrd.h.

◆ SCARD_NEGOTIABLE

#define SCARD_NEGOTIABLE   (0x5)

Definition at line 97 of file winsmcrd.h.

◆ SCARD_PERF_BYTES_TRANSMITTED

#define SCARD_PERF_BYTES_TRANSMITTED   SCARD_ATTR_VALUE(SCARD_CLASS_PERF, 0x0002)

Definition at line 204 of file winsmcrd.h.

◆ SCARD_PERF_NUM_TRANSMISSIONS

#define SCARD_PERF_NUM_TRANSMISSIONS   SCARD_ATTR_VALUE(SCARD_CLASS_PERF, 0x0001)

Definition at line 203 of file winsmcrd.h.

◆ SCARD_PERF_TRANSMISSION_TIME

#define SCARD_PERF_TRANSMISSION_TIME   SCARD_ATTR_VALUE(SCARD_CLASS_PERF, 0x0003)

Definition at line 205 of file winsmcrd.h.

◆ SCARD_POWER_DOWN

#define SCARD_POWER_DOWN   (0x0)

Definition at line 88 of file winsmcrd.h.

◆ SCARD_POWERED

#define SCARD_POWERED   (0x4)

Definition at line 96 of file winsmcrd.h.

◆ SCARD_PRESENT

#define SCARD_PRESENT   (0x2)

Definition at line 94 of file winsmcrd.h.

◆ SCARD_PROTOCOL_DEFAULT

#define SCARD_PROTOCOL_DEFAULT   (0x80000000)

Definition at line 78 of file winsmcrd.h.

◆ SCARD_PROTOCOL_OPTIMAL

#define SCARD_PROTOCOL_OPTIMAL   (0x00000000)

Definition at line 79 of file winsmcrd.h.

◆ SCARD_PROTOCOL_RAW

#define SCARD_PROTOCOL_RAW   (0x10000)

Definition at line 74 of file winsmcrd.h.

◆ SCARD_PROTOCOL_T0

#define SCARD_PROTOCOL_T0   (0x00001)

Definition at line 72 of file winsmcrd.h.

◆ SCARD_PROTOCOL_T1

#define SCARD_PROTOCOL_T1   (0x00002)

Definition at line 73 of file winsmcrd.h.

◆ SCARD_PROTOCOL_Tx

#define SCARD_PROTOCOL_Tx   (SCARD_PROTOCOL_T0 | SCARD_PROTOCOL_T1)

Definition at line 76 of file winsmcrd.h.

◆ SCARD_PROTOCOL_UNDEFINED

#define SCARD_PROTOCOL_UNDEFINED   (0x00000)

Definition at line 71 of file winsmcrd.h.

◆ SCARD_READER_CONFISCATES

#define SCARD_READER_CONFISCATES   (0x4)

Definition at line 143 of file winsmcrd.h.

◆ SCARD_READER_EJECTS

#define SCARD_READER_EJECTS   (0x2)

Definition at line 142 of file winsmcrd.h.

◆ SCARD_READER_SWALLOWS

#define SCARD_READER_SWALLOWS   (0x1)

Definition at line 141 of file winsmcrd.h.

◆ SCARD_READER_TYPE_IDE

#define SCARD_READER_TYPE_IDE   (0x10)

Definition at line 137 of file winsmcrd.h.

◆ SCARD_READER_TYPE_KEYBOARD

#define SCARD_READER_TYPE_KEYBOARD   (0x04)

Definition at line 135 of file winsmcrd.h.

◆ SCARD_READER_TYPE_PARALELL

#define SCARD_READER_TYPE_PARALELL   (0x02)

Definition at line 134 of file winsmcrd.h.

◆ SCARD_READER_TYPE_PCMCIA

#define SCARD_READER_TYPE_PCMCIA   (0x40)

Definition at line 139 of file winsmcrd.h.

◆ SCARD_READER_TYPE_SCSI

#define SCARD_READER_TYPE_SCSI   (0x08)

Definition at line 136 of file winsmcrd.h.

◆ SCARD_READER_TYPE_SERIAL

#define SCARD_READER_TYPE_SERIAL   (0x01)

Definition at line 133 of file winsmcrd.h.

◆ SCARD_READER_TYPE_USB

#define SCARD_READER_TYPE_USB   (0x20)

Definition at line 138 of file winsmcrd.h.

◆ SCARD_READER_TYPE_VENDOR

#define SCARD_READER_TYPE_VENDOR   (0xF0)

Definition at line 131 of file winsmcrd.h.

◆ SCARD_SPECIFIC

#define SCARD_SPECIFIC   (0x6)

Definition at line 98 of file winsmcrd.h.

◆ SCARD_SWALLOWED

#define SCARD_SWALLOWED   (0x3)

Definition at line 95 of file winsmcrd.h.

◆ SCARD_T0_CMD_LENGTH

#define SCARD_T0_CMD_LENGTH   (0x5)

Definition at line 82 of file winsmcrd.h.

◆ SCARD_T0_HEADER_LENGTH

#define SCARD_T0_HEADER_LENGTH   (0x7)

Definition at line 81 of file winsmcrd.h.

◆ SCARD_T1_EPILOGUE_LENGTH

#define SCARD_T1_EPILOGUE_LENGTH   (0x02)

Definition at line 85 of file winsmcrd.h.

◆ SCARD_T1_MAX_IFS

#define SCARD_T1_MAX_IFS   (0xFE)

Definition at line 86 of file winsmcrd.h.

◆ SCARD_T1_PROLOGUE_LENGTH

#define SCARD_T1_PROLOGUE_LENGTH   (0x03)

Definition at line 84 of file winsmcrd.h.

◆ SCARD_UNKNOWN

#define SCARD_UNKNOWN   (0x0)

Definition at line 92 of file winsmcrd.h.

◆ SCARD_WARM_RESET

#define SCARD_WARM_RESET   (0x2)

Definition at line 90 of file winsmcrd.h.

Typedef Documentation

◆ LPCSCARD_IO_REQUEST

Definition at line 35 of file winsmcrd.h.

◆ LPSCARD_IO_REQUEST

◆ LPSCARD_T0_COMMAND

◆ LPSCARD_T0_REQUEST

◆ LPSCARD_T1_REQUEST

◆ PSCARD_IO_REQUEST

◆ PSCARD_T0_COMMAND

◆ PSCARD_T0_REQUEST

◆ PSCARD_T1_REQUEST

◆ SCARD_IO_REQUEST

◆ SCARD_T0_COMMAND

◆ SCARD_T0_REQUEST

◆ SCARD_T1_REQUEST