Lines Matching defs:g_hVBoxCAPI
70 void *g_hVBoxCAPI = NULL;
72 HMODULE g_hVBoxCAPI = NULL;
165 g_hVBoxCAPI = dlopen(szName, RTLD_NOW | RTLD_LOCAL);
167 g_hVBoxCAPI = LoadLibraryExA(szName, NULL /* hFile */, 0 /* dwFlags */);
169 if (g_hVBoxCAPI)
174 dlsym(g_hVBoxCAPI, VBOX_GET_CAPI_FUNCTIONS_SYMBOL_NAME);
178 dlsym(g_hVBoxCAPI, VBOX_GET_XPCOM_FUNCTIONS_SYMBOL_NAME);
182 GetProcAddress(g_hVBoxCAPI, VBOX_GET_CAPI_FUNCTIONS_SYMBOL_NAME);
220 dlclose(g_hVBoxCAPI);
222 FreeLibrary(g_hVBoxCAPI);
224 g_hVBoxCAPI = NULL;
323 if (g_hVBoxCAPI)
327 dlclose(g_hVBoxCAPI);
329 FreeLibrary(g_hVBoxCAPI);
332 g_hVBoxCAPI = NULL;