Index   Commented   Search   About

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.

UpdateDebugInfoFile

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

BOOL UpdateDebugInfoFile(

IN LPSTR ImageFileName,

IN LPSTR SymbolPath,

OUT LPSTR DebugFilePath,

IN OUT PIMAGE_NT_HEADERS NtHeaders

);

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.

Return Values

If the function succeeds, the return value is TRUE.

If the function fails, then the return value is FALSE. To retrieve extended error information, call GetLastError.

Remarks

The UpdateDebugInfoFile 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.

Windows NT: This function is not available under Windows NT 3.51; it was introduced in Windows NT 4.0.

Related Links

Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder

More Online Helps

Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages

Free Tech Secrets ;) Copyright © 2008 Free Tect Secrets ;) greatis just4fun network just4fun