38 if (ModuleHandle == NULL) {
39 DWORD Error = GetLastError();
43 fprintf(stderr,
"Error loading plugin '%s': %s (%u)\n", name, ErrorMessage, Error);
60 return GetProcAddress(handle, name);
void * SHARED_OBJECT_HANDLE
@@@
SHARED_OBJECT_HANDLE plugin_load(const char *name)
@@@
void plugin_unload(SHARED_OBJECT_HANDLE handle)
@@@
Shared library / DLL for accessing the driver Functions for obtaining the addresses of plugin functio...
void * plugin_get_address(SHARED_OBJECT_HANDLE handle, const char *name)
@@@
Some functions for string handling.