Debugging Tools for Windows

GetSymbol

The GetSymbol function locates the symbol nearest to address.

VOID 
  GetSymbol (
    PVOID offset,
    PUCHAR pchBuffer,
    PULONG pDisplacement
    );

Parameters

offset
Specifies an address near the symbol you want located.
pchBuffer
Receives the name of the symbol found.
pDisplacement
Specifies the displacement from the beginning of the symbol.

Return Value

None

Requirements

Headers: Defined in wdbgexts.h. If you are writing a WdbgExts extension, include wdbgexts.h. If you are writing a DbgEng extension that calls this function, include wdbgexts.h before dbgeng.h (see Writing DbgEng Extension Code for details).

Build machine: CAPEBUILD