RevokeActiveObject function (oleauto.h)

Ends an object's status as active.

Syntax

HRESULT RevokeActiveObject(
  [in] DWORD dwRegister,
       void  *pvReserved
);

Parameters

[in] dwRegister

A handle previously returned by RegisterActiveObject.

pvReserved

Reserved for future use. Must be null.

Return value

If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Target Platform Windows
Header oleauto.h
Library OleAut32.lib
DLL OleAut32.dll