VirtualBox

Ignore:
Timestamp:
Oct 4, 2007 4:09:56 PM (17 years ago)
Author:
vboxsync
Message:

DdMapMemory must map the offscreen heap as well. Report DdLock updates only for the primary surface.

File:
1 edited

Legend:

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

    r4950 r5159  
    12991299            pShareMemory = (PVIDEO_SHARE_MEMORY)RequestPacket->InputBuffer;
    13001300
    1301             if (    (pShareMemory->ViewOffset > pDevExt->ulFrameBufferSize)
    1302                 ||  ((pShareMemory->ViewOffset + pShareMemory->ViewSize) > pDevExt->ulFrameBufferSize) ) {
    1303 
    1304                 dprintf(("IOCTL_VIDEO_SHARE_VIDEO_MEMORY - ERROR_INVALID_PARAMETER %x:%x size %x\n", pShareMemory->ViewOffset, pShareMemory->ViewSize, pDevExt->ulFrameBufferSize));
     1301            if (    (pShareMemory->ViewOffset > pDevExt->pPrimary->u.primary.ulMaxFrameBufferSize)
     1302                ||  ((pShareMemory->ViewOffset + pShareMemory->ViewSize) > pDevExt->pPrimary->u.primary.ulMaxFrameBufferSize) ) {
     1303
     1304                dprintf(("IOCTL_VIDEO_SHARE_VIDEO_MEMORY - ERROR_INVALID_PARAMETER %x:%x size %x\n", pShareMemory->ViewOffset, pShareMemory->ViewSize, pDevExt->pPrimary->u.primary.ulMaxFrameBufferSize));
    13051305                RequestPacket->StatusBlock->Status = ERROR_INVALID_PARAMETER;
    13061306                Result = FALSE;
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