PsChargeProcessPagedPoolQuota

This function charges a process for its use of paged pool.

Declaration

NTSTATUS
PsChargeProcessPagedPoolQuota (
    EPROCESS *Process,
    SIZE_T Amount);

Parameters

The Process argument is the address of the process that is to be charged for its use of paged pool.

The Amount argument is the amount, in bytes, to charge.

Return Value

The function returns STATUS_SUCCESS if successful, else a negative error code.

Availability

The PsChargeProcessPagedPoolQuota function is exported by name from the kernel in version 5.1 and higher.

Documentation Status

The PsChargeProcessPagedPoolQuota function is not documented.

Behaviour

The PsChargeProcessPagedPoolQuota function is essentially the PsChargeProcessPoolQuota function but with the latter’s PoolType argument specialised to PagedPool (1).