pythoncom.RevokeActiveObject

RevokeActiveObject(handle)

Ends an object’s status as active.

Parameters

handle : int

A handle obtained from pythoncom::RegisterActiveObject