PsMakeSiloContextPermanent function (ntddk.h)
This routine makes the slot in a silo instance read-only, allowing the object in the slot to be retrieved without affecting the reference count on that object.
NTSTATUS PsMakeSiloContextPermanent( PESILO Silo, ULONG ContextSlot );
[in] The silo in which the slot resides. This parameter is required and it cannot be NULL.
[in] The slot to make read-only. The slot must be previously allocated by the PsAllocSiloContextSlot routine.
The following NT status codes are returned.
||The slot does not contain a valid object. This is an error code.|
||The slot has not been allocated. This is an error code.|
||The operation completed successfully.|
|Minimum supported client||Windows 10, version 1607|
|Minimum supported server||Windows Server 2016|