RtlGetAcesBufferSize function (ntifs.h)

RtlGetAcesBufferSize computes the size of the access control entries (ACEs) for the specified access control list (ACL).

Syntax

NTSYSAPI NTSTATUS RtlGetAcesBufferSize(
  PACL   Acl,
  PULONG AcesBufferSize
);

Parameters

Acl

[in] Pointer to the ACL to be queried.

AcesBufferSize

[out] Receives the size of the buffer used to store the ACEs in the ACL.

Return value

RtlGetAcesBufferSize returns STATUS_SUCCESS upon success. It returns STATUS_INVALID_PARAMETER if Acl or AcesBufferSize are NULL.

Requirements

Requirement Value
Minimum supported client Windows 11, version 24H2
Header ntifs.h
IRQL IRQL <= APC_LEVEL