Changeset 41066 in vbox
- Timestamp:
- Apr 26, 2012 10:00:30 AM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 77634
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/MachineImpl.cpp
r41049 r41066 5840 5840 &u32OriginX, &u32OriginY, &u32Width, &u32Height, &u16Flags); 5841 5841 if (RT_FAILURE(vrc)) 5842 { 5843 #ifdef RT_OS_WINDOWS 5844 /* HACK: GUI sets *pfEnabled to 'true' and expects it to stay so if the API fails. 5845 * This works with XPCOM. But Windows COM sets all output parameters to zero. 5846 * So just assign fEnable to TRUE again. 5847 * The right fix would be to change GUI API wrappers to make sure that parameters 5848 * are changed only if API succeeds. 5849 */ 5850 *pfEnabled = TRUE; 5851 #endif 5842 5852 return setError(VBOX_E_IPRT_ERROR, 5843 5853 tr("Saved guest size is not available (%Rrc)"), 5844 5854 vrc); 5855 } 5845 5856 5846 5857 *puOriginX = u32OriginX;
Note:
See TracChangeset
for help on using the changeset viewer.