Platform SDK: Debugging and Error Handling |
The UpdateDebugInfoFileEx function uses the specified information to update the corresponding fields in the symbol file.
This function supersedes the UpdateDebugInfoFile function. Use UpdateDebugInfoFileEx to verify the checksum value.
BOOL UpdateDebugInfoFileEx( PSTR ImageFileName, PSTR SymbolPath, PSTR DebugFilePath, PIMAGE_NT_HEADERS NtHeaders, DWORD OldChecksum );
If the function succeeds, the return value is TRUE.
If the function fails, the return value is FALSE.
The UpdateDebugInfoFileEx function takes the information stored in the IMAGE_NT_HEADERS structure and updates the corresponding fields in the symbol 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 symbol file should be updated to match.
Windows NT/2000: Requires Windows NT 4.0 or later.
Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
Header: Declared in Imagehlp.h.
Library: Use Imagehlp.lib.
Image Help Library Overview, ImageHlp Functions, IMAGE_NT_HEADERS