SOURCEFILEW structure (dbghelp.h)

Contains source file information.

Syntax

typedef struct _SOURCEFILEW {
  DWORD64 ModBase;
  PWSTR   FileName;
} SOURCEFILEW, *PSOURCEFILEW;

Members

ModBase

The base address of the module.

FileName

The fully qualified source file name.

Remarks

Note

The dbghelp.h header defines SOURCEFILE 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.

Requirements

Requirement Value
Header dbghelp.h
Redistributable DbgHelp.dll 6.3 or later

See also

SymEnumSourceFiles