Funktionreferenz


_WinAPI_EnumResourceTypes


Enumerates the resource types within a binary module

#include <WinAPIRes.au3>
_WinAPI_EnumResourceTypes ( $hModule )

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.

Rückgabewert

Success: The array of the types of the resources for the specified module.
Failure: Sets the @error flag to non-zero.

Bemerkungen

None.

Siehe auch

Suche nach EnumResourceTypes in der MSDN Bibliothek.

Beispiel

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

Local $aData = _WinAPI_EnumResourceTypes(@SystemDir & '\shell32.dll')

_ArrayDisplay($aData, '_WinAPI_EnumResourceTypes')