Changeset 106452 in vbox for trunk/src/VBox/Additions/WINNT/Graphics/Video
- Timestamp:
- Oct 17, 2024 1:45:57 PM (3 months ago)
- Location:
- trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/shared
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/shared/VBoxDispKmt.cpp
r106061 r106452 306 306 } 307 307 308 HRESULT vboxDispKmtOpenAdapter(const VBOXDISPKMT_CALLBACKS *pCallbacks, PVBOXDISPKMT_ADAPTER pAdapter)308 HRESULT VBoxWddmKmtOpenAdapter(const VBOXDISPKMT_CALLBACKS *pCallbacks, PVBOXDISPKMT_ADAPTER pAdapter) 309 309 { 310 310 HRESULT hr = vboxDispKmtOpenAdapterViaHdc(pCallbacks, pAdapter); … … 319 319 } 320 320 321 HRESULT vboxDispKmtCloseAdapter(PVBOXDISPKMT_ADAPTER pAdapter)321 HRESULT VBoxWddmKmtCloseAdapter(PVBOXDISPKMT_ADAPTER pAdapter) 322 322 { 323 323 D3DKMT_CLOSEADAPTER ClosaAdapterData = {0}; -
trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/shared/VBoxDispKmt.h
r106061 r106452 148 148 HRESULT vboxDispKmtCallbacksTerm(PVBOXDISPKMT_CALLBACKS pCallbacks); 149 149 150 HRESULT vboxDispKmtOpenAdapter(const VBOXDISPKMT_CALLBACKS *pCallbacks, PVBOXDISPKMT_ADAPTER pAdapter);151 HRESULT vboxDispKmtCloseAdapter(PVBOXDISPKMT_ADAPTER pAdapter);150 HRESULT VBoxWddmKmtOpenAdapter(const VBOXDISPKMT_CALLBACKS *pCallbacks, PVBOXDISPKMT_ADAPTER pAdapter); 151 HRESULT VBoxWddmKmtCloseAdapter(PVBOXDISPKMT_ADAPTER pAdapter); 152 152 HRESULT vboxDispKmtCreateDevice(PVBOXDISPKMT_ADAPTER pAdapter, PVBOXDISPKMT_DEVICE pDevice); 153 153 HRESULT vboxDispKmtDestroyDevice(PVBOXDISPKMT_DEVICE pDevice); -
trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/shared/VBoxDispMpLogger.cpp
r106061 r106452 78 78 * check if we can Open Adapter, i.e. WDDM driver is installed */ 79 79 VBOXDISPKMT_ADAPTER Adapter; 80 hr = vboxDispKmtOpenAdapter(&g_VBoxDispMpLogger.KmtCallbacks, &Adapter);80 hr = VBoxWddmKmtOpenAdapter(&g_VBoxDispMpLogger.KmtCallbacks, &Adapter); 81 81 if (hr == S_OK) 82 82 { 83 83 ASMAtomicWriteU32((volatile uint32_t *)&g_VBoxDispMpLogger.enmState, VBOXDISPMPLOGGER_STATE_INITIALIZED); 84 vboxDispKmtCloseAdapter(&Adapter);84 VBoxWddmKmtCloseAdapter(&Adapter); 85 85 return &g_VBoxDispMpLogger; 86 86 } … … 125 125 126 126 VBOXDISPKMT_ADAPTER Adapter; 127 HRESULT hr = vboxDispKmtOpenAdapter(&pLogger->KmtCallbacks, &Adapter);127 HRESULT hr = VBoxWddmKmtOpenAdapter(&pLogger->KmtCallbacks, &Adapter); 128 128 if (hr == S_OK) 129 129 { … … 157 157 BP_WARN(); 158 158 } 159 hr = vboxDispKmtCloseAdapter(&Adapter);159 hr = VBoxWddmKmtCloseAdapter(&Adapter); 160 160 if(hr != S_OK) 161 161 { … … 193 193 194 194 VBOXDISPKMT_ADAPTER Adapter; 195 HRESULT hr = vboxDispKmtOpenAdapter(&pLogger->KmtCallbacks, &Adapter);195 HRESULT hr = VBoxWddmKmtOpenAdapter(&pLogger->KmtCallbacks, &Adapter); 196 196 if (hr == S_OK) 197 197 { … … 228 228 BP_WARN(); 229 229 } 230 hr = vboxDispKmtCloseAdapter(&Adapter);230 hr = VBoxWddmKmtCloseAdapter(&Adapter); 231 231 if(hr != S_OK) 232 232 {
Note:
See TracChangeset
for help on using the changeset viewer.