APG8201-B2
– Reference Manual
Version 1.00
www.acs.com.hk
Page 35 of 48
www.acs.com
.hk
If the APG8201-B2 reader used supports PC/SC 2.0 Part 10, you will get the following data:
06 04 XX XX XX XX 07 04 XX XX XX XX 0A 04 XX XX XX XXh
where, XX XX XX XXh is the control code for the feature.
nOutBufferSize
sizeof
(ULONG) of
IpOutBuffer
lpBytesReturned
pointer to a
DWORD
that receives the size, in bytes, of the data stored into the
buffer pointed to by
lpOutBuffer
9.3.2.
FEATURE_VERIFY_PIN_DIRECT
hCard
Reference value returned from
SCardConnect
dwControlCode
CM_IOCTL_GET_FEATURE_REQUEST
IpInBuffer
Offset
Field
Size
Value
Description
0
bTimeOut
1
-
Number of seconds. If the value
is equal to 00h, then default
value is used.
1
bTimeOut2
1
00h
Not supported. Number of
seconds after first key stroke.
2
bmFormatString
1
-
Several parameters for the PIN
format options. For more
information, please refer to
3
bmPINBlockString
1
-
Defines the length in bytes of the
PIN block to present in the
APDU command. For more
information, please refer to
4
bmPINLengthFormat
1
-
Allows the insertion of the PIN
length in the APDU command.
For more information, please
refer to
5
wPINMaxExtraDigit
2
XXYYh
XXh: Maximum PIN size in digit
YYh: Minimum PIN size in digit
7
bEntryValidationCondition
1
-
The value is a bit wise OR
operation.
01h = Maximum size reached
02h = Validation key pressed
04h = Timeout occurred
8
bNumberMessage
1
FFh
Number of messages to display
for PIN verification
9
wLangId
2
0409h
Language for messages
11
bMsgIndex
1
00h
Message index (should be 00h)
12
bTeoPrologue
3
000000h
T=1 I-block prologue field to use
(fill with 00h)