PsGetCurrentSilo function (ntddk.h)
This routine returns the current silo for the calling thread. First the thread is checked to see if it has been attached to a silo. If not, then the thread is checked to see if it is in a silo.
Syntax
PESILO PsGetCurrentSilo();
Return value
A pointer to the ESILO object. This pointer is valid for the current thread, but must be referenced before transferring to another thread (for example, via a workitem).
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 1607 |
Minimum supported server | Windows Server 2016 |
Target Platform | Windows |
Header | ntddk.h |
IRQL | IRQL_requires_max(DISPATCH_LEVEL) |