Changeset 30483 in vbox for trunk/src/VBox/Additions/WINNT/Graphics/Display/wddm/VBoxDispD3D.cpp
- Timestamp:
- Jun 28, 2010 7:00:55 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Display/wddm/VBoxDispD3D.cpp
r30462 r30483 23 23 #include "VBoxDispD3DCmn.h" 24 24 #include "VBoxDispD3D.h" 25 26 #ifdef VBOXDISPMP_TEST 27 HRESULT vboxDispMpTstStart(); 28 HRESULT vboxDispMpTstStop(); 29 #endif 25 30 26 31 #ifdef VBOXWDDMDISP_DEBUG … … 1095 1100 HRESULT hr = vboxDispCmInit(); 1096 1101 Assert(hr == S_OK); 1102 #ifdef VBOXDISPMP_TEST 1103 if (hr == S_OK) 1104 { 1105 hr = vboxDispMpTstStart(); 1106 Assert(hr == S_OK); 1107 } 1108 #endif 1097 1109 if (hr == S_OK) 1098 1110 vboxVDbgPrint(("VBoxDispD3D: DLL loaded.\n")); … … 1106 1118 case DLL_PROCESS_DETACH: 1107 1119 { 1108 HRESULT hr = vboxDispCmTerm(); 1120 HRESULT hr; 1121 #ifdef VBOXDISPMP_TEST 1122 hr = vboxDispMpTstStop(); 1109 1123 Assert(hr == S_OK); 1110 1124 if (hr == S_OK) 1111 vboxVDbgPrint(("VBoxDispD3D: DLL unloaded.\n")); 1112 else 1113 bOk = FALSE; 1125 #endif 1126 { 1127 hr = vboxDispCmTerm(); 1128 Assert(hr == S_OK); 1129 if (hr == S_OK) 1130 vboxVDbgPrint(("VBoxDispD3D: DLL unloaded.\n")); 1131 else 1132 bOk = FALSE; 1133 } 1114 1134 // VbglR3Term(); 1115 1135 /// @todo RTR3Term();
Note:
See TracChangeset
for help on using the changeset viewer.