Access Denied on before IRP_MJ_CREATE

Hello Everybody,

I have another question about driver development. I have a smartcard
reader based off the toaster samples. on windows 2000 the driver works fine
but on windows XP i suddenly get an access denied error

(SCardSvr!AddReaderDriver *ERROR* WDM Reader driver initialization cannot
open reader device: Access is denied.)

Where the IRP_MJ_CREATE callback should be called. What am I missing?

Best regards,
Rikki Tamayo

Oops… My Bad, I found out that changing the Call to IoCreateDeviceSecure to
IoCreateDevice in the bus enumerator fixed this… Sorry…

Best Regards,
rikki

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Rikki Tamayo
Sent: Thursday, August 05, 2004 4:01 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Access Denied on before IRP_MJ_CREATE

Hello Everybody,

I have another question about driver development. I have a smartcard
reader based off the toaster samples. on windows 2000 the driver works fine
but on windows XP i suddenly get an access denied error

(SCardSvr!AddReaderDriver *ERROR* WDM Reader driver initialization cannot
open reader device: Access is denied.)

Where the IRP_MJ_CREATE callback should be called. What am I missing?

Best regards,
Rikki Tamayo


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@omron.com.ph To
unsubscribe send a blank email to xxxxx@lists.osr.com