pythoncom.CoGetObject

PyIUnknown = CoGetObject(name, bindOpts , iid )

Converts a display name into a moniker that identifies the object named, and then binds to the object identified by the moniker.

Parameters

name : string

bindOpts=None : None

Must be None

iid=IID_IUnknown : PyIID

The IID of the interface to return.