---
name: "PE_LoadModule"
section: "3w"
platform: "linux"
package: "wine-doc"
version: "0.0.980315-1"
release: "Debian 2.0 (Hamm)"
platforms: ["linux"]
url: "https://new.carta.tech/PE_LoadModule"
---

# PE\_LoadModule(3w)

Load the PE main .EXE.

## NAME

PE\_LoadModule - Load the PE main .EXE.

## SYNOPSIS

**HINSTANCE16 PE\_LoadModule**\
 **(**\
\
 	**HFILE32 hFile,**\
\
 	**OFSTRUCT \*ofs,**\
\
 	**LOADPARAMS \*params**\
 **);**

## DESCRIPTION

 All other loading is done by PE\_LoadLibraryEx32A FIXME: this function should use PE\_LoadLibraryEx32A, but currently can't due to the TASK\_CreateTask stuff.

## SEE ALSO

[dump\_exports(3w)](/dump_exports/3w.md), [PE\_FindExportedFunction(3w)](/PE_FindExportedFunction/3w.md), [PE\_LoadLibraryEx32A(3w)](/PE_LoadLibraryEx32A/3w.md), [PE\_InitializeDLLs(3w)](/PE_InitializeDLLs/3w.md), [DisableThreadLibraryCalls(3w)](/DisableThreadLibraryCalls/3w.md)
