From d5c494a239ec4380dca7bbbbe68e0aa453c2a658 Mon Sep 17 00:00:00 2001 From: Matthew Hoops Date: Tue, 22 Feb 2011 02:02:00 -0500 Subject: COMMON: Add default Windows PE types --- common/pe_exe.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'common') diff --git a/common/pe_exe.h b/common/pe_exe.h index 473dd86103..ca33a2ca72 100644 --- a/common/pe_exe.h +++ b/common/pe_exe.h @@ -72,6 +72,29 @@ struct PEResourceID_EqualTo { bool operator()(const PEResourceID &id1, const PEResourceID &id2) const { return id1 == id2; } }; +/** The default Windows PE resources. */ +enum PEResourceType { + kPECursor = 0x01, + kPEBitmap = 0x02, + kPEIcon = 0x03, + kPEMenu = 0x04, + kPEDialog = 0x05, + kPEString = 0x06, + kPEFontDir = 0x07, + kPEFont = 0x08, + kPEAccelerator = 0x09, + kPERCData = 0x0A, + kPEMessageTable = 0x0B, + kPEGroupCursor = 0x0C, + kPEGroupIcon = 0x0E, + kPEVersion = 0x10, + kPEDlgInclude = 0x11, + kPEPlugPlay = 0x13, + kPEVXD = 0x14, + kPEAniCursor = 0x15, + kPEAniIcon = 0x16 +}; + /** * A class able to load resources from a Windows Portable Executable, such * as cursors, bitmaps, and sounds. -- cgit v1.2.3