RevokeActiveObject

HRESULT RevokeActiveObject( 
  unsigned long  dwRegister,  
  void FAR*  pvReserved       
);
 

Ends an object's status as active.

Parameters

dwRegister
a handle previously returned by RegisterActiveObject.
pvReserved
Reserved for future use. Must be Null.

Return Value

The return value obtained from the returned HRESULT is one of the following:

Return value Meaning
S_OK Success.
Other return codes Failure.

QuickInfo

  Windows NT: Use version 3.1 and later.
  Windows: Use Windows 95 and later.
  Header: Declared in oleauto.h.
  Import Library: Link with oleaut32.lib.