Changeset 27318 in vbox for trunk/src/VBox/Additions/common/VBoxGuestLib
- Timestamp:
- Mar 12, 2010 10:27:04 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuestLib/VBoxGuestR3LibSeamless.cpp
r27309 r27318 58 58 * Wait for a seamless mode change event. 59 59 * 60 * @returns IPRT status value 61 * @ retval pMode on success, the seamless mode to switch into (i.e. disabled, visible region62 * or host window)60 * @returns IPRT status value. 61 * @param[out] pMode On success, the seamless mode to switch into (i.e. 62 * disabled, visible region or host window). 63 63 */ 64 64 VBGLR3DECL(int) VbglR3SeamlessWaitEvent(VMMDevSeamlessMode *pMode) … … 84 84 /* get the seamless change request */ 85 85 vmmdevInitRequest(&seamlessChangeRequest.header, VMMDevReq_GetSeamlessChangeRequest); 86 seamlessChangeRequest.mode = (VMMDevSeamlessMode)-1; 86 87 seamlessChangeRequest.eventAck = VMMDEV_EVENT_SEAMLESS_MODE_CHANGE_REQUEST; 87 88 rc = vbglR3GRPerform(&seamlessChangeRequest.header); … … 101 102 * Request the last seamless mode switch from the host again. 102 103 * 103 * @returns IPRT status value 104 * @ retval pMode on success, the seamless mode that was switched into (i.e.105 * disabled, visible region or host window)104 * @returns IPRT status value. 105 * @param[out] pMode On success, the seamless mode that was switched 106 * into (i.e. disabled, visible region or host window). 106 107 */ 107 108 VBGLR3DECL(int) VbglR3SeamlessGetLastEvent(VMMDevSeamlessMode *pMode) 108 109 { 110 VMMDevSeamlessChangeRequest seamlessChangeRequest; 109 111 int rc; 110 112 … … 112 114 AssertPtrReturn(pMode, VERR_INVALID_PARAMETER); 113 115 #endif 114 VMMDevSeamlessChangeRequest seamlessChangeRequest;115 116 116 117 /* get the seamless change request */ 117 118 vmmdevInitRequest(&seamlessChangeRequest.header, VMMDevReq_GetSeamlessChangeRequest); 119 seamlessChangeRequest.mode = (VMMDevSeamlessMode)-1; 118 120 seamlessChangeRequest.eventAck = VMMDEV_EVENT_SEAMLESS_MODE_CHANGE_REQUEST; 119 121 rc = vbglR3GRPerform(&seamlessChangeRequest.header);
Note:
See TracChangeset
for help on using the changeset viewer.