IRunningObjectTable::NoteChangeTime

HRESULT IRunningObjectTable::NoteChangeTime(dwRegister, pfiletime)

Make a note of the time that a particular object has changed in order that IMoniker::GetTimeOfLastChange can report an appropriate change time. This time so registered is retrievable with IRunningObjectTable::GetTimeOfLastChange. Objects should call this as part of their data change notification process.

Argument

Type

Description

dwRegister

DWORD

The token previously returned from IRunningObjectTable::Register. The moniker whose change time is noted is the one specified in pmkObjectName in that call.

pfiletime

FILETIME*

On entry, the time at which the object has changed.

return value

HRESULT

S_OK, E_INVALIDARG