ReactOS 0.4.15-dev-7788-g1ad9096
_IMAGE_OPTIONAL_HEADER Struct Reference

#include <ntddk_ex.h>

Collaboration diagram for _IMAGE_OPTIONAL_HEADER:

Public Attributes

WORD Magic
 
BYTE MajorLinkerVersion
 
BYTE MinorLinkerVersion
 
DWORD SizeOfCode
 
DWORD SizeOfInitializedData
 
DWORD SizeOfUninitializedData
 
DWORD AddressOfEntryPoint
 
DWORD BaseOfCode
 
DWORD BaseOfData
 
DWORD ImageBase
 
DWORD SectionAlignment
 
DWORD FileAlignment
 
WORD MajorOperatingSystemVersion
 
WORD MinorOperatingSystemVersion
 
WORD MajorImageVersion
 
WORD MinorImageVersion
 
WORD MajorSubsystemVersion
 
WORD MinorSubsystemVersion
 
DWORD Win32VersionValue
 
DWORD SizeOfImage
 
DWORD SizeOfHeaders
 
DWORD CheckSum
 
WORD Subsystem
 
WORD DllCharacteristics
 
DWORD SizeOfStackReserve
 
DWORD SizeOfStackCommit
 
DWORD SizeOfHeapReserve
 
DWORD SizeOfHeapCommit
 
DWORD LoaderFlags
 
DWORD NumberOfRvaAndSizes
 
IMAGE_DATA_DIRECTORY DataDirectory [IMAGE_NUMBEROF_DIRECTORY_ENTRIES]
 
USHORT Magic
 
UCHAR MajorLinkerVersion
 
UCHAR MinorLinkerVersion
 
ULONG SizeOfCode
 
ULONG SizeOfInitializedData
 
ULONG SizeOfUninitializedData
 
ULONG AddressOfEntryPoint
 
ULONG BaseOfCode
 
ULONG BaseOfData
 
ULONG ImageBase
 
ULONG SectionAlignment
 
ULONG FileAlignment
 
USHORT MajorOperatingSystemVersion
 
USHORT MinorOperatingSystemVersion
 
USHORT MajorImageVersion
 
USHORT MinorImageVersion
 
USHORT MajorSubsystemVersion
 
USHORT MinorSubsystemVersion
 
ULONG Win32VersionValue
 
ULONG SizeOfImage
 
ULONG SizeOfHeaders
 
ULONG CheckSum
 
USHORT Subsystem
 
USHORT DllCharacteristics
 
ULONG SizeOfStackReserve
 
ULONG SizeOfStackCommit
 
ULONG SizeOfHeapReserve
 
ULONG SizeOfHeapCommit
 
ULONG LoaderFlags
 
ULONG NumberOfRvaAndSizes
 

Detailed Description

Definition at line 138 of file ntddk_ex.h.

Member Data Documentation

◆ AddressOfEntryPoint [1/2]

◆ AddressOfEntryPoint [2/2]

ULONG _IMAGE_OPTIONAL_HEADER::AddressOfEntryPoint

Definition at line 297 of file ntimage.h.

◆ BaseOfCode [1/2]

DWORD _IMAGE_OPTIONAL_HEADER::BaseOfCode

Definition at line 150 of file ntddk_ex.h.

Referenced by build_exe(), main(), and RosSymCreateFromFile().

◆ BaseOfCode [2/2]

ULONG _IMAGE_OPTIONAL_HEADER::BaseOfCode

Definition at line 298 of file ntimage.h.

◆ BaseOfData [1/2]

DWORD _IMAGE_OPTIONAL_HEADER::BaseOfData

Definition at line 151 of file ntddk_ex.h.

Referenced by RosSymCreateFromFile().

◆ BaseOfData [2/2]

ULONG _IMAGE_OPTIONAL_HEADER::BaseOfData

Definition at line 299 of file ntimage.h.

◆ CheckSum [1/2]

◆ CheckSum [2/2]

ULONG _IMAGE_OPTIONAL_HEADER::CheckSum

Definition at line 312 of file ntimage.h.

◆ DataDirectory

◆ DllCharacteristics [1/2]

◆ DllCharacteristics [2/2]

USHORT _IMAGE_OPTIONAL_HEADER::DllCharacteristics

Definition at line 314 of file ntimage.h.

◆ FileAlignment [1/2]

◆ FileAlignment [2/2]

ULONG _IMAGE_OPTIONAL_HEADER::FileAlignment

Definition at line 302 of file ntimage.h.

◆ ImageBase [1/2]

◆ ImageBase [2/2]

ULONG _IMAGE_OPTIONAL_HEADER::ImageBase

Definition at line 300 of file ntimage.h.

◆ LoaderFlags [1/2]

DWORD _IMAGE_OPTIONAL_HEADER::LoaderFlags

Definition at line 176 of file ntddk_ex.h.

Referenced by PeFmtCreateSection().

◆ LoaderFlags [2/2]

ULONG _IMAGE_OPTIONAL_HEADER::LoaderFlags

Definition at line 319 of file ntimage.h.

◆ Magic [1/2]

◆ Magic [2/2]

USHORT _IMAGE_OPTIONAL_HEADER::Magic

Definition at line 291 of file ntimage.h.

◆ MajorImageVersion [1/2]

WORD _IMAGE_OPTIONAL_HEADER::MajorImageVersion

Definition at line 162 of file ntddk_ex.h.

Referenced by build_exe(), create_fake_dll(), MmLoadSystemImage(), and test_Loader().

◆ MajorImageVersion [2/2]

USHORT _IMAGE_OPTIONAL_HEADER::MajorImageVersion

Definition at line 305 of file ntimage.h.

◆ MajorLinkerVersion [1/2]

BYTE _IMAGE_OPTIONAL_HEADER::MajorLinkerVersion

Definition at line 144 of file ntddk_ex.h.

Referenced by build_exe(), create_fake_dll(), ImgpLoadPEImage(), and test_Loader().

◆ MajorLinkerVersion [2/2]

UCHAR _IMAGE_OPTIONAL_HEADER::MajorLinkerVersion

Definition at line 292 of file ntimage.h.

◆ MajorOperatingSystemVersion [1/2]

WORD _IMAGE_OPTIONAL_HEADER::MajorOperatingSystemVersion

◆ MajorOperatingSystemVersion [2/2]

USHORT _IMAGE_OPTIONAL_HEADER::MajorOperatingSystemVersion

Definition at line 303 of file ntimage.h.

◆ MajorSubsystemVersion [1/2]

◆ MajorSubsystemVersion [2/2]

USHORT _IMAGE_OPTIONAL_HEADER::MajorSubsystemVersion

Definition at line 307 of file ntimage.h.

◆ MinorImageVersion [1/2]

WORD _IMAGE_OPTIONAL_HEADER::MinorImageVersion

Definition at line 163 of file ntddk_ex.h.

Referenced by create_fake_dll().

◆ MinorImageVersion [2/2]

USHORT _IMAGE_OPTIONAL_HEADER::MinorImageVersion

Definition at line 306 of file ntimage.h.

◆ MinorLinkerVersion [1/2]

BYTE _IMAGE_OPTIONAL_HEADER::MinorLinkerVersion

Definition at line 145 of file ntddk_ex.h.

Referenced by create_fake_dll().

◆ MinorLinkerVersion [2/2]

UCHAR _IMAGE_OPTIONAL_HEADER::MinorLinkerVersion

Definition at line 293 of file ntimage.h.

◆ MinorOperatingSystemVersion [1/2]

WORD _IMAGE_OPTIONAL_HEADER::MinorOperatingSystemVersion

Definition at line 161 of file ntddk_ex.h.

Referenced by create_fake_dll().

◆ MinorOperatingSystemVersion [2/2]

USHORT _IMAGE_OPTIONAL_HEADER::MinorOperatingSystemVersion

Definition at line 304 of file ntimage.h.

◆ MinorSubsystemVersion [1/2]

◆ MinorSubsystemVersion [2/2]

USHORT _IMAGE_OPTIONAL_HEADER::MinorSubsystemVersion

Definition at line 308 of file ntimage.h.

◆ NumberOfRvaAndSizes [1/2]

◆ NumberOfRvaAndSizes [2/2]

ULONG _IMAGE_OPTIONAL_HEADER::NumberOfRvaAndSizes

Definition at line 320 of file ntimage.h.

◆ SectionAlignment [1/2]

◆ SectionAlignment [2/2]

ULONG _IMAGE_OPTIONAL_HEADER::SectionAlignment

Definition at line 301 of file ntimage.h.

◆ SizeOfCode [1/2]

DWORD _IMAGE_OPTIONAL_HEADER::SizeOfCode

Definition at line 146 of file ntddk_ex.h.

Referenced by PeFmtCreateSection(), query_image_section(), and test_Loader().

◆ SizeOfCode [2/2]

ULONG _IMAGE_OPTIONAL_HEADER::SizeOfCode

Definition at line 294 of file ntimage.h.

◆ SizeOfHeaders [1/2]

◆ SizeOfHeaders [2/2]

ULONG _IMAGE_OPTIONAL_HEADER::SizeOfHeaders

Definition at line 311 of file ntimage.h.

◆ SizeOfHeapCommit [1/2]

DWORD _IMAGE_OPTIONAL_HEADER::SizeOfHeapCommit

Definition at line 175 of file ntddk_ex.h.

Referenced by LdrpInitializeProcess().

◆ SizeOfHeapCommit [2/2]

ULONG _IMAGE_OPTIONAL_HEADER::SizeOfHeapCommit

Definition at line 318 of file ntimage.h.

◆ SizeOfHeapReserve [1/2]

DWORD _IMAGE_OPTIONAL_HEADER::SizeOfHeapReserve

Definition at line 174 of file ntddk_ex.h.

Referenced by LdrpInitializeProcess().

◆ SizeOfHeapReserve [2/2]

ULONG _IMAGE_OPTIONAL_HEADER::SizeOfHeapReserve

Definition at line 317 of file ntimage.h.

◆ SizeOfImage [1/2]

◆ SizeOfImage [2/2]

ULONG _IMAGE_OPTIONAL_HEADER::SizeOfImage

Definition at line 310 of file ntimage.h.

◆ SizeOfInitializedData [1/2]

DWORD _IMAGE_OPTIONAL_HEADER::SizeOfInitializedData

Definition at line 147 of file ntddk_ex.h.

Referenced by ImageGetDigestStream(), and write_raw_resources().

◆ SizeOfInitializedData [2/2]

ULONG _IMAGE_OPTIONAL_HEADER::SizeOfInitializedData

Definition at line 295 of file ntimage.h.

◆ SizeOfStackCommit [1/2]

◆ SizeOfStackCommit [2/2]

ULONG _IMAGE_OPTIONAL_HEADER::SizeOfStackCommit

Definition at line 316 of file ntimage.h.

◆ SizeOfStackReserve [1/2]

DWORD _IMAGE_OPTIONAL_HEADER::SizeOfStackReserve

◆ SizeOfStackReserve [2/2]

ULONG _IMAGE_OPTIONAL_HEADER::SizeOfStackReserve

Definition at line 315 of file ntimage.h.

◆ SizeOfUninitializedData [1/2]

DWORD _IMAGE_OPTIONAL_HEADER::SizeOfUninitializedData

Definition at line 148 of file ntddk_ex.h.

◆ SizeOfUninitializedData [2/2]

ULONG _IMAGE_OPTIONAL_HEADER::SizeOfUninitializedData

Definition at line 296 of file ntimage.h.

◆ Subsystem [1/2]

◆ Subsystem [2/2]

USHORT _IMAGE_OPTIONAL_HEADER::Subsystem

Definition at line 313 of file ntimage.h.

◆ Win32VersionValue [1/2]

DWORD _IMAGE_OPTIONAL_HEADER::Win32VersionValue

Definition at line 166 of file ntddk_ex.h.

Referenced by MmCreatePeb().

◆ Win32VersionValue [2/2]

ULONG _IMAGE_OPTIONAL_HEADER::Win32VersionValue

Definition at line 309 of file ntimage.h.


The documentation for this struct was generated from the following files: