Changeset 5159 in vbox for trunk/src/VBox/Additions/WINNT/Graphics/Miniport
- Timestamp:
- Oct 4, 2007 4:09:56 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Miniport/VBoxVideo.cpp
r4950 r5159 1299 1299 pShareMemory = (PVIDEO_SHARE_MEMORY)RequestPacket->InputBuffer; 1300 1300 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)); 1305 1305 RequestPacket->StatusBlock->Status = ERROR_INVALID_PARAMETER; 1306 1306 Result = FALSE;
Note:
See TracChangeset
for help on using the changeset viewer.