[NTOS:MM] Use POOL_BILLED_PROCESS_INVALID constant.

This commit is contained in:
Thomas Faber 2020-02-05 10:23:22 +01:00
parent e5813c4644
commit feb7275bc8
No known key found for this signature in database
GPG key ID: 076E7C3D44720826

View file

@ -1826,7 +1826,7 @@ ExReturnPoolQuota(IN PVOID P)
DPRINT1("Object %p is not a process. Type %u, pool type 0x%x, block size %u\n",
Process, Process->Pcb.Header.Type, Entry->PoolType, BlockSize);
KeBugCheckEx(BAD_POOL_CALLER,
0x0D,
POOL_BILLED_PROCESS_INVALID,
(ULONG_PTR)P,
Entry->PoolTag,
(ULONG_PTR)Process);
@ -2659,7 +2659,7 @@ ExFreePoolWithTag(IN PVOID P,
DPRINT1("Object %p is not a process. Type %u, pool type 0x%x, block size %u\n",
Process, Process->Pcb.Header.Type, Entry->PoolType, BlockSize);
KeBugCheckEx(BAD_POOL_CALLER,
0x0D,
POOL_BILLED_PROCESS_INVALID,
(ULONG_PTR)P,
Tag,
(ULONG_PTR)Process);