ISendMethodEvents::SendMethodReturn method (comsvcs.h)

Generated when a method called through a component interface returns control to the caller.

Syntax

HRESULT SendMethodReturn(
  [in] const void *pIdentity,
  [in] REFIID     riid,
  [in] DWORD      dwMeth,
  [in] HRESULT    hrCall,
  [in] HRESULT    hrServer
);

Parameters

[in] pIdentity

A pointer to the interface used to call the method.

[in] riid

The ID of the interface used to call the method.

[in] dwMeth

The method called.

[in] hrCall

The result returned by the method call.

[in] hrServer

The result returned by the DCOM call to the server on which the component lives.

Return value

This method can return the standard return values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, E_FAIL, and S_OK.

Requirements

Requirement Value
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

ISendMethodEvents