RetroLinker
Linker for several 8-bit, 16-bit and 32-bit formats
Loading...
Searching...
No Matches
Classes | Public Member Functions | Public Attributes | List of all members
Microsoft::PEFormat::ResourceDirectory Class Reference
Inheritance diagram for Microsoft::PEFormat::ResourceDirectory:
Microsoft::PEFormat::ResourcesSection

Classes

class  Entry
 Represents a single entry in the resource directory. More...
 

Public Member Functions

void AddResource (std::shared_ptr< Resource > &resource, size_t level=0)
 Inserts a resource into the directory.
 

Public Attributes

uint32_t flags = 0
 Resource directory characteristics.
 
uint32_t timestamp = 0
 
version_type version = { }
 
std::vector< Entry< std::string > > name_entries
 Entries that are identified via a string.
 
std::vector< Entry< uint32_t > > id_entries
 Entries that are identified via a number.
 

Member Function Documentation

◆ AddResource()

void PEFormat::ResourceDirectory::AddResource ( std::shared_ptr< Resource > & resource,
size_t level = 0 )

Inserts a resource into the directory.

Parameters
resourceThe resource to add, it contains the full identification required to select the write directory entry
levelThe level at which this directory resides, required to determine the identifier component

The documentation for this class was generated from the following files: