Lines Matching refs:hInstance
47 HINSTANCE hInstance; in osl_loadModule() local
64 hInstance = LoadLibraryW(reinterpret_cast<LPCWSTR>(Module->buffer)); in osl_loadModule()
66 if (hInstance == NULL) 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()
82 hInstance = LoadLibraryW(&vec[0]); in osl_loadModule()
84 if (hInstance == NULL) in osl_loadModule()
85 hInstance = LoadLibraryExW(&vec[0], NULL, in osl_loadModule()
91 if (hInstance <= (HINSTANCE)HINSTANCE_ERROR) in osl_loadModule()
92 hInstance = 0; in osl_loadModule()
94 ret = (oslModule) hInstance; in osl_loadModule()
122 HINSTANCE hInstance = GetModuleHandleW(reinterpret_cast<LPCWSTR>(pModuleName->buffer)); in osl_getModuleHandle() local
123 if( hInstance ) in osl_getModuleHandle()
125 *pResult = (oslModule) hInstance; in osl_getModuleHandle()