libPCSCv2part10
 All Data Structures Files Functions Variables Macros Modules
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

#define CM_IOCTL_GET_FEATURE_REQUEST   SCARD_CTL_CODE(3400)

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

#define FEATURE_GET_TLV_PROPERTIES   0x12

Get TLV properties

#define PCSCv2_PART10_PROPERTY_bEntryValidationCondition   2

bEntryValidationCondition

#define PCSCv2_PART10_PROPERTY_bMaxPINSize   7

bMaxPINSize

#define PCSCv2_PART10_PROPERTY_bMinPINSize   6

bMinPINSize

#define PCSCv2_PART10_PROPERTY_bPPDUSupport   9

bPPDUSupport

#define PCSCv2_PART10_PROPERTY_bTimeOut2   3

bTimeOut2

#define PCSCv2_PART10_PROPERTY_dwMaxAPDUDataSize   10

dwMaxAPDUDataSize

#define PCSCv2_PART10_PROPERTY_sFirmwareID   8

sFirmwareID

#define PCSCv2_PART10_PROPERTY_wIdProduct   12

wIdProduct

#define PCSCv2_PART10_PROPERTY_wIdVendor   11

wIdVendor

#define PCSCv2_PART10_PROPERTY_wLcdLayout   1

wLcdLayout

#define PCSCv2_PART10_PROPERTY_wLcdMaxCharacters   4

wLcdMaxCharacters

#define PCSCv2_PART10_PROPERTY_wLcdMaxLines   5

wLcdMaxLines

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

Provide source compatibility on different platforms