exSecurePoolUpdate 函式 (wdm.h)

ExSecurePoolUpdate 函式會更新安全集區配置的內容。

語法

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
);

參數

[in] SecurePoolHandle

提供堆積的句柄。

[in] Tag

提供此配置的標記。

[in] Allocation

提供其想要更新之配置的指標。

[in] Cookie

提供用來識別此配置的 Cookie 值。

[in] Offset

提供要修改之緩衝區中的位移。

[in] Size

提供配置的大小。 位移 + 大小必須位於原始配置內。

[in] Buffer

提供安全集區區塊的新內容。

傳回值

傳回NTSTATUS程式代碼。

規格需求

需求
最低支援的伺服器 Windows Server 2022
標頭 wdm.h