Changeset 30245 in vbox for trunk/src/VBox/Main
- Timestamp:
- Jun 16, 2010 1:05:30 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 62742
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ConsoleVRDPServer.cpp
r29518 r30245 786 786 { 787 787 *(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; 788 816 rc = VINF_SUCCESS; 789 817 }
Note:
See TracChangeset
for help on using the changeset viewer.