I am trying to get the IClass values from registry key using RegQueryVaueEx and convert them to GUID for my application. I could do that for REG_SZ size, however, I am trying to figure out a way to do the same for IClass values with REG_MULTI_SZ that have more than one IClass. It doesn’t seem to be straightforward as characters between the values are not consistent. Sometimes, each value is delimited by a COMMA, sometimes the IClass value is equated to %b. Is there a simple way to achieve what I am looking for? Please suggest.
I am trying to get the IClass values from registry key using RegQueryVaueEx and
Share
Looks like the best way to achieve this is to open the registry key of the driver with
RegOpenKeyExand useRegEnumValueto get the IClass values (by passing IClass value name as parameter) in a loop (do-while) untilRegEnumValuefails.Thanks all for the comments and suggestions.