Contents
|
Python for Win32 Extensions Help
>
Win32 API
>
Modules
>
win32api
>
LoadResource
win32api
.LoadResource
string =
LoadResource(
handle
, type
, name
, language
)
Finds and loads a resource from a PE file.
Parameters
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.