- Timestamp:
- Oct 8, 2010 10:23:59 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 deleted
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Display/vrdp.c
r32354 r33004 20 20 #include "driver.h" 21 21 #include "vrdpbmp.h" 22 #include <VBox/ VRDPOrders.h>22 #include <VBox/RemoteDesktop/VRDEOrders.h> 23 23 24 24 #define VRDP_MAKE_OP(__c) (__c) … … 372 372 BOOL bRc = FALSE; 373 373 374 VRD PDATABITS bits;374 VRDEDATABITS bits; 375 375 376 376 bits.cb = cHeight * cWidth * bytesPerPixel; … … 436 436 if (bytesPerPixel > 0) 437 437 { 438 bRc = vrdpWriteHdr (ppdev, VRDP_MAKE_OP(VRD P_ORDER_DIRTY_RECT));438 bRc = vrdpWriteHdr (ppdev, VRDP_MAKE_OP(VRDE_ORDER_DIRTY_RECT)); 439 439 440 440 if (bRc) … … 512 512 const RECTL *prcl) 513 513 { 514 VRD PORDERBOUNDS bounds;514 VRDEORDERBOUNDS bounds; 515 515 516 516 bounds.pt1.x = (int16_t)(prcl->left); … … 519 519 bounds.pt2.y = (int16_t)(prcl->bottom); 520 520 521 return vrdpReportOrder (ppdev, &bounds, sizeof (bounds), VRD P_ORDER_BOUNDS);521 return vrdpReportOrder (ppdev, &bounds, sizeof (bounds), VRDE_ORDER_BOUNDS); 522 522 } 523 523 … … 535 535 for (; i < pRects->c; i++, prcl++) 536 536 { 537 VRD PORDERREPEAT repeat;537 VRDEORDERREPEAT repeat; 538 538 539 539 repeat.bounds.pt1.x = (int16_t)(prcl->left); … … 542 542 repeat.bounds.pt2.y = (int16_t)(prcl->bottom); 543 543 544 bRc = vrdpReportOrder (ppdev, &repeat, sizeof (repeat), VRD P_ORDER_REPEAT);544 bRc = vrdpReportOrder (ppdev, &repeat, sizeof (repeat), VRDE_ORDER_REPEAT); 545 545 546 546 if (!bRc) … … 556 556 static BOOL vrdpIntersectRectWithBounds (RECTL *prclIntersect, 557 557 const RECTL *prcl, 558 const VRD PORDERBOUNDS *pBounds)558 const VRDEORDERBOUNDS *pBounds) 559 559 { 560 560 if ( prcl->left < pBounds->pt2.x /* left < bounds_right */ … … 582 582 static BOOL vrdpGetIntersectingRects (CLIPRECTS *pRects, 583 583 const VRDPCLIPRECTS *pClipRects, 584 const VRD PORDERBOUNDS *pBounds)584 const VRDEORDERBOUNDS *pBounds) 585 585 { 586 586 BOOL fReportOrder = TRUE; … … 663 663 static void vrdpReportOrderGenericBounds (PPDEV ppdev, 664 664 const VRDPCLIPRECTS *pClipRects, 665 const VRD PORDERBOUNDS *pBounds,665 const VRDEORDERBOUNDS *pBounds, 666 666 const void *pvOrder, 667 667 unsigned cbOrder, … … 681 681 ULONG rgb) 682 682 { 683 VRD PORDERSOLIDRECT order;683 VRDEORDERSOLIDRECT order; 684 684 685 685 order.x = (int16_t)prclTrg->left; … … 689 689 order.rgb = rgb; 690 690 691 vrdpReportOrderGeneric (ppdev, pClipRects, &order, sizeof (order), VRD P_ORDER_SOLIDRECT);691 vrdpReportOrderGeneric (ppdev, pClipRects, &order, sizeof (order), VRDE_ORDER_SOLIDRECT); 692 692 } 693 693 … … 698 698 uint8_t rop3) 699 699 { 700 VRD PORDERSOLIDBLT order;700 VRDEORDERSOLIDBLT order; 701 701 702 702 order.x = (int16_t)prclTrg->left; … … 707 707 order.rop = rop3; 708 708 709 vrdpReportOrderGeneric (ppdev, pClipRects, &order, sizeof (order), VRD P_ORDER_SOLIDBLT);709 vrdpReportOrderGeneric (ppdev, pClipRects, &order, sizeof (order), VRDE_ORDER_SOLIDBLT); 710 710 } 711 711 … … 717 717 uint8_t rop3) 718 718 { 719 VRD PORDERPATBLTBRUSH order;719 VRDEORDERPATBLTBRUSH order; 720 720 721 721 int8_t xSrc = 0; … … 757 757 memcpy (order.pattern, pBrush->u.pat.au8Pattern, sizeof (order.pattern)); 758 758 759 vrdpReportOrderGeneric (ppdev, pClipRects, &order, sizeof (order), VRD P_ORDER_PATBLTBRUSH);759 vrdpReportOrderGeneric (ppdev, pClipRects, &order, sizeof (order), VRDE_ORDER_PATBLTBRUSH); 760 760 } 761 761 … … 765 765 uint8_t rop3) 766 766 { 767 VRD PORDERDSTBLT order;767 VRDEORDERDSTBLT order; 768 768 769 769 order.x = (int16_t)prclTrg->left; … … 773 773 order.rop = rop3; 774 774 775 vrdpReportOrderGeneric (ppdev, pClipRects, &order, sizeof (order), VRD P_ORDER_DSTBLT);775 vrdpReportOrderGeneric (ppdev, pClipRects, &order, sizeof (order), VRDE_ORDER_DSTBLT); 776 776 } 777 777 … … 782 782 uint8_t rop3) 783 783 { 784 VRD PORDERSCREENBLT order;784 VRDEORDERSCREENBLT order; 785 785 786 786 order.x = (int16_t)prclTrg->left; … … 792 792 order.rop = rop3; 793 793 794 vrdpReportOrderGeneric (ppdev, pClipRects, &order, sizeof (order), VRD P_ORDER_SCREENBLT);794 vrdpReportOrderGeneric (ppdev, pClipRects, &order, sizeof (order), VRDE_ORDER_SCREENBLT); 795 795 } 796 796 … … 802 802 const VRDPBCHASH *phash) 803 803 { 804 VRD PORDERMEMBLT order;804 VRDEORDERMEMBLT order; 805 805 806 806 order.x = (int16_t)prcl->left; … … 815 815 memcpy (order.hash, phash, sizeof (*phash)); 816 816 817 vrdpReportOrder (ppdev, &order, sizeof (order), VRD P_ORDER_MEMBLT);817 vrdpReportOrder (ppdev, &order, sizeof (order), VRDE_ORDER_MEMBLT); 818 818 } 819 819 … … 854 854 BOOL bRc; 855 855 856 VRD PORDERCACHEDBITMAP order;856 VRDEORDERCACHEDBITMAP order; 857 857 858 858 VBVA_ASSERT(sizeof (*phash) == sizeof (order.hash)); 859 859 memcpy (order.hash, phash, sizeof (*phash)); 860 860 861 bRc = vrdpReportOrder (ppdev, &order, sizeof (order), VRD P_ORDER_CACHED_BITMAP);861 bRc = vrdpReportOrder (ppdev, &order, sizeof (order), VRDE_ORDER_CACHED_BITMAP); 862 862 863 863 if (bRc) … … 879 879 const VRDPBCHASH *phash) 880 880 { 881 VRD PORDERDELETEDBITMAP order;881 VRDEORDERDELETEDBITMAP order; 882 882 883 883 VBVA_ASSERT(sizeof (*phash) == sizeof (order.hash)); 884 884 memcpy (order.hash, phash, sizeof (*phash)); 885 885 886 vrdpReportOrder (ppdev, &order, sizeof (order), VRD P_ORDER_DELETED_BITMAP);886 vrdpReportOrder (ppdev, &order, sizeof (order), VRDE_ORDER_DELETED_BITMAP); 887 887 } 888 888 … … 1252 1252 else 1253 1253 { 1254 VRD PORDERLINE order;1254 VRDEORDERLINE order; 1255 1255 1256 1256 order.x1 = (int16_t)x1; … … 1271 1271 prclBounds->left, prclBounds->right, prclBounds->top, prclBounds->bottom, clipRects.rects.c)); 1272 1272 1273 vrdpReportOrderGeneric (ppdev, &clipRects, &order, sizeof (order), VRD P_ORDER_LINE);1273 vrdpReportOrderGeneric (ppdev, &clipRects, &order, sizeof (order), VRDE_ORDER_LINE); 1274 1274 } 1275 1275 } … … 1335 1335 } 1336 1336 1337 static void vrdpPointFX2Point (const POINTFIX *pptfx, VRD PORDERPOINT *ppt)1337 static void vrdpPointFX2Point (const POINTFIX *pptfx, VRDEORDERPOINT *ppt) 1338 1338 { 1339 1339 ppt->x = (int16_t)FXTOLROUND(pptfx->x); … … 1341 1341 } 1342 1342 1343 static void vrdpPolyPointsAdd (VRD PORDERPOLYPOINTS *pPoints, const VRDPORDERPOINT *ppt)1343 static void vrdpPolyPointsAdd (VRDEORDERPOLYPOINTS *pPoints, const VRDEORDERPOINT *ppt) 1344 1344 { 1345 1345 VBVA_ASSERT(pPoints->c < RT_ELEMENTS(pPoints->a)); … … 1350 1350 } 1351 1351 1352 static void vrdpExtendOrderBounds (VRD PORDERBOUNDS *pBounds, const VRDPORDERPOINT *ppt)1352 static void vrdpExtendOrderBounds (VRDEORDERBOUNDS *pBounds, const VRDEORDERPOINT *ppt) 1353 1353 { 1354 1354 /* Bounds have inclusive pt1 and exclusive pt2. */ … … 1434 1434 else if (ppo->fl & PO_ELLIPSE) 1435 1435 { 1436 if (vboxOrderSupported (ppdev, VRD P_ORDER_ELLIPSE))1437 { 1438 VRD PORDERELLIPSE order;1436 if (vboxOrderSupported (ppdev, VRDE_ORDER_ELLIPSE)) 1437 { 1438 VRDEORDERELLIPSE order; 1439 1439 1440 1440 order.pt1.x = (int16_t)FXTOLROUND(rcfxBounds.xLeft + 4); … … 1447 1447 order.rgb = vrdpColor2RGB (pso, pbo->iSolidColor); 1448 1448 1449 vrdpReportOrderGeneric (ppdev, &clipRects, &order, sizeof (order), VRD P_ORDER_ELLIPSE);1449 vrdpReportOrderGeneric (ppdev, &clipRects, &order, sizeof (order), VRDE_ORDER_ELLIPSE); 1450 1450 } 1451 1451 else … … 1462 1462 PATHDATA pd; 1463 1463 BOOL bMore; 1464 VRD PORDERPOLYLINE order;1465 VRD PORDERPOINT ptStart;1466 VRD PORDERBOUNDS bounds;1464 VRDEORDERPOLYLINE order; 1465 VRDEORDERPOINT ptStart; 1466 VRDEORDERBOUNDS bounds; 1467 1467 1468 1468 order.rgb = vrdpColor2RGB (pso, pbo->iSolidColor); … … 1475 1475 do { 1476 1476 POINTFIX *pptfx; 1477 VRD PORDERPOINT pt;1477 VRDEORDERPOINT pt; 1478 1478 1479 1479 bMore = PATHOBJ_bEnum (ppo, &pd); … … 1520 1520 DISPDBG((1, "vrdpStrokePath: Report order, points overflow.\n")); 1521 1521 1522 vrdpReportOrderGenericBounds (ppdev, &clipRects, &bounds, &order, sizeof (order), VRD P_ORDER_POLYLINE);1522 vrdpReportOrderGenericBounds (ppdev, &clipRects, &bounds, &order, sizeof (order), VRDE_ORDER_POLYLINE); 1523 1523 1524 1524 order.points.c = 0; … … 1550 1550 if (order.points.c > 0) 1551 1551 { 1552 vrdpReportOrderGenericBounds (ppdev, &clipRects, &bounds, &order, sizeof (order), VRD P_ORDER_POLYLINE);1552 vrdpReportOrderGenericBounds (ppdev, &clipRects, &bounds, &order, sizeof (order), VRDE_ORDER_POLYLINE); 1553 1553 } 1554 1554 … … 1727 1727 case SS_SAVE: 1728 1728 { 1729 VRD PORDERSAVESCREEN order;1729 VRDEORDERSAVESCREEN order; 1730 1730 1731 1731 order.pt1.x = (int16_t)prcl->left; … … 1737 1737 order.restore = 0; 1738 1738 1739 vrdpReportOrderGeneric (ppdev, NULL, &order, sizeof (order), VRD P_ORDER_SAVESCREEN);1739 vrdpReportOrderGeneric (ppdev, NULL, &order, sizeof (order), VRDE_ORDER_SAVESCREEN); 1740 1740 } break; 1741 1741 1742 1742 case SS_RESTORE: 1743 1743 { 1744 VRD PORDERSAVESCREEN order;1744 VRDEORDERSAVESCREEN order; 1745 1745 1746 1746 order.pt1.x = (int16_t)prcl->left; … … 1752 1752 order.restore = 1; 1753 1753 1754 if (vrdpReportOrderGeneric (ppdev, NULL, &order, sizeof (order), VRD P_ORDER_SAVESCREEN))1754 if (vrdpReportOrderGeneric (ppdev, NULL, &order, sizeof (order), VRDE_ORDER_SAVESCREEN)) 1755 1755 { 1756 1756 uint8_t *pu8Bits; -
trunk/src/VBox/Additions/WINNT/Graphics/Display/vrdpbmp.c
r31847 r33004 22 22 #include "vrdpbmp.h" 23 23 #include <iprt/crc.h> 24 #include <VBox/ VRDPOrders.h>24 #include <VBox/RemoteDesktop/VRDEOrders.h> 25 25 26 26 /* … … 211 211 int i; 212 212 213 VBVA_ASSERT(sizeof (VRDPBCHASH) == sizeof (VRD PBITMAPHASH));213 VBVA_ASSERT(sizeof (VRDPBCHASH) == sizeof (VRDEBITMAPHASH)); 214 214 215 215 /* Reinitialize the cache structure. */ -
trunk/src/VBox/Additions/WINNT/Graphics/Display/vrdptext.c
r31847 r33004 19 19 20 20 #include "driver.h" 21 #include <VBox/ VRDPOrders.h>21 #include <VBox/RemoteDesktop/VRDEOrders.h> 22 22 #include <iprt/crc.h> 23 23 … … 71 71 * represents a 'space' character might allow some optimizations. 72 72 * 73 * The VRD PORDERTEXT consists of the string info and glyph infos.73 * The VRDEORDERTEXT consists of the string info and glyph infos. 74 74 * 75 75 */ … … 80 80 uint32_t cbBitmap; 81 81 82 VRD PORDERGLYPH *pOrder = (VRDPORDERGLYPH *)*ppu8Ptr;82 VRDEORDERGLYPH *pOrder = (VRDEORDERGLYPH *)*ppu8Ptr; 83 83 84 84 GLYPHBITS *pgb = pGlyphPos->pgdf->pgb; … … 124 124 static uint32_t vboxSizeofTextOrder (ULONG cGlyphs, ULONG cbMaxGlyph) 125 125 { 126 uint32_t cb = sizeof (VRD PORDERTEXT);127 128 cb += cGlyphs * (sizeof (VRD PORDERGLYPH) + cbMaxGlyph);126 uint32_t cb = sizeof (VRDEORDERTEXT); 127 128 cb += cGlyphs * (sizeof (VRDEORDERGLYPH) + cbMaxGlyph); 129 129 130 130 return cb; … … 142 142 FONTINFO fi; 143 143 uint32_t cbOrderMax; 144 VRD PORDERTEXT *pOrder;144 VRDEORDERTEXT *pOrder; 145 145 BOOL fResult; 146 146 uint8_t *pu8GlyphPtr; … … 180 180 DISPDBG((1, "VRDP::vrdpReportText: pstro->cGlyphs = %d, fi.cjMaxGlyph1 = 0x%x, cbOrderMax = 0x%x.\n", pstro->cGlyphs, fi.cjMaxGlyph1, cbOrderMax)); 181 181 182 pOrder = (VRD PORDERTEXT *)EngAllocMem (0, cbOrderMax, ALLOC_TAG);182 pOrder = (VRDEORDERTEXT *)EngAllocMem (0, cbOrderMax, ALLOC_TAG); 183 183 184 184 if (!pOrder) … … 261 261 pOrder->cbOrder = (uint32_t)(pu8GlyphPtr - (uint8_t *)pOrder); 262 262 263 vrdpReportOrderGeneric (ppdev, pClipRects, pOrder, pOrder->cbOrder, VRD P_ORDER_TEXT);263 vrdpReportOrderGeneric (ppdev, pClipRects, pOrder, pOrder->cbOrder, VRDE_ORDER_TEXT); 264 264 } 265 265 -
trunk/src/VBox/Frontends/VBoxHeadless/VBoxHeadless.cpp
r32738 r33004 32 32 #include <VBox/log.h> 33 33 #include <VBox/version.h> 34 #ifdef VBOX_WITH_VRDP35 # include <VBox/vrdpapi.h>36 #endif37 34 #include <iprt/buildconfig.h> 38 35 #include <iprt/ctype.h> -
trunk/src/VBox/Main/AudioSnifferInterface.cpp
r28800 r33004 23 23 24 24 #include <VBox/pdmdrv.h> 25 #include <VBox/ vrdpapi.h>25 #include <VBox/RemoteDesktop/VRDE.h> 26 26 #include <VBox/cfgm.h> 27 27 #include <VBox/err.h> … … 99 99 * Just call the VRDP server with the data. 100 100 */ 101 VRD PAUDIOFORMAT format = VRDP_AUDIO_FMT_MAKE(samplesPerSec, nChannels, bitsPerSample, !fUnsigned);101 VRDEAUDIOFORMAT format = VRDE_AUDIO_FMT_MAKE(samplesPerSec, nChannels, bitsPerSample, !fUnsigned); 102 102 pDrv->pAudioSniffer->getParent()->consoleVRDPServer()->SendAudioSamples(pvSamples, cSamples, format); 103 103 } -
trunk/src/VBox/Main/ConsoleImpl.cpp
r32961 r33004 1021 1021 #endif /* VBOX_WITH_VRDP */ 1022 1022 1023 if (fu32Intercepted & VRD P_CLIENT_INTERCEPT_USB)1023 if (fu32Intercepted & VRDE_CLIENT_INTERCEPT_USB) 1024 1024 { 1025 1025 mConsoleVRDPServer->USBBackendDelete(u32ClientId); … … 1027 1027 1028 1028 #ifdef VBOX_WITH_VRDP 1029 if (fu32Intercepted & VRD P_CLIENT_INTERCEPT_CLIPBOARD)1029 if (fu32Intercepted & VRDE_CLIENT_INTERCEPT_CLIPBOARD) 1030 1030 { 1031 1031 mConsoleVRDPServer->ClipboardDelete(u32ClientId); 1032 1032 } 1033 1033 1034 if (fu32Intercepted & VRD P_CLIENT_INTERCEPT_AUDIO)1034 if (fu32Intercepted & VRDE_CLIENT_INTERCEPT_AUDIO) 1035 1035 { 1036 1036 mcAudioRefs--; … … 7174 7174 * @note Locks this object for writing. 7175 7175 */ 7176 void Console::processRemoteUSBDevices(uint32_t u32ClientId, VRD PUSBDEVICEDESC *pDevList, uint32_t cbDevList)7176 void Console::processRemoteUSBDevices(uint32_t u32ClientId, VRDEUSBDEVICEDESC *pDevList, uint32_t cbDevList) 7177 7177 { 7178 7178 LogFlowThisFuncEnter(); … … 7205 7205 */ 7206 7206 /** @todo (sunlover) REMOTE_USB Strict validation of the pDevList. */ 7207 VRD PUSBDEVICEDESC *e = pDevList;7207 VRDEUSBDEVICEDESC *e = pDevList; 7208 7208 7209 7209 /* The cbDevList condition must be checked first, because the function can … … 7277 7277 cbDevList -= e->oNext; 7278 7278 7279 e = (VRD PUSBDEVICEDESC *)((uint8_t *)e + e->oNext);7279 e = (VRDEUSBDEVICEDESC *)((uint8_t *)e + e->oNext); 7280 7280 } 7281 7281 -
trunk/src/VBox/Main/ConsoleVRDPServer.cpp
r32780 r33004 34 34 #include <VBox/err.h> 35 35 #ifdef VBOX_WITH_VRDP 36 #include <VBox/ VRDPOrders.h>36 #include <VBox/RemoteDesktop/VRDEOrders.h> 37 37 #endif /* VBOX_WITH_VRDP */ 38 38 … … 454 454 const uint32_t dstheight = 32; 455 455 456 VRD PCOLORPOINTER *pointer = NULL;456 VRDECOLORPOINTER *pointer = NULL; 457 457 458 458 uint32_t dstmaskwidth = (dstwidth + 7) / 8; … … 464 464 uint32_t rdpdatalen = dstheight * rdpdatawidth; 465 465 466 pointer = (VRD PCOLORPOINTER *)RTMemTmpAlloc(sizeof(VRDPCOLORPOINTER) + rdpmasklen + rdpdatalen);466 pointer = (VRDECOLORPOINTER *)RTMemTmpAlloc(sizeof(VRDECOLORPOINTER) + rdpmasklen + rdpdatalen); 467 467 468 468 if (pointer) 469 469 { 470 uint8_t *maskarray = (uint8_t*)pointer + sizeof(VRD PCOLORPOINTER);470 uint8_t *maskarray = (uint8_t*)pointer + sizeof(VRDECOLORPOINTER); 471 471 uint8_t *dataarray = maskarray + rdpmasklen; 472 472 … … 551 551 RTLDRMOD ConsoleVRDPServer::mVRDPLibrary; 552 552 553 PFNVRD PCREATESERVER ConsoleVRDPServer::mpfnVRDPCreateServer = NULL;554 555 VRD PENTRYPOINTS_1 *ConsoleVRDPServer::mpEntryPoints = NULL;556 557 VRD PCALLBACKS_1 ConsoleVRDPServer::mCallbacks =558 { 559 { VRD P_INTERFACE_VERSION_1, sizeof(VRDPCALLBACKS_1) },553 PFNVRDECREATESERVER ConsoleVRDPServer::mpfnVRDPCreateServer = NULL; 554 555 VRDEENTRYPOINTS_1 *ConsoleVRDPServer::mpEntryPoints = NULL; 556 557 VRDECALLBACKS_1 ConsoleVRDPServer::mCallbacks = 558 { 559 { VRDE_INTERFACE_VERSION_1, sizeof(VRDECALLBACKS_1) }, 560 560 ConsoleVRDPServer::VRDPCallbackQueryProperty, 561 561 ConsoleVRDPServer::VRDPCallbackClientLogon, … … 580 580 switch (index) 581 581 { 582 case VRD P_QP_NETWORK_PORT:583 { 584 /* This is obsolete, the VRDP server uses VRD P_QP_NETWORK_PORT_RANGE instead. */582 case VRDE_QP_NETWORK_PORT: 583 { 584 /* This is obsolete, the VRDP server uses VRDE_QP_NETWORK_PORT_RANGE instead. */ 585 585 ULONG port = 0; 586 586 … … 598 598 } break; 599 599 600 case VRD P_QP_NETWORK_ADDRESS:600 case VRDE_QP_NETWORK_ADDRESS: 601 601 { 602 602 com::Bstr bstr; … … 628 628 } break; 629 629 630 case VRD P_QP_NUMBER_MONITORS:630 case VRDE_QP_NUMBER_MONITORS: 631 631 { 632 632 ULONG cMonitors = 1; … … 647 647 } break; 648 648 649 case VRD P_QP_NETWORK_PORT_RANGE:649 case VRDE_QP_NETWORK_PORT_RANGE: 650 650 { 651 651 com::Bstr bstr; … … 688 688 689 689 #ifdef VBOX_WITH_VRDP_VIDEO_CHANNEL 690 case VRD P_QP_VIDEO_CHANNEL:690 case VRDE_QP_VIDEO_CHANNEL: 691 691 { 692 692 BOOL fVideoEnabled = FALSE; … … 707 707 } break; 708 708 709 case VRD P_QP_VIDEO_CHANNEL_QUALITY:709 case VRDE_QP_VIDEO_CHANNEL_QUALITY: 710 710 { 711 711 ULONG ulQuality = 0; … … 726 726 } break; 727 727 728 case VRD P_QP_VIDEO_CHANNEL_SUNFLSH:728 case VRDE_QP_VIDEO_CHANNEL_SUNFLSH: 729 729 { 730 730 ULONG ulSunFlsh = 1; … … 756 756 #endif /* VBOX_WITH_VRDP_VIDEO_CHANNEL */ 757 757 758 case VRD P_QP_FEATURE:759 { 760 if (cbBuffer < sizeof(VRD PFEATURE))758 case VRDE_QP_FEATURE: 759 { 760 if (cbBuffer < sizeof(VRDEFEATURE)) 761 761 { 762 762 rc = VERR_INVALID_PARAMETER; … … 764 764 } 765 765 766 size_t cbInfo = cbBuffer - RT_OFFSETOF(VRD PFEATURE, achInfo);767 768 VRD PFEATURE *pFeature = (VRDPFEATURE *)pvBuffer;766 size_t cbInfo = cbBuffer - RT_OFFSETOF(VRDEFEATURE, achInfo); 767 768 VRDEFEATURE *pFeature = (VRDEFEATURE *)pvBuffer; 769 769 770 770 size_t cchInfo = 0; … … 825 825 } break; 826 826 827 case VRD P_SP_NETWORK_BIND_PORT:827 case VRDE_SP_NETWORK_BIND_PORT: 828 828 { 829 829 if (cbBuffer != sizeof(uint32_t)) … … 885 885 switch (fu32Intercept) 886 886 { 887 case VRD P_CLIENT_INTERCEPT_AUDIO:887 case VRDE_CLIENT_INTERCEPT_AUDIO: 888 888 { 889 889 server->mConsole->VRDPInterceptAudio(u32ClientId); … … 895 895 } break; 896 896 897 case VRD P_CLIENT_INTERCEPT_USB:897 case VRDE_CLIENT_INTERCEPT_USB: 898 898 { 899 899 server->mConsole->VRDPInterceptUSB(u32ClientId, ppvIntercept); … … 901 901 } break; 902 902 903 case VRD P_CLIENT_INTERCEPT_CLIPBOARD:903 case VRDE_CLIENT_INTERCEPT_CLIPBOARD: 904 904 { 905 905 server->mConsole->VRDPInterceptClipboard(u32ClientId); … … 932 932 } 933 933 934 DECLCALLBACK(bool) ConsoleVRDPServer::VRDPCallbackFramebufferQuery(void *pvCallback, unsigned uScreenId, VRD PFRAMEBUFFERINFO *pInfo)934 DECLCALLBACK(bool) ConsoleVRDPServer::VRDPCallbackFramebufferQuery(void *pvCallback, unsigned uScreenId, VRDEFRAMEBUFFERINFO *pInfo) 935 935 { 936 936 ConsoleVRDPServer *server = static_cast<ConsoleVRDPServer*>(pvCallback); … … 1032 1032 switch (type) 1033 1033 { 1034 case VRD P_INPUT_SCANCODE:1035 { 1036 if (cbInput == sizeof(VRD PINPUTSCANCODE))1034 case VRDE_INPUT_SCANCODE: 1035 { 1036 if (cbInput == sizeof(VRDEINPUTSCANCODE)) 1037 1037 { 1038 1038 IKeyboard *pKeyboard = pConsole->getKeyboard(); 1039 1039 1040 const VRD PINPUTSCANCODE *pInputScancode = (VRDPINPUTSCANCODE *)pvInput;1040 const VRDEINPUTSCANCODE *pInputScancode = (VRDEINPUTSCANCODE *)pvInput; 1041 1041 1042 1042 /* Track lock keys. */ … … 1063 1063 } break; 1064 1064 1065 case VRD P_INPUT_POINT:1066 { 1067 if (cbInput == sizeof(VRD PINPUTPOINT))1068 { 1069 const VRD PINPUTPOINT *pInputPoint = (VRDPINPUTPOINT *)pvInput;1065 case VRDE_INPUT_POINT: 1066 { 1067 if (cbInput == sizeof(VRDEINPUTPOINT)) 1068 { 1069 const VRDEINPUTPOINT *pInputPoint = (VRDEINPUTPOINT *)pvInput; 1070 1070 1071 1071 int mouseButtons = 0; 1072 1072 int iWheel = 0; 1073 1073 1074 if (pInputPoint->uButtons & VRD P_INPUT_POINT_BUTTON1)1074 if (pInputPoint->uButtons & VRDE_INPUT_POINT_BUTTON1) 1075 1075 { 1076 1076 mouseButtons |= MouseButtonState_LeftButton; 1077 1077 } 1078 if (pInputPoint->uButtons & VRD P_INPUT_POINT_BUTTON2)1078 if (pInputPoint->uButtons & VRDE_INPUT_POINT_BUTTON2) 1079 1079 { 1080 1080 mouseButtons |= MouseButtonState_RightButton; 1081 1081 } 1082 if (pInputPoint->uButtons & VRD P_INPUT_POINT_BUTTON3)1082 if (pInputPoint->uButtons & VRDE_INPUT_POINT_BUTTON3) 1083 1083 { 1084 1084 mouseButtons |= MouseButtonState_MiddleButton; 1085 1085 } 1086 if (pInputPoint->uButtons & VRD P_INPUT_POINT_WHEEL_UP)1086 if (pInputPoint->uButtons & VRDE_INPUT_POINT_WHEEL_UP) 1087 1087 { 1088 1088 mouseButtons |= MouseButtonState_WheelUp; 1089 1089 iWheel = -1; 1090 1090 } 1091 if (pInputPoint->uButtons & VRD P_INPUT_POINT_WHEEL_DOWN)1091 if (pInputPoint->uButtons & VRDE_INPUT_POINT_WHEEL_DOWN) 1092 1092 { 1093 1093 mouseButtons |= MouseButtonState_WheelDown; … … 1109 1109 } break; 1110 1110 1111 case VRD P_INPUT_CAD:1111 case VRDE_INPUT_CAD: 1112 1112 { 1113 1113 pConsole->getKeyboard()->PutCAD(); 1114 1114 } break; 1115 1115 1116 case VRD P_INPUT_RESET:1116 case VRDE_INPUT_RESET: 1117 1117 { 1118 1118 pConsole->Reset(); 1119 1119 } break; 1120 1120 1121 case VRD P_INPUT_SYNCH:1122 { 1123 if (cbInput == sizeof(VRD PINPUTSYNCH))1121 case VRDE_INPUT_SYNCH: 1122 { 1123 if (cbInput == sizeof(VRDEINPUTSYNCH)) 1124 1124 { 1125 1125 IKeyboard *pKeyboard = pConsole->getKeyboard(); 1126 1126 1127 const VRD PINPUTSYNCH *pInputSynch = (VRDPINPUTSYNCH *)pvInput;1128 1129 server->m_InputSynch.fClientNumLock = (pInputSynch->uLockStatus & VRD P_INPUT_SYNCH_NUMLOCK) != 0;1130 server->m_InputSynch.fClientCapsLock = (pInputSynch->uLockStatus & VRD P_INPUT_SYNCH_CAPITAL) != 0;1131 server->m_InputSynch.fClientScrollLock = (pInputSynch->uLockStatus & VRD P_INPUT_SYNCH_SCROLL) != 0;1127 const VRDEINPUTSYNCH *pInputSynch = (VRDEINPUTSYNCH *)pvInput; 1128 1129 server->m_InputSynch.fClientNumLock = (pInputSynch->uLockStatus & VRDE_INPUT_SYNCH_NUMLOCK) != 0; 1130 server->m_InputSynch.fClientCapsLock = (pInputSynch->uLockStatus & VRDE_INPUT_SYNCH_CAPITAL) != 0; 1131 server->m_InputSynch.fClientScrollLock = (pInputSynch->uLockStatus & VRDE_INPUT_SYNCH_SCROLL) != 0; 1132 1132 1133 1133 /* The client initiated synchronization. Always make the guest to reflect the client state. … … 1267 1267 if (loadVRDPLibrary()) 1268 1268 { 1269 rc = mpfnVRDPCreateServer(&mCallbacks.header, this, (VRD PINTERFACEHDR **)&mpEntryPoints, &mhServer);1269 rc = mpfnVRDPCreateServer(&mCallbacks.header, this, (VRDEINTERFACEHDR **)&mpEntryPoints, &mhServer); 1270 1270 1271 1271 if (RT_SUCCESS(rc)) … … 1296 1296 if (mpEntryPoints && mhServer) 1297 1297 { 1298 mpEntryPoints->VRD PEnableConnections(mhServer, true);1298 mpEntryPoints->VRDEEnableConnections(mhServer, true); 1299 1299 } 1300 1300 #endif /* VBOX_WITH_VRDP */ … … 1306 1306 if (mpEntryPoints && mhServer) 1307 1307 { 1308 mpEntryPoints->VRD PDisconnect(mhServer, u32ClientId, fReconnect);1308 mpEntryPoints->VRDEDisconnect(mhServer, u32ClientId, fReconnect); 1309 1309 } 1310 1310 #endif /* VBOX_WITH_VRDP */ 1311 1311 } 1312 1312 1313 void ConsoleVRDPServer::MousePointerUpdate(const VRD PCOLORPOINTER *pPointer)1313 void ConsoleVRDPServer::MousePointerUpdate(const VRDECOLORPOINTER *pPointer) 1314 1314 { 1315 1315 #ifdef VBOX_WITH_VRDP 1316 1316 if (mpEntryPoints && mhServer) 1317 1317 { 1318 mpEntryPoints->VRD PColorPointer(mhServer, pPointer);1318 mpEntryPoints->VRDEColorPointer(mhServer, pPointer); 1319 1319 } 1320 1320 #endif /* VBOX_WITH_VRDP */ … … 1326 1326 if (mpEntryPoints && mhServer) 1327 1327 { 1328 mpEntryPoints->VRD PHidePointer(mhServer);1328 mpEntryPoints->VRDEHidePointer(mhServer); 1329 1329 } 1330 1330 #endif /* VBOX_WITH_VRDP */ … … 1338 1338 if (mhServer) 1339 1339 { 1340 HVRD PSERVER hServer = mhServer;1340 HVRDESERVER hServer = mhServer; 1341 1341 1342 1342 /* Reset the handle to avoid further calls to the server. */ … … 1345 1345 if (mpEntryPoints && hServer) 1346 1346 { 1347 mpEntryPoints->VRD PDestroy(hServer);1347 mpEntryPoints->VRDEDestroy(hServer); 1348 1348 } 1349 1349 } … … 1649 1649 switch (u32Function) 1650 1650 { 1651 case VRD P_CLIPBOARD_FUNCTION_FORMAT_ANNOUNCE:1651 case VRDE_CLIPBOARD_FUNCTION_FORMAT_ANNOUNCE: 1652 1652 { 1653 1653 if (pServer->mpfnClipboardCallback) … … 1660 1660 } break; 1661 1661 1662 case VRD P_CLIPBOARD_FUNCTION_DATA_READ:1662 case VRDE_CLIPBOARD_FUNCTION_DATA_READ: 1663 1663 { 1664 1664 if (pServer->mpfnClipboardCallback) … … 1705 1705 if (mpEntryPoints && pServer->mhServer) 1706 1706 { 1707 mpEntryPoints->VRD PClipboard(pServer->mhServer,1708 VRD P_CLIPBOARD_FUNCTION_FORMAT_ANNOUNCE,1707 mpEntryPoints->VRDEClipboard(pServer->mhServer, 1708 VRDE_CLIPBOARD_FUNCTION_FORMAT_ANNOUNCE, 1709 1709 pParms->u32Format, 1710 1710 NULL, … … 1722 1722 if (mpEntryPoints && pServer->mhServer) 1723 1723 { 1724 mpEntryPoints->VRD PClipboard(pServer->mhServer,1725 VRD P_CLIPBOARD_FUNCTION_DATA_READ,1724 mpEntryPoints->VRDEClipboard(pServer->mhServer, 1725 VRDE_CLIPBOARD_FUNCTION_DATA_READ, 1726 1726 pParms->u32Format, 1727 1727 pParms->u.pvData, … … 1735 1735 if (mpEntryPoints && pServer->mhServer) 1736 1736 { 1737 mpEntryPoints->VRD PClipboard(pServer->mhServer,1738 VRD P_CLIPBOARD_FUNCTION_DATA_WRITE,1737 mpEntryPoints->VRDEClipboard(pServer->mhServer, 1738 VRDE_CLIPBOARD_FUNCTION_DATA_WRITE, 1739 1739 pParms->u32Format, 1740 1740 pParms->u.pvData, … … 2050 2050 if (mpEntryPoints && mhServer) 2051 2051 { 2052 mpEntryPoints->VRD PUpdate(mhServer, uScreenId, pvUpdate, cbUpdate);2052 mpEntryPoints->VRDEUpdate(mhServer, uScreenId, pvUpdate, cbUpdate); 2053 2053 } 2054 2054 #endif … … 2060 2060 if (mpEntryPoints && mhServer) 2061 2061 { 2062 mpEntryPoints->VRD PResize(mhServer);2062 mpEntryPoints->VRDEResize(mhServer); 2063 2063 } 2064 2064 #endif … … 2068 2068 { 2069 2069 #ifdef VBOX_WITH_VRDP 2070 VRD PORDERHDR update;2070 VRDEORDERHDR update; 2071 2071 update.x = x; 2072 2072 update.y = y; … … 2075 2075 if (mpEntryPoints && mhServer) 2076 2076 { 2077 mpEntryPoints->VRD PUpdate(mhServer, uScreenId, &update, sizeof(update));2077 mpEntryPoints->VRDEUpdate(mhServer, uScreenId, &update, sizeof(update)); 2078 2078 } 2079 2079 #endif 2080 2080 } 2081 2081 2082 void ConsoleVRDPServer::SendAudioSamples(void *pvSamples, uint32_t cSamples, VRD PAUDIOFORMAT format) const2082 void ConsoleVRDPServer::SendAudioSamples(void *pvSamples, uint32_t cSamples, VRDEAUDIOFORMAT format) const 2083 2083 { 2084 2084 #ifdef VBOX_WITH_VRDP 2085 2085 if (mpEntryPoints && mhServer) 2086 2086 { 2087 mpEntryPoints->VRD PAudioSamples(mhServer, pvSamples, cSamples, format);2087 mpEntryPoints->VRDEAudioSamples(mhServer, pvSamples, cSamples, format); 2088 2088 } 2089 2089 #endif … … 2095 2095 if (mpEntryPoints && mhServer) 2096 2096 { 2097 mpEntryPoints->VRD PAudioVolume(mhServer, left, right);2097 mpEntryPoints->VRDEAudioVolume(mhServer, left, right); 2098 2098 } 2099 2099 #endif … … 2105 2105 if (mpEntryPoints && mhServer) 2106 2106 { 2107 mpEntryPoints->VRD PUSBRequest(mhServer, u32ClientId, pvParms, cbParms);2107 mpEntryPoints->VRDEUSBRequest(mhServer, u32ClientId, pvParms, cbParms); 2108 2108 } 2109 2109 #endif … … 2113 2113 { 2114 2114 #ifdef VBOX_WITH_VRDP 2115 if (index == VRD P_QI_PORT)2115 if (index == VRDE_QI_PORT) 2116 2116 { 2117 2117 uint32_t cbOut = sizeof(int32_t); … … 2125 2125 else if (mpEntryPoints && mhServer) 2126 2126 { 2127 mpEntryPoints->VRD PQueryInfo(mhServer, index, pvBuffer, cbBuffer, pcbOut);2127 mpEntryPoints->VRDEQueryInfo(mhServer, index, pvBuffer, cbBuffer, pcbOut); 2128 2128 } 2129 2129 #endif … … 2357 2357 extern void IMPL_GETTER_BSTR_DUMMY(void) 2358 2358 2359 IMPL_GETTER_BOOL (BOOL, Active, VRD P_QI_ACTIVE);2360 IMPL_GETTER_SCALAR (LONG, Port, VRD P_QI_PORT, 0);2361 IMPL_GETTER_SCALAR (ULONG, NumberOfClients, VRD P_QI_NUMBER_OF_CLIENTS, 0);2362 IMPL_GETTER_SCALAR (LONG64, BeginTime, VRD P_QI_BEGIN_TIME, 0);2363 IMPL_GETTER_SCALAR (LONG64, EndTime, VRD P_QI_END_TIME, 0);2364 IMPL_GETTER_SCALAR (LONG64, BytesSent, VRD P_QI_BYTES_SENT, INT64_MAX);2365 IMPL_GETTER_SCALAR (LONG64, BytesSentTotal, VRD P_QI_BYTES_SENT_TOTAL, INT64_MAX);2366 IMPL_GETTER_SCALAR (LONG64, BytesReceived, VRD P_QI_BYTES_RECEIVED, INT64_MAX);2367 IMPL_GETTER_SCALAR (LONG64, BytesReceivedTotal, VRD P_QI_BYTES_RECEIVED_TOTAL, INT64_MAX);2368 IMPL_GETTER_BSTR (BSTR, User, VRD P_QI_USER);2369 IMPL_GETTER_BSTR (BSTR, Domain, VRD P_QI_DOMAIN);2370 IMPL_GETTER_BSTR (BSTR, ClientName, VRD P_QI_CLIENT_NAME);2371 IMPL_GETTER_BSTR (BSTR, ClientIP, VRD P_QI_CLIENT_IP);2372 IMPL_GETTER_SCALAR (ULONG, ClientVersion, VRD P_QI_CLIENT_VERSION, 0);2373 IMPL_GETTER_SCALAR (ULONG, EncryptionStyle, VRD P_QI_ENCRYPTION_STYLE, 0);2359 IMPL_GETTER_BOOL (BOOL, Active, VRDE_QI_ACTIVE); 2360 IMPL_GETTER_SCALAR (LONG, Port, VRDE_QI_PORT, 0); 2361 IMPL_GETTER_SCALAR (ULONG, NumberOfClients, VRDE_QI_NUMBER_OF_CLIENTS, 0); 2362 IMPL_GETTER_SCALAR (LONG64, BeginTime, VRDE_QI_BEGIN_TIME, 0); 2363 IMPL_GETTER_SCALAR (LONG64, EndTime, VRDE_QI_END_TIME, 0); 2364 IMPL_GETTER_SCALAR (LONG64, BytesSent, VRDE_QI_BYTES_SENT, INT64_MAX); 2365 IMPL_GETTER_SCALAR (LONG64, BytesSentTotal, VRDE_QI_BYTES_SENT_TOTAL, INT64_MAX); 2366 IMPL_GETTER_SCALAR (LONG64, BytesReceived, VRDE_QI_BYTES_RECEIVED, INT64_MAX); 2367 IMPL_GETTER_SCALAR (LONG64, BytesReceivedTotal, VRDE_QI_BYTES_RECEIVED_TOTAL, INT64_MAX); 2368 IMPL_GETTER_BSTR (BSTR, User, VRDE_QI_USER); 2369 IMPL_GETTER_BSTR (BSTR, Domain, VRDE_QI_DOMAIN); 2370 IMPL_GETTER_BSTR (BSTR, ClientName, VRDE_QI_CLIENT_NAME); 2371 IMPL_GETTER_BSTR (BSTR, ClientIP, VRDE_QI_CLIENT_IP); 2372 IMPL_GETTER_SCALAR (ULONG, ClientVersion, VRDE_QI_CLIENT_VERSION, 0); 2373 IMPL_GETTER_SCALAR (ULONG, EncryptionStyle, VRDE_QI_ENCRYPTION_STYLE, 0); 2374 2374 2375 2375 #undef IMPL_GETTER_BSTR -
trunk/src/VBox/Main/RemoteUSBBackend.cpp
r31892 r33004 22 22 #include "RemoteUSBDeviceImpl.h" 23 23 24 #include <VBox/ vrdpapi.h>24 #include <VBox/RemoteDesktop/VRDE.h> 25 25 #include <VBox/vrdpusb.h> 26 26 #include <VBox/err.h> … … 93 93 bool fInput; /* This URB receives data from the client. */ 94 94 95 uint32_t u32TransferredLen; /* For VRD P_USB_DIRECTION_OUT URBs = bytes written.96 * For VRD P_USB_DIRECTION_IN URBs = bytes received.95 uint32_t u32TransferredLen; /* For VRDE_USB_DIRECTION_OUT URBs = bytes written. 96 * For VRDE_USB_DIRECTION_IN URBs = bytes received. 97 97 */ 98 98 } REMOTEUSBQURB; … … 106 106 RemoteUSBBackend *pOwner; 107 107 108 VRD PUSBDEVID id; /* The remote identifier, assigned by client. */108 VRDEUSBDEVID id; /* The remote identifier, assigned by client. */ 109 109 110 110 uint32_t u32ClientId; /* The identifier of the remote client. */ … … 163 163 switch (code) 164 164 { 165 case VRD P_USB_REQ_DEVICE_LIST:165 case VRDE_USB_REQ_DEVICE_LIST: 166 166 { 167 167 rc = pThis->saveDeviceList (pvRet, cbRet); 168 168 } break; 169 169 170 case VRD P_USB_REQ_NEGOTIATE:171 { 172 if (pvRet && cbRet >= sizeof (VRD PUSBREQNEGOTIATERET))173 { 174 VRD PUSBREQNEGOTIATERET *pret = (VRDPUSBREQNEGOTIATERET *)pvRet;170 case VRDE_USB_REQ_NEGOTIATE: 171 { 172 if (pvRet && cbRet >= sizeof (VRDEUSBREQNEGOTIATERET)) 173 { 174 VRDEUSBREQNEGOTIATERET *pret = (VRDEUSBREQNEGOTIATERET *)pvRet; 175 175 176 176 rc = pThis->negotiateResponse (pret, cbRet); … … 179 179 { 180 180 Log(("USBClientResponseCallback: WARNING: not enough data in response: pv = %p, cb = %d, expected %d.\n", 181 pvRet, cbRet, sizeof (VRD PUSBREQNEGOTIATERET)));181 pvRet, cbRet, sizeof (VRDEUSBREQNEGOTIATERET))); 182 182 183 183 rc = VERR_INVALID_PARAMETER; … … 185 185 } break; 186 186 187 case VRD P_USB_REQ_REAP_URB:187 case VRDE_USB_REQ_REAP_URB: 188 188 { 189 189 rc = pThis->reapURB (pvRet, cbRet); … … 192 192 } break; 193 193 194 case VRD P_USB_REQ_QUEUE_URB:195 case VRD P_USB_REQ_CLOSE:196 case VRD P_USB_REQ_CANCEL_URB:194 case VRDE_USB_REQ_QUEUE_URB: 195 case VRDE_USB_REQ_CLOSE: 196 case VRDE_USB_REQ_CANCEL_URB: 197 197 { 198 198 /* Do nothing, actually this should not happen. */ … … 200 200 } break; 201 201 202 case VRD P_USB_REQ_OPEN:203 case VRD P_USB_REQ_RESET:204 case VRD P_USB_REQ_SET_CONFIG:205 case VRD P_USB_REQ_CLAIM_INTERFACE:206 case VRD P_USB_REQ_RELEASE_INTERFACE:207 case VRD P_USB_REQ_INTERFACE_SETTING:208 case VRD P_USB_REQ_CLEAR_HALTED_EP:202 case VRDE_USB_REQ_OPEN: 203 case VRDE_USB_REQ_RESET: 204 case VRDE_USB_REQ_SET_CONFIG: 205 case VRDE_USB_REQ_CLAIM_INTERFACE: 206 case VRDE_USB_REQ_RELEASE_INTERFACE: 207 case VRDE_USB_REQ_INTERFACE_SETTING: 208 case VRDE_USB_REQ_CLEAR_HALTED_EP: 209 209 { 210 210 /* 211 211 * Device specific responses with status codes. 212 212 */ 213 if (pvRet && cbRet >= sizeof (VRD PUSBREQRETHDR))214 { 215 VRD PUSBREQRETHDR *pret = (VRDPUSBREQRETHDR *)pvRet;216 217 if (pret->status != VRD P_USB_STATUS_SUCCESS)213 if (pvRet && cbRet >= sizeof (VRDEUSBREQRETHDR)) 214 { 215 VRDEUSBREQRETHDR *pret = (VRDEUSBREQRETHDR *)pvRet; 216 217 if (pret->status != VRDE_USB_STATUS_SUCCESS) 218 218 { 219 219 REMOTEUSBDEVICE *pDevice = pThis->deviceFromId (pret->id); … … 234 234 { 235 235 Log(("USBClientResponseCallback: WARNING: not enough data in response: pv = %p, cb = %d, expected %d.\n", 236 pvRet, cbRet, sizeof (VRD PUSBREQRETHDR)));236 pvRet, cbRet, sizeof (VRDEUSBREQRETHDR))); 237 237 } 238 238 } break; … … 308 308 if (RT_SUCCESS(rc)) 309 309 { 310 VRD P_USB_REQ_OPEN_PARM parm;311 312 parm.code = VRD P_USB_REQ_OPEN;310 VRDE_USB_REQ_OPEN_PARM parm; 311 312 parm.code = VRDE_USB_REQ_OPEN; 313 313 parm.id = pDevice->id; 314 314 … … 337 337 RemoteUSBBackend *pThis = pDevice->pOwner; 338 338 339 VRD P_USB_REQ_CLOSE_PARM parm;340 341 parm.code = VRD P_USB_REQ_CLOSE;339 VRDE_USB_REQ_CLOSE_PARM parm; 340 341 parm.code = VRDE_USB_REQ_CLOSE; 342 342 parm.id = pDevice->id; 343 343 … … 365 365 } 366 366 367 VRD P_USB_REQ_RESET_PARM parm;368 369 parm.code = VRD P_USB_REQ_RESET;367 VRDE_USB_REQ_RESET_PARM parm; 368 369 parm.code = VRDE_USB_REQ_RESET; 370 370 parm.id = pDevice->id; 371 371 … … 384 384 } 385 385 386 VRD P_USB_REQ_SET_CONFIG_PARM parm;387 388 parm.code = VRD P_USB_REQ_SET_CONFIG;386 VRDE_USB_REQ_SET_CONFIG_PARM parm; 387 388 parm.code = VRDE_USB_REQ_SET_CONFIG; 389 389 parm.id = pDevice->id; 390 390 parm.configuration = u8Cfg; … … 404 404 } 405 405 406 VRD P_USB_REQ_CLAIM_INTERFACE_PARM parm;407 408 parm.code = VRD P_USB_REQ_CLAIM_INTERFACE;406 VRDE_USB_REQ_CLAIM_INTERFACE_PARM parm; 407 408 parm.code = VRDE_USB_REQ_CLAIM_INTERFACE; 409 409 parm.id = pDevice->id; 410 410 parm.iface = u8Ifnum; … … 424 424 } 425 425 426 VRD P_USB_REQ_RELEASE_INTERFACE_PARM parm;427 428 parm.code = VRD P_USB_REQ_RELEASE_INTERFACE;426 VRDE_USB_REQ_RELEASE_INTERFACE_PARM parm; 427 428 parm.code = VRDE_USB_REQ_RELEASE_INTERFACE; 429 429 parm.id = pDevice->id; 430 430 parm.iface = u8Ifnum; … … 444 444 } 445 445 446 VRD P_USB_REQ_INTERFACE_SETTING_PARM parm;447 448 parm.code = VRD P_USB_REQ_INTERFACE_SETTING;446 VRDE_USB_REQ_INTERFACE_SETTING_PARM parm; 447 448 parm.code = VRDE_USB_REQ_INTERFACE_SETTING; 449 449 parm.id = pDevice->id; 450 450 parm.iface = u8Ifnum; … … 465 465 } 466 466 467 VRD P_USB_REQ_CLEAR_HALTED_EP_PARM parm;468 469 parm.code = VRD P_USB_REQ_CLEAR_HALTED_EP;467 VRDE_USB_REQ_CLEAR_HALTED_EP_PARM parm; 468 469 parm.code = VRDE_USB_REQ_CLEAR_HALTED_EP; 470 470 parm.id = pDevice->id; 471 471 parm.ep = u8Ep; … … 480 480 RemoteUSBBackend *pThis = pDevice->pOwner; 481 481 482 VRD P_USB_REQ_CANCEL_URB_PARM parm;483 484 parm.code = VRD P_USB_REQ_CANCEL_URB;482 VRDE_USB_REQ_CANCEL_URB_PARM parm; 483 484 parm.code = VRDE_USB_REQ_CANCEL_URB; 485 485 parm.id = pDevice->id; 486 486 parm.handle = pRemoteURB->u32Handle; … … 534 534 RemoteUSBBackend *pThis = pDevice->pOwner; 535 535 536 VRD P_USB_REQ_QUEUE_URB_PARM parm;536 VRDE_USB_REQ_QUEUE_URB_PARM parm; 537 537 uint32_t u32Handle = 0; 538 538 uint32_t u32DataLen = 0; … … 573 573 } 574 574 575 parm.code = VRD P_USB_REQ_QUEUE_URB;575 parm.code = VRDE_USB_REQ_QUEUE_URB; 576 576 parm.id = pDevice->id; 577 577 … … 588 588 switch(u8Type) 589 589 { 590 case VUSBXFERTYPE_CTRL: parm.type = VRD P_USB_TRANSFER_TYPE_CTRL; break;591 case VUSBXFERTYPE_ISOC: parm.type = VRD P_USB_TRANSFER_TYPE_ISOC; break;592 case VUSBXFERTYPE_BULK: parm.type = VRD P_USB_TRANSFER_TYPE_BULK; break;593 case VUSBXFERTYPE_INTR: parm.type = VRD P_USB_TRANSFER_TYPE_INTR; break;594 case VUSBXFERTYPE_MSG: parm.type = VRD P_USB_TRANSFER_TYPE_MSG; break;590 case VUSBXFERTYPE_CTRL: parm.type = VRDE_USB_TRANSFER_TYPE_CTRL; break; 591 case VUSBXFERTYPE_ISOC: parm.type = VRDE_USB_TRANSFER_TYPE_ISOC; break; 592 case VUSBXFERTYPE_BULK: parm.type = VRDE_USB_TRANSFER_TYPE_BULK; break; 593 case VUSBXFERTYPE_INTR: parm.type = VRDE_USB_TRANSFER_TYPE_INTR; break; 594 case VUSBXFERTYPE_MSG: parm.type = VRDE_USB_TRANSFER_TYPE_MSG; break; 595 595 default: AssertFailed(); rc = VERR_INVALID_PARAMETER; goto l_leave; 596 596 } … … 600 600 switch(u8Direction) 601 601 { 602 case VUSB_DIRECTION_SETUP: AssertFailed(); parm.direction = VRD P_USB_DIRECTION_SETUP; break;603 case VUSB_DIRECTION_IN: parm.direction = VRD P_USB_DIRECTION_IN; break;604 case VUSB_DIRECTION_OUT: parm.direction = VRD P_USB_DIRECTION_OUT; break;602 case VUSB_DIRECTION_SETUP: AssertFailed(); parm.direction = VRDE_USB_DIRECTION_SETUP; break; 603 case VUSB_DIRECTION_IN: parm.direction = VRDE_USB_DIRECTION_IN; break; 604 case VUSB_DIRECTION_OUT: parm.direction = VRDE_USB_DIRECTION_OUT; break; 605 605 default: AssertFailed(); rc = VERR_INVALID_PARAMETER; goto l_leave; 606 606 } … … 619 619 qurb->next = NULL; 620 620 qurb->prev = pDevice->pTailQURBs; 621 qurb->u32Err = VRD P_USB_XFER_OK;621 qurb->u32Err = VRDE_USB_XFER_OK; 622 622 qurb->u32Len = u32Len; 623 623 qurb->pvData = pvData; … … 678 678 if (pThis->pollingEnabledURB ()) 679 679 { 680 VRD P_USB_REQ_REAP_URB_PARM parm;681 682 parm.code = VRD P_USB_REQ_REAP_URB;680 VRDE_USB_REQ_REAP_URB_PARM parm; 681 682 parm.code = VRDE_USB_REQ_REAP_URB; 683 683 684 684 pThis->VRDPServer()->SendUSBRequest (pDevice->u32ClientId, &parm, sizeof (parm)); … … 748 748 if (pThis->pollingEnabledURB ()) 749 749 { 750 VRD P_USB_REQ_REAP_URB_PARM parm;751 752 parm.code = VRD P_USB_REQ_REAP_URB;750 VRDE_USB_REQ_REAP_URB_PARM parm; 751 752 parm.code = VRDE_USB_REQ_REAP_URB; 753 753 754 754 pThis->VRDPServer()->SendUSBRequest (u32ClientId, &parm, sizeof (parm)); … … 818 818 case PollRemoteDevicesStatus_Negotiate: 819 819 { 820 VRD PUSBREQNEGOTIATEPARM parm;821 822 parm.code = VRD P_USB_REQ_NEGOTIATE;823 parm.version = VRD P_USB_VERSION;820 VRDEUSBREQNEGOTIATEPARM parm; 821 822 parm.code = VRDE_USB_REQ_NEGOTIATE; 823 parm.version = VRDE_USB_VERSION; 824 824 parm.flags = 0; 825 825 … … 849 849 850 850 /* Send a request for device list. */ 851 VRD P_USB_REQ_DEVICE_LIST_PARM parm;852 853 parm.code = VRD P_USB_REQ_DEVICE_LIST;851 VRDE_USB_REQ_DEVICE_LIST_PARM parm; 852 853 parm.code = VRDE_USB_REQ_DEVICE_LIST; 854 854 855 855 mServer->SendUSBRequest (mu32ClientId, &parm, sizeof (parm)); … … 864 864 if (mfHasDeviceList) 865 865 { 866 mConsole->processRemoteUSBDevices (mu32ClientId, (VRD PUSBDEVICEDESC *)mpvDeviceList, mcbDeviceList);866 mConsole->processRemoteUSBDevices (mu32ClientId, (VRDEUSBDEVICEDESC *)mpvDeviceList, mcbDeviceList); 867 867 LogFlow(("USB::PollRemoteDevices: WaitResponse after process\n")); 868 868 … … 950 950 mpDevices (NULL), 951 951 mfWillBeDeleted (false), 952 mClientVersion (0) /* VRD P_USB_VERSION_2: the client version. */952 mClientVersion (0) /* VRDE_USB_VERSION_2: the client version. */ 953 953 { 954 954 Assert(console); … … 991 991 } 992 992 993 int RemoteUSBBackend::negotiateResponse (const VRD PUSBREQNEGOTIATERET *pret, uint32_t cbRet)993 int RemoteUSBBackend::negotiateResponse (const VRDEUSBREQNEGOTIATERET *pret, uint32_t cbRet) 994 994 { 995 995 int rc = VINF_SUCCESS; … … 1000 1000 pret->flags)); 1001 1001 1002 if (pret->flags & VRD P_USB_CAPS_FLAG_POLL)1002 if (pret->flags & VRDE_USB_CAPS_FLAG_POLL) 1003 1003 { 1004 1004 Log(("RemoteUSBBackend::negotiateResponse: client requested URB polling.\n")); … … 1010 1010 } 1011 1011 1012 /* VRD P_USB_VERSION_2: check the client version. */1013 if (pret->flags & VRD P_USB_CAPS2_FLAG_VERSION)1012 /* VRDE_USB_VERSION_2: check the client version. */ 1013 if (pret->flags & VRDE_USB_CAPS2_FLAG_VERSION) 1014 1014 { 1015 1015 /* This could be a client version > 1. */ 1016 if (cbRet >= sizeof (VRD PUSBREQNEGOTIATERET_2))1017 { 1018 VRD PUSBREQNEGOTIATERET_2 *pret2 = (VRDPUSBREQNEGOTIATERET_2 *)pret;1019 1020 if (pret2->u32Version <= VRD P_USB_VERSION)1016 if (cbRet >= sizeof (VRDEUSBREQNEGOTIATERET_2)) 1017 { 1018 VRDEUSBREQNEGOTIATERET_2 *pret2 = (VRDEUSBREQNEGOTIATERET_2 *)pret; 1019 1020 if (pret2->u32Version <= VRDE_USB_VERSION) 1021 1021 { 1022 1022 /* This is OK. The client wants a version supported by the server. */ … … 1038 1038 { 1039 1039 /* This is a client version 1. */ 1040 mClientVersion = VRD P_USB_VERSION_1;1040 mClientVersion = VRDE_USB_VERSION_1; 1041 1041 } 1042 1042 … … 1085 1085 } 1086 1086 1087 PREMOTEUSBDEVICE RemoteUSBBackend::deviceFromId (VRD PUSBDEVID id)1087 PREMOTEUSBDEVICE RemoteUSBBackend::deviceFromId (VRDEUSBDEVID id) 1088 1088 { 1089 1089 request (); … … 1144 1144 LogFlow(("RemoteUSBBackend::reapURB: pvBody = %p, cbBody = %d\n", pvBody, cbBody)); 1145 1145 1146 VRD PUSBREQREAPURBBODY *pBody = (VRDPUSBREQREAPURBBODY *)pvBody;1147 1148 while (cbBody >= sizeof (VRD PUSBREQREAPURBBODY))1146 VRDEUSBREQREAPURBBODY *pBody = (VRDEUSBREQREAPURBBODY *)pvBody; 1147 1148 while (cbBody >= sizeof (VRDEUSBREQREAPURBBODY)) 1149 1149 { 1150 1150 Log(("RemoteUSBBackend::reapURB: id = %d, flags = %02X, error = %d, handle %d, len = %d.\n", … … 1153 1153 uint8_t fu8ReapValidFlags; 1154 1154 1155 if (mClientVersion == VRD P_USB_VERSION_1 || mClientVersion == VRDP_USB_VERSION_2)1156 { 1157 fu8ReapValidFlags = VRD P_USB_REAP_VALID_FLAGS;1155 if (mClientVersion == VRDE_USB_VERSION_1 || mClientVersion == VRDE_USB_VERSION_2) 1156 { 1157 fu8ReapValidFlags = VRDE_USB_REAP_VALID_FLAGS; 1158 1158 } 1159 1159 else 1160 1160 { 1161 fu8ReapValidFlags = VRD P_USB_REAP_VALID_FLAGS_3;1161 fu8ReapValidFlags = VRDE_USB_REAP_VALID_FLAGS_3; 1162 1162 } 1163 1163 1164 1164 /* Verify client's data. */ 1165 1165 if ( (pBody->flags & ~fu8ReapValidFlags) != 0 1166 || sizeof (VRD PUSBREQREAPURBBODY) > cbBody1166 || sizeof (VRDEUSBREQREAPURBBODY) > cbBody 1167 1167 || pBody->handle == 0) 1168 1168 { … … 1203 1203 1204 1204 /* Update the URB error field. */ 1205 if (mClientVersion == VRD P_USB_VERSION_1)1205 if (mClientVersion == VRDE_USB_VERSION_1) 1206 1206 { 1207 1207 switch(pBody->error) 1208 1208 { 1209 case VRD P_USB_XFER_OK: qurb->u32Err = VUSBSTATUS_OK; break;1210 case VRD P_USB_XFER_STALL: qurb->u32Err = VUSBSTATUS_STALL; break;1211 case VRD P_USB_XFER_DNR: qurb->u32Err = VUSBSTATUS_DNR; break;1212 case VRD P_USB_XFER_CRC: qurb->u32Err = VUSBSTATUS_CRC; break;1209 case VRDE_USB_XFER_OK: qurb->u32Err = VUSBSTATUS_OK; break; 1210 case VRDE_USB_XFER_STALL: qurb->u32Err = VUSBSTATUS_STALL; break; 1211 case VRDE_USB_XFER_DNR: qurb->u32Err = VUSBSTATUS_DNR; break; 1212 case VRDE_USB_XFER_CRC: qurb->u32Err = VUSBSTATUS_CRC; break; 1213 1213 default: Log(("RemoteUSBBackend::reapURB: Invalid error %d\n", pBody->error)); 1214 1214 qurb->u32Err = VUSBSTATUS_DNR; break; 1215 1215 } 1216 1216 } 1217 else if ( mClientVersion == VRD P_USB_VERSION_21218 || mClientVersion == VRD P_USB_VERSION_3)1217 else if ( mClientVersion == VRDE_USB_VERSION_2 1218 || mClientVersion == VRDE_USB_VERSION_3) 1219 1219 { 1220 1220 switch(pBody->error) 1221 1221 { 1222 case VRD P_USB_XFER_OK: qurb->u32Err = VUSBSTATUS_OK; break;1223 case VRD P_USB_XFER_STALL: qurb->u32Err = VUSBSTATUS_STALL; break;1224 case VRD P_USB_XFER_DNR: qurb->u32Err = VUSBSTATUS_DNR; break;1225 case VRD P_USB_XFER_CRC: qurb->u32Err = VUSBSTATUS_CRC; break;1226 case VRD P_USB_XFER_DO: qurb->u32Err = VUSBSTATUS_DATA_OVERRUN; break;1227 case VRD P_USB_XFER_DU: qurb->u32Err = VUSBSTATUS_DATA_UNDERRUN; break;1222 case VRDE_USB_XFER_OK: qurb->u32Err = VUSBSTATUS_OK; break; 1223 case VRDE_USB_XFER_STALL: qurb->u32Err = VUSBSTATUS_STALL; break; 1224 case VRDE_USB_XFER_DNR: qurb->u32Err = VUSBSTATUS_DNR; break; 1225 case VRDE_USB_XFER_CRC: qurb->u32Err = VUSBSTATUS_CRC; break; 1226 case VRDE_USB_XFER_DO: qurb->u32Err = VUSBSTATUS_DATA_OVERRUN; break; 1227 case VRDE_USB_XFER_DU: qurb->u32Err = VUSBSTATUS_DATA_UNDERRUN; break; 1228 1228 1229 1229 /* Unmapped errors. */ 1230 case VRD P_USB_XFER_BS:1231 case VRD P_USB_XFER_DTM:1232 case VRD P_USB_XFER_PCF:1233 case VRD P_USB_XFER_UPID:1234 case VRD P_USB_XFER_BO:1235 case VRD P_USB_XFER_BU:1236 case VRD P_USB_XFER_ERR:1230 case VRDE_USB_XFER_BS: 1231 case VRDE_USB_XFER_DTM: 1232 case VRDE_USB_XFER_PCF: 1233 case VRDE_USB_XFER_UPID: 1234 case VRDE_USB_XFER_BO: 1235 case VRDE_USB_XFER_BU: 1236 case VRDE_USB_XFER_ERR: 1237 1237 default: Log(("RemoteUSBBackend::reapURB: Invalid error %d\n", pBody->error)); 1238 1238 qurb->u32Err = VUSBSTATUS_DNR; break; … … 1249 1249 if (qurb->fInput) 1250 1250 { 1251 cbBodyData = pBody->len; /* VRD P_USB_DIRECTION_IN URBs include some data. */1251 cbBodyData = pBody->len; /* VRDE_USB_DIRECTION_IN URBs include some data. */ 1252 1252 } 1253 1253 … … 1272 1272 1273 1273 if ( qurb->u32Err == VUSBSTATUS_OK 1274 && (pBody->flags & VRD P_USB_REAP_FLAG_FRAGMENT) != 0)1274 && (pBody->flags & VRDE_USB_REAP_FLAG_FRAGMENT) != 0) 1275 1275 { 1276 1276 /* If the client sends fragmented packets, accumulate the URB data. */ … … 1312 1312 releaseDevice (pDevice); 1313 1313 1314 if (pBody->flags & VRD P_USB_REAP_FLAG_LAST)1314 if (pBody->flags & VRDE_USB_REAP_FLAG_LAST) 1315 1315 { 1316 1316 break; … … 1318 1318 1319 1319 /* There is probably a further URB body. */ 1320 uint32_t cbBodySize = sizeof (VRD PUSBREQREAPURBBODY) + cbBodyData;1320 uint32_t cbBodySize = sizeof (VRDEUSBREQREAPURBBODY) + cbBodyData; 1321 1321 1322 1322 if (cbBodySize > cbBody) … … 1326 1326 } 1327 1327 1328 pBody = (VRD PUSBREQREAPURBBODY *)((uint8_t *)pBody + cbBodySize);1328 pBody = (VRDEUSBREQREAPURBBODY *)((uint8_t *)pBody + cbBodySize); 1329 1329 cbBody -= cbBodySize; 1330 1330 } -
trunk/src/VBox/Main/RemoteUSBDeviceImpl.cpp
r30681 r33004 28 28 #include <VBox/err.h> 29 29 30 #include <VBox/ vrdpapi.h>30 #include <VBox/RemoteDesktop/VRDE.h> 31 31 #include <VBox/vrdpusb.h> 32 32 … … 54 54 * Initializes the remote USB device object. 55 55 */ 56 HRESULT RemoteUSBDevice::init (uint32_t u32ClientId, VRD PUSBDEVICEDESC *pDevDesc)56 HRESULT RemoteUSBDevice::init (uint32_t u32ClientId, VRDEUSBDEVICEDESC *pDevDesc) 57 57 { 58 58 LogFlowThisFunc(("u32ClientId=%d,pDevDesc=%p\n", u32ClientId, pDevDesc)); -
trunk/src/VBox/Main/include/ConsoleImpl.h
r32885 r33004 39 39 class Progress; 40 40 41 #include <VBox/ vrdpapi.h>41 #include <VBox/RemoteDesktop/VRDE.h> 42 42 #include <VBox/pdmdrv.h> 43 43 #ifdef VBOX_WITH_GUEST_PROPS … … 211 211 void VRDPInterceptClipboard(uint32_t u32ClientId); 212 212 213 void processRemoteUSBDevices(uint32_t u32ClientId, VRD PUSBDEVICEDESC *pDevList, uint32_t cbDevList);213 void processRemoteUSBDevices(uint32_t u32ClientId, VRDEUSBDEVICEDESC *pDevList, uint32_t cbDevList); 214 214 215 215 // callback callers (partly; for some events console callbacks are notified -
trunk/src/VBox/Main/include/ConsoleVRDPServer.h
r31698 r33004 97 97 void EnableConnections (void); 98 98 void DisconnectClient (uint32_t u32ClientId, bool fReconnect); 99 void MousePointerUpdate (const VRD PCOLORPOINTER *pPointer);99 void MousePointerUpdate (const VRDECOLORPOINTER *pPointer); 100 100 void MousePointerHide (void); 101 101 … … 134 134 void SendUpdateBitmap (unsigned uScreenId, uint32_t x, uint32_t y, uint32_t w, uint32_t h) const; 135 135 136 void SendAudioSamples (void *pvSamples, uint32_t cSamples, VRD PAUDIOFORMAT format) const;136 void SendAudioSamples (void *pvSamples, uint32_t cSamples, VRDEAUDIOFORMAT format) const; 137 137 void SendAudioVolume (uint16_t left, uint16_t right) const; 138 138 void SendUSBRequest (uint32_t u32ClientId, void *pvParms, uint32_t cbParms) const; … … 147 147 148 148 #ifdef VBOX_WITH_VRDP 149 HVRD PSERVER mhServer;149 HVRDESERVER mhServer; 150 150 151 151 static bool loadVRDPLibrary (void); … … 154 154 static RTLDRMOD mVRDPLibrary; 155 155 156 static PFNVRD PCREATESERVER mpfnVRDPCreateServer;157 158 static VRD PENTRYPOINTS_1 *mpEntryPoints;159 static VRD PCALLBACKS_1 mCallbacks;156 static PFNVRDECREATESERVER mpfnVRDPCreateServer; 157 158 static VRDEENTRYPOINTS_1 *mpEntryPoints; 159 static VRDECALLBACKS_1 mCallbacks; 160 160 161 161 static DECLCALLBACK(int) VRDPCallbackQueryProperty (void *pvCallback, uint32_t index, void *pvBuffer, uint32_t cbBuffer, uint32_t *pcbOut); … … 166 166 static DECLCALLBACK(int) VRDPCallbackUSB (void *pvCallback, void *pvIntercept, uint32_t u32ClientId, uint8_t u8Code, const void *pvRet, uint32_t cbRet); 167 167 static DECLCALLBACK(int) VRDPCallbackClipboard (void *pvCallback, void *pvIntercept, uint32_t u32ClientId, uint32_t u32Function, uint32_t u32Format, const void *pvData, uint32_t cbData); 168 static DECLCALLBACK(bool) VRDPCallbackFramebufferQuery (void *pvCallback, unsigned uScreenId, VRD PFRAMEBUFFERINFO *pInfo);168 static DECLCALLBACK(bool) VRDPCallbackFramebufferQuery (void *pvCallback, unsigned uScreenId, VRDEFRAMEBUFFERINFO *pInfo); 169 169 static DECLCALLBACK(void) VRDPCallbackFramebufferLock (void *pvCallback, unsigned uScreenId); 170 170 static DECLCALLBACK(void) VRDPCallbackFramebufferUnlock (void *pvCallback, unsigned uScreenId); -
trunk/src/VBox/Main/include/RemoteUSBBackend.h
r30764 r33004 21 21 #include "RemoteUSBDeviceImpl.h" 22 22 23 #include <VBox/ vrdpapi.h>23 #include <VBox/RemoteDesktop/VRDE.h> 24 24 #include <VBox/vrdpusb.h> 25 25 … … 78 78 int saveDeviceList (const void *pvList, uint32_t cbList); 79 79 80 int negotiateResponse (const VRD PUSBREQNEGOTIATERET *pret, uint32_t cbRet);80 int negotiateResponse (const VRDEUSBREQNEGOTIATERET *pret, uint32_t cbRet); 81 81 82 82 int reapURB (const void *pvBody, uint32_t cbBody); … … 85 85 void release (void); 86 86 87 PREMOTEUSBDEVICE deviceFromId (VRD PUSBDEVID id);87 PREMOTEUSBDEVICE deviceFromId (VRDEUSBDEVID id); 88 88 89 89 void addDevice (PREMOTEUSBDEVICE pDevice); -
trunk/src/VBox/Main/include/RemoteUSBDeviceImpl.h
r30739 r33004 24 24 #include "VirtualBoxBase.h" 25 25 26 struct _VRD PUSBDEVICEDESC;27 typedef _VRD PUSBDEVICEDESC VRDPUSBDEVICEDESC;26 struct _VRDEUSBDEVICEDESC; 27 typedef _VRDEUSBDEVICEDESC VRDEUSBDEVICEDESC; 28 28 29 29 class ATL_NO_VTABLE RemoteUSBDevice : … … 52 52 53 53 // public initializer/uninitializer for internal purposes only 54 HRESULT init(uint32_t u32ClientId, VRD PUSBDEVICEDESC *pDevDesc);54 HRESULT init(uint32_t u32ClientId, VRDEUSBDEVICEDESC *pDevDesc); 55 55 void uninit(); 56 56
Note:
See TracChangeset
for help on using the changeset viewer.