ExSecurePoolUpdate function (wdm.h)

The ExSecurePoolUpdate function updates the contents of the secure pool allocation.

Syntax

NTSTATUS ExSecurePoolUpdate(
  [in] HANDLE    SecurePoolHandle,
  [in] ULONG     Tag,
  [in] PVOID     Allocation,
  [in] ULONG_PTR Cookie,
  [in] SIZE_T    Offset,
  [in] SIZE_T    Size,
  [in] PVOID     Buffer
);

Parameters

[in] SecurePoolHandle

Supplies the handle for the heap.

[in] Tag

Supplies the tag for this allocation.

[in] Allocation

Supplies a pointer to the allocation it wants to update.

[in] Cookie

Supplies a cookie value used for identifying this allocation.

[in] Offset

Supplies the offset into the buffer to be modified.

[in] Size

Supplies size of the allocation. Offset + size must be within the original allocation.

[in] Buffer

Supplies new contents of the secure pool block.

Return value

Returns an NTSTATUS code.

Requirements

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