Re: Removing Hardware from System by UserMode Code and Reinstalling it...
- From: "Kerem Gümrükcü" <kareem114@xxxxxxxxxxx>
- Date: Sat, 3 May 2008 15:48:49 +0200
Hi Pavel,
thanks for your Answer.
Devcon.exe is your friend. Disable the adapter and and enable again.
(the CM_Eject.... etc are more complicated and AFAIK difficult to get
right )
If devcon does this reliable (i didnt test it) why could not it
be done by some self written application? I think there must be
also some way to initiate a rescan of the system buses from
Usermode as the device manager does,...
Regards
Kerem
--
-----------------------
Beste Grüsse / Best regards / Votre bien devoue
Kerem Gümrükcü
Microsoft Live Space: http://kerem-g.spaces.live.com/
Latest Open-Source Projects: http://entwicklung.junetz.de
-----------------------
"This reply is provided as is, without warranty express or implied."
"Pavel A." <pavel_a@xxxxxxxxxxxxxxx> schrieb im Newsbeitrag
news:eryRk4jqIHA.3408@xxxxxxxxxxxxxxxxxxxxxxx
Devcon.exe is your friend. Disable the adapter and and enable again.
(the CM_Eject.... etc are more complicated and AFAIK difficult to get
right )
--PA
"Kerem Gümrükcü" <kareem114@xxxxxxxxxxx> wrote in message
news:OPNNyPVqIHA.3960@xxxxxxxxxxxxxxxxxxxxxxx
Hi,
i have a PCMCIA WLan Adapter plugged into my Laptop.
I would like to remove it from my system by code and reinsert
it into system, also done by code. The Hardware Device will still
be plugged into the systems pcmcia slot after "software" removal.
How can i do this by user mode code?
I want to remove the device as it would be done by the tray icon
for the devices and i want to reinsert it into the system. The Hardware
will be always in the pcmcia slot,...
TIA
Regards
Kerem
--
-----------------------
Beste Grüsse / Best regards / Votre bien devoue
Kerem Gümrükcü
Microsoft Live Space: http://kerem-g.spaces.live.com/
Latest Open-Source Projects: http://entwicklung.junetz.de
-----------------------
"This reply is provided as is, without warranty express or implied."
.
- Follow-Ups:
- Prev by Date: Re: extra WHQL warnings
- Next by Date: Re: sdram configuration,pls help
- Previous by thread: IoAllocateMdl Failure- returns NULL 30% in Vista64 but not in othe
- Next by thread: Re: Removing Hardware from System by UserMode Code and Reinstalling it...
- Index(es):
Relevant Pages
|