Changeset 66539 in vbox for trunk/src/VBox/Additions/WINNT/Graphics/Video/mp
- Timestamp:
- Apr 12, 2017 3:17:58 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPWddm.cpp
r66507 r66539 5006 5006 PVBOXDISPIFESCAPE_DBGPRINT pDbgPrint = (PVBOXDISPIFESCAPE_DBGPRINT)pEscapeHdr; 5007 5007 /* ensure the last char is \0*/ 5008 *((uint8_t*)pDbgPrint + pEscape->PrivateDriverDataSize - 1) = '\0'; 5009 if (g_VBoxLogUm & VBOXWDDM_CFG_LOG_UM_DBGPRINT) 5010 DbgPrint("%s\n", pDbgPrint->aStringBuf); 5011 if (g_VBoxLogUm & VBOXWDDM_CFG_LOG_UM_BACKDOOR) 5012 LOGREL_EXACT(("%s\n", pDbgPrint->aStringBuf)); 5008 if (*((uint8_t*)pDbgPrint + pEscape->PrivateDriverDataSize - 1) == '\0') 5009 { 5010 if (g_VBoxLogUm & VBOXWDDM_CFG_LOG_UM_DBGPRINT) 5011 DbgPrint("%s\n", pDbgPrint->aStringBuf); 5012 if (g_VBoxLogUm & VBOXWDDM_CFG_LOG_UM_BACKDOOR) 5013 LOGREL_EXACT(("%s\n", pDbgPrint->aStringBuf)); 5014 } 5013 5015 } 5014 5016 Status = STATUS_SUCCESS;
Note:
See TracChangeset
for help on using the changeset viewer.