SRCCODEINFOW structure (dbghelp.h)
Contains line information.
Syntax
typedef struct _SRCCODEINFOW {
DWORD SizeOfStruct;
PVOID Key;
DWORD64 ModBase;
WCHAR Obj[MAX_PATH + 1];
WCHAR FileName[MAX_PATH + 1];
DWORD LineNumber;
DWORD64 Address;
} SRCCODEINFOW, *PSRCCODEINFOW;
Members
SizeOfStruct
The size of the structure, in bytes.
Key
This member is not used.
ModBase
The base address of the module that contains the line.
Obj[MAX_PATH + 1]
The name of the object file within the module that contains the line.
FileName[MAX_PATH + 1]
The fully qualified source file name.
LineNumber
The line number within the source file.
Address
The virtual address of the first instruction of the line.
Remarks
Note
The dbghelp.h header defines SRCCODEINFO as an alias that 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 is not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.
Requirements
Requirement | Value |
---|---|
Header | dbghelp.h |
Redistributable | DbgHelp.dll 6.1 or later |