mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
TAG video buffer memory at alloc
svn path=/trunk/; revision=31464
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user