Function CallLibraryFunction

Top 

Declaration:

unsigned long CallLibraryFunction(unsigned long inst, char func_name[], ... );

Description

Calls the func_name function from DLL and its HINSTANCE is transferred to inst. Otherwise, this function is similar to the function API call.

Example

unsigned long instance = LoadLibrary("EXTEND.DLL");

long result = CallLibraryFunction(instance, "Initialize", 0, 1L);