views:

168

answers:

1

Question:

  • Based on a CLSID, how can I find out what objects (or interfaces) it supports for IClassFactory::CreateInstance

Note:

+2  A: 

You could use OleView.

But if you want to do this programatically then you could use the method that OleView uses.

OleView achieves this by just iterating through all the interfaces declared in HKEY_CLASSES_ROOT\Interface and then calling QueryInterface for each of them.

Paul Mitchell