Changeset 33120 in vbox for trunk/src/VBox/Additions/WINNT/Graphics/Display
- Timestamp:
- Oct 13, 2010 10:01:43 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Display/wddm/VBoxCrHgsmi.cpp
r33117 r33120 6 6 static VBOXCRHGSMI_CALLBACKS g_VBoxCrHgsmiCallbacks; 7 7 static HMODULE g_hVBoxCrHgsmiProvider = NULL; 8 //static uint32_t g_cVBoxCrHgsmiProvider = 0;8 static uint32_t g_cVBoxCrHgsmiProvider = 0; 9 9 10 10 typedef VBOXWDDMDISP_DECL(int) FNVBOXDISPCRHGSMI_INIT(PVBOXCRHGSMI_CALLBACKS pCallbacks); … … 26 26 if (!g_hVBoxCrHgsmiProvider) 27 27 { 28 //BOOL bRc = GetModuleHandleEx(0, "VBoxDispD3D", &g_hVBoxCrHgsmiProvider);29 g_hVBoxCrHgsmiProvider = GetModuleHandle(L"VBoxDispD3D");30 if ( g_hVBoxCrHgsmiProvider)28 BOOL bRc = GetModuleHandleEx(0, "VBoxDispD3D", &g_hVBoxCrHgsmiProvider); 29 // g_hVBoxCrHgsmiProvider = GetModuleHandle(L"VBoxDispD3D"); 30 if (bRc) 31 31 { 32 32 g_pfnVBoxDispCrHgsmiInit = (PFNVBOXDISPCRHGSMI_INIT)GetProcAddress(g_hVBoxCrHgsmiProvider, "VBoxDispCrHgsmiInit"); … … 35 35 { 36 36 g_pfnVBoxDispCrHgsmiInit(pCallbacks); 37 // g_cVBoxCrHgsmiProvider = 1;38 37 } 39 38 … … 52 51 #endif 53 52 } 54 // else55 // {56 // ++g_cVBoxCrHgsmiProvider;57 // }58 53 59 54 if (g_hVBoxCrHgsmiProvider) 60 55 { 56 ++g_cVBoxCrHgsmiProvider; 61 57 return VINF_SUCCESS; 62 58 }
Note:
See TracChangeset
for help on using the changeset viewer.