#ifndef _NTRTL_H
#if (PHNT_VERSION >= PHNT_WINBLUE)
// rev
NTSYSAPI
NTSTATUS
NTAPI
RtlGetAppContainerSidType(
_In_ PSID AppContainerSid,
_Out_ PAPPCONTAINER_SID_TYPE AppContainerSidType
);
View code on GitHub
Determines the type of AppContainer SID.
AppContainerSid
- the SID to classify.AppContainerSidType
- a pointer to a variable that receives the SID classification.STATUS_NOT_APPCONTAINER
- the specified SID is not an AppContainer SID.For the list of known AppContainer SID types, their structure, and relation, see APPCONTAINER_SID_TYPE
.
If the provided SID is not an AppContainer SID, the function returns an error code in addition to setting the AppContainerSidType
variable to NotAppContainerSidType
(0).
This function was introduced in Windows 8.1 alongside the support for child AppContainers.