VirtualBox

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


Ignore:
Timestamp:
Apr 12, 2010 3:58:07 PM (15 years ago)
Author:
vboxsync
Message:

Guest Control: Update (HGCM low level callbacks, bugfixes).

File:
1 edited

Legend:

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

    r28207 r28218  
    450450     */
    451451    PHOSTCALLBACKDATA pCBData = reinterpret_cast<PHOSTCALLBACKDATA>(pvParms);
     452    AssertPtr(pCBData);
    452453    AssertReturn(sizeof(HOSTCALLBACKDATA) == cbParms, VERR_INVALID_PARAMETER);
    453454    AssertReturn(HOSTCALLBACKMAGIC == pCBData->u32Magic, VERR_INVALID_PARAMETER);
     
    457458    int rc = VINF_SUCCESS;
    458459    Guest *pGuest = static_cast <Guest *>(pvExtension);
     460    AssertPtr(pGuest);
    459461
    460462    switch (u32Function)
    461463    {       
     464        case GUEST_EXEC_SEND_STATUS:
     465            LogFlowFunc(("GUEST_EXEC_SEND_STATUS\n"));
     466            break;
     467
    462468        default:
    463469            rc = VERR_NOT_SUPPORTED;
     
    614620                            cMsWait = RT_MIN(1000, aTimeoutMS - (uint32_t)cMsElapsed);
    615621                        }
     622                        RTThreadSleep(100);
    616623                    } while (!mSignalled);
    617624#if 0
Note: See TracChangeset for help on using the changeset viewer.

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