Re: Removing Hardware from System by UserMode Code and Reinstalling it...

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



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."



.



Relevant Pages

  • Re: Mystery ARM machine
    ... > AFAIK, all of that range had a single PCMCIA slot in them. ... That slot isn't PCMCIA though it's the same form factor. ... OS ROM space. ...
    (comp.sys.acorn.hardware)
  • Re: NAS
    ... IME Seagates, as they're the only ones, AFAIK, that come with a 5 year ... warranty - so it stands to reason they might last a bit longer heh. ...
    (uk.rec.motorcycles)
  • Re: Netgear refuses to supply replacement parts (fans) -- says buy a new switch!!!
    ... of course opening the switch will void any warranty you have ... AFAIK they are not even designed to be replaced. ...
    (comp.os.linux.networking)
  • Re: [SLE] PCMCIA eth problems
    ... Alle 23:06, sabato 21 febbraio 2004, Marek Chlopek ha scritto: ... > 8139too is not a pcmcia AFAIK!!! ...
    (SuSE)
  • Re: [OT] chkdsk
    ... If that's the case, and the drive is under warranty, you should be entitled ... to free replacement (AFAIK, most Seagate drives sold in the last year [or ...
    (rec.arts.anime.misc)