SRCCODEINFO Structure

Debug Help Library

SRCCODEINFO Structure

Contains line information.

typedef struct _SRCCODEINFO {
DWORD SizeOfStruct;
PVOID Key;
DWORD64 ModBase;
TCHAR Obj[MAX_PATH+1];
TCHAR FileName[MAX_PATH+1];
DWORD LineNumber;
DWORD64 Address; } SRCCODEINFO,
*PSRCCODEINFO;

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

The name of the object file within the module that contains the line.

FileName

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.

Requirements

Redistributable

Requires DbgHelp.dll 6.1 or later.

Header

Declared in DbgHelp.h.

Unicode

Implemented as SRCCODEINFOW (Unicode) and SRCCODEINFO (ANSI).

See Also

SymEnumLinesProc


Send comments about this topic to Microsoft

Build date: 9/25/2007

© 2007 Microsoft Corporation. All rights reserved.