Re: how to load in a build in driver whose index is greater 10 in Windows CE



So, if the index is greater than 9, I can't call RegQueryValueEx( hKey,
TEXT("Name"), NULL, &dwValType, (LPBYTE) szName, &dwSize) ;

Where is the "Name" subkey?
The "name" value only applies to legacy names (e.g. VCA0:-VCA9:) for devices
accessed bia the $device space you don't have a name entry. Drivers should
not rely on information stored in the active key directly. It should be
considered internal to the device manager. Some is available via defined
APIs but ultimately the actual names and values are all subject to change.


--
Steve Maillet
EmbeddedFusion
www.EmbeddedFusion.com
smaillet at EmbeddedFusion dot com


.