Locates line information for the specified module and file name.
ULONG IMAGEAPI SymGetFileLineOffsets64( HANDLE hProcess, PCSTR ModuleName, PCSTR FileName, PDWORD64 Buffer, ULONG BufferLines );
A handle to the process that was originally passed to the SymInitialize function.
The name of the module in which lines are to be located. If this parameter is NULL, the function searches all modules.
The name of the file in which lines are to be located.
An array of offsets for each line. The offset for the line n is stored in element n-1. Array elements for lines that do not have line information are left unchanged.
The size of the Buffer array, in elements.
If the function succeeds, the return value is the highest line number found. This value is zero if no line information was found.
If the function fails, the return value is LINE_ERROR. 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.
|Redistributable||DbgHelp.dll 5.1 or later|