PE_loadLibraryMGL

Loads a Portable Binary DLL into memory

Declaration

PE_MODULE * PEAPI PE_loadLibraryMGL(
const char *szDLLName,
ibool shared)

Prototype In

drvlib/peloader.h

Parameters

szDLLName | Name of the PE DLL library to load
shared | True to load module into shared memory

Return Value

Handle to loaded PE DLL, or NULL on failure.

Description

This function is the same as the regular PE_loadLibrary function, except that it looks for the drivers in the MGL_ROOT/drivers directory or a /drivers directory relative to the current directory.

See Also

PE_loadLibraryMGL, PE_getProcAddress, PE_freeLibrary

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com