NetworkIsolationSetAppContainerConfig function (networkisolation.h)

The NetworkIsolationSetAppContainerConfig function is used to set the configuration of one or more app containers.

Syntax

DWORD NetworkIsolationSetAppContainerConfig(
  [in] DWORD               dwNumPublicAppCs,
  [in] PSID_AND_ATTRIBUTES appContainerSids
);

Parameters

[in] dwNumPublicAppCs

Type: DWORD

The number of app containers in the appContainerSids member.

[in] appContainerSids

Type: PSID_AND_ATTRIBUTES

The security identifiers (SIDs) of app containers that are allowed to send loopback traffic. Used for debugging purposes.

Return value

Type: DWORD

Returns ERROR_SUCCESS if successful, or an error value otherwise.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Target Platform Windows
Header networkisolation.h (include Netfw.h)
DLL Firewallapi.dll