Quick Info

Windows NT
Yes
Win95
Yes
Win32s
No
Import Library
imagehlp.lib
Header File
imagehlp.h
Unicode
No
Platform Notes
Windows 95: IMAGEHLP is available as a redistributable. Windows NT: This function is not available under Windows NT 3.51; it was introduced in Windows NT 4.0.

UpdateDebugInfoFileEx

The UpdateDebugInfoFileEx function takes the information stored in NtHeaders and updates the corresponding fields in the .DBG file.

BOOL UpdateDebugInfoFileEx(

IN LPSTR ImageFileName,

IN LPSTR SymbolPath,

OUT LPSTR DebugFilePath,

IN OUT PIMAGE_NT_HEADERS NtHeaders,

IN DWORD OldChecksum

);

Parameters

ImageFIleName

The name of the image that is now out of date with respect to its symbol file.

SymbolPath

The path in which to look for the symbol file.

DebugFilePath

The symbol file that was updated.

NtHeaders

The new NT headers.

OldChecksum

The original checksum value. If this value does not match the checksum that is present in the mapped image, the flags in the .DBG file contain IMAGE_SEPARATE_DEBUG_MISMATCH and the last error value is set to ERROR_INVALID_DATA.

Return Values

If the function succeeds, the return value is TRUE.

Remarks

The UpdateDebugInfoFileEx function takes the information stored in NtHeaders and updates the corresponding fields in the .DBG file. Any time an image file is modified, this function should be called to keep the numbers in sync. Specifically, whenever an image checksum changes, the .DBG file should be updated to match.

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database