Changeset 56264 in vbox
- Timestamp:
- Jun 5, 2015 4:08:22 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/VBoxDispD3D.cpp
r56204 r56264 6256 6256 if (SUCCEEDED(hr)) 6257 6257 { 6258 if (GetModuleHandleEx(GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS, 6258 /* Get system D3D DLL handle and prevent its unloading until entire process termination (GET_MODULE_HANDLE_EX_FLAG_PIN). 6259 * This is important because even after guest App issued CloseAdatper() call, we still use pointers provided by DLL. */ 6260 if (GetModuleHandleEx(GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS | GET_MODULE_HANDLE_EX_FLAG_PIN, 6259 6261 (LPCWSTR)pDevice->RtCallbacks.pfnAllocateCb, 6260 6262 &pDevice->hHgsmiTransportModule)) 6261 6263 { 6262 6264 Assert(pDevice->hHgsmiTransportModule); 6265 vboxVDbgPrintR((__FUNCTION__": system D3D DLL referenced with GET_MODULE_HANDLE_EX_FLAG_PIN flag\n")); 6263 6266 } 6264 6267 else
Note:
See TracChangeset
for help on using the changeset viewer.