// ntddk.h
VOID PsDetachSiloFromCurrentThread(
[in] PESILO PreviousSilo
);
View the official Windows Driver Kit DDI referenceNo description available.
This routine removes a thread from a silo which was added by an attach. For more info about attaching, see the PsAttachSiloToCurrentThread routine.
The caller is responsible for dereferencing the object after the detach has completed.
PreviousSilo [in]The value returned from the silo attach call.