SymEnumSourceFileTokens Function

Debug Help Library

SymEnumSourceFileTokens Function

[This documentation is preliminary and is subject to change.]

TBD

BOOL WINAPI SymEnumSourceFileTokens(
  __in          HANDLE hProcess,
  __in          ULONG64 Base,
  __in          PENUMSOURCEFILETOKENSCALLBACK Callback
);

Parameters

hProcess

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

Base

The base address of the module. If this value is zero and Mask contains an exclamation point (!), the function looks across modules. If this value is zero and Mask does not contain an exclamation point, the function uses the scope established by the SymSetContext function.

Callback

A SymEnumSourceFileTokensProc callback function that receives the symbol information.

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

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

Header

Declared in Dbghelp.h.

Library

Use Dbghelp.lib.

DLL

Requires Dbghelp.dll.

See Also

DbgHelp FunctionsSymEnumSourceFileTokensProc


Send comments about this topic to Microsoft

Build date: 9/25/2007

© 2007 Microsoft Corporation. All rights reserved.