SymGetSymNext64 Function

Debug Help Library

SymGetSymNext64 Function

Retrieves the symbol information for the next symbol.

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

BOOL WINAPI SymGetSymNext64(
  __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 SymGetSymNext function. For more information, see Updated Platform Support.

The SymGetSymNext64 function requires that the IMAGEHLP_SYMBOL64 structure have valid data, presumably obtained from a call to the SymGetSymFromAddr64 or SymGetSymFromName64 function. This structure is filled with the symbol information for the next 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
SymGetSymPrev64
SymInitialize


Send comments about this topic to Microsoft

Build date: 9/25/2007

© 2007 Microsoft Corporation. All rights reserved.