ExSecurePoolValidate function (wdm.h)

The ExSecurePoolValidate function validates that the secure pool provided is indeed the one previously created. It matches the secure header content with the values provided and checks if it owns the heap.

Syntax

LOGICAL ExSecurePoolValidate(
  [in] HANDLE    SecurePoolHandle,
  [in] ULONG     Tag,
  [in] PVOID     Allocation,
  [in] ULONG_PTR Cookie
);

Parameters

[in] SecurePoolHandle

Supplies the handle for the heap.

[in] Tag

Supplies the pool tag for this allocation.

[in] Allocation

Supplies a pointer to the allocation it wants to validate.

[in] Cookie

Supplies a cookie value used for identifying this allocation.

Return value

A LOGICAL value indicating if validation succeeded.

Requirements

Requirement Value
Minimum supported server Windows Server 2022
Header wdm.h