IRunningObjectTable::GetTimeOfLastChange

HRESULT IRunningObjectTable::GetTimeOfLastChange(pmkObjectName, pfiletime)

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

Look up this moniker in the running object table and report the time of change recorded for it if same is present. 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. Implementations of IMoniker::GetTimeOfLastChange, when invoked with pmkToLeft == NULL, will want to call this function as the first thing they do.

Argument

Type

Description

pmkObjectName

IMoniker*

The moniker in which we are interested in the time of change.

pfiletime

FILETIME*

On exit, the place at which the time of change is returned.

return value

HRESULT

S_OK, MK_E_UNAVAILABLE