libPCSCv2part10
Data Structures | Macros | Functions
PCSCv2part10.h File Reference
#include <inttypes.h>

Go to the source code of this file.

Data Structures

struct  PCSC_TLV_STRUCTURE
 

Macros

#define SCARD_CTL_CODE(code)   (0x42000000 + (code))
 
#define CM_IOCTL_GET_FEATURE_REQUEST   SCARD_CTL_CODE(3400)
 
#define FEATURE_GET_TLV_PROPERTIES   0x12
 
#define PCSCv2_PART10_PROPERTY_wLcdLayout   1
 
#define PCSCv2_PART10_PROPERTY_bEntryValidationCondition   2
 
#define PCSCv2_PART10_PROPERTY_bTimeOut2   3
 
#define PCSCv2_PART10_PROPERTY_wLcdMaxCharacters   4
 
#define PCSCv2_PART10_PROPERTY_wLcdMaxLines   5
 
#define PCSCv2_PART10_PROPERTY_bMinPINSize   6
 
#define PCSCv2_PART10_PROPERTY_bMaxPINSize   7
 
#define PCSCv2_PART10_PROPERTY_sFirmwareID   8
 
#define PCSCv2_PART10_PROPERTY_bPPDUSupport   9
 
#define PCSCv2_PART10_PROPERTY_dwMaxAPDUDataSize   10
 
#define PCSCv2_PART10_PROPERTY_wIdVendor   11
 
#define PCSCv2_PART10_PROPERTY_wIdProduct   12
 

Functions

int PCSCv2Part10_find_TLV_property_by_tag_from_buffer (unsigned char *buffer, int length, int property, int *value)
 Find an integer value by tag from TLV buffer. More...
 
int PCSCv2Part10_find_TLV_property_by_tag_from_hcard (SCARDHANDLE hCard, int property, int *value)
 Find a integer value by tag from a PC/SC card handle. More...
 

Macro Definition Documentation

◆ CM_IOCTL_GET_FEATURE_REQUEST

#define CM_IOCTL_GET_FEATURE_REQUEST   SCARD_CTL_CODE(3400)

PC/SC part 10 v2.02.07 March 2010 reader tags

◆ FEATURE_GET_TLV_PROPERTIES

#define FEATURE_GET_TLV_PROPERTIES   0x12

Get TLV properties

◆ PCSCv2_PART10_PROPERTY_bEntryValidationCondition

#define PCSCv2_PART10_PROPERTY_bEntryValidationCondition   2

bEntryValidationCondition

◆ PCSCv2_PART10_PROPERTY_bMaxPINSize

#define PCSCv2_PART10_PROPERTY_bMaxPINSize   7

bMaxPINSize

◆ PCSCv2_PART10_PROPERTY_bMinPINSize

#define PCSCv2_PART10_PROPERTY_bMinPINSize   6

bMinPINSize

◆ PCSCv2_PART10_PROPERTY_bPPDUSupport

#define PCSCv2_PART10_PROPERTY_bPPDUSupport   9

bPPDUSupport

◆ PCSCv2_PART10_PROPERTY_bTimeOut2

#define PCSCv2_PART10_PROPERTY_bTimeOut2   3

bTimeOut2

◆ PCSCv2_PART10_PROPERTY_dwMaxAPDUDataSize

#define PCSCv2_PART10_PROPERTY_dwMaxAPDUDataSize   10

dwMaxAPDUDataSize

◆ PCSCv2_PART10_PROPERTY_sFirmwareID

#define PCSCv2_PART10_PROPERTY_sFirmwareID   8

sFirmwareID

◆ PCSCv2_PART10_PROPERTY_wIdProduct

#define PCSCv2_PART10_PROPERTY_wIdProduct   12

wIdProduct

◆ PCSCv2_PART10_PROPERTY_wIdVendor

#define PCSCv2_PART10_PROPERTY_wIdVendor   11

wIdVendor

◆ PCSCv2_PART10_PROPERTY_wLcdLayout

#define PCSCv2_PART10_PROPERTY_wLcdLayout   1

wLcdLayout

◆ PCSCv2_PART10_PROPERTY_wLcdMaxCharacters

#define PCSCv2_PART10_PROPERTY_wLcdMaxCharacters   4

wLcdMaxCharacters

◆ PCSCv2_PART10_PROPERTY_wLcdMaxLines

#define PCSCv2_PART10_PROPERTY_wLcdMaxLines   5

wLcdMaxLines

◆ SCARD_CTL_CODE

#define SCARD_CTL_CODE (   code)    (0x42000000 + (code))

Provide source compatibility on different platforms