pythoncom.CoGetObjectContext
PyIContext = CoGetObjectContext(riid)
Creates an interface to interact with the context of the current object
Parameters
Comments
Requires Win2k or laterCOM applications can use this function to create IComThreadingInfo, IContext, or IContextCallback COM+ applications may also create IObjectContext, IObjectContextInfo, IObjectContextActivity, or IContextState