VirtualBox

Ignore:
Timestamp:
Aug 31, 2017 12:09:41 PM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
117767
Message:

merging vbglioc r117689: Initial VBoxGuest I/O control changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxControl/VBoxControl.cpp

    r62849 r68550  
    16991699static DECLCALLBACK(RTEXITCODE) handleDpc(int argc, char *argv[])
    17001700{
     1701    RT_NOREF(argc,  argv);
     1702    int rc = VERR_NOT_IMPLEMENTED;
    17011703# ifndef VBOX_CONTROL_TEST
    1702     int rc;
    17031704    for (int i = 0; i < 30; i++)
    17041705    {
    1705         rc = vbglR3DoIOCtl(VBOXGUEST_IOCTL_DPC_LATENCY_CHECKER, NULL, 0);
    1706         if (RT_FAILURE(rc))
     1706        VBGLREQHDR Req;
     1707        VBGLREQHDR_INIT(&Req, DPC_LATENCY_CHECKER);
     1708        rc = vbglR3DoIOCtl(VBGL_IOCTL_DPC_LATENCY_CHECKER, &Req, sizeof(Req));
     1709        if (RT_SUCCESS(rc))
     1710            RTPrintf("%d\n", i);
     1711        else
    17071712            break;
    1708         RTPrintf("%d\n", i);
    1709     }
    1710 # else
    1711     int rc = VERR_NOT_IMPLEMENTED;
     1713    }
    17121714# endif
    17131715    if (RT_FAILURE(rc))
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