Re: Determining Driver\Active subkey value
- From: "Luca Calligaris" <anonymous@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 20 Mar 2008 08:27:47 +0100
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
.
- References:
- Determining Driver\Active subkey value
- From: Thomas Magma
- Determining Driver\Active subkey value
- Prev by Date: Re: Develop/debug driver without creating OS?
- Next by Date: Re: Develop/debug driver without creating OS?
- Previous by thread: Determining Driver\Active subkey value
- Next by thread: Re: Question about AppVerif
- Index(es):
Relevant Pages
|