APG8201-B2
– Reference Manual
Version 1.00
www.acs.com.hk
Page 38 of 48
www.acs.com
.hk
Offset
Field
Size
Value
Description
20
ulDataLength
4
-
Length of Data to be sent to the
ICC
24
abData
-
Data to send to the ICC
nInBufferSize
24 + ulDataLength
lpOutBuffer
Offset
Field
Size
Value
Description
0
abStatus
2
-
6400h: SPE operation timed out
6401h: SPE operation was cancelled using the
“Cancel” button
6402h: Modify PIN operation failed because
two
“New PIN” entries do not match
6403h: User entered too short or too long PIN
regarding MIN/MAX PIN Length.
Note: APG8201-B2 will not return this status
because it checks the PIN length during input.
6B80h: Invalid parameter in passed structure
SW1SW2: Result from the card
nOutBufferSize
2
lpBytesReturned
Pointer to a
DWORD
that receives the size, in bytes, of the data stored into
the buffer pointed to by
lpOutBuffer
9.3.4.
FEATURE_IFD_PIN_PROP
hCard
Reference value returned from SCardConnect.
dwControlCode
Return from CM_IOCTL_GET_FEATURE_REQUEST.
lpInBuffer
NULL
LpOutBuffer
Offset
Field
Size
Value
Description
0
wLcdLayout
2
0210h
Display characteristics: 2 lines,
16 characters per line
2
bEntryValidationCondition
1
07h
Support timeout reached,
maximum PIN size reached,
validation key pressed
3
bTimeOut2
1
00h
0 = IFD does not distinguish
bTimeOut
from
bTimeOut2
1 = IFD distinguishes
bTimeOut
from
bTimeOut2