SPRINGCARD SAS PRNHSP01 用户手册
PMD2271-BA
page 115 of 118
S
PRING
C
ARD
PC/SC C
OUPLERS
- H663
GROUP
- Developer's reference manual
Under this registry key, create the registry entry EscapeCommandEnabled, of type DWORD, and
set it to value 1. Once the value has been written, unplug and plug the coupler again (or restart
set it to value 1. Once the value has been written, unplug and plug the coupler again (or restart
the computer) so the driver will restart, taking the new parameter into account.
With this driver, in SCardControl function call, parameter dwControlCode shall be set to
SCARD_CTL_CODE(3050).
SCARD_CTL_CODE(3050).
SCARD_CTL_CODE is a macro defined in header winscard.h from Windows SDK. For non-C/C++
languages, replace SCARD_CTL_CODE(3500) by constant value
h
004074F8 (
d
3225264).
9.3. D
IRECT
CONTROL
USING
MS WUDFU
SBCCID
D
RIVER
With MS WUDFUsbccidDriver (new user-mode driver introduced in Windows 7), direct control of
the coupler must also be enabled on a per-coupler basis: each coupler has its own USB serial
number, and the direct control has to be unequivocally enabled for this serial number.
This is done by writing a value in registry, either using regedit or custom software. See for instance
number, and the direct control has to be unequivocally enabled for this serial number.
This is done by writing a value in registry, either using regedit or custom software. See for instance
the command line tool ms_ccid_escape_enable, available with its source code in SpringCard
PC/SC SDK.
PC/SC SDK.
The target key in registry is
HKEY_LOCAL_MACHINE
SYSTEM
CurrentControlSet
Enum
USB
VID_1C34&PID_91B1
yyyyyyyy
Device Parameters
WUDFUsbccidDriver
where yyyyyyyy is the coupler’s Serial Number.
Under this registry key, create the registry entry EscapeCommandEnabled, of type DWORD, and
set it to value 1. Once the value has been written, unplug and plug the coupler again (or restart
Under this registry key, create the registry entry EscapeCommandEnabled, of type DWORD, and
set it to value 1. Once the value has been written, unplug and plug the coupler again (or restart
the computer) so the driver will restart, taking the new parameter into account.
With this driver, in SCardControl function call, parameter dwControlCode shall be set to
SCARD_CTL_CODE(3050).
With this driver, in SCardControl function call, parameter dwControlCode shall be set to
SCARD_CTL_CODE(3050).
SCARD_CTL_CODE is a macro defined in header winscard.h from Windows SDK. For non-C/C++
languages, replace SCARD_CTL_CODE(3500) by constant value
h
004074F8 (
d
3225264).
SPRINGCARD, the SPRINGCARD logo, PRO ACTIVE and the PRO ACTIVE logo are registered trademarks of PRO ACTIVE SAS.
All other brand names, product names, or trademarks belong to their respective holders.
Information in this document is subject to change without notice. Reproduction without written permission of PRO ACTIVE is forbidden.