APG8201-B2
– Reference Manual
Version 1.00
www.acs.com.hk
Page 36 of 48
www.acs.com
.hk
Offset
Field
Size
Value
Description
15
ulDataLength
4
-
Length of data to be sent to the
ICC
19
abData
-
-
Data to send to the ICC
nInBufferSize
19 +
uLDataLength
IpOutBuffer
Offset
Field
Size
Value
Description
0
abStatus
2
-
6400h: SPE operation timed out
6401h: SPE operation was cancelled by 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
IpBytesReturned
Pointer to a
DWORD
that receives the size, in bytes, of the data stored into the
buffer pointed to by
IpOutBuffer
.
9.3.3.
FEATURE_MODIFY_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 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