Indicates whether the object identified by the specified name is running.
HRESULT IsRunning(
LPOLESTR pszItem //Pointer to string containing name of object
);
The item moniker implementation of IMoniker::IsRunning calls this method.
Your implementation of IOleItemContainer::IsRunning should first determine whether pszItem identifies one of the container's objects. If it does not, your implementation should return MK_E_NOOBJECT. If the object is not loaded, your implementation should return S_FALSE. If it is loaded, your implementation can call the OleIsRunning function to determine whether it is running.
If pszItem names a pseudo-object, your implementation can simply return S_OK because a pseudo-object is running whenever its container is running.
Windows NT: Use version 3.1 or later.
Windows: Use Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in oleidl.h.