IMAGE_FILE_HEADER structure
Represents the COFF header format.
Syntax
typedef struct _IMAGE_FILE_HEADER { WORD Machine; WORD NumberOfSections; DWORD TimeDateStamp; DWORD PointerToSymbolTable; DWORD NumberOfSymbols; WORD SizeOfOptionalHeader; WORD Characteristics; } IMAGE_FILE_HEADER, *PIMAGE_FILE_HEADER;
Members
- Machine
-
The architecture type of the computer. An image file can only be run on the specified computer or a system that emulates the specified computer. This member can be one of the following values.
Value Meaning - IMAGE_FILE_MACHINE_I386
- 0x014c
x86
- IMAGE_FILE_MACHINE_IA64
- 0x0200
Intel Itanium
- IMAGE_FILE_MACHINE_AMD64
- 0x8664
x64
- NumberOfSections
-
The number of sections. This indicates the size of the section table, which immediately follows the headers. Note that the Windows loader limits the number of sections to 96.
- TimeDateStamp
-
The low 32 bits of the time stamp of the image. This represents the date and time the image was created by the linker. The value is represented in the number of seconds elapsed since midnight (00:00:00), January 1, 1970, Universal Coordinated Time, according to the system clock.
- PointerToSymbolTable
-
The offset of the symbol table, in bytes, or zero if no COFF symbol table exists.
- NumberOfSymbols
-
The number of symbols in the symbol table.
- SizeOfOptionalHeader
-
The size of the optional header, in bytes. This value should be 0 for object files.
- Characteristics
-
The characteristics of the image. This member can be one or more of the following values.
Requirements
|
Minimum supported client | Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server | Windows Server 2003 [desktop apps only] |
|
Header |
|
See also
Send comments about this topic to Microsoft
Build date: 10/26/2012
