mirror of
https://github.com/reactos/reactos.git
synced 2025-01-01 03:54:02 +00:00
TAG video buffer memory at alloc
svn path=/trunk/; revision=31464
This commit is contained in:
parent
88eea4a9ce
commit
290a73238b
2 changed files with 2 additions and 1 deletions
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Reference in a new issue