The GetProcAddr function returns the address of the specified exported MSL library function.
FARPROC GetProcAddr(
HMODULE hModule, // handle to MSL module
LPCSTR lpProcName // name of function
);
Parameters
- hModule
- Identifies the MSL module that contains the function. The LoadLib function returns this handle.
- lpProcName
- Points to a null-terminated string containing the function name, ordinal values are not supported at the moment.
Return Values
If the function succeeds, the return value is the address of the MSL's exported function.
If the function fails, the return value is NULL.