X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=sys_win.c;h=e5655b653768b125371f396bd8e60ec9b8c82fb5;hp=acd3c16125cfbf9f1e634980151a666234c2e88a;hb=9ee2ac5e28d3f9dbfa67df6bf3e46354bad72995;hpb=66a136af999cd76551bd56e3c3096fff0d42f613 diff --git a/sys_win.c b/sys_win.c index acd3c161..e5655b65 100644 --- a/sys_win.c +++ b/sys_win.c @@ -45,6 +45,31 @@ static HANDLE hFile; static HANDLE heventParent; static HANDLE heventChild; + +/* +=============================================================================== + +DLL MANAGEMENT + +=============================================================================== +*/ + +dllhandle_t Sys_LoadLibrary (const char* name) +{ + return LoadLibrary (name); +} + +void Sys_UnloadLibrary (dllhandle_t handle) +{ + FreeLibrary (handle); +} + +void* Sys_GetProcAddress (dllhandle_t handle, const char* name) +{ + return (void *)GetProcAddress (handle, name); +} + + /* ===============================================================================