SymGetSymPrev64 Function

Debug Help Library

SymGetSymPrev64 Function

Retrieves the symbol information for the previous symbol.

Note  This function is provided only for compatibility. Applications should use SymPrev.

BOOL WINAPI SymGetSymPrev64(
  __in          HANDLE hProcess,
  __in_out      PIMAGEHLP_SYMBOL64 Symbol
);

Parameters

hProcess

A handle to the process that was originally passed to the SymInitialize function.

Symbol

A pointer to an IMAGEHLP_SYMBOL64 structure.

Return Value

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.

Remarks

This function supersedes the SymGetSymPrev function. For more information, see Updated Platform Support.

The SymGetSymPrev64 function requires the IMAGEHLP_SYMBO64L structure to have valid data, presumably obtained from a call to the SymGetSymFromAddr64 or SymGetSymFromName64 function. This structure is filled in with the symbol information for the previous symbol in sequence by virtual address.

All DbgHelp functions, such as this one, are single threaded. Therefore, calls from more than one thread to this function will likely result in unexpected behavior or memory corruption. To avoid this, you must synchronize all concurrent calls from more than one thread to this function.

Requirements

Redistributable

Requires DbgHelp.dll 5.1 or later.

Header

Declared in Dbghelp.h.

Library

Use Dbghelp.lib.

DLL

Requires Dbghelp.dll.

See Also

DbgHelp FunctionsIMAGEHLP_SYMBOL64
SymGetSymFromAddr64
SymGetSymFromName64
SymGetSymNext64
SymInitialize


Send comments about this topic to Microsoft

Build date: 9/25/2007

© 2007 Microsoft Corporation. All rights reserved.