Stores information about resources of a specified type within a binary module into an array.

AResourceNames(cArrayName, nModule, cnResourceType)

Parameters

cArrayName
On return the array contains the following information.
ColumnContentDatatype
1Resource name or ID.C or N
nModule

The handle to a module to be searched. Starting with Windows Vista, if this is a language-neutral Portable Executable (LN file), then appropriate .mui files (if any exist) are included in the search. If this is a specific .mui file, only that file is searched for resources.

If this parameter is 0, that is equivalent to passing in a handle to the module used to create the current process.

cnResourceType

The type of resource for which the language is being enumerated.
Alternately, rather than a string, this parameter can be an integer value representing a predefined resource type.

Return Value

The number of resource names.

See Also

Reference

AResourceLanguages
AResourceTypes

Used WinApi functions

EnumResourceNames