VirtualBox

Ignore:
Timestamp:
Aug 27, 2010 11:09:05 AM (14 years ago)
Author:
vboxsync
Message:

wddm: compile fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Miniport/VBoxVideo.cpp

    r31979 r32039  
    14681468    if (ppv)
    14691469    {
     1470#ifndef VBOXWDDM
    14701471        /* The pHostFlags field is mapped through pvAdapterInformation. It must be cleared first,
    14711472         * and it must be done in a way which avoids races with the interrupt handler.
     
    14731474        VideoPortSynchronizeExecution(PrimaryExtension, VpMediumPriority,
    14741475                                      VBoxUnmapAdpInfoCallback, PrimaryExtension);
    1475 #ifndef VBOXWDDM
    14761476        VideoPortUnmapMemory(PrimaryExtension, ppv, NULL);
    14771477#else
    1478         NTSTATUS ntStatus = PrimaryExtension->u.primary.DxgkInterface.DxgkCbUnmapMemory(PrimaryExtension->u.primary.DxgkInterface.DeviceHandle,
     1478        BOOLEAN bRet;
     1479        NTSTATUS ntStatus = PrimaryExtension->u.primary.DxgkInterface.DxgkCbSynchronizeExecution(PrimaryExtension->u.primary.DxgkInterface.DeviceHandle,
     1480                VBoxUnmapAdpInfoCallback, PrimaryExtension,
     1481                0, &bRet);
     1482        Assert(ntStatus == STATUS_SUCCESS);
     1483        ntStatus = PrimaryExtension->u.primary.DxgkInterface.DxgkCbUnmapMemory(PrimaryExtension->u.primary.DxgkInterface.DeviceHandle,
    14791484                ppv);
    14801485        Assert(ntStatus == STATUS_SUCCESS);
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