SymQueryInlineTrace function (dbghelp.h)

Queries an inline trace.

Syntax

BOOL IMAGEAPI SymQueryInlineTrace(
  [in]  HANDLE  hProcess,
  [in]  DWORD64 StartAddress,
  [in]  DWORD   StartContext,
  [in]  DWORD64 StartRetAddress,
  [in]  DWORD64 CurAddress,
  [out] LPDWORD CurContext,
  [out] LPDWORD CurFrameIndex
);

Parameters

[in] hProcess

A handle to a process. This handle must have been previously passed to the SymInitialize function.

[in] StartAddress

The start address.

[in] StartContext

Contains the context of the start of block.

[in] StartRetAddress

Contains the return address of the start of the current block/

[in] CurAddress

Contains the current address.

[out] CurContext

Address of a DWORD that receives the current context.

[out] CurFrameIndex

If the function succeeds, the return value is TRUE.

If the function fails, the return value is FALSE. To retrieve extended error information, call GetLastError.

Return value

None

Remarks

Either the StartAddress or StartRetAddress parameters must be within the same function scope as the CurAddress parameter. The former indicates a step-over within the same function and the latter indicates a step-over from StartAddress.

Requirements

Requirement Value
Target Platform Windows
Header dbghelp.h
Library DbgHelp.lib
DLL DbgHelp.dll
Redistributable DbgHelp.dll 6.2 or later