#ifndef _NTRTL_H
#if (PHNT_VERSION >= PHNT_WINBLUE)
// rev
NTSYSAPI
BOOLEAN
NTAPI
RtlIsParentOfChildAppContainer(
_In_ PSID ParentAppContainerSid,
_In_ PSID ChildAppContainerSid
);
View code on GitHub
Determines if two SIDs represent a pair of related child and parent AppContainer SIDs.
ParentAppContainerSid
- a parent AppContainer SID.ChildAppContainerSid
- a child AppContainer SID.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.