Enumerating resources
In certain situations, you might want to discover the resource contents of an unknown portable executable (PE) module. The Windows SDK provides resource enumeration functions that enable your application to obtain lists of resource types, names, and languages in a specified module.
- The EnumResourceTypeW and EnumResourceTypesExW functions provide a list of resource types found in the module.
- The EnumResourceNamesW and EnumResourceNamesExW functions provide the name of each resource within a given type.
- The EnumResourceLanguagesW and EnumResourceLanguagesExW functions provide the language of each resource of a given name and type.
These functions and their associated callback functions enable your application to create a list of all resources in a module. This process is described in Creating a resource list.