IRunningObjectTable::IsRunning

HRESULT IRunningObjectTable::IsRunning(pmkObjectName)

Note This function should, in general, only be called by implementations of IMoniker::IsRunning; clients of monikers should invoke this on their monikers, rather than asking the Running Object Table directly.

Inquire by looking up in this Running Object Table as to whether an object with this moniker is currently registered as running. Success or failure is indicated using the return codes S_OK or S_FALSE. The Running Object Table compares monikers by sending IMoniker::IsEqual to the monikers already in the table with moniker on the right as an argument.

Argument

Type

Description

pmkObjectName

IMoniker*

The moniker that we want to see is running

return value

HRESULT

S_OK, S_FALSE.