Stores information about language-specific resources, of the specified type and name, associated with a binary module into an array.

AResourceLanguages(cArrayName, nModule, cnResourceType, cnResourceName)

Parameters

cArrayName
On return the array contains the following information.
ColumnContentDatatype
1Resource language ID.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.

cnResourceName

The name of the resource for which the language is being enumerated.
Alternately, rather than a string, this parameter can be the integer identifier of the resource.

Return Value

The number of resource languages.

See Also

Reference

AResourceNames
AResourceTypes

Used WinApi functions

EnumResourceLanguages