3. Resource Header Format
The general format of the entire file is simply a number of resource file entries concatenated together. Each resource contains the information about a single resource, such as a dialog or a string table.
Each entry consists of a resource header followed by the data for that resource. A resource header (which is DWORD-aligned) is composed of four elements: two DWORDs containing the size of the header and the size of the resource data, the resource type, the resource name, and additional resource information. The data for the resource follows the resource header and is specific to each particular type of resource.