mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-12 18:39:45 +00:00
42 lines
1.7 KiB
C#
42 lines
1.7 KiB
C#
namespace QuickLook.Plugin.PEViewer.PEImageParser;
|
|
|
|
/// <summary>
|
|
/// Represents the optional header of a PE image file for x86 assemblies.
|
|
/// </summary>
|
|
public sealed class ImageOptionalHeader32 : ImageOptionalHeader
|
|
{
|
|
/// <summary>
|
|
/// Gets the address that is relative to the image base of the beginning-of-data section when it is loaded into memory.
|
|
/// </summary>
|
|
public uint BaseOfData { get; internal set; }
|
|
|
|
/// <summary>
|
|
/// Gets the preferred address of the first byte of image when loaded into memory; must be a multiple of 64 K. The default for DLLs is 0x10000000. The default for Windows CE EXEs is 0x00010000. The default for Windows NT, Windows 2000, Windows XP, Windows 95, Windows 98, and Windows Me is 0x00400000.
|
|
/// </summary>
|
|
public uint ImageBase { get; internal set; }
|
|
|
|
/// <summary>
|
|
/// Gets the size of the stack to reserve. Only <see cref="SizeOfStackCommit" /> is committed; the rest is made available one page at a time until the reserve size is reached.
|
|
/// </summary>
|
|
public uint SizeOfStackReserve { get; internal set; }
|
|
|
|
/// <summary>
|
|
/// Gets the size of the stack to commit.
|
|
/// </summary>
|
|
public uint SizeOfStackCommit { get; internal set; }
|
|
|
|
/// <summary>
|
|
/// Gets the size of the local heap space to reserve. Only <see cref="SizeOfHeapCommit" /> is committed; the rest is made available one page at a time until the reserve size is reached.
|
|
/// </summary>
|
|
public uint SizeOfHeapReserve { get; internal set; }
|
|
|
|
/// <summary>
|
|
/// Gets the size of the local heap space to commit.
|
|
/// </summary>
|
|
public uint SizeOfHeapCommit { get; internal set; }
|
|
|
|
internal ImageOptionalHeader32()
|
|
{
|
|
}
|
|
}
|