UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:dbghelp.SymEnumSourceLinesW |
SymEnumSourceLinesW function (dbghelp.h) |
The SymEnumSourceLinesW (Unicode) function enumerates all source lines in a module. |
|
base\symenumsourcelines.htm |
Debug |
395dd97b-4d0b-4f55-80af-38fc748c924a |
08/04/2022 |
SymEnumSourceLines, SymEnumSourceLines function, SymEnumSourceLinesW, base.symenumsourcelines, dbghelp/SymEnumSourceLines, dbghelp/SymEnumSourceLinesW |
dbghelp.h |
Windows |
SymEnumSourceLinesW (Unicode) and SymEnumSourceLines (ANSI) |
Dbghelp.lib |
Dbghelp.dll |
Windows |
DbgHelp.dll 6.4 or later |
19H1 |
|
|
|
|
|
|
Enumerates all source lines in a module.
A handle to a process. This handle must have been previously passed to the SymInitialize function.
The base address of the module.
The name of an .obj file within the module. The scope of the enumeration is limited to this file. If this parameter is NULL or an empty string, all .obj files are searched.
A wildcard expression that indicates the names of the source files to be searched. If this parameter is NULL or an empty string, all files are searched.
The line number of a line within the module. The scope of the enumeration is limited to this line. If this parameter is 0, all lines are searched.
If this parameter is ESLFLAG_FULLPATH, the function matches the full path in the File parameter.
A SymEnumLinesProc callback function that receives the line information.
A user-defined value that is passed to the callback function, or NULL. This parameter is typically used by an application to pass a pointer to a data structure that provides context for the callback function.
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.
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.
Note
The dbghelp.h header defines SymEnumSourceLines as an alias which automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.