libMSL 1.0


LoadLib

The LoadLib function maps the specified executable module into the address space of the calling process.

HINSTANCE LoadLib(
 LPCTSTR lpLibFileName	// address of filename of executable module
);

Parameters
lpLibFileName
Points to a null-terminated string that names the executable module. If the path is not specified, LoadLib tryes to load it from current path. If the file is not found or an other error occures, the return value is NULL.
Return Values
If the function succeeds, the return value is a handle to the module.
If the function fails, the return value is NULL.