Changeset 13835
- Timestamp:
- 11/05/08 03:34:43 (2 months ago)
- Files:
-
- trunk/include/VBox/pdmasynccompletion.h (modified) (6 diffs)
- trunk/src/VBox/Additions/WINNT/Graphics/Miniport/Helper.cpp (modified) (10 diffs)
- trunk/src/VBox/Additions/WINNT/Graphics/Miniport/VBoxVideo.cpp (modified) (10 diffs)
- trunk/src/VBox/Additions/WINNT/Graphics/OpenGL/VBoxOGL.cpp (modified) (5 diffs)
- trunk/src/VBox/Additions/WINNT/Graphics/OpenGL/glext.cpp (modified) (3 diffs)
- trunk/src/VBox/Additions/WINNT/MouseFilter/VBoxMouse.cpp (modified) (9 diffs)
- trunk/src/VBox/Additions/WINNT/VBoxGINA/Helper.cpp (modified) (1 diff)
- trunk/src/VBox/Additions/WINNT/VBoxGuest/Helper.cpp (modified) (3 diffs)
- trunk/src/VBox/Additions/WINNT/VBoxGuest/NTLegacy.cpp (modified) (2 diffs)
- trunk/src/VBox/Additions/WINNT/VBoxGuest/VBoxGuest.cpp (modified) (22 diffs)
- trunk/src/VBox/Additions/WINNT/VBoxGuest/VBoxGuestPnP.cpp (modified) (8 diffs)
- trunk/src/VBox/Additions/WINNT/VBoxService/VBoxService.cpp (modified) (2 diffs)
- trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxClipboard.cpp (modified) (35 diffs)
- trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxTray.cpp (modified) (3 diffs)
- trunk/src/VBox/Additions/WINNT/i8042prt/i8042dep.c (modified) (122 diffs)
- trunk/src/VBox/Additions/WINNT/i8042prt/moudep.c (modified) (4 diffs)
- trunk/src/VBox/Additions/common/VBoxGuestLib/GenericRequest.cpp (modified) (3 diffs)
- trunk/src/VBox/Additions/common/VBoxGuestLib/HGCM.cpp (modified) (5 diffs)
- trunk/src/VBox/Additions/common/VBoxGuestLib/HGCMInternal.cpp (modified) (13 diffs)
- trunk/src/VBox/Additions/common/VBoxGuestLib/Init.cpp (modified) (9 diffs)
- trunk/src/VBox/Additions/common/VBoxGuestLib/PhysHeap.cpp (modified) (3 diffs)
- trunk/src/VBox/Additions/common/VBoxGuestLib/VBoxCalls.c (modified) (17 diffs)
- trunk/src/VBox/Additions/common/VBoxGuestLib/VMMDev.cpp (modified) (1 diff)
- trunk/src/VBox/Additions/freebsd/vboxvfs/vboxvfs_vfsops.c (modified) (4 diffs)
- trunk/src/VBox/Additions/linux/daemon/vboxadd_timesync.c (modified) (1 diff)
- trunk/src/VBox/Additions/linux/module/cmc.c (modified) (2 diffs)
- trunk/src/VBox/Additions/linux/module/hgcmcall.c (modified) (1 diff)
- trunk/src/VBox/Additions/linux/module/vboxmod.c (modified) (13 diffs)
- trunk/src/VBox/Additions/linux/sharedfolders/dirops.c (modified) (7 diffs)
- trunk/src/VBox/Additions/linux/sharedfolders/regops.c (modified) (4 diffs)
- trunk/src/VBox/Additions/linux/sharedfolders/utils.c (modified) (3 diffs)
- trunk/src/VBox/Additions/linux/sharedfolders/vfsmod.c (modified) (5 diffs)
- trunk/src/VBox/Additions/solaris/SharedFolders/vboxvfs_utils.c (modified) (1 diff)
- trunk/src/VBox/Additions/solaris/SharedFolders/vboxvfs_vfsops.c (modified) (4 diffs)
- trunk/src/VBox/Additions/x11/xclient/clipboard.cpp (modified) (3 diffs)
- trunk/src/VBox/Additions/x11/xgraphics/vboxutils.c (modified) (4 diffs)
- trunk/src/VBox/Additions/x11/xgraphics/vboxutils_68.c (modified) (5 diffs)
- trunk/src/VBox/Additions/x11/xmouse/VBoxUtils.c (modified) (1 diff)
- trunk/src/VBox/Additions/x11/xmouse/VBoxUtils_68.c (modified) (3 diffs)
- trunk/src/VBox/Devices/Builtins.cpp (modified) (2 diffs)
- trunk/src/VBox/Devices/Network/testcase/tstIntNetR0.cpp (modified) (18 diffs)
- trunk/src/VBox/Devices/Storage/testcase/tstVD-2.cpp (modified) (2 diffs)
- trunk/src/VBox/Devices/Storage/testcase/tstVD.cpp (modified) (36 diffs)
- trunk/src/VBox/Devices/Storage/testcase/tstVDI.cpp (modified) (2 diffs)
- trunk/src/VBox/Devices/Storage/testcase/vditool.cpp (modified) (18 diffs)
- trunk/src/VBox/Disassembler/Disasm.cpp (modified) (1 diff)
- trunk/src/VBox/Disassembler/DisasmReg.cpp (modified) (15 diffs)
- trunk/src/VBox/Disassembler/DisasmTest.cpp (modified) (2 diffs)
- trunk/src/VBox/Frontends/VBoxBFE/DisplayImpl.cpp (modified) (2 diffs)
- trunk/src/VBox/Frontends/VBoxBFE/HGCM.cpp (modified) (49 diffs)
- trunk/src/VBox/Frontends/VBoxBFE/HGCMObjects.cpp (modified) (6 diffs)
- trunk/src/VBox/Frontends/VBoxBFE/HGCMThread.cpp (modified) (12 diffs)
- trunk/src/VBox/Frontends/VBoxBFE/HostUSBImpl.cpp (modified) (5 diffs)
- trunk/src/VBox/Frontends/VBoxBFE/KeyboardImpl.cpp (modified) (4 diffs)
- trunk/src/VBox/Frontends/VBoxBFE/MachineDebuggerImpl.cpp (modified) (4 diffs)
- trunk/src/VBox/Frontends/VBoxBFE/MouseImpl.cpp (modified) (3 diffs)
- trunk/src/VBox/Frontends/VBoxBFE/SDLConsole.cpp (modified) (2 diffs)
- trunk/src/VBox/Frontends/VBoxBFE/StatusImpl.cpp (modified) (4 diffs)
- trunk/src/VBox/Frontends/VBoxBFE/USBProxyService.cpp (modified) (2 diffs)
- trunk/src/VBox/Frontends/VBoxBFE/USBProxyServiceLinux.cpp (modified) (17 diffs)
- trunk/src/VBox/Frontends/VBoxBFE/VBoxBFE.cpp (modified) (19 diffs)
- trunk/src/VBox/Frontends/VBoxBFE/VMControl.cpp (modified) (8 diffs)
- trunk/src/VBox/Frontends/VBoxBFE/VMMDevInterface.cpp (modified) (2 diffs)
- trunk/src/VBox/Frontends/VBoxBFE/VirtualBoxBase.h (modified) (3 diffs)
- trunk/src/VBox/Frontends/VBoxFB/VBoxFB.cpp (modified) (1 diff)
- trunk/src/VBox/Frontends/VBoxManage/VBoxInternalManage.cpp (modified) (33 diffs)
- trunk/src/VBox/Frontends/VBoxManage/VBoxManage.cpp (modified) (11 diffs)
- trunk/src/VBox/Frontends/VBoxSDL/Helper.cpp (modified) (1 diff)
- trunk/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp (modified) (6 diffs)
- trunk/src/VBox/Frontends/VirtualBox/src/VBoxConsoleView.cpp (modified) (2 diffs)
- trunk/src/VBox/Frontends/VirtualBox/src/VBoxConsoleWnd.cpp (modified) (1 diff)
- trunk/src/VBox/Frontends/VirtualBox4/src/VBoxGlobal.cpp (modified) (1 diff)
- trunk/src/VBox/HostDrivers/Support/testcase/SUPInstall.cpp (modified) (1 diff)
- trunk/src/VBox/HostDrivers/Support/testcase/SUPUninstall.cpp (modified) (1 diff)
- trunk/src/VBox/HostDrivers/Support/testcase/tstGIP-2.cpp (modified) (1 diff)
- trunk/src/VBox/HostDrivers/Support/testcase/tstGetPagingMode.cpp (modified) (2 diffs)
- trunk/src/VBox/HostDrivers/Support/testcase/tstInt.cpp (modified) (1 diff)
- trunk/src/VBox/HostDrivers/Support/testcase/tstLow.cpp (modified) (3 diffs)
- trunk/src/VBox/HostDrivers/Support/win/SUPLib-win.cpp (modified) (2 diffs)
- trunk/src/VBox/HostServices/SharedClipboard/VBoxClipboard-win.cpp (modified) (1 diff)
- trunk/src/VBox/HostServices/SharedClipboard/service.cpp (modified) (24 diffs)
- trunk/src/VBox/HostServices/SharedFolders/mappings.cpp (modified) (3 diffs)
- trunk/src/VBox/HostServices/SharedFolders/service.cpp (modified) (18 diffs)
- trunk/src/VBox/HostServices/SharedFolders/testcase/tstShflCase.cpp (modified) (12 diffs)
- trunk/src/VBox/HostServices/SharedFolders/vbsf.cpp (modified) (17 diffs)
- trunk/src/VBox/HostServices/SharedOpenGL/service.cpp (modified) (14 diffs)
- trunk/src/VBox/Main/AudioSnifferInterface.cpp (modified) (1 diff)
- trunk/src/VBox/Main/ConsoleImpl2.cpp (modified) (6 diffs)
- trunk/src/VBox/Main/ConsoleVRDPServer.cpp (modified) (21 diffs)
- trunk/src/VBox/Main/DisplayImpl.cpp (modified) (9 diffs)
- trunk/src/VBox/Main/HardDisk2Impl.cpp (modified) (2 diffs)
- trunk/src/VBox/Main/HostImpl.cpp (modified) (15 diffs)
- trunk/src/VBox/Main/KeyboardImpl.cpp (modified) (3 diffs)
- trunk/src/VBox/Main/MachineDebuggerImpl.cpp (modified) (7 diffs)
- trunk/src/VBox/Main/MachineImpl.cpp (modified) (23 diffs)
- trunk/src/VBox/Main/MediumImpl.cpp (modified) (1 diff)
- trunk/src/VBox/Main/MouseImpl.cpp (modified) (3 diffs)
- trunk/src/VBox/Main/ProgressImpl.cpp (modified) (4 diffs)
- trunk/src/VBox/Main/SessionImpl.cpp (modified) (2 diffs)
- trunk/src/VBox/Main/SharedFolderImpl.cpp (modified) (2 diffs)
- trunk/src/VBox/Main/SystemPropertiesImpl.cpp (modified) (3 diffs)
- trunk/src/VBox/Main/VBoxDriversRegister.cpp (modified) (1 diff)
- trunk/src/VBox/Main/VMMDevInterface.cpp (modified) (7 diffs)
- trunk/src/VBox/Main/VirtualBoxImpl.cpp (modified) (16 diffs)
- trunk/src/VBox/Main/hgcm/HGCM.cpp (modified) (47 diffs)
- trunk/src/VBox/Main/hgcm/HGCMObjects.cpp (modified) (6 diffs)
- trunk/src/VBox/Main/hgcm/HGCMThread.cpp (modified) (12 diffs)
- trunk/src/VBox/Main/include/VirtualBoxBase.h (modified) (4 diffs)
- trunk/src/VBox/Main/testcase/VBox.cpp (modified) (4 diffs)
- trunk/src/VBox/Main/win/svchlp.cpp (modified) (11 diffs)
- trunk/src/VBox/Main/win/svcmain.cpp (modified) (1 diff)
- trunk/src/VBox/Main/xpcom/server.cpp (modified) (1 diff)
- trunk/src/VBox/Main/xpcom/server_module.cpp (modified) (1 diff)
- trunk/src/VBox/RDP/client/vrdp/USBProxyDevice-linux.c (modified) (1 diff)
- trunk/src/VBox/VMM/PATM/PATMGuest.cpp (modified) (5 diffs)
- trunk/src/recompiler/VBoxREMWrapper.cpp (modified) (4 diffs)
- trunk/src/recompiler/VBoxRecompiler.c (modified) (23 diffs)
- trunk/src/recompiler_new/VBoxREMWrapper.cpp (modified) (4 diffs)
- trunk/src/recompiler_new/VBoxRecompiler.c (modified) (38 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/include/VBox/pdmasynccompletion.h
r13005 r13835 341 341 342 342 rc = PDMR3AsyncCompletionTaskCreate(&pTask, pTemplate, PDMASYNCCOMPLETIONTASKTYPE_HOST, (void *)pIoCB, pvUser); 343 if ( VBOX_FAILURE(rc))343 if (RT_FAILURE(rc)) 344 344 { 345 345 AssertMsgFailed(("Creating Linux task failed\n")); … … 375 375 376 376 rc = PDMR3AsyncCompletionTaskCreate(&pTask, pTemplate, PDMASYNCCOMPLETIONTASKTYPE_HOST, (void *)pAioCB, pvUser); 377 if ( VBOX_FAILURE(rc))377 if (RT_FAILURE(rc)) 378 378 { 379 379 AssertMsgFailed(("Creating AIO task failed\n")); … … 405 405 406 406 rc = PDMR3AsyncCompletionTaskCreate(&pTask, pTemplate, PDMASYNCCOMPLETIONTASKTYPE_HOST, (void *)&hev, pvUser); 407 if ( VBOX_FAILURE(rc))407 if (RT_FAILURE(rc)) 408 408 { 409 409 AssertMsgFailed(("Creating OS/2 task failed\n")); … … 435 435 436 436 rc = PDMR3AsyncCompletionTaskCreate(&pTask, pTemplate, PDMASYNCCOMPLETIONTASKTYPE_HOST, (void *)hObject, pvUser); 437 if ( VBOX_FAILURE(rc))437 if (RT_FAILURE(rc)) 438 438 { 439 439 AssertMsgFailed(("Creating Windows task failed\n")); … … 490 490 491 491 rc = PDMR3AsyncCompletionTaskCreate(&pTask, pTemplate, PDMASYNCCOMPLETIONTASKTYPE_SOCKET, (void *)&SocketContext, pvUser); 492 if ( VBOX_FAILURE(rc))492 if (RT_FAILURE(rc)) 493 493 { 494 494 AssertMsgFailed(("Creating Socket task failed\n")); … … 525 525 526 526 rc = PDMR3AsyncCompletionTaskAssociate(pTask, &SocketContext); 527 if ( VBOX_FAILURE(rc))527 if (RT_FAILURE(rc)) 528 528 { 529 529 AssertMsgFailed(("Modifying Socket task failed\n")); trunk/src/VBox/Additions/WINNT/Graphics/Miniport/Helper.cpp
r12738 r13835 69 69 int rc = VbglGRAlloc ((VMMDevRequestHeader **)&req, sizeof (VMMDevDisplayChangeRequest), VMMDevReq_GetDisplayChangeRequest); 70 70 71 if ( VBOX_FAILURE(rc))71 if (RT_FAILURE(rc)) 72 72 { 73 73 dprintf(("VBoxVideo::vboxQueryDisplayRequest: ERROR allocating request, rc = %Vrc\n", rc)); … … 79 79 rc = VbglGRPerform (&req->header); 80 80 81 if ( VBOX_SUCCESS(rc) && VBOX_SUCCESS(req->header.rc))81 if (RT_SUCCESS(rc) && RT_SUCCESS(req->header.rc)) 82 82 { 83 83 if (xres) … … 112 112 113 113 int rc = VbglGRAlloc((VMMDevRequestHeader**)&req, sizeof(VMMDevVideoModeSupportedRequest), VMMDevReq_VideoModeSupported); 114 if ( VBOX_FAILURE(rc))114 if (RT_FAILURE(rc)) 115 115 { 116 116 dprintf(("VBoxVideo::vboxLikesVideoMode: ERROR allocating request, rc = %Vrc\n", rc)); … … 126 126 req->bpp = bpp; 127 127 rc = VbglGRPerform(&req->header); 128 if ( VBOX_SUCCESS(rc) && VBOX_SUCCESS(req->header.rc))128 if (RT_SUCCESS(rc) && RT_SUCCESS(req->header.rc)) 129 129 { 130 130 bRC = req->fSupported; … … 151 151 152 152 int rc = VbglGRAlloc((VMMDevRequestHeader**)&req, sizeof(VMMDevGetHeightReductionRequest), VMMDevReq_GetHeightReduction); 153 if ( VBOX_FAILURE(rc))153 if (RT_FAILURE(rc)) 154 154 { 155 155 dprintf(("VBoxVideo::vboxGetHeightReduction: ERROR allocating request, rc = %Vrc\n", rc)); … … 158 158 { 159 159 rc = VbglGRPerform(&req->header); 160 if ( VBOX_SUCCESS(rc) && VBOX_SUCCESS(req->header.rc))160 if (RT_SUCCESS(rc) && RT_SUCCESS(req->header.rc)) 161 161 { 162 162 retHeight = (ULONG)req->heightReduction; … … 185 185 int rc = VbglGRAlloc ((VMMDevRequestHeader **)&req, sizeof (VMMDevReqMouseStatus), VMMDevReq_GetMouseStatus); 186 186 187 if ( VBOX_FAILURE(rc))187 if (RT_FAILURE(rc)) 188 188 { 189 189 dprintf(("VBoxVideo::vboxQueryPointerPosInternal: ERROR allocating request, rc = %Vrc\n", rc)); … … 193 193 rc = VbglGRPerform (&req->header); 194 194 195 if ( VBOX_SUCCESS(rc) && VBOX_SUCCESS(req->header.rc))195 if (RT_SUCCESS(rc) && RT_SUCCESS(req->header.rc)) 196 196 { 197 197 if (req->mouseFeatures & VBOXGUEST_MOUSE_HOST_CAN_ABSOLUTE) … … 314 314 int rc = VbglGRAlloc ((VMMDevRequestHeader **)&req, sizeof (VMMDevReqMousePointer) + cbData, VMMDevReq_SetPointerShape); 315 315 316 if ( VBOX_FAILURE(rc))316 if (RT_FAILURE(rc)) 317 317 { 318 318 dprintf(("VBoxVideo::vboxUpdatePointerShape: ERROR allocating request, rc = %Vrc\n", rc)); … … 342 342 rc = VbglGRPerform (&req->header); 343 343 344 if ( VBOX_SUCCESS(rc) && VBOX_SUCCESS(req->header.rc))344 if (RT_SUCCESS(rc) && RT_SUCCESS(req->header.rc)) 345 345 { 346 346 bRC = TRUE; trunk/src/VBox/Additions/WINNT/Graphics/Miniport/VBoxVideo.cpp
r12741 r13835 1730 1730 dprintf(("VBoxVideo::VBoxVideoStartIO: IOCTL_VIDEO_VBVA_ENABLE completed rc = %Vrc\n", rc)); 1731 1731 1732 if ( VBOX_FAILURE (rc))1732 if (RT_FAILURE (rc)) 1733 1733 { 1734 1734 dprintf(("VBoxVideo::VBoxVideoStartIO: IOCTL_VIDEO_VBVA_ENABLE: failed to enable VBVA\n")); … … 1767 1767 VMMDevReq_VideoSetVisibleRegion); 1768 1768 1769 if ( VBOX_SUCCESS(rc))1769 if (RT_SUCCESS(rc)) 1770 1770 { 1771 1771 req->cRect = cRect; … … 1774 1774 rc = VbglGRPerform (&req->header); 1775 1775 1776 if ( VBOX_SUCCESS(rc) && VBOX_SUCCESS(req->header.rc))1776 if (RT_SUCCESS(rc) && RT_SUCCESS(req->header.rc)) 1777 1777 { 1778 1778 Result = TRUE; … … 2170 2170 int rc = VbglGRPerform (&req->header); 2171 2171 2172 if ( VBOX_FAILURE(rc) || VBOX_FAILURE(req->header.rc))2172 if (RT_FAILURE(rc) || RT_FAILURE(req->header.rc)) 2173 2173 { 2174 2174 dprintf(("VBoxVideo::vbvaFlush: rc = %Vrc, VMMDev rc = %Vrc!!!\n", rc, req->header.rc)); … … 2217 2217 } 2218 2218 2219 if ( VBOX_SUCCESS(rc))2219 if (RT_SUCCESS(rc)) 2220 2220 { 2221 2221 /* Allocate the memory block for VMMDevReq_VideoAccelFlush request. */ … … 2228 2228 VMMDevReq_VideoAccelFlush); 2229 2229 2230 if ( VBOX_SUCCESS (rc))2230 if (RT_SUCCESS (rc)) 2231 2231 { 2232 2232 pDevExt->u.primary.pvReqFlush = req; … … 2243 2243 } 2244 2244 2245 if ( VBOX_SUCCESS(rc))2245 if (RT_SUCCESS(rc)) 2246 2246 { 2247 2247 ULONG ulEnabled = 0; … … 2256 2256 VMMDevReq_VideoAccelEnable); 2257 2257 2258 if ( VBOX_SUCCESS(rc))2258 if (RT_SUCCESS(rc)) 2259 2259 { 2260 2260 req->u32Enable = ulEnable; … … 2264 2264 rc = VbglGRPerform (&req->header); 2265 2265 2266 if ( VBOX_SUCCESS(rc) && VBOX_SUCCESS(req->header.rc))2266 if (RT_SUCCESS(rc) && RT_SUCCESS(req->header.rc)) 2267 2267 { 2268 2268 if (req->fu32Status & VBVA_F_STATUS_ACCEPTED) … … 2303 2303 dprintf(("VBoxVideo::vboxVbvaEnable: rc = %Vrc, VMMDev rc = %Vrc!!!\n", rc, req->header.rc)); 2304 2304 2305 if ( VBOX_SUCCESS(rc))2305 if (RT_SUCCESS(rc)) 2306 2306 { 2307 2307 rc = req->header.rc; trunk/src/VBox/Additions/WINNT/Graphics/OpenGL/VBoxOGL.cpp
r12449 r13835 182 182 int rc = vboxHGCMCall(&parms, sizeof (parms)); 183 183 184 if ( VBOX_FAILURE(rc)185 || VBOX_FAILURE(parms.hdr.result))184 if ( RT_FAILURE(rc) 185 || RT_FAILURE(parms.hdr.result)) 186 186 { 187 187 DbgPrintf(("GL_VERSION failed with %x %x\n", rc, parms.hdr.result)); … … 369 369 pCtx->cCommands = 0; 370 370 371 if ( VBOX_FAILURE(rc)372 || VBOX_FAILURE(parms.hdr.result))371 if ( RT_FAILURE(rc) 372 || RT_FAILURE(parms.hdr.result)) 373 373 { 374 374 DbgPrintf(("GL_FLUSH failed with %x %x\n", rc, parms.hdr.result)); … … 431 431 pCtx->cCommands = 0; 432 432 433 if ( VBOX_FAILURE(rc)434 || VBOX_FAILURE(parms.hdr.result))433 if ( RT_FAILURE(rc) 434 || RT_FAILURE(parms.hdr.result)) 435 435 { 436 436 DbgPrintf(("GL_FLUSH failed with %x %x\n", rc, parms.hdr.result)); … … 450 450 * 451 451 * @returns available or not 452 * @param pszExtFunctionName 452 * @param pszExtFunctionName 453 453 */ 454 454 bool VBoxIsExtensionAvailable(const char *pszExtFunctionName) … … 465 465 int rc = vboxHGCMCall(&parms, sizeof (parms)); 466 466 467 if ( VBOX_FAILURE(rc)468 || VBOX_FAILURE(parms.hdr.result))467 if ( RT_FAILURE(rc) 468 || RT_FAILURE(parms.hdr.result)) 469 469 { 470 470 DbgPrintf(("GLCHECKEXT failed with %x %x\n", rc, parms.hdr.result)); trunk/src/VBox/Additions/WINNT/Graphics/OpenGL/glext.cpp
r11982 r13835 54 54 rc = vboxHGCMCall(&parms, sizeof (parms)); 55 55 56 if ( VBOX_FAILURE(rc)57 || VBOX_FAILURE(parms.hdr.result))56 if ( RT_FAILURE(rc) 57 || RT_FAILURE(parms.hdr.result)) 58 58 { 59 59 DbgPrintf(("GL_EXTENSIONS failed with %x %x\n", rc, parms.hdr.result)); … … 69 69 if (strstr((char *)pszExtensions, OpenGLExtensions[i].pszExtName)) 70 70 OpenGLExtensions[i].fAvailable = VBoxIsExtensionAvailable(OpenGLExtensions[i].pszExtFunctionName); 71 71 72 72 if ( OpenGLExtensions[i].fAvailable 73 73 && !strstr(szOpenGLExtensions, OpenGLExtensions[i].pszExtName)) … … 123 123 #if 0 124 124 GL_ARB_multitexture 125 GL_EXT_texture_env_add 126 GL_EXT_compiled_vertex_array 127 GL_S3_s3tc 128 GL_ARB_occlusion_query 129 GL_ARB_point_parameters 130 GL_ARB_texture_border_clamp 131 GL_ARB_texture_compression 132 GL_ARB_texture_cube_map 133 GL_ARB_texture_env_add 134 GL_ARB_texture_env_combine 135 GL_ARB_texture_env_crossbar 136 GL_ARB_texture_env_dot3 137 GL_ARB_texture_mirrored_repeat 138 GL_ARB_transpose_matrix 139 GL_ARB_vertex_blend 140 GL_ARB_vertex_buffer_object 141 GL_ARB_vertex_program 142 GL_ARB_window_pos 143 GL_ATI_element_array 144 GL_ATI_envmap_bumpmap 145 GL_ATI_fragment_shader 146 GL_ATI_map_object_buffer 147 GL_ATI_texture_env_combine3 148 GL_ATI_texture_mirror_once 149 GL_ATI_vertex_array_object 150 GL_ATI_vertex_attrib_array_object 151 GL_ATI_vertex_streams 152 GL_ATIX_texture_env_combine3 153 GL_ATIX_texture_env_route 154 GL_ATIX_vertex_shader_output_point_size 155 GL_EXT_abgr 156 GL_EXT_bgra 157 GL_EXT_blend_color 158 GL_EXT_blend_func_separate 159 GL_EXT_blend_minmax 160 GL_EXT_blend_subtract 161 GL_EXT_clip_volume_hint 162 GL_EXT_draw_range_elements 163 GL_EXT_fog_coord 164 GL_EXT_multi_draw_arrays 165 GL_EXT_packed_pixels 166 GL_EXT_point_parameters 167 GL_EXT_polygon_offset 168 GL_EXT_rescale_normal 169 GL_EXT_secondary_color 170 GL_EXT_separate_specular_color 171 GL_EXT_stencil_wrap 172 GL_EXT_texgen_reflection 173 GL_EXT_texture3D 174 GL_EXT_texture_compression_s3tc 175 GL_EXT_texture_cube_map 176 GL_EXT_texture_edge_clamp 177 GL_EXT_texture_env_combine 178 GL_EXT_texture_env_dot3 179 GL_EXT_texture_filter_anisotropic 180 GL_EXT_texture_lod_bias 181 GL_EXT_texture_mirror_clamp 182 GL_EXT_texture_object 183 GL_EXT_texture_rectangle 184 GL_EXT_vertex_array 185 GL_EXT_vertex_shader 186 GL_HP_occlusion_test 187 GL_KTX_buffer_region 188 GL_NV_blend_square 189 GL_NV_occlusion_query 190 GL_NV_texgen_reflection 191 GL_SGI_color_matrix 192 GL_SGIS_generate_mipmap 193 GL_SGIS_multitexture 194 GL_SGIS_texture_border_clamp 195 GL_SGIS_texture_edge_clamp 196 GL_SGIS_texture_lod 197 GL_SUN_multi_draw_arrays 198 GL_WIN_swap_hint 199 WGL_EXT_extensions_string 125 GL_EXT_texture_env_add 126 GL_EXT_compiled_vertex_array 127 GL_S3_s3tc 128 GL_ARB_occlusion_query 129 GL_ARB_point_parameters 130 GL_ARB_texture_border_clamp 131 GL_ARB_texture_compression 132 GL_ARB_texture_cube_map 133 GL_ARB_texture_env_add 134 GL_ARB_texture_env_combine 135 GL_ARB_texture_env_crossbar 136 GL_ARB_texture_env_dot3 137 GL_ARB_texture_mirrored_repeat 138 GL_ARB_transpose_matrix 139 GL_ARB_vertex_blend 140 GL_ARB_vertex_buffer_object 141 GL_ARB_vertex_program 142 GL_ARB_window_pos 143 GL_ATI_element_array 144 GL_ATI_envmap_bumpmap 145 GL_ATI_fragment_shader 146 GL_ATI_map_object_buffer 147 GL_ATI_texture_env_combine3 148 GL_ATI_texture_mirror_once 149 GL_ATI_vertex_array_object 150 GL_ATI_vertex_attrib_array_object 151 GL_ATI_vertex_streams 152 GL_ATIX_texture_env_combine3 153 GL_ATIX_texture_env_route 154 GL_ATIX_vertex_shader_output_point_size 155 GL_EXT_abgr 156 GL_EXT_bgra 157 GL_EXT_blend_color 158 GL_EXT_blend_func_separate 159 GL_EXT_blend_minmax 160 GL_EXT_blend_subtract 161 GL_EXT_clip_volume_hint 162 GL_EXT_draw_range_elements 163 GL_EXT_fog_coord 164 GL_EXT_multi_draw_arrays 165 GL_EXT_packed_pixels 166 GL_EXT_point_parameters 167 GL_EXT_polygon_offset 168 GL_EXT_rescale_normal 169 GL_EXT_secondary_color 170 GL_EXT_separate_specular_color 171 GL_EXT_stencil_wrap 172 GL_EXT_texgen_reflection 173 GL_EXT_texture3D 174 GL_EXT_texture_compression_s3tc 175 GL_EXT_texture_cube_map 176 GL_EXT_texture_edge_clamp 177 GL_EXT_texture_env_combine 178 GL_EXT_texture_env_dot3 179 GL_EXT_texture_filter_anisotropic 180 GL_EXT_texture_lod_bias 181 GL_EXT_texture_mirror_clamp 182 GL_EXT_texture_object 183 GL_EXT_texture_rectangle 184 GL_EXT_vertex_array 185 GL_EXT_vertex_shader 186 GL_HP_occlusion_test 187 GL_KTX_buffer_region 188 GL_NV_blend_square 189 GL_NV_occlusion_query 190 GL_NV_texgen_reflection 191 GL_SGI_color_matrix 192 GL_SGIS_generate_mipmap 193 GL_SGIS_multitexture 194 GL_SGIS_texture_border_clamp 195 GL_SGIS_texture_edge_clamp 196 GL_SGIS_texture_lod 197 GL_SUN_multi_draw_arrays 198 GL_WIN_swap_hint 199 WGL_EXT_extensions_string 200 200 #endif 201 201 trunk/src/VBox/Additions/WINNT/MouseFilter/VBoxMouse.cpp
r8155 r13835 150 150 int vboxRC = VbglInit (); 151 151 152 if ( VBOX_SUCCESS (vboxRC))152 if (RT_SUCCESS (vboxRC)) 153 153 { 154 154 /* Atomically set the flag. */ … … 193 193 int vboxRC = VbglGRAlloc ((VMMDevRequestHeader **)&req, sizeof (VMMDevReqMouseStatus), VMMDevReq_SetMouseStatus); 194 194 195 if ( VBOX_SUCCESS(vboxRC))195 if (RT_SUCCESS(vboxRC)) 196 196 { 197 197 req->mouseFeatures = 0; … … 201 201 vboxRC = VbglGRPerform (&req->header); 202 202 203 if ( VBOX_FAILURE(vboxRC) || VBOX_FAILURE(req->header.rc))203 if (RT_FAILURE(vboxRC) || RT_FAILURE(req->header.rc)) 204 204 { 205 205 dprintf(("VBoxMouse::vboxDeviceRemoved: ERROR communicating new mouse capabilities to VMMDev.\n" … … 237 237 int vboxRC = VbglGRAlloc ((VMMDevRequestHeader **)&req, sizeof (VMMDevReqMouseStatus), VMMDevReq_SetMouseStatus); 238 238 239 if ( VBOX_SUCCESS(vboxRC))239 if (RT_SUCCESS(vboxRC)) 240 240 { 241 241 /* Inform host that we support absolute */ … … 246 246 vboxRC = VbglGRPerform (&req->header); 247 247 248 if ( VBOX_FAILURE(vboxRC) || VBOX_FAILURE(req->header.rc))248 if (RT_FAILURE(vboxRC) || RT_FAILURE(req->header.rc)) 249 249 { 250 250 dprintf(("VBoxMouse::vboxInformHost: ERROR communicating new mouse capabilities to VMMDev." … … 267 267 int vboxRC = VbglGRAlloc ((VMMDevRequestHeader **)&req, sizeof (VMMDevReqMouseStatus), VMMDevReq_GetMouseStatus); 268 268 269 if ( VBOX_SUCCESS(vboxRC))269 if (RT_SUCCESS(vboxRC)) 270 270 { 271 271 devExt->reqSC = req; … … 712 712 713 713 dprintf(("IRP_MN_START_DEVICE\n")); 714 714 715 715 // 716 716 // The device is starting. … … 763 763 764 764 case IRP_MN_SURPRISE_REMOVAL: 765 765 766 766 dprintf(("IRP_MN_SURPRISE_REMOVAL\n")); 767 767 768 768 // 769 769 // Same as a remove device, but don't call IoDetach or IoDeleteDevice … … 1010 1010 int rc = VbglGRPerform (&req->header); 1011 1011 1012 if ( VBOX_SUCCESS(rc) && VBOX_SUCCESS(req->header.rc))1012 if (RT_SUCCESS(rc) && RT_SUCCESS(req->header.rc)) 1013 1013 { 1014 1014 if (req->mouseFeatures & VBOXGUEST_MOUSE_HOST_CAN_ABSOLUTE) trunk/src/VBox/Additions/WINNT/VBoxGINA/Helper.cpp
r10552 r13835 174 174 int rc = RTThreadCreate(&gThreadPoller, credentialsPoller, NULL, 0, RTTHREADTYPE_INFREQUENT_POLLER, 175 175 RTTHREADFLAGS_WAITABLE, "creds"); 176 if ( VBOX_FAILURE(rc))176 if (RT_FAILURE(rc)) 177 177 { 178 178 Log(("VBoxGINA::credentialsPollerCreate: failed to create thread, rc = %Vrc\n", rc)); trunk/src/VBox/Additions/WINNT/VBoxGuest/Helper.cpp
r12694 r13835 199 199 dprintf(("hlpVBoxReportGuestInfo: VbglGRAlloc rc = %d\n", rc)); 200 200 201 if ( VBOX_SUCCESS(rc))201 if (RT_SUCCESS(rc)) 202 202 { 203 203 req->guestInfo.additionsVersion = VMMDEV_VERSION; … … 232 232 rc = VbglGRPerform (&req->header); 233 233 234 if ( VBOX_FAILURE(rc) || VBOX_FAILURE(req->header.rc))234 if (RT_FAILURE(rc) || RT_FAILURE(req->header.rc)) 235 235 { 236 236 dprintf(("VBoxGuest::hlpVBoxReportGuestInfo: error reporting guest info to VMMDev." … … 238 238 } 239 239 240 rc = VBOX_SUCCESS(rc) ? req->header.rc : rc;240 rc = RT_SUCCESS(rc) ? req->header.rc : rc; 241 241 242 242 VbglGRFree (&req->header); 243 243 } 244 244 245 return VBOX_FAILURE(rc) ? STATUS_UNSUCCESSFUL : STATUS_SUCCESS;246 } 245 return RT_FAILURE(rc) ? STATUS_UNSUCCESSFUL : STATUS_SUCCESS; 246 } trunk/src/VBox/Additions/WINNT/VBoxGuest/NTLegacy.cpp
r13483 r13835 140 140 141 141 rc = VbglInit (pDevExt->startPortAddress, pDevExt->pVMMDevMemory); 142 if (! VBOX_SUCCESS(rc))142 if (!RT_SUCCESS(rc)) 143 143 { 144 144 dprintf(("VBoxGuest::START_DEVICE: VbglInit failed. rc = %d\n", rc)); … … 147 147 148 148 rc = VbglGRAlloc ((VMMDevRequestHeader **)&pDevExt->irqAckEvents, sizeof (VMMDevEvents), VMMDevReq_AcknowledgeEvents); 149 if (! VBOX_SUCCESS(rc))149 if (!RT_SUCCESS(rc)) 150 150 { 151 151 dprintf(("VBoxGuest::START_DEVICE: VbglAlloc failed for irqAckEvents. rc = %d\n", rc)); 152 152 } 153 153 rc = VbglGRAlloc ((VMMDevRequestHeader **)&pDevExt->powerStateRequest, sizeof (VMMDevPowerStateRequest), VMMDevReq_SetPowerStatus); 154 if (! VBOX_SUCCESS(rc))154 if (!RT_SUCCESS(rc)) 155 155 { 156 156 dprintf(("VBoxGuest::START_DEVICE: VbglAlloc failed for powerStateRequest. rc = %d\n", rc)); trunk/src/VBox/Additions/WINNT/VBoxGuest/VBoxGuest.cpp
r13483 r13835 413 413 VMMDevReq_CtlGuestFilterMask); 414 414 415 if ( VBOX_SUCCESS (rc))415 if (RT_SUCCESS (rc)) 416 416 { 417 417 req->u32OrMask = u32OrMask; … … 419 419 420 420 rc = VbglGRPerform (&req->header); 421 if ( VBOX_FAILURE (rc) || VBOX_FAILURE (req->header.rc))421 if (RT_FAILURE (rc) || RT_FAILURE (req->header.rc)) 422 422 { 423 423 dprintf (("VBoxGuest::VBoxGuestDeviceControl: error issuing request to VMMDev! " … … 451 451 /* Allocate request packet */ 452 452 rc = VbglGRAlloc((VMMDevRequestHeader **)&req, RT_OFFSETOF(VMMDevChangeMemBalloon, aPhysPage[VMMDEV_MEMORY_BALLOON_CHUNK_PAGES]), VMMDevReq_ChangeMemBalloon); 453 if ( VBOX_FAILURE(rc))453 if (RT_FAILURE(rc)) 454 454 return rc; 455 455 … … 525 525 526 526 rc = VbglGRPerform(&req->header); 527 if ( VBOX_FAILURE(rc) || VBOX_FAILURE(req->header.rc))527 if (RT_FAILURE(rc) || RT_FAILURE(req->header.rc)) 528 528 { 529 529 dprintf(("VBoxGuest::VBoxGuestSetBalloonSize: error issuing request to VMMDev!" … … 577 577 578 578 rc = VbglGRPerform(&req->header); 579 if ( VBOX_FAILURE(rc) || VBOX_FAILURE(req->header.rc))579 if (RT_FAILURE(rc) || RT_FAILURE(req->header.rc)) 580 580 { 581 581 AssertMsgFailed(("VBoxGuest::VBoxGuestSetBalloonSize: error issuing request to VMMDev! rc = %d, VMMDev rc = %Vrc\n", rc, req->header.rc)); … … 618 618 req->eventAck = VMMDEV_EVENT_BALLOON_CHANGE_REQUEST; 619 619 620 if ( VBOX_SUCCESS(rc))620 if (RT_SUCCESS(rc)) 621 621 { 622 622 rc = VbglGRPerform(&req->header); 623 623 624 if ( VBOX_FAILURE(rc) || VBOX_FAILURE(req->header.rc))624 if (RT_FAILURE(rc) || RT_FAILURE(req->header.rc)) 625 625 { 626 626 dprintf(("VBoxGuest::VBoxGuestDeviceControl VBOXGUEST_IOCTL_CTL_CHECK_BALLOON: error issuing request to VMMDev!" … … 833 833 int rc = VbglGRAlloc((VMMDevRequestHeader **)&req, requestHeader->size, requestHeader->requestType); 834 834 835 if ( VBOX_SUCCESS(rc))835 if (RT_SUCCESS(rc)) 836 836 { 837 837 /* copy the request information */ … … 839 839 rc = VbglGRPerform(req); 840 840 841 if ( VBOX_FAILURE(rc) || VBOX_FAILURE(req->rc))841 if (RT_FAILURE(rc) || RT_FAILURE(req->rc)) 842 842 { 843 843 dprintf(("VBoxGuest::VBoxGuestDeviceControl VBOXGUEST_IOCTL_VMMREQUEST: Error issuing request to VMMDev! " … … 920 920 dprintf(("b) ptr->u32ClientID = %d\n", ptr->u32ClientID)); 921 921 922 if ( VBOX_FAILURE(rc))922 if (RT_FAILURE(rc)) 923 923 { 924 924 dprintf(("VBOXGUEST_IOCTL_HGCM_CONNECT: vbox rc = %Vrc\n", rc)); … … 961 961 int rc = VbglHGCMDisconnect (ptr, VBoxHGCMCallback, pDevExt, 0); 962 962 963 if ( VBOX_FAILURE(rc))963 if (RT_FAILURE(rc)) 964 964 { 965 965 dprintf(("VBOXGUEST_IOCTL_HGCM_DISCONNECT: vbox rc = %Vrc\n", rc)); … … 990 990 int rc = VbglHGCMCall (ptr, VBoxHGCMCallback, pDevExt, 0); 991 991 992 if ( VBOX_FAILURE(rc))992 if (RT_FAILURE(rc)) 993 993 { 994 994 dprintf(("VBOXGUEST_IOCTL_HGCM_CALL: vbox rc = %Vrc\n", rc)); … … 1049 1049 1050 1050 int rc = VBoxGuestQueryMemoryBalloon(pDevExt, pMemBalloonSize); 1051 if ( VBOX_FAILURE(rc))1051 if (RT_FAILURE(rc)) 1052 1052 { 1053 1053 dprintf(("VBOXGUEST_IOCTL_CTL_CHECK_BALLOON: vbox rc = %Vrc\n", rc)); … … 1129 1129 int rc = VbglGRPerform (&req->header); 1130 1130 <

