Changeset 43723 in vbox for trunk/src/VBox/Additions/WINNT/Graphics/Video/mp
- Timestamp:
- Oct 24, 2012 10:56:20 AM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 81607
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPWddm.cpp
r43489 r43723 4015 4015 Assert(pEscape->PrivateDriverDataSize > RT_OFFSETOF(VBOXDISPIFESCAPE_CRHGSMICTLCON_CALL, CallInfo)); 4016 4016 int rc = VBoxMpCrCtlConCallUserData(&pDevExt->CrCtlCon, &pCall->CallInfo, pEscape->PrivateDriverDataSize - RT_OFFSETOF(VBOXDISPIFESCAPE_CRHGSMICTLCON_CALL, CallInfo)); 4017 if (RT_SUCCESS(rc))4018 Status = STATUS_SUCCESS;4019 else4020 {4017 pEscapeHdr->u32CmdSpecific = (uint32_t)rc; 4018 Status = STATUS_SUCCESS; /* <- always return success here, otherwise the private data buffer modifications 4019 * i.e. rc status stored in u32CmdSpecific will not be copied to user mode */ 4020 if (!RT_SUCCESS(rc)) 4021 4021 WARN(("VBoxMpCrUmCtlConCall failed, rc(%d)", rc)); 4022 Status = STATUS_UNSUCCESSFUL;4023 }4024 4022 } 4025 4023 else
Note:
See TracChangeset
for help on using the changeset viewer.