Changeset 27339 in vbox for trunk/src/VBox/Devices/Graphics/HGSMI/SHGSMIHost.cpp
- Timestamp:
- Mar 12, 2010 5:44:11 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/HGSMI/SHGSMIHost.cpp
r26969 r27339 40 40 } 41 41 42 int VBoxSHGSMICommandComplete Asynch(PHGSMIINSTANCE pIns, void *pvData)42 int VBoxSHGSMICommandComplete (PHGSMIINSTANCE pIns, void *pvData) 43 43 { 44 44 PVBOXSHGSMIHEADER pHdr = VBoxSHGSMIBufferHeader (pvData); 45 Assert(!!(pHdr->fFlags & VBOXSHGSMI_FLAG_HG_ASYNCH)); 46 return vboxSHGSMICommandCompleteAsynch (pIns, pHdr); 47 } 48 49 int VBoxSHGSMICommandCompleteSynch (PHGSMIINSTANCE pIns, void *pvData) 50 { 51 PVBOXSHGSMIHEADER pHdr = VBoxSHGSMIBufferHeader (pvData); 52 Assert(!(pHdr->fFlags & VBOXSHGSMI_FLAG_HG_ASYNCH)); 53 if (vboxSHGSMICommandCanCompleteSynch(pHdr)) 45 if (!(pHdr->fFlags & VBOXSHGSMI_FLAG_HG_ASYNCH) /* <- check if synchronous completion */ 46 && vboxSHGSMICommandCanCompleteSynch(pHdr)) /* <- check if can complete synchronously */ 54 47 return VINF_SUCCESS; 55 48 pHdr->fFlags |= VBOXSHGSMI_FLAG_HG_ASYNCH;
Note:
See TracChangeset
for help on using the changeset viewer.