Enumerating Resources

In certain situations application developers may want to discover the resource contents of an unknown Portable Executable (PE) module. The Windows SDK provides resource enumeration functions that enable an application to obtain lists of resource types, names, and languages in a specified module. The EnumResourceTypes and EnumResourceTypesEx functions provide a list of resource types found in the module, the EnumResourceNames and EnumResourceNamesEx functions provide the name of each resource within a given type, and the EnumResourceLanguages and EnumResourceLanguagesEx functions provide the language of each resource of a given name and type. These functions and their associated callback functions enable applications to create a list of all resources in a module. This process is described in Creating a Resource List.