TAG video buffer memory at alloc

svn path=/trunk/; revision=31464
This commit is contained in:
Magnus Olsen 2007-12-27 18:30:36 +00:00
parent 88eea4a9ce
commit 290a73238b
2 changed files with 2 additions and 1 deletions

View file

@ -709,7 +709,7 @@ VideoPortAllocateBuffer(
OUT PVOID *Buffer)
{
DPRINT("VideoPortAllocateBuffer\n");
*Buffer = ExAllocatePool(PagedPool, Size);
*Buffer = ExAllocatePoolWithTag ( PagedPool, Size, TAG_VIDEO_PORT_BUFFER ) ;
return *Buffer == NULL ? ERROR_NOT_ENOUGH_MEMORY : NO_ERROR;
}

View file

@ -37,6 +37,7 @@
#include <debug.h>
#define TAG_VIDEO_PORT TAG('V', 'I', 'D', 'P')
#define TAG_VIDEO_PORT_BUFFER TAG('V', 'p', 'm', '\0' )
#define DPFLTR_IHVVIDEO_ID 80 /* FIXME */