Confusion in DDK calls

Hello!
Can I use the DDK call UpgradeDriverForPlugAndPlayDevices() be called
from an user mode application.
I tried this and it seems to pose no problem in 2000/ME/XP. But is this
right?
Does it have support on 95/98 also?

Any response will be helpful

Regards
Sriram


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

UpdateDriverForPlugAndPlayDevices is a user level call, it just happens to be documented in the DDK because it pertains to driver / device installation.

Larry

-----Original Message-----
From: Sriram Narasimhan [mailto:xxxxx@tataelxsi.co.in]
Sent: Wednesday, October 31, 2001 9:00 AM
To: NT Developers Interest List
Subject: [ntdev] Confusion in DDK calls

Hello!
Can I use the DDK call UpgradeDriverForPlugAndPlayDevices() be called
from an user mode application.
I tried this and it seems to pose no problem in 2000/ME/XP. But is this
right?
Does it have support on 95/98 also?

Any response will be helpful

Regards
Sriram


You are currently subscribed to ntdev as: xxxxx@diebold.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Hello,

Can I use the DDK call UpgradeDriverForPlugAndPlayDevices() be called
from an user mode application.

Yes, only from a user mode application. This function is in newdev.dll
(newdev.h) and onyl supported for Windows 2000/XP/ME. Use dynamic
linking when you will write binaries for all systems.

Does it have support on 95/98 also?

No, installation is different. :frowning:
In this moment I try to use the function “SetupDiCreateDeviceInfo”
(see the message from jayadev), but it is not 100 % successfully.

elli


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com