Forum Discussion
How to query for installed packaged COM extension points?
- Nov 24, 2021
forderud80 Thank you for your question. We do have a public API that might help (ICatInformation::EnumClassesOfCategories (comcat.h) - Win32 apps | Microsoft Docs) for enumerating CLSIDs of:
- classes that implement a specified category, or
- all classes (by asking for -1 categories)
The results include both classes in HKCR\CLSID and Packaged COM, but there is no public API for querying Packaged COM specifically.
forderud80 Thank you for your question. We do have a public API that might help (ICatInformation::EnumClassesOfCategories (comcat.h) - Win32 apps | Microsoft Docs) for enumerating CLSIDs of:
- classes that implement a specified category, or
- all classes (by asking for -1 categories)
The results include both classes in HKCR\CLSID and Packaged COM, but there is no public API for querying Packaged COM specifically.
- forderud_geNov 26, 2021Copper Contributor
Thanks a lot Aditi! This was exactly what I'm looking for. 🙂
Do you know if there are also APIs for querying registry metadata for a COM class like Version, InprocServer32/LocalServer32 paths etc. that will include the Packaged COM catalog?- forderud_geFeb 11, 2022Copper ContributorI've now moved the "Version" metadata question to a separate post on https://techcommunity.microsoft.com/t5/msix-deployment/how-to-query-com-class-version-for-packaged-com-extension-points/m-p/3153990