#ifndef _NTRTL_H
#if (PHNT_VERSION >= PHNT_WINDOWS_10_RS3)
// private
NTSYSAPI
BOOLEAN
NTAPI
RtlIsStateSeparationEnabled(
VOID
);
View code on GitHub// ntddk.h
NTSYSAPI BOOLEAN RtlIsStateSeparationEnabled();
View the official Windows Driver Kit DDI referenceThis function is documented in Windows Driver Kit.
Checks if the SKU for the current context supports multiple sessions.
TRUE indicates state separation enabled and FALSE otherwise.