Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

IMAGE_OPTIONAL_HEADER32 (Structures)
 
.
Summary

C# Definition:

    [StructLayout(LayoutKind.Sequential)]
    public struct IMAGE_OPTIONAL_HEADER32
    {
        //
        // Standard fields.
        //
        public UInt16   Magic;
        public Byte     MajorLinkerVersion;
        public Byte     MinorLinkerVersion;
        public UInt32   SizeOfCode;
        public UInt32   SizeOfInitializedData;
        public UInt32   SizeOfUninitializedData;
        public UInt32   AddressOfEntryPoint;
        public UInt32   BaseOfCode;
        public UInt32   BaseOfData;
        //
        // NT additional fields.
        //
        public UInt32   ImageBase;
        public UInt32   SectionAlignment;
        public UInt32   FileAlignment;
        public UInt16   MajorOperatingSystemVersion;
        public UInt16   MinorOperatingSystemVersion;
        public UInt16   MajorImageVersion;
        public UInt16   MinorImageVersion;
        public UInt16   MajorSubsystemVersion;
        public UInt16   MinorSubsystemVersion;
        public UInt32   Win32VersionValue;
        public UInt32   SizeOfImage;
        public UInt32   SizeOfHeaders;
        public UInt32   CheckSum;
        public UInt16   Subsystem;
        public UInt16   DllCharacteristics;
        public UInt32   SizeOfStackReserve;
        public UInt32   SizeOfStackCommit;
        public UInt32   SizeOfHeapReserve;
        public UInt32   SizeOfHeapCommit;
        public UInt32   LoaderFlags;
        public UInt32   NumberOfRvaAndSizes;
        [MarshalAs(UnmanagedType.ByValArray, SizeConst = 16)]
        public IMAGE_DATA_DIRECTORY[] DataDirectory;
    }

VB Definition:

User-Defined Field Types:

IMAGE_DATA_DIRECTORY

Notes:

Comments are from WinNT.h

Documentation

Please edit this page!

Do you have...

  • helpful tips?
  • corrections to the existing content?
  • alternate definitions?
  • additional languages you want to include?

Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing any supporting types needed.

 
Access PInvoke.net directly from VS:
Terms of Use
Find References
Show Printable Version
Revisions