pythoncom.CoGetCancelObject

PyICancelMethodCalls = CoGetCancelObject(ThreadID, riid )

Retrieves an interface used to cancel a pending call

Parameters

ThreadID=0 : int

Id of thread with pending call, or 0 for current thread

riid=IID_ICancelMethodCalls : PyIID

The interface to return

Comments

Requires Win2k or later