NTSTATUS
RtlNewSecurityObjectEx(
  IN  PSECURITY_DESCRIPTOR ParentDescriptor OPTIONAL,
  IN  PSECURITY_DESCRIPTOR CreatorDescriptor OPTIONAL,
  OUT PSECURITY_DESCRIPTOR * NewDescriptor,
  IN  GUID *ObjectType OPTIONAL,
  IN  BOOLEAN IsDirectoryObject,
  IN  ULONG AutoInheritFlags,
  IN  HANDLE Token OPTIONAL,
  IN  PGENERIC_MAPPING GenericMapping
  );

Routine Description:

    See RtlpNewSecurityObject.

                              - - WARNING - -

    This service is for use by protected subsystems that project their own
    type of object.  This service is explicitly not for use by the
    executive for executive objects and must not be called from kernel
    mode.

Arguments:

    See RtlpNewSecurityObject.

Return Value:

    See RtlpNewSecurityObject.