- Timestamp:
- Dec 15, 2010 12:19:37 PM (14 years ago)
- Location:
- trunk/src/VBox/Additions
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Display/wddm/VBoxCrHgsmi.cpp
r34981 r35127 48 48 if (!g_hVBoxCrHgsmiProvider) 49 49 { 50 /** @todo GetModuleHandleEx() only is available for WinXP and up ... */ 51 BOOL bRc = GetModuleHandleEx(0, L"VBoxDispD3D", &g_hVBoxCrHgsmiProvider); 52 // g_hVBoxCrHgsmiProvider = GetModuleHandle(L"VBoxDispD3D"); 53 if (bRc) 50 g_hVBoxCrHgsmiProvider = GetModuleHandle(L"VBoxDispD3D"); 51 if (g_hVBoxCrHgsmiProvider) 52 { 53 g_hVBoxCrHgsmiProvider = LoadLibrary(L"VBoxDispD3D"); 54 } 55 56 if (g_hVBoxCrHgsmiProvider) 54 57 { 55 58 g_pfnVBoxDispCrHgsmiInit = (PFNVBOXDISPCRHGSMI_INIT)GetProcAddress(g_hVBoxCrHgsmiProvider, "VBoxDispCrHgsmiInit"); -
trunk/src/VBox/Additions/common/crOpenGL/load.c
r34916 r35127 943 943 PeekMessage(&msg, NULL, WM_USER, WM_USER, PM_NOREMOVE); 944 944 # ifdef VBOX_WITH_WDDM 945 if (GetModuleHandleEx(0, "VBoxDispD3D", &hVBoxD3D)) 945 hVBoxD3D = GetModuleHandle("VBoxDispD3D"); 946 if (hVBoxD3D) 947 { 948 hVBoxD3D = LoadLibrary("VBoxDispD3D"); 949 } 950 951 if (hVBoxD3D) 946 952 { 947 953 PFNVBOXDISPMP_GETCALLBACKS pfnVBoxDispMpGetCallbacks;
Note:
See TracChangeset
for help on using the changeset viewer.