ICallFrameWalker::OnWalkInterface method (callobj.h)

Walks through a call frame to look for the specified interface in the call frame. The interface can be manipulated or replaced by paying close attention to the reference count.

Syntax

HRESULT OnWalkInterface(
  [in] REFIID iid,
  [in] PVOID  *ppvInterface,
  [in] BOOL   fIn,
  [in] BOOL   fOut
);

Parameters

[in] iid

The IID of the interface to be found.

[in] ppvInterface

A points to the buffer from which the activation record is to be reconstituted.

[in] fIn

This parameter is nonzero if an interface is inside an [in] or [in, out] parameter.

[in] fOut

This parameter is nonzero if an interface is inside an [out] or [in, out] parameter.

Return value

This method can return the following values.

Return code Description
S_OK
The method completed successfully.
E_UNEXPECTED
An unexpected error has occurred.

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 callobj.h

See also

ICallFrameWalker