SeTokenIsNoChildProcessRestrictionEnforced function (ntifs.h)

The SeTokenIsNoChildProcessRestrictionEnforced routine determines if the token carries the no child process restriction.

Syntax

BOOLEAN SeTokenIsNoChildProcessRestrictionEnforced(
  [in]            PACCESS_TOKEN Token,
  [out, optional] PBOOLEAN      UnlessSecure
);

Parameters

[in] Token

Specifies a pointer to the access token.

[out, optional] UnlessSecure

Optionally provides a pointer to the value that will be set to TRUE when secure process creation is enabled even if process creation is restricted.

Return value

This routine returns TRUE if Token carries the no child process restriction.

Requirements

Requirement Value
Minimum supported client Windows 10, version 1709.
Target Platform Windows
Header ntifs.h (include Ntifs.h)
Library NtosKrnl.lib
DLL NtosKrnl.exe