Re: Determining Driver\Active subkey value

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



without considering the specific problem: theres an API which enumerates
subkeys of the specified open registry key:
RegEnumKey/RegEnumKeyEx
--

Luca Calligaris
www.eurotech.it

"Thomas Magma" <somewhere@xxxxxxxxxxxxxxxxxx> ha scritto nel messaggio
news:%23yGxVEfiIHA.1132@xxxxxxxxxxxxxxxxxxxxxxx
Hello,

I'm fixing a driver for a custom PCMCIA (CF) card so it works with the
latest versions of IPAQs. The problem is that when the CF card is
inserted, the Device Manager is now incrementing the socket (Sckt) value
each time. This was never the case before and the socket value was always
0x0000. So now my driver has to try to determine what this value is so it
can open and return a proper handle to the device.

What would be the best way to do this?

I started writing a 'for' loop that searched through the active subkeys
for the "Name" and then the "Sckt" value, but I got hung up on the fact
that I don't know how to find out how many active keys there are and
therefore how many times to loop.

Does anyone know an easy way to find out what socket value was assigned to
an active driver?

Thanks,

Thomas Magma




.



Relevant Pages

  • Intel WLAN Driver storing 128bit WEP-Key in plain text!
    ... is weak enough that every local user has read ... driver version from Compaq Support Page (version ... Owner: local Administrator ... Full Control This Key and Subkeys ...
    (Bugtraq)
  • Re: deleting a registry ke
    ... if you want to do this in a driver you have to enumerate all of the subkeys recursively and delete every one of them. ... BUT, this should not be done in the driver, recursion is not good b/c there is very limited stack space and the interfaces are a bit more difficult to deal with compared to user mode. ... Please do not send e-mail directly to this alias. ...
    (microsoft.public.development.device.drivers)
  • Re: changing nic speed/duplex remotely
    ... The NIC speed /duplex settings in the XP registry are located in one of ... Desktops are usually in 0001. ... represent are not standard and vary by who wrote the driver. ... enumerate the values in the subkeys of the above key ...
    (microsoft.public.windowsxp.security_admin)