[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ms-smartcardddk
Subject:    Write serial port VxD using VToolsD
From:       Henry Lai <Henry_Lai () HQ ! IISI ! COM ! TW>
Date:       2001-03-29 3:29:54
[Download RAW message or body]


Hi! All:

I have two problems any suggestion?

1.When I write serial port PCSC VxD using VToolsD I meet two "Invalid dynamic link \
call ", They are service 11 and 10.
Service 11 is SmartcardInitialize and service 10 is SmartcardCreateLink.
Both of them meet invalid dynamic link call in VxDCall declared in smclib.h.

NTSTATUS
VXDINLINE
SmartcardInitialize(
    PSMARTCARD_EXTENSION SmartcardExtension
    )
{
    _asm push SmartcardExtension
    VxDCall(SMCLIB_SmartcardInitialize);
    _asm add sp, 4
}



NTSTATUS
VXDINLINE
SmartcardCreateLink(
 PUCHAR LinkName,
 PUCHAR DeviceName
 )
{
    _asm push DeviceName
    _asm push LinkName
    VxDCall(SMCLIB_SmartcardCreateLink);
    _asm add sp, 8
}



2.During startting the driver,it get com port and set com port correctly and show the \
device in "device manager" But I can't find auy installed reader with running \
ifdtest.exe.

Thanks a lot!


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic