PyIRunningObjectTable.IsRunning

int = IsRunning(objectName)

Checks whether an object is running.

Parameters

objectName : PyIMoniker

The PyIMoniker interface on the moniker to search for in the Running Object Table.

Return ValueDescription
S_OK (ie, 0)The object identified by objectName is running.
S_FALSE (ie, 1)There is no entry for objectName in the ROT, or that the object it identifies is no longer running (in which case, the entry is revoked).