string = LoadResource(handle, type , name , language )

Finds and loads a resource from a PE file.


handle : PyHANDLE

The handle of the module containing the resource. Use None for currrent process executable.

type : PyResourceId

The type of resource to load.

name : PyResourceId

The name or Id of the resource to load.

language=NEUTRAL : int

Language to use, defaults to LANG_NEUTRAL.