Changeset 26054 in vbox for trunk/src/VBox/Additions/common/VBoxGuestLib
- Timestamp:
- Jan 26, 2010 8:46:38 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 56971
- Location:
- trunk/src/VBox/Additions/common/VBoxGuestLib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuestLib/VBoxGuestR3Lib.cpp
r22575 r26054 204 204 #endif 205 205 206 #ifndef VBOX_VBGLR3_XFREE86 206 207 /* 207 208 * Create release logger … … 215 216 if (RT_SUCCESS(rc2)) 216 217 RTLogRelSetDefaultInstance(pReleaseLogger); 218 #endif 217 219 218 220 return VINF_SUCCESS; -
trunk/src/VBox/Additions/common/VBoxGuestLib/VBoxGuestR3LibMisc.cpp
r25962 r26054 49 49 VBGLR3DECL(int) VbglR3WaitEvent(uint32_t fMask, uint32_t cMillies, uint32_t *pfEvents) 50 50 { 51 #ifndef VBOX_VBGLR3_XFREE86 51 52 LogFlow(("VbglR3WaitEvent: fMask=0x%x, cMillies=%u, pfEvents=%p\n", 52 53 fMask, cMillies, pfEvents)); 53 54 AssertReturn((fMask & ~VMMDEV_EVENT_VALID_EVENT_MASK) == 0, VERR_INVALID_PARAMETER); 54 55 AssertPtrNullReturn(pfEvents, VERR_INVALID_POINTER); 56 #endif 55 57 56 58 VBoxGuestWaitEventInfo waitEvent; … … 62 64 if (RT_SUCCESS(rc)) 63 65 { 66 #ifndef VBOX_VBGLR3_XFREE86 64 67 AssertMsg(waitEvent.u32Result == VBOXGUEST_WAITEVENT_OK, ("%d\n", waitEvent.u32Result)); 68 #endif 65 69 if (pfEvents) 66 70 *pfEvents = waitEvent.u32EventFlagsOut; 67 71 } 68 72 73 #ifndef VBOX_VBGLR3_XFREE86 69 74 LogFlow(("VbglR3WaitEvent: rc=%Rrc, u32EventFlagsOut=0x%x. u32Result=%d\n", 70 75 rc, waitEvent.u32EventFlagsOut, waitEvent.u32Result)); 76 #endif 71 77 return rc; 72 78 } … … 183 189 Req.u32NotMask = fNot; 184 190 int rc = vbglR3GRPerform(&Req.header); 185 #if def DEBUG191 #if defined(DEBUG) && !defined(VBOX_VBGLR3_XFREE86) 186 192 if (RT_SUCCESS(rc)) 187 193 LogRel(("Successfully changed guest capabilities: or mask 0x%x, not mask 0x%x.\n", fOr, fNot)); … … 193 199 194 200 201 #ifndef VBOX_VBGLR3_XFREE86 195 202 /** 196 203 * Fallback for vbglR3GetAdditionsVersion. … … 223 230 return VINF_SUCCESS; 224 231 } 232 #endif 225 233 226 234 … … 281 289 282 290 291 #ifndef VBOX_VBGLR3_XFREE86 283 292 /** 284 293 * Retrieves the installed Guest Additions version and/or revision. … … 375 384 #endif /* !RT_OS_WINDOWS */ 376 385 } 377 386 #endif /* !VBOX_VBGLR3_XFREE86 */ 378 387 379 388 /** -
trunk/src/VBox/Additions/common/VBoxGuestLib/VBoxGuestR3LibVideo.cpp
r21912 r26054 202 202 VBGLR3DECL(int) VbglR3SaveVideoMode(const char *pszName, uint32_t cx, uint32_t cy, uint32_t cBits) 203 203 { 204 #if def VBOX_WITH_GUEST_PROPS204 #if defined(VBOX_WITH_GUEST_PROPS) && !defined(VBOX_VBGLR3_XFREE86) 205 205 using namespace guestProp; 206 206 … … 216 216 VbglR3GuestPropDisconnect(u32ClientId); /* Return value ignored, because what can we do anyway? */ 217 217 return rc; 218 #else /* VBOX_WITH_GUEST_PROPS not defined*/218 #else /* !VBOX_WITH_GUEST_PROPS || VBOX_VBGLR3_XFREE86 */ 219 219 return VERR_NOT_IMPLEMENTED; 220 #endif /* VBOX_WITH_GUEST_PROPS not defined*/220 #endif /* !VBOX_WITH_GUEST_PROPS || VBOX_VBGLR3_XFREE86 */ 221 221 } 222 222 … … 233 233 VBGLR3DECL(int) VbglR3RetrieveVideoMode(const char *pszName, uint32_t *pcx, uint32_t *pcy, uint32_t *pcBits) 234 234 { 235 #if def VBOX_WITH_GUEST_PROPS235 #if defined(VBOX_WITH_GUEST_PROPS) && !defined(VBOX_VBGLR3_XFREE86) 236 236 using namespace guestProp; 237 237 … … 294 294 } 295 295 return rc; 296 #else /* VBOX_WITH_GUEST_PROPS not defined*/296 #else /* !VBOX_WITH_GUEST_PROPS || VBOX_VBGLR3_XFREE86 */ 297 297 return VERR_NOT_IMPLEMENTED; 298 #endif /* VBOX_WITH_GUEST_PROPS not defined*/299 } 298 #endif /* !VBOX_WITH_GUEST_PROPS || VBOX_VBGLR3_XFREE86 */ 299 }
Note:
See TracChangeset
for help on using the changeset viewer.