How to open a library with ctypes, using CLSID values and C++ header files?
See the question and my original answer on StackOverflowYou will have to use the comtypes package: http://pythonhosted.org/comtypes/ that supports IUnkwown* (or "early-binding") interfaces, contrary to pywin32 that only supports IDispatch* (or "late-binding") interfaces.
PS: CComPtr is not build into Windows, it's a helper class provided with Visual Studio VC++ files.