IRunningObjectTable::Revoke

HRESULT IRunningObjectTable::Revoke(dwRegister)

Undo the registration done in IRunningObjectTable::Register, presumably because the object is about to cease running. Revoking an object that is not registered as running returns the status code E_INVALIDARG. Whenever any of the conditions that cause an object to register itself as running cease to be true, the object should revoke its registration(s). In particular, objects should be sure to extant registrations of themselves from the Running Object Table as part of their release process.

Argument

Type

Description

dwRegister

DWORD

A value previously returned from IRunningObjectTable::Register.

return value

HRESULT

S_OK, E_INVALIDARG.