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