Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
platform
active.directory
adsi
adsi.iis-admin
base
com_ole
complus_mts
component_svcs
database
directx
gdi
graphics_mm
internet.client
internet.server
internet.server.isapi-dev
localization
mapi
messaging
msi
mslayerforunicode
multimedia
networking
networking.ipv6
sdk_install
security
shell
telephony.tapi_2
telephony.tapi_3
telephony.tsp
telephony.wte
tools
ui
ui_shell
win_base_svcs
win16
  
 
date: Sun, 22 Jun 2008 22:49:00 -0700,    group: microsoft.public.platformsdk.security        back       


API for sending 'Abort Request' to usbccid.sys class driver...   
Not sure if this right thread for my question but couldn't find any better 
thread so...

I’m writing a firmware for a smartcard reader that uses MS usbccid.sys class 
driver. Correct me if I’m wrong but, as far as I understand, the MS 
usbccid.sys class driver fully complies with USB Specification for Integrated 
Circuits Cards Interface Devices, aka CCID Spec. Within the CCID 
specification document (Revision 1.1), among three CCID class-specific 
requests, 'Abort Request' is one command that can cancel any ongoing 
transaction through control pipe and makes IFD ready state.

Here are my questions
1. What is the Win32 API that can be used to send ‘Abort Request’ to IFD?
2. If such API exists, Can I use it to abort or interrupt SCardTrasmit 
(PC_to_RDR_XfrBlock) API? (I’ve looked and tried all the smart card related 
API from MSDN without any success or maybe I missed something)

Following is the information about ‘Abort Request’ from the CCID 
Specification (Revision 1.1)
5.3 CCID Class-Specific Request (24 Page)
5.3.1 ABORT
bmRequestType	bRequest	wValue	wIndex	wLength	Data
00100001B	ABORT	bSeq, bSlot	Interface	0000h	None

6.1 Command Pipe, Bulk-OUT Messages (47 Page)
6.1.13 PC_to_RDR_Abort
bMessageType	dwLength	bSlot	bSeq	abRFU	Data
72h	00000000h	00~FFh	00~FFh	00h	None

Any ideas? 
many thx in advance :)
date: Sun, 22 Jun 2008 22:49:00 -0700   author:   Tiggerwoods

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us