mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-07-16 05:45:03 +00:00
Seal as many of the models as possible
This commit is contained in:
@@ -8,7 +8,7 @@ namespace BurnOutSharp.Models.PortableExecutable
|
||||
/// </summary>
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/menurc/acceltableentry"/>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public class AcceleratorTableEntry
|
||||
public sealed class AcceleratorTableEntry
|
||||
{
|
||||
/// <summary>
|
||||
/// Describes keyboard accelerator characteristics.
|
||||
|
||||
@@ -4,7 +4,7 @@ namespace BurnOutSharp.Models.PortableExecutable
|
||||
{
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/sbscs/manifest-file-schema"/>
|
||||
[XmlRoot(ElementName = "assembly", Namespace = "urn:schemas-microsoft-com:asm.v1")]
|
||||
public class AssemblyManifest
|
||||
public sealed class AssemblyManifest
|
||||
{
|
||||
[XmlAttribute("manifestVersion")]
|
||||
public string ManifestVersion;
|
||||
@@ -52,21 +52,21 @@ namespace BurnOutSharp.Models.PortableExecutable
|
||||
}
|
||||
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/sbscs/manifest-file-schema"/>
|
||||
public class AssemblyActiveCodePage
|
||||
public sealed class AssemblyActiveCodePage
|
||||
{
|
||||
[XmlText]
|
||||
public string Value;
|
||||
}
|
||||
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/sbscs/manifest-file-schema"/>
|
||||
public class AssemblyAutoElevate
|
||||
public sealed class AssemblyAutoElevate
|
||||
{
|
||||
[XmlText]
|
||||
public string Value;
|
||||
}
|
||||
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/sbscs/manifest-file-schema"/>
|
||||
public class AssemblyBindingRedirect
|
||||
public sealed class AssemblyBindingRedirect
|
||||
{
|
||||
[XmlAttribute("oldVersion")]
|
||||
public string OldVersion;
|
||||
@@ -76,7 +76,7 @@ namespace BurnOutSharp.Models.PortableExecutable
|
||||
}
|
||||
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/sbscs/manifest-file-schema"/>
|
||||
public class AssemblyCOMClass
|
||||
public sealed class AssemblyCOMClass
|
||||
{
|
||||
[XmlAttribute("clsid")]
|
||||
public string CLSID;
|
||||
@@ -98,7 +98,7 @@ namespace BurnOutSharp.Models.PortableExecutable
|
||||
}
|
||||
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/sbscs/manifest-file-schema"/>
|
||||
public class AssemblyCOMInterfaceExternalProxyStub
|
||||
public sealed class AssemblyCOMInterfaceExternalProxyStub
|
||||
{
|
||||
[XmlAttribute("iid")]
|
||||
public string IID;
|
||||
@@ -120,7 +120,7 @@ namespace BurnOutSharp.Models.PortableExecutable
|
||||
}
|
||||
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/sbscs/manifest-file-schema"/>
|
||||
public class AssemblyCOMInterfaceProxyStub
|
||||
public sealed class AssemblyCOMInterfaceProxyStub
|
||||
{
|
||||
[XmlAttribute("iid")]
|
||||
public string IID;
|
||||
@@ -142,7 +142,7 @@ namespace BurnOutSharp.Models.PortableExecutable
|
||||
}
|
||||
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/sbscs/manifest-file-schema"/>
|
||||
public class AssemblyCommonLanguageRuntimeClass
|
||||
public sealed class AssemblyCommonLanguageRuntimeClass
|
||||
{
|
||||
[XmlAttribute("name")]
|
||||
public string Name;
|
||||
@@ -170,7 +170,7 @@ namespace BurnOutSharp.Models.PortableExecutable
|
||||
}
|
||||
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/sbscs/manifest-file-schema"/>
|
||||
public class AssemblyCommonLanguageSurrogateClass
|
||||
public sealed class AssemblyCommonLanguageSurrogateClass
|
||||
{
|
||||
[XmlAttribute("clsid")]
|
||||
public string CLSID;
|
||||
@@ -183,7 +183,7 @@ namespace BurnOutSharp.Models.PortableExecutable
|
||||
}
|
||||
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/sbscs/manifest-file-schema"/>
|
||||
public class AssemblyDependency
|
||||
public sealed class AssemblyDependency
|
||||
{
|
||||
[XmlElement("dependentAssembly")]
|
||||
public AssemblyDependentAssembly DependentAssembly;
|
||||
@@ -193,7 +193,7 @@ namespace BurnOutSharp.Models.PortableExecutable
|
||||
}
|
||||
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/sbscs/manifest-file-schema"/>
|
||||
public class AssemblyDependentAssembly
|
||||
public sealed class AssemblyDependentAssembly
|
||||
{
|
||||
[XmlElement("assemblyIdentity")]
|
||||
public AssemblyIdentity AssemblyIdentity;
|
||||
@@ -203,42 +203,42 @@ namespace BurnOutSharp.Models.PortableExecutable
|
||||
}
|
||||
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/sbscs/manifest-file-schema"/>
|
||||
public class AssemblyDescription
|
||||
public sealed class AssemblyDescription
|
||||
{
|
||||
[XmlText]
|
||||
public string Value;
|
||||
}
|
||||
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/sbscs/manifest-file-schema"/>
|
||||
public class AssemblyDisableTheming
|
||||
public sealed class AssemblyDisableTheming
|
||||
{
|
||||
[XmlText]
|
||||
public string Value;
|
||||
}
|
||||
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/sbscs/manifest-file-schema"/>
|
||||
public class AssemblyDisableWindowFiltering
|
||||
public sealed class AssemblyDisableWindowFiltering
|
||||
{
|
||||
[XmlText]
|
||||
public string Value;
|
||||
}
|
||||
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/sbscs/manifest-file-schema"/>
|
||||
public class AssemblyDPIAware
|
||||
public sealed class AssemblyDPIAware
|
||||
{
|
||||
[XmlText]
|
||||
public string Value;
|
||||
}
|
||||
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/sbscs/manifest-file-schema"/>
|
||||
public class AssemblyDPIAwareness
|
||||
public sealed class AssemblyDPIAwareness
|
||||
{
|
||||
[XmlText]
|
||||
public string Value;
|
||||
}
|
||||
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/sbscs/manifest-file-schema"/>
|
||||
public class AssemblyFile
|
||||
public sealed class AssemblyFile
|
||||
{
|
||||
[XmlAttribute("name")]
|
||||
public string Name;
|
||||
@@ -270,28 +270,28 @@ namespace BurnOutSharp.Models.PortableExecutable
|
||||
}
|
||||
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/sbscs/manifest-file-schema"/>
|
||||
public class AssemblyGDIScaling
|
||||
public sealed class AssemblyGDIScaling
|
||||
{
|
||||
[XmlText]
|
||||
public string Value;
|
||||
}
|
||||
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/sbscs/manifest-file-schema"/>
|
||||
public class AssemblyHeapType
|
||||
public sealed class AssemblyHeapType
|
||||
{
|
||||
[XmlText]
|
||||
public string Value;
|
||||
}
|
||||
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/sbscs/manifest-file-schema"/>
|
||||
public class AssemblyHighResolutionScrollingAware
|
||||
public sealed class AssemblyHighResolutionScrollingAware
|
||||
{
|
||||
[XmlText]
|
||||
public string Value;
|
||||
}
|
||||
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/sbscs/manifest-file-schema"/>
|
||||
public class AssemblyIdentity
|
||||
public sealed class AssemblyIdentity
|
||||
{
|
||||
[XmlAttribute("name")]
|
||||
public string Name;
|
||||
@@ -313,45 +313,45 @@ namespace BurnOutSharp.Models.PortableExecutable
|
||||
}
|
||||
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/sbscs/manifest-file-schema"/>
|
||||
public class AssemblyLongPathAware
|
||||
public sealed class AssemblyLongPathAware
|
||||
{
|
||||
[XmlText]
|
||||
public string Value;
|
||||
}
|
||||
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/sbscs/manifest-file-schema"/>
|
||||
public class AssemblyNoInherit
|
||||
public sealed class AssemblyNoInherit
|
||||
{
|
||||
}
|
||||
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/sbscs/manifest-file-schema"/>
|
||||
public class AssemblyNoInheritable
|
||||
public sealed class AssemblyNoInheritable
|
||||
{
|
||||
}
|
||||
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/sbscs/manifest-file-schema"/>
|
||||
public class AssemblyPrinterDriverIsolation
|
||||
public sealed class AssemblyPrinterDriverIsolation
|
||||
{
|
||||
[XmlText]
|
||||
public string Value;
|
||||
}
|
||||
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/sbscs/manifest-file-schema"/>
|
||||
public class AssemblyProgID
|
||||
public sealed class AssemblyProgID
|
||||
{
|
||||
[XmlText]
|
||||
public string Value;
|
||||
}
|
||||
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/sbscs/manifest-file-schema"/>
|
||||
public class AssemblySupportedOS
|
||||
public sealed class AssemblySupportedOS
|
||||
{
|
||||
[XmlAttribute("Id")]
|
||||
public string Id;
|
||||
}
|
||||
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/sbscs/manifest-file-schema"/>
|
||||
public class AssemblyTypeLib
|
||||
public sealed class AssemblyTypeLib
|
||||
{
|
||||
[XmlElement("tlbid")]
|
||||
public string TLBID;
|
||||
@@ -370,14 +370,14 @@ namespace BurnOutSharp.Models.PortableExecutable
|
||||
}
|
||||
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/sbscs/manifest-file-schema"/>
|
||||
public class AssemblyUltraHighResolutionScrollingAware
|
||||
public sealed class AssemblyUltraHighResolutionScrollingAware
|
||||
{
|
||||
[XmlText]
|
||||
public string Value;
|
||||
}
|
||||
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/sbscs/manifest-file-schema"/>
|
||||
public class AssemblyWindowClass
|
||||
public sealed class AssemblyWindowClass
|
||||
{
|
||||
[XmlAttribute("versioned")]
|
||||
public string Versioned;
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
/// the remainder of this section.
|
||||
/// </summary>
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/debug/pe-format"/>
|
||||
public class AttributeCertificateTableEntry
|
||||
public sealed class AttributeCertificateTableEntry
|
||||
{
|
||||
/// <summary>
|
||||
/// Specifies the length of the attribute certificate entry.
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
/// relocations do not have to be applied.
|
||||
/// </summary>
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/debug/pe-format"/>
|
||||
public class BaseRelocationBlock
|
||||
public sealed class BaseRelocationBlock
|
||||
{
|
||||
/// <summary>
|
||||
/// The image base plus the page RVA is added to each offset to create
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
/// Type or Offset field entry is a WORD (2 bytes).
|
||||
/// </summary>
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/debug/pe-format"/>
|
||||
public class BaseRelocationTypeOffsetFieldEntry
|
||||
public sealed class BaseRelocationTypeOffsetFieldEntry
|
||||
{
|
||||
/// <summary>
|
||||
/// Stored in the high 4 bits of the WORD, a value that indicates the type
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace BurnOutSharp.Models.PortableExecutable
|
||||
/// </summary>
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/debug/pe-format"/>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public class COFFFileHeader
|
||||
public sealed class COFFFileHeader
|
||||
{
|
||||
/// <summary>
|
||||
/// The number that identifies the type of target machine.
|
||||
|
||||
@@ -17,7 +17,7 @@ namespace BurnOutSharp.Models.PortableExecutable
|
||||
/// </summary>
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/debug/pe-format"/>
|
||||
[StructLayout(LayoutKind.Explicit)]
|
||||
public class COFFLineNumber
|
||||
public sealed class COFFLineNumber
|
||||
{
|
||||
/// <summary>
|
||||
/// Used when Linenumber is zero: index to symbol table entry for a function.
|
||||
|
||||
@@ -18,7 +18,7 @@ namespace BurnOutSharp.Models.PortableExecutable
|
||||
/// </summary>
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/debug/pe-format"/>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public class COFFRelocation
|
||||
public sealed class COFFRelocation
|
||||
{
|
||||
/// <summary>
|
||||
/// The address of the item to which relocation is applied. This is the
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
/// COFF header and adding the number of symbols multiplied by the size of a symbol.
|
||||
/// </summary>
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/debug/pe-format"/>
|
||||
public class COFFStringTable
|
||||
public sealed class COFFStringTable
|
||||
{
|
||||
/// <summary>
|
||||
/// At the beginning of the COFF string table are 4 bytes that contain the
|
||||
|
||||
@@ -18,7 +18,7 @@ namespace BurnOutSharp.Models.PortableExecutable
|
||||
/// defines a symbol or name.
|
||||
/// </summary>
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/debug/pe-format"/>
|
||||
public class COFFSymbolTableEntry
|
||||
public sealed class COFFSymbolTableEntry
|
||||
{
|
||||
#region Standard COFF Symbol Table Entry
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
/// randomly access the information.
|
||||
/// </summary>
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/menurc/resource-file-formats"/>
|
||||
public class CursorAndIconResource
|
||||
public sealed class CursorAndIconResource
|
||||
{
|
||||
/// <summary>
|
||||
/// Describes keyboard accelerator characteristics.
|
||||
|
||||
@@ -12,7 +12,7 @@ namespace BurnOutSharp.Models.PortableExecutable
|
||||
/// </summary>
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/debug/pe-format"/>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public class DataDirectory
|
||||
public sealed class DataDirectory
|
||||
{
|
||||
/// <summary>
|
||||
/// The first field, VirtualAddress, is actually the RVA of the table. The RVA
|
||||
|
||||
@@ -20,7 +20,7 @@ namespace BurnOutSharp.Models.PortableExecutable
|
||||
/// </summary>
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/debug/pe-format"/>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public class DebugDirectoryEntry
|
||||
public sealed class DebugDirectoryEntry
|
||||
{
|
||||
/// <summary>
|
||||
/// Reserved, must be zero.
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
/// is mapped in the address space.
|
||||
/// </summary>
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/debug/pe-format"/>
|
||||
public class DebugTable
|
||||
public sealed class DebugTable
|
||||
{
|
||||
/// <summary>
|
||||
/// Image files contain an optional debug directory that indicates what form
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace BurnOutSharp.Models.PortableExecutable
|
||||
/// </summary>
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/debug/pe-format"/>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public class DelayLoadDirectoryTable
|
||||
public sealed class DelayLoadDirectoryTable
|
||||
{
|
||||
/// <summary>
|
||||
/// Must be zero.
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
/// describe the format of extended dialog box resources.
|
||||
/// </summary>
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/menurc/resource-file-formats"/>
|
||||
public class DialogBoxResource
|
||||
public sealed class DialogBoxResource
|
||||
{
|
||||
#region Dialog template
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace BurnOutSharp.Models.PortableExecutable
|
||||
/// </summary>
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/api/winuser/ns-winuser-dlgitemtemplate"/>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public class DialogItemTemplate
|
||||
public sealed class DialogItemTemplate
|
||||
{
|
||||
/// <summary>
|
||||
/// The style of the control. This member can be a combination of window style values
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace BurnOutSharp.Models.PortableExecutable
|
||||
/// </summary>
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/dlgbox/dlgitemtemplateex"/>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public class DialogItemTemplateExtended
|
||||
public sealed class DialogItemTemplateExtended
|
||||
{
|
||||
/// <summary>
|
||||
/// The help context identifier for the control. When the system sends a WM_HELP message,
|
||||
|
||||
@@ -10,7 +10,7 @@ namespace BurnOutSharp.Models.PortableExecutable
|
||||
/// </summary>
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/api/winuser/ns-winuser-dlgtemplate"/>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public class DialogTemplate
|
||||
public sealed class DialogTemplate
|
||||
{
|
||||
/// <summary>
|
||||
/// The style of the dialog box. This member can be a combination of window style
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace BurnOutSharp.Models.PortableExecutable
|
||||
/// </summary>
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/dlgbox/dlgtemplateex"/>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public class DialogTemplateExtended
|
||||
public sealed class DialogTemplateExtended
|
||||
{
|
||||
/// <summary>
|
||||
/// The version number of the extended dialog box template. This member must be
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
/// definition provided here is for explanation only; it is not present in any standard header file.
|
||||
/// </summary>
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/menurc/direntry"/>
|
||||
public class DirEntry
|
||||
public sealed class DirEntry
|
||||
{
|
||||
/// <summary>
|
||||
/// A unique ordinal identifier for an individual font in a font resource group.
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace BurnOutSharp.Models.PortableExecutable
|
||||
/// is the MS-DOS 2.0 Section, and is used for MS-DOS compatibility only.
|
||||
/// </summary>
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/debug/pe-format"/>
|
||||
public class Executable
|
||||
public sealed class Executable
|
||||
{
|
||||
/// <summary>
|
||||
/// MS-DOS executable stub
|
||||
|
||||
@@ -16,7 +16,7 @@ namespace BurnOutSharp.Models.PortableExecutable
|
||||
/// </summary>
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/debug/pe-format"/>
|
||||
[StructLayout(LayoutKind.Explicit)]
|
||||
public class ExportAddressTableEntry
|
||||
public sealed class ExportAddressTableEntry
|
||||
{
|
||||
/// <summary>
|
||||
/// The address of the exported symbol when loaded into memory, relative to
|
||||
|
||||
@@ -10,7 +10,7 @@ namespace BurnOutSharp.Models.PortableExecutable
|
||||
/// </summary>
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/debug/pe-format"/>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public class ExportDirectoryTable
|
||||
public sealed class ExportDirectoryTable
|
||||
{
|
||||
/// <summary>
|
||||
/// Reserved, must be 0.
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
/// An export name is defined only if the export name pointer table contains a pointer to it.
|
||||
/// </summary>
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/debug/pe-format"/>
|
||||
public class ExportNamePointerTable
|
||||
public sealed class ExportNamePointerTable
|
||||
{
|
||||
/// <summary>
|
||||
/// The pointers are 32 bits each and are relative to the image base.
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
/// of variable length.
|
||||
/// </summary>
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/debug/pe-format"/>
|
||||
public class ExportNameTable
|
||||
public sealed class ExportNameTable
|
||||
{
|
||||
/// <summary>
|
||||
/// A series of null-terminated ASCII strings of variable length.
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
/// name = ExportNameTable[i];
|
||||
/// </summary>
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/debug/pe-format"/>
|
||||
public class ExportOrdinalTable
|
||||
public sealed class ExportOrdinalTable
|
||||
{
|
||||
/// <summary>
|
||||
/// An array of 16-bit unbiased indexes into the export address table
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
/// exist to support use of export names.
|
||||
/// </summary>
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/debug/pe-format"/>
|
||||
public class ExportTable
|
||||
public sealed class ExportTable
|
||||
{
|
||||
/// <summary>
|
||||
/// A table with just one row (unlike the debug directory). This table indicates the
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace BurnOutSharp.Models.PortableExecutable
|
||||
/// </summary>
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/api/verrsrc/ns-verrsrc-vs_fixedfileinfo"/>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public class FixedFileInfo
|
||||
public sealed class FixedFileInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// Contains the value 0xFEEF04BD. This is used with the szKey member of the VS_VERSIONINFO
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
/// provided here is for explanation only; it is not present in any standard header file.
|
||||
/// </summary>
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/menurc/fontdirentry"/>
|
||||
public class FontDirEntry
|
||||
public sealed class FontDirEntry
|
||||
{
|
||||
/// <summary>
|
||||
/// A user-defined version number for the resource data that tools can use to read and write
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
/// definition provided here is for explanation only; it is not present in any standard header file.
|
||||
/// </summary>
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/menurc/fontgrouphdr"/>
|
||||
public class FontGroupHeader
|
||||
public sealed class FontGroupHeader
|
||||
{
|
||||
/// <summary>
|
||||
/// The number of individual fonts associated with this resource.
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
/// One hint/name table suffices for the entire import section.
|
||||
/// </summary>
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/debug/pe-format"/>
|
||||
public class HintNameTableEntry
|
||||
public sealed class HintNameTableEntry
|
||||
{
|
||||
/// <summary>
|
||||
/// An index into the export name pointer table. A match is attempted first
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
/// called "virtual addresses." The loader typically processes the binding.
|
||||
/// </summary>
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/debug/pe-format"/>
|
||||
public class ImportAddressTableEntry
|
||||
public sealed class ImportAddressTableEntry
|
||||
{
|
||||
/// <summary>
|
||||
/// If this bit is set, import by ordinal. Otherwise, import by name. Bit is
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace BurnOutSharp.Models.PortableExecutable
|
||||
/// </summary>
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/debug/pe-format"/>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public class ImportDirectoryTableEntry
|
||||
public sealed class ImportDirectoryTableEntry
|
||||
{
|
||||
/// <summary>
|
||||
/// The RVA of the import lookup table. This table contains a name or ordinal
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
/// (NULL) to indicate the end of the table.
|
||||
/// </summary>
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/debug/pe-format"/>
|
||||
public class ImportLookupTableEntry
|
||||
public sealed class ImportLookupTableEntry
|
||||
{
|
||||
/// <summary>
|
||||
/// If this bit is set, import by ordinal. Otherwise, import by name. Bit is
|
||||
|
||||
@@ -17,7 +17,7 @@ namespace BurnOutSharp.Models.PortableExecutable
|
||||
/// - Hint-Name Table
|
||||
/// </summary>
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/debug/pe-format"/>
|
||||
public class ImportTable
|
||||
public sealed class ImportTable
|
||||
{
|
||||
/// <summary>
|
||||
/// The import information begins with the import directory table, which describes the
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
/// of Windows, the size must be 64 for x86 images.
|
||||
/// </summary>
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/debug/pe-format"/>
|
||||
public class LoadConfigurationDirectory
|
||||
public sealed class LoadConfigurationDirectory
|
||||
{
|
||||
/// <summary>
|
||||
/// Flags that indicate attributes of the file, currently unused.
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace BurnOutSharp.Models.PortableExecutable
|
||||
/// </summary>
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/menurc/menuheader"/>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public class MenuHeader
|
||||
public sealed class MenuHeader
|
||||
{
|
||||
/// <summary>
|
||||
/// The version number of the menu template. This member must be equal to zero to indicate
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace BurnOutSharp.Models.PortableExecutable
|
||||
/// </summary>
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/menurc/menuex-template-header"/>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public class MenuHeaderExtended
|
||||
public sealed class MenuHeaderExtended
|
||||
{
|
||||
/// <summary>
|
||||
/// The template version number. This member must be 1 for extended menu templates.
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
/// </summary>
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/menurc/normalmenuitem"/>
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/menurc/popupmenuitem"/>
|
||||
public class MenuItem
|
||||
public sealed class MenuItem
|
||||
{
|
||||
#region NORMALMENUITEM
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
/// explanation only; it is not present in any standard header file.
|
||||
/// </summary>
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/menurc/menuex-template-item"/>
|
||||
public class MenuItemExtended
|
||||
public sealed class MenuItemExtended
|
||||
{
|
||||
/// <summary>
|
||||
/// Describes the menu item.
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
/// describe the format of extended menu resources.
|
||||
/// </summary>
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/menurc/resource-file-formats"/>
|
||||
public class MenuResource
|
||||
public sealed class MenuResource
|
||||
{
|
||||
#region Menu header
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
/// by the LowId and HighId members.
|
||||
/// </summary>
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/api/winnt/ns-winnt-message_resource_block"/>
|
||||
public class MessageResourceBlock
|
||||
public sealed class MessageResourceBlock
|
||||
{
|
||||
/// <summary>
|
||||
/// The lowest message identifier contained within this structure.
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace BurnOutSharp.Models.PortableExecutable
|
||||
/// box in a message table resource.
|
||||
/// </summary>
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/api/winnt/ns-winnt-message_resource_data"/>
|
||||
public class MessageResourceData
|
||||
public sealed class MessageResourceData
|
||||
{
|
||||
/// <summary>
|
||||
/// The number of MESSAGE_RESOURCE_BLOCK structures.
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
/// Contains the error message or message box display text for a message table resource.
|
||||
/// </summary>
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/api/winnt/ns-winnt-message_resource_entry"/>
|
||||
public class MessageResourceEntry
|
||||
public sealed class MessageResourceEntry
|
||||
{
|
||||
/// <summary>
|
||||
/// The length, in bytes, of the MESSAGE_RESOURCE_ENTRY structure.
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace BurnOutSharp.Models.PortableExecutable
|
||||
/// </summary>
|
||||
/// <see href="https://www.debuginfo.com/articles/debuginfomatch.html"/>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public class NB10ProgramDatabase
|
||||
public sealed class NB10ProgramDatabase
|
||||
{
|
||||
/// <summary>
|
||||
/// "CodeView signature, equal to “NB10”
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace BurnOutSharp.Models.PortableExecutable
|
||||
/// </summary>
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/menurc/newheader"/>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public class NewHeader
|
||||
public sealed class NewHeader
|
||||
{
|
||||
/// <summary>
|
||||
/// Reserved; must be zero.
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
/// PE32+ format.
|
||||
/// </summary>
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/debug/pe-format"/>
|
||||
public class OptionalHeader
|
||||
public sealed class OptionalHeader
|
||||
{
|
||||
#region Standard Fields (Image Only)
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace BurnOutSharp.Models.PortableExecutable
|
||||
/// </summary>
|
||||
/// <see href="http://www.godevtool.com/Other/pdb.htm"/>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public class RSDSProgramDatabase
|
||||
public sealed class RSDSProgramDatabase
|
||||
{
|
||||
/// <summary>
|
||||
/// "RSDS" signature
|
||||
|
||||
@@ -11,7 +11,7 @@ namespace BurnOutSharp.Models.PortableExecutable
|
||||
/// </summary>
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/debug/pe-format"/>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public class ResourceDataEntry
|
||||
public sealed class ResourceDataEntry
|
||||
{
|
||||
/// <summary>
|
||||
/// The address of a unit of resource data in the Resource Data area.
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
/// IMAGE_DIRECTORY_ENTRY_RESOURCE DataDirectory.
|
||||
/// </summary>
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/debug/pe-format"/>
|
||||
public class ResourceDirectoryEntry
|
||||
public sealed class ResourceDirectoryEntry
|
||||
{
|
||||
#region Offset 0x00
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
/// alignment of the fixed-size directory entries.
|
||||
/// </summary>
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/debug/pe-format"/>
|
||||
public class ResourceDirectoryString
|
||||
public sealed class ResourceDirectoryString
|
||||
{
|
||||
/// <summary>
|
||||
/// The size of the string, not including length field itself.
|
||||
|
||||
@@ -16,7 +16,7 @@ namespace BurnOutSharp.Models.PortableExecutable
|
||||
/// </summary>
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/debug/pe-format"/>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public class ResourceDirectoryTable
|
||||
public sealed class ResourceDirectoryTable
|
||||
{
|
||||
/// <summary>
|
||||
/// Resource flags. This field is reserved for future use. It is currently
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
/// explanation only; it is not present in any standard header file.
|
||||
/// </summary>
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/menurc/resourceheader"/>
|
||||
public class ResourceHeader
|
||||
public sealed class ResourceHeader
|
||||
{
|
||||
/// <summary>
|
||||
/// The size, in bytes, of the data that follows the resource header for this
|
||||
|
||||
@@ -21,7 +21,7 @@ namespace BurnOutSharp.Models.PortableExecutable
|
||||
/// </summary>
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/debug/pe-format"/>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public class SectionHeader
|
||||
public sealed class SectionHeader
|
||||
{
|
||||
/// <summary>
|
||||
/// An 8-byte, null-padded UTF-8 encoded string. If the string is exactly 8
|
||||
|
||||
@@ -11,7 +11,7 @@ namespace BurnOutSharp.Models.PortableExecutable
|
||||
/// is protected by SecuROM.
|
||||
/// </remarks>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public class SecuROMAddD
|
||||
public sealed class SecuROMAddD
|
||||
{
|
||||
/// <summary>
|
||||
/// "AddD", Identifier?
|
||||
|
||||
@@ -11,7 +11,7 @@ namespace BurnOutSharp.Models.PortableExecutable
|
||||
/// is protected by SecuROM.
|
||||
/// </remarks>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public class SecuROMAddDEntry
|
||||
public sealed class SecuROMAddDEntry
|
||||
{
|
||||
/// <summary>
|
||||
/// Physical offset of the embedded file
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
/// copyright notices, or its trademarks.
|
||||
/// </summary>
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/menurc/string-str"/>
|
||||
public class StringData
|
||||
public sealed class StringData
|
||||
{
|
||||
/// <summary>
|
||||
/// The length, in bytes, of this String structure.
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
/// information that can be displayed for a particular language and code page.
|
||||
/// </summary>
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/menurc/stringfileinfo"/>
|
||||
public class StringFileInfo
|
||||
public sealed class StringFileInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// The length, in bytes, of the entire StringFileInfo block, including all
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
/// A code page is an ordered character set.
|
||||
/// </summary>
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/menurc/stringtable"/>
|
||||
public class StringTable
|
||||
public sealed class StringTable
|
||||
{
|
||||
/// <summary>
|
||||
/// The length, in bytes, of this StringTable structure, including all structures
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
namespace BurnOutSharp.Models.PortableExecutable
|
||||
{
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/debug/pe-format"/>
|
||||
public class TLSDirectory
|
||||
public sealed class TLSDirectory
|
||||
{
|
||||
#region RawDataStartVA
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
/// DLL supports.
|
||||
/// </summary>
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/menurc/var-str"/>
|
||||
public class VarData
|
||||
public sealed class VarData
|
||||
{
|
||||
/// <summary>
|
||||
/// The length, in bytes, of the Var structure.
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
/// information not dependent on a particular language and code page combination.
|
||||
/// </summary>
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/menurc/varfileinfo"/>
|
||||
public class VarFileInfo
|
||||
public sealed class VarFileInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// The length, in bytes, of the entire VarFileInfo block, including all structures
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
/// structure that contains all other file-version information structures.
|
||||
/// </summary>
|
||||
/// <see href="https://learn.microsoft.com/en-us/windows/win32/menurc/vs-versioninfo"/>
|
||||
public class VersionInfo
|
||||
public sealed class VersionInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// The length, in bytes, of the VS_VERSIONINFO structure. This length does not
|
||||
|
||||
Reference in New Issue
Block a user