Changeset 51269 in vbox for trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPWddm.cpp
- Timestamp:
- May 15, 2014 7:22:39 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPWddm.cpp
r51266 r51269 5053 5053 NTSTATUS Status = STATUS_SUCCESS; 5054 5054 5055 PVBOXMP_DEVEXT p Context = (PVBOXMP_DEVEXT)hAdapter;5055 PVBOXMP_DEVEXT pDevExt = (PVBOXMP_DEVEXT)hAdapter; 5056 5056 const DXGK_VIDPN_INTERFACE* pVidPnInterface = NULL; 5057 Status = p Context->u.primary.DxgkInterface.DxgkCbQueryVidPnInterface(pIsSupportedVidPnArg->hDesiredVidPn, DXGK_VIDPN_INTERFACE_VERSION_V1, &pVidPnInterface);5057 Status = pDevExt->u.primary.DxgkInterface.DxgkCbQueryVidPnInterface(pIsSupportedVidPnArg->hDesiredVidPn, DXGK_VIDPN_INTERFACE_VERSION_V1, &pVidPnInterface); 5058 5058 if (!NT_SUCCESS(Status)) 5059 5059 { … … 5063 5063 5064 5064 #ifdef VBOXWDDM_DEBUG_VIDPN 5065 vboxVidPnDumpVidPn("\n>>>>IS SUPPORTED VidPN : >>>>", p Context, pIsSupportedVidPnArg->hDesiredVidPn, pVidPnInterface, "<<<<<<<<<<<<<<<<<<<<");5065 vboxVidPnDumpVidPn("\n>>>>IS SUPPORTED VidPN : >>>>", pDevExt, pIsSupportedVidPnArg->hDesiredVidPn, pVidPnInterface, "<<<<<<<<<<<<<<<<<<<<"); 5066 5066 #endif 5067 5067 … … 5076 5076 5077 5077 BOOLEAN fSupported = FALSE; 5078 Status = vboxVidPnCheckTopology(hVidPnTopology, pVidPnTopologyInterface, &fSupported);5078 Status = VBoxVidPnCheckTopology(pDevExt, hVidPnTopology, pVidPnTopologyInterface, &fSupported); 5079 5079 if (!NT_SUCCESS(Status)) 5080 5080 { 5081 WARN((" vboxVidPnCheckTopology failed Status()0x%x\n", Status));5081 WARN(("VBoxVidPnCheckTopology failed Status()0x%x\n", Status)); 5082 5082 return Status; 5083 5083 } … … 5265 5265 5266 5266 #ifdef DEBUG_misha 5267 BOOLEAN fSupported = FALSE; 5268 Status = vboxVidPnCheckTopology(hVidPnTopology, pVidPnTopologyInterface, &fSupported); 5269 if (!NT_SUCCESS(Status)) 5270 { 5271 WARN(("vboxVidPnCheckTopology failed Status()0x%x\n", Status)); 5272 return Status; 5273 } 5274 5275 Assert(fSupported); 5267 { 5268 BOOLEAN fSupported = FALSE; 5269 Status = VBoxVidPnCheckTopology(pDevExt, hVidPnTopology, pVidPnTopologyInterface, &fSupported); 5270 if (!NT_SUCCESS(Status)) 5271 WARN(("VBoxVidPnCheckTopology failed Status()0x%x\n", Status)); 5272 5273 Assert(fSupported); 5274 } 5276 5275 #endif 5277 5276 VBOXVIDPNCOFUNCMODALITY CbContext = {0};
Note:
See TracChangeset
for help on using the changeset viewer.