summaryrefslogtreecommitdiffstats
path: root/common/os_calls.c
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2005-07-13 01:07:00 +0000
committerjsorg71 <jsorg71>2005-07-13 01:07:00 +0000
commit2f4ea160514b89afad5f688e5fe6c03296656648 (patch)
treeefdc2247c0d874451a49e27b18d0ab8913442f00 /common/os_calls.c
parent666b5dd175a1cc837d6ae45d7923679ddeeed241 (diff)
downloadxrdp-proprietary-2f4ea160514b89afad5f688e5fe6c03296656648.tar.gz
xrdp-proprietary-2f4ea160514b89afad5f688e5fe6c03296656648.zip
got vnc mod working in win32
Diffstat (limited to 'common/os_calls.c')
-rw-r--r--common/os_calls.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/os_calls.c b/common/os_calls.c
index 0a4efba3..838e60ec 100644
--- a/common/os_calls.c
+++ b/common/os_calls.c
@@ -678,7 +678,7 @@ long
g_load_library(char* in)
{
#if defined(_WIN32)
- return 0;
+ return (long)LoadLibrary(in);
#else
return (long)dlopen(in, RTLD_LOCAL | RTLD_LAZY);
#endif
@@ -693,7 +693,7 @@ g_free_library(long lib)
return 0;
}
#if defined(_WIN32)
- return 0;
+ return FreeLibrary((HMODULE)lib);
#else
return dlclose((void*)lib);
#endif
@@ -709,7 +709,7 @@ g_get_proc_address(long lib, char* name)
return 0;
}
#if defined(_WIN32)
- return 0;
+ return GetProcAddress((HMODULE)lib, name);
#else
return dlsym((void*)lib, name);
#endif