###User Defined Function###
_WinAPI_LoadLibraryEx

###Description###
Maps a specified executable module into the address space of the calling process

###Syntax###
#include <WinAPI.au3>
_WinAPI_LoadLibraryEx ( $sFileName [, $iFlags = 0] )


###Parameters###
@@ParamTable@@
$sFileName
	Names a Win32 executable module (either a .DLL or an .EXE file). The name specified is the
	filename of the executable module.
$iFlags
	[optional] Specifies the action to take when loading the module. This parameter can be one of the
	following values:
	$DONT_RESOLVE_DLL_REFERENCES - If this value is used and the executable module is a DLL the system does
	not call DllMain for process and thread initialization and termination. Also, the system does not load
	additional executable modules that are referenced by the specified module.
	$LOAD_LIBRARY_AS_DATAFILE - If this value is used, the system maps the file into the calling process's
	address space as if it were a data file. Nothing is done to execute or prepare to execute the mapped file.
	$LOAD_WITH_ALTERED_SEARCH_PATH - If this value is used, and $FileName specifies a path, the system uses the
	alternate file search strategy to find the associated executable modules that the specified module causes to
	be loaded.
@@End@@

###ReturnValue###
@@ReturnTable@@
Success:	A handle to the executable module
Failure:	0, call <a href="_WinAPI_GetLastError.htm">_WinAPI_GetLastError()</a> to get extended error information
@@End@@


###Remarks###
Above constants require #include <WinAPIConstants.au3>


###Related###
_WinAPI_LoadLibrary, _WinAPI_FreeLibrary, _WinAPI_LoadString


###See Also###
@@MsdnLink@@ LoadLibraryEx


###Example###
@@IncludeExample@@
