Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Force Scan For Plug & Play Devices

1 view
Skip to first unread message

Doug Haigh

unread,
Aug 14, 2001, 4:55:25 PM8/14/01
to
Is there a way to force a rescan of plug & play devices from user mode? I
want to programatically install a driver and force a rescan for it to pick
up the new HW.

Eliyas Yakub

unread,
Aug 15, 2001, 12:18:38 AM8/15/01
to
http://support.microsoft.com/support/kb/articles/Q259/6/97.ASP

-Eliyas

"Doug Haigh" <dha...@junk.com> wrote in message
news:1fge7.121409$TM5.21...@typhoon.southeast.rr.com...

Bob McGowan

unread,
Aug 27, 2001, 7:30:00 PM8/27/01
to
I think CM_Reenumerate_DevNode() refered to is for non plug-n-play devices
on interface such as a serial port.
UpdateDriverForPlugAndPlayDevices() may be more appropriate for prgramatic
installation of new drivers for a PnP device. There is an example of this
in the Win2000 DDK under /src/general/setup/install.

Unfortunately this API is only available in 2000 and XP (not 98). Does
anyone have a procedure for programatically installing a driver for a PCI
device belonging to a new class that will work under 98/98SE/ME? What is
needed in addition to the forced rescan?

-Bob

"Eliyas Yakub" <eli...@microsoft.com> wrote in message
news:yKme7.18704$vW2.8...@news1.sttln1.wa.home.com...

Stephan Wolf

unread,
Sep 25, 2001, 8:09:21 AM9/25/01
to
It seems that CM_Reenumerate_DevNode() returns immediately and
reenumeration is actually handled asynchronously. However, the "Scan
for hardware changes" action in the "Computer Management" seems to
know when reenumeration is complete.

How do I know the reenumeration initiated by CM_Reenumerate_DevNode()
is complete?

Stephan
---

0 new messages