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.

ImageNtHeader

The ImageNtHeader function locates the IMAGE_NT_HEADERS structure in a Win32 image and returns a pointer to the data.

PIMAGE_NT_HEADERS ImageNtHeader(

IN LPVOID ImageBase

);

Parameters

ImageBase

The base address of an image that is mapped into memory by a call to the MapViewOfFile function.

Return Values

If the function succeeds, the return value is a pointer to an IMAGE_NT_HEADERS structure.

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

Remarks

The ImageNtHeader function locates the IMAGE_NT_HEADERS structure in a Win32 image and returns a pointer to the data.

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples