PsRemoveSiloContext function (ntddk.h)
This routine removes an object that was inserted in the Silo.
NTSTATUS PsRemoveSiloContext( PESILO Silo, ULONG ContextSlot, PVOID *RemovedSiloContext );
[in] The silo from which the object is to be removed. This parameter is required and it cannot be NULL.
[in] A slot allocated by the PsAllocSiloContextSlot routine.
A pointer to a caller-allocated variable that receives the address of the removed object. This parameter is optional and can be NULL.
The following NT status codes are returned.
||The slot is empty. This is an error code.|
||The slot is read-only and it cannot be modified. This is an error code.|
||The operation completed successfully.|
In a successful call to PsRemoveSiloContext where the RemovedSiloContext parameter is not NULL and does not point to NULL, the caller must decrement the object that the RemovedSiloContext parameter points to, by calling PsDereferenceSiloContext when it is no longer needed.
|Minimum supported client||Windows 10, version 1607|
|Minimum supported server||Windows Server 2016|