From f7343ea3053d05780ec1d0556b5d5401730a5696 Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Wed, 9 Nov 2022 11:35:31 -0800 Subject: [PATCH] Update PE resource type enum --- .../PortableExecutable/Enums.cs | 100 +++++++++++++++++- 1 file changed, 97 insertions(+), 3 deletions(-) diff --git a/BurnOutSharp.Models/PortableExecutable/Enums.cs b/BurnOutSharp.Models/PortableExecutable/Enums.cs index 92646a5a..814d5bac 100644 --- a/BurnOutSharp.Models/PortableExecutable/Enums.cs +++ b/BurnOutSharp.Models/PortableExecutable/Enums.cs @@ -1738,20 +1738,114 @@ namespace BurnOutSharp.Models.PortableExecutable RT_NEWRESOURCE = 0x2000, RT_ERROR = 0x7FFF, + /// + /// Hardware-dependent cursor resource. + /// RT_CURSOR = 1, + + /// + /// Bitmap resource. + /// RT_BITMAP = 2, + + /// + /// Hardware-dependent icon resource. + /// RT_ICON = 3, + + /// + /// Menu resource. + /// RT_MENU = 4, + + /// + /// Dialog box. + /// RT_DIALOG = 5, + + /// + /// String-table entry. + /// RT_STRING = 6, + + /// + /// Font directory resource. + /// RT_FONTDIR = 7, + + /// + /// Font resource. + /// RT_FONT = 8, - RT_ACCELERATORS = 9, + + /// + /// Accelerator table. + /// + RT_ACCELERATOR = 9, + + /// + /// Application-defined resource (raw data). + /// RT_RCDATA = 10, + + /// + /// Message-table entry. + /// RT_MESSAGETABLE = 11, - RT_GROUP_CURSOR = 12, - RT_GROUP_ICON = 14, + + /// + /// Hardware-independent cursor resource. + /// + RT_GROUP_CURSOR = RT_CURSOR + 11, + + /// + /// Hardware-independent icon resource. + /// + RT_GROUP_ICON = RT_ICON + 11, + + /// + /// Version resource. + /// RT_VERSION = 16, + + /// + /// Allows a resource editing tool to associate a string with an .rc file. + /// Typically, the string is the name of the header file that provides symbolic + /// names. The resource compiler parses the string but otherwise ignores the + /// value. For example, `1 DLGINCLUDE "MyFile.h"` + /// + RT_DLGINCLUDE = 17, + + /// + /// Plug and Play resource. + /// + RT_PLUGPLAY = 19, + + /// + /// VXD. + /// + RT_VXD = 20, + + /// + /// Animated cursor. + /// + RT_ANICURSOR = 21, + + /// + /// Animated icon. + /// + RT_ANIICON = 22, + + /// + /// HTML resource. + /// + RT_HTML = 23, + + /// + /// Side-by-Side Assembly Manifest. + /// + RT_MANIFEST = 24, + RT_NEWBITMAP = (RT_BITMAP | RT_NEWRESOURCE), RT_NEWMENU = (RT_MENU | RT_NEWRESOURCE), RT_NEWDIALOG = (RT_DIALOG | RT_NEWRESOURCE),