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

List:       ms-smartcardddk
Subject:    Re: NT5 driver and resource manager
From:       "Klaus Schutz (Exchange)" <kschutz () EXCHANGE ! MICROSOFT ! COM>
Date:       1998-11-24 16:57:48
[Download RAW message or body]


Thomas,

with the introduction of PnP the way you intruduce a device
to the system has been changed, too. You should call

        status = IoRegisterDeviceInterface(
            PhysicalDeviceObject,  // Your device object
            &SmartCardReaderGuid,  // GUID provided by smclib
            NULL,                            // An internal name you don't
need
            &deviceExtension->PnPDeviceName // Buffer for the device name
            );

This device interface must be enable once the driver started:

        status = IoSetDeviceInterfaceState(
            &deviceExtension->PnPDeviceName,
            TRUE
            );

Both calls are documented in the NT5 DDK.
The examples provided in the DDK include this code already.

Klaus U. Schutz
Microsoft

-----Original Message-----
From: Thomas Br|ndl [mailto:Thomas.Bruendl@UTIMACO.CO.AT]
Sent: Tuesday, November 24, 1998 3:45 AM
To: SmartCardDDK@DISCUSS.MICROSOFT.COM
Subject: NT5 driver and resource manager


Is the SmartcardCreateLink still necessary for NT5.0 drivers ? I cannot
find it in the samples which are provided in the NT 5.0 DDK.
If this call is not necessary anymore, how does the resource manager
recognize a IFD handler ?
I ask this question because my NT 5.0 driver starts but is not
recognized by the resource manager.

TB


--
Thomas Bruendl
Utimaco Safe Concept GmbH
Europaplatz 6
A-4020 Linz, Austria
Tel:    ++43 (0)732 655 755 - 32
Fax:    ++43 (0)732 655 755 - 5
E-Mail: Thomas.Bruendl@utimaco.co.at

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

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