Funktionreferenz


_WinAPI_EnumResourceNames


Enumerates the resources of a specified type within a binary module

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

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 the resource for which the name is being enumerated.
It can be a string or an integer value representing a predefined resource type.

Rückgabewert

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

Bemerkungen

None.

Siehe auch

Suche nach EnumResourceNames in der MSDN Bibliothek.

Beispiel

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

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

_ArrayDisplay($aData, '_WinAPI_EnumResourceNames')