This method of the IRunningObjectTable interface creates and returns a pointer to an enumerator that can list the monikers of all the objects currently registered in the Running Object Table (ROT).
public IEnumMoniker EnumRunning();
This method supports the standard return value E_OUTOFMEMORY, as well as the following:
S_OK -- An enumerator was successfully returned.