libMSL 1.0


LoadMappedMsl

The LoadMappedMsl function maps the specified memory-mapped executable module into the address space of the calling process.

HINSTANCE LoadMappedMsl(
 LPVOID lpMslOffset,	// pointer to a memory-mapped MSL file
);

Parameters
lpMslOffset
Points to the first byte of a loaded MSL file. MSL file can be for example loaded using MapViewOfFile.
Return Values
If the function succeeds, the return value is a handle to the module.
If the function fails, the return value is NULL.