pythoncom.CoSetCancelObject

CoSetCancelObject(Unk)

Sets or removes a PyICancelMethodCalls interface to be used on the current thread

Parameters

Unk : PyIUnknown

An interface that support ICancelMethodCalls, can be None to unregister current cancel object

Comments

Requires Win2k or later