VirtualBox

Ignore:
Timestamp:
Aug 5, 2016 8:19:24 PM (8 years ago)
Author:
vboxsync
Message:

GA/NT/Graphics: warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/xpdm/VBoxDispVHWA.cpp

    r62522 r63058  
    11/* $Id$ */
    2 
    32/** @file
    43 * VBox XPDM Display driver
     
    2726}
    2827
    29 static void VBoxDispVHWACommandRetain(PVBOXDISPDEV pDev, VBOXVHWACMD* pCmd)
     28static void VBoxDispVHWACommandRetain(VBOXVHWACMD* pCmd)
    3029{
    3130    ASMAtomicIncU32(&pCmd->cRefs);
     
    3736    pCmd->GuestVBVAReserved2 = 0;
    3837    /* ensure the command is not removed until we're processing it */
    39     VBoxDispVHWACommandRetain(pDev, pCmd);
     38    VBoxDispVHWACommandRetain(pCmd);
    4039
    4140    /* complete it asynchronously by setting event */
     
    197196static DECLCALLBACK(void) VBoxDispVHWACommandCompletionCallbackEvent(PVBOXDISPDEV pDev, VBOXVHWACMD * pCmd, void * pContext)
    198197{
     198    RT_NOREF(pCmd);
    199199    VBOXPEVENT pEvent = (VBOXPEVENT)pContext;
    200200    LONG oldState = pDev->vpAPI.VideoPortProcs.pfnSetEvent(pDev->vpAPI.pContext, pEvent);
     
    207207    pCmd->GuestVBVAReserved1 = (uintptr_t)pfnCompletion;
    208208    pCmd->GuestVBVAReserved2 = (uintptr_t)pContext;
    209     VBoxDispVHWACommandRetain(pDev, pCmd);
     209    VBoxDispVHWACommandRetain(pCmd);
    210210
    211211    VBoxHGSMIBufferSubmit(&pDev->hgsmi.ctx, pCmd);
     
    220220}
    221221
    222 static DECLCALLBACK(void) VBoxDispVHWAFreeCmdCompletion(PVBOXDISPDEV pDev, VBOXVHWACMD * pCmd, void * pContext)
    223 {
     222static DECLCALLBACK(void) VBoxDispVHWAFreeCmdCompletion(PVBOXDISPDEV pDev, VBOXVHWACMD *pCmd, void *pvContext)
     223{
     224    RT_NOREF(pvContext);
    224225    VBoxDispVHWACommandRelease(pDev, pCmd);
    225226}
     
    229230    pCmd->GuestVBVAReserved1 = (uintptr_t)VBoxDispVHWAFreeCmdCompletion;
    230231
    231     VBoxDispVHWACommandRetain(pDev, pCmd);
     232    VBoxDispVHWACommandRetain(pCmd);
    232233
    233234    pCmd->Flags |= VBOXVHWACMD_FLAG_GH_ASYNCH_NOCOMPLETION;
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