win32api.EnumResourceNames

[string, ...] = EnumResourceNames(hmodule, resType )

Enumerates all the resources of the specified type from the nominated file.

Parameters

hmodule : PyHANDLE

The handle to the module to enumerate.

resType : PyResourceId

The type of resource to enumerate. (win32con.RT_*). If passed as a string, form is '#' sign followed by decimal number. eg RT_ANICURSOR would be '#21'

Return Value

The result is a list of string or integers, one for each resource enumerated.