Changeset 38529 in vbox
- Timestamp:
- Aug 25, 2011 2:15:29 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageInfo.cpp
r37778 r38529 1437 1437 if (console) 1438 1438 { 1439 ComPtr<IDisplay> display;1440 CHECK_ERROR_RET(console, COMGETTER(Display)(display.asOutParam()), rc);1441 1439 do 1442 1440 { 1441 ComPtr<IDisplay> display; 1442 rc = console->COMGETTER(Display)(display.asOutParam()); 1443 if (rc == E_ACCESSDENIED) 1444 break; /* VM not powered up */ 1445 if (FAILED(rc)) 1446 { 1447 com::GlueHandleComError(console, "COMGETTER(Display)(display.asOutParam())", rc, __FILE__, __LINE__); 1448 return rc; 1449 } 1443 1450 ULONG xRes, yRes, bpp; 1444 1451 rc = display->GetScreenResolution(0, &xRes, &yRes, &bpp);
Note:
See TracChangeset
for help on using the changeset viewer.