VirtualBox

Changeset 30245 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Jun 16, 2010 1:05:30 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
62742
Message:

VRDP: SunFlsh video channel: send frames, configuration (xTracker 4606).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/ConsoleVRDPServer.cpp

    r29518 r30245  
    786786            {
    787787                *(uint32_t *)pvBuffer = (uint32_t)ulQuality;
     788                rc = VINF_SUCCESS;
     789            }
     790            else
     791            {
     792                rc = VINF_BUFFER_OVERFLOW;
     793            }
     794
     795            *pcbOut = sizeof(uint32_t);
     796        } break;
     797
     798        case VRDP_QP_VIDEO_CHANNEL_SUNFLSH:
     799        {
     800            ULONG ulSunFlsh = 0;
     801
     802            com::Bstr bstr;
     803            HRESULT hrc = server->mConsole->machine ()->GetExtraData(Bstr("VRDP/SunFlsh"), bstr.asOutParam());
     804            if (hrc == S_OK && !bstr.isEmpty())
     805            {
     806                com::Utf8Str sunFlsh = bstr;
     807                if (!sunFlsh.isEmpty())
     808                {
     809                    ulSunFlsh = sunFlsh.toUInt32();
     810                }
     811            }
     812
     813            if (cbBuffer >= sizeof(uint32_t))
     814            {
     815                *(uint32_t *)pvBuffer = (uint32_t)ulSunFlsh;
    788816                rc = VINF_SUCCESS;
    789817            }
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette