Function Reference


_WinAPI_EnumResourceTypes

Enumerates the resource types within a binary module

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

Parameters

$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.

Return Value

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

See Also

Search EnumResourceTypes in MSDN Library.

Example

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

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

_ArrayDisplay($aData, '_WinAPI_EnumResourceTypes')