IBindCtx::GetRunningObjectTable
Provides an
interface pointer to the Running Object Table (ROT) for the machine on which
this bind context is running.
HRESULT GetRunningObjectTable(
IRunningObjectTable **pprot |
//Indirect pointer to the Running Object Table |
); |
|
Parameter
pprot
[out] When
successful, indirect pointer to the IRunningObjectTable
Return Values
This method
supports the standard return values E_OUTOFMEMORY and E_UNEXPECTED, as well as
the following:
S_OK
A pointer to
the ROT was returned successfully.
Remarks
The Running
Object Table is a globally accessible table on each machine. It keeps track of
all the objects that are currently running on the machine.
Notes to Callers
Typically,
those implementing a new moniker class (through an implementation of IMoniker
Moniker implementations
should call this method instead of using the GetRunningObjectTable
See Also