Expand Minimize

IMAGEHLP_LINE64 structure

Represents a source file line.

Syntax


typedef struct _IMAGEHLP_LINE64 {
  DWORD   SizeOfStruct;
  PVOID   Key;
  DWORD   LineNumber;
  PTSTR   FileName;
  DWORD64 Address;
} IMAGEHLP_LINE64, *PIMAGEHLP_LINE64;

Members

SizeOfStruct

The size of the structure, in bytes. The caller must set this member to sizeof(IMAGEHLP_LINE64).

Key

This member is reserved for use by the operating system.

LineNumber

The line number in the file.

FileName

The name of the file, including the full path.

Address

The address of the first instruction in the line.

Remarks

This structure supersedes the IMAGEHLP_LINE structure. For more information, see Updated Platform Support. IMAGEHLP_LINE is defined as follows in DbgHelp.h.


#if !defined(_IMAGEHLP_SOURCE_) && defined(_IMAGEHLP64)
#define IMAGEHLP_LINE IMAGEHLP_LINE64
#define PIMAGEHLP_LINE PIMAGEHLP_LINE64
#else
typedef struct _IMAGEHLP_LINE {
    DWORD    SizeOfStruct; 
    PVOID    Key; 
    DWORD    LineNumber; 
    PCHAR    FileName; 
    DWORD    Address; 
} IMAGEHLP_LINE, *PIMAGEHLP_LINE;

typedef struct _IMAGEHLP_LINEW {
    DWORD    SizeOfStruct; 
    PVOID    Key; 
    DWORD    LineNumber; 
    PCHAR    FileName; 
    DWORD64  Address; 
} IMAGEHLP_LINEW, *PIMAGEHLP_LINEW;
#endif

Requirements

Redistributable

DbgHelp.dll 5.1 or later

Header

DbgHelp.h

Unicode and ANSI names

IMAGEHLP_LINEW64 (Unicode) and IMAGEHLP_LINE64 (ANSI)

See also

SymGetLineFromAddr64
SymGetLineFromName64
SymGetLineNext64
SymGetLinePrev64

 

 

Community Additions

ADD
Show:
© 2014 Microsoft