Changeset 62865 in vbox for trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxDisplay.cpp
- Timestamp:
- Aug 2, 2016 10:11:36 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxDisplay.cpp
r62522 r62865 1011 1011 else 1012 1012 { 1013 // Checking once a second whether or not WM_DISPLAYCHANGED happened. 1014 if (ASMAtomicXchgU32(&g_fGuestDisplaysChanged, 0)) 1015 { 1016 // XPDM driver has VBoxDispDrvNotify to receive such a notifications 1017 if (pCtx->pEnv->dispIf.enmMode >= VBOXDISPIF_MODE_WDDM) 1018 { 1019 VBOXDISPIFESCAPE EscapeHdr = { 0 }; 1020 EscapeHdr.escapeCode = VBOXESC_GUEST_DISPLAYCHANGED; 1021 1022 DWORD err = VBoxDispIfEscapeInOut(&pCtx->pEnv->dispIf, &EscapeHdr, 0); 1023 LogFlowFunc(("VBoxDispIfEscapeInOut returned %d\n", err)); 1024 } 1025 } 1013 1026 /* sleep a bit to not eat too much CPU in case the above call always fails */ 1014 1027 RTThreadSleep(10);
Note:
See TracChangeset
for help on using the changeset viewer.