Funktionreferenz


_WinAPI_EnumResourceLanguages


Enumerates a language-specific resources, of the specified type and name, associated with a binary module

#include <WinAPIRes.au3>
_WinAPI_EnumResourceLanguages ( $hModule, $sType, $sName )

Parameter

$hModule The handle to a module to be searched.
Also, this parameter can specify the name of the module to load, it must be a full or relative path.
If this parameter is 0 or an empty string, that is equivalent to passing in a handle to the module used to create the current process.
$sType The type of resource for which the language is being enumerated.
It can be a string or an integer value representing a predefined resource type.
$sName The name of the resource for which the language is being enumerated.
It can be a string or an integer value representing a predefined resource type.

Rückgabewert

Success: The array of the language identifiers for the specified resource type and name.
Failure: Sets the @error flag to non-zero.

Bemerkungen

None.

Siehe auch

Suche nach EnumResourceLanguages in der MSDN Bibliothek.

Beispiel

#include <APIResConstants.au3>
#include <Array.au3>
#include <WinAPIRes.au3>

Local $aData = _WinAPI_EnumResourceLanguages(@SystemDir & '\shell32.dll', $RT_DIALOG, 1003)

_ArrayDisplay($aData, '_WinAPI_EnumResourceLanguages')