#ifndef _NTRTL_H
#if (PHNT_VERSION >= PHNT_WINDOWS_8_1)
// rev
NTSYSAPI
BOOLEAN
NTAPI
RtlIsParentOfChildAppContainer(
_In_ PSID ParentAppContainerSid,
_In_ PSID ChildAppContainerSid
);
View code on GitHubDetermines if two SIDs represent a pair of related child and parent AppContainer SIDs.
The function verifies the types of provided SIDs using RtlGetAppContainerSidType and then compares their first SECURITY_PARENT_PACKAGE_RID_COUNT (8) sub-authorities.
For the structure and relation between parent and child AppContainer SIDs, see APPCONTAINER_SID_TYPE.
This function was introduced in Windows 8.1 alongside the support for child AppContainers.