PWINDBG_GET_SYMBOL callback function (wdbgexts.h)

The PWINDBG_GET_SYMBOL (GetSymbol) function locates the symbol nearest to address.

Syntax

PWINDBG_GET_SYMBOL PwindbgGetSymbol;

void PwindbgGetSymbol(
  PVOID offset,
  PCHAR pchBuffer,
  ULONG_PTR *pDisplacement
)
{...}

Parameters

offset

Specifies an address near the symbol you want located.

pchBuffer

Receives the name of the symbol found. This buffer must be at least 256 characters in length.

pDisplacement

Specifies the displacement from the beginning of the symbol.

Return value

None

Requirements

Requirement Value
Target Platform Desktop
Header wdbgexts.h (include Wdbgexts.h, Dbgeng.h)