RtlGetAppContainerParent - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTRTL_H
#if (PHNT_VERSION >= PHNT_WINBLUE)

// rev
NTSYSAPI
NTSTATUS
NTAPI
RtlGetAppContainerParent(
    _In_ PSID AppContainerSid,
    _Out_ PSID* AppContainerSidParent // RtlFreeSid
    );

#endif
#endif

View code on GitHub

Derives a parent AppContainer SID from a child AppContainer SID.

Parameters

Remarks

To avoid retaining unused resources, call RtlFreeSid to free the returned SID when it is no longer required.

For the structure and relation between parent and child AppContainer SIDs, see APPCONTAINER_SID_TYPE.

Required OS version

This function was introduced in Windows 8.1 alongside the support for child AppContainers.

See also