Lines Matching refs:Module
49 rtl_uString* Module = NULL; in osl_loadModule() local
59 nError = osl_getSystemPathFromFileURL(strModuleName, &Module); in osl_loadModule()
62 rtl_uString_assign(&Module, strModuleName); in osl_loadModule()
64 hInstance = LoadLibraryW(reinterpret_cast<LPCWSTR>(Module->buffer)); in osl_loadModule()
67 hInstance = LoadLibraryExW(reinterpret_cast<LPCWSTR>(Module->buffer), NULL, in osl_loadModule()
75 if (hInstance == NULL && Module->length > 260) in osl_loadModule()
77 std::vector<WCHAR> vec(Module->length + 1); in osl_loadModule()
78 DWORD len = GetShortPathNameW(reinterpret_cast<LPCWSTR>(Module->buffer), in osl_loadModule()
79 &vec[0], Module->length + 1); in osl_loadModule()
95 rtl_uString_release(Module); in osl_loadModule()
135 void SAL_CALL osl_unloadModule(oslModule Module) in osl_unloadModule() argument
137 FreeLibrary((HINSTANCE)Module); in osl_unloadModule()
143 void* SAL_CALL osl_getSymbol(oslModule Module, rtl_uString *strSymbolName) in osl_getSymbol() argument
153 return (void*)(osl_getFunctionSymbol(Module, strSymbolName)); in osl_getSymbol()
162 oslGenericFunction SAL_CALL osl_getFunctionSymbol( oslModule Module, rtl_uString *strSymbolName ) in osl_getFunctionSymbol() argument
167 OSL_ASSERT(Module); in osl_getFunctionSymbol()
178 address=osl_getAsciiFunctionSymbol(Module, rtl_string_getStr(symbolName)); in osl_getFunctionSymbol()
188 osl_getAsciiFunctionSymbol( oslModule Module, const sal_Char *pSymbol ) in osl_getAsciiFunctionSymbol() argument
193 fncAddr=(oslGenericFunction)GetProcAddress((HINSTANCE) Module, pSymbol); in osl_getAsciiFunctionSymbol()