[This is preliminary documentation and subject to change.]
The Resource table contains resource data to be written into executables or DLLs.
The Resource table has the following columns.
Column | Type | Key | Nullable |
---|---|---|---|
File_ | Identifier | Y | N |
ResType | Integer | Y | N |
ResId | Integer | Y | N |
Data | Formatted | N |
External key to column one of the File table.
Non-negative numbers only. Can be a user-defined resource type or one of the following predefined resource types.
Value | Resource Type | Meaning |
---|---|---|
9 | RT_ACCELERATOR | Accelerator table |
21 | RT_ANICURSOR | Animated cursor |
22 | RT_ANIICON | Animated icon |
2 | RT_BITMAP | Bitmap resource |
1 | RT_CURSOR | Hardware-dependent cursor resource |
5 | RT_DIALOG | Dialog box |
8 | RT_FONT | Font resource |
7 | RT_FONTDIR | Font directory resource |
12 | RT_GROUP_CURSOR | Hardware-independent cursor resource |
14 | RT_GROUP_ICON | Hardware-independent icon resource |
3 | RT_ICON | Hardware-dependent icon resource |
4 | RT_MENU | Menu resource |
11 | RT_MESSAGETABLE | Message-table entry |
10 | RT_RCDATA | Application-defined resource (raw data) |
6 | RT_STRING | String-table entry |
16 | RT_VERSION | Version resource |
Non-negative numbers only.
If the text string contains property parameters (a property name within square brackets), the current values for those properties are substituted into the string. If the resultant string begins with #x, the string is treated as a hexadecimal value, and the resource is updated with the binary value.
This table is referred to when the UpdateResources action is executed.