Bewerken

Delen via


PsFreeSiloContextSlot function (ntddk.h)

This routine frees the specified slot and makes it available in the system. It undoes the effects of the PsAllocSiloContextSlot routine.

Syntax

NTSTATUS PsFreeSiloContextSlot(
  [in] ULONG ContextSlot
);

Parameters

[in] ContextSlot

A slot allocated by the PsAllocSiloContextSlot routine.

Warning

Setting this parameter to a slot that is still in use causes the system to execute bug check.

Return value

The following NT status codes are returned:

Return code Description
STATUS_INVALID_PARAMETER The slot is not allocated in the system. This is an error code.
STATUS_SUCCESS The operation completed successfully.

Requirements

Requirement Value
Minimum supported client Windows 10, version 1607
Minimum supported server Windows Server 2016
Target Platform Windows
Header ntddk.h

See also

PsAllocSiloContextSlot