I want to fill a list with the PropertySheet shell extensions associated with a file extension. I found the SHGetAssocKeys()
function and it looks like it allows me to enumerate all HKEYs associated with the file extension and I can read all shellex\PropertySheetHandlers
values. But this function is only available on Windows 8. What about XP, Vista and 7? Is there any official way?
UPDATE
I want to get list of HKEY like this:
HKCR\MyProgID\shellex\PropertySheetHandlers
HKCR\SystemFileAssociations\.MyExt\shellex\PropertySheetHandlers
HKCR\SystemFileAssociations\MyPercivedType\shellex\PropertySheetHandlers
HKCR\*\shellex\PropertySheetHandlers
HKCR\AllFilesystemObjects\shellex\PropertySheetHandlers