IComMethodEvents::OnMethodReturn method (comsvcs.h)

Generated when an object's method returns.

Syntax

HRESULT OnMethodReturn(
  COMSVCSEVENTINFO *pInfo,
  ULONG64          oid,
  REFCLSID         guidCid,
  REFIID           guidRid,
  ULONG            iMeth,
  HRESULT          hresult
);

Parameters

pInfo

A pointer to a COMSVCSEVENTINFO structure.

oid

The just-in-time (JIT) activated object.

guidCid

The CLSID for the object being called.

guidRid

The identifier of the method.

iMeth

The v-table index of the method.

hresult

The result of the method call.

Return value

The user verifies the return values from this method.

Requirements

   
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header comsvcs.h

See also

IComMethodEvents