NetworkIsolationEnumAppContainers function
The NetworkIsolationEnumAppContainers function enumerates all of the app containers that have been created in the system.
Syntax
DWORD NetworkIsolationEnumAppContainers( _In_ DWORD Flags, _Out_ DWORD *pdwNumPublicAppCs, _Out_ PINET_FIREWALL_APP_CONTAINER *ppPublicAppCs );
Parameters
- Flags [in]
-
Type: DWORD
May be set to NETISO_FLAG_FORCE_COMPUTE_BINARIES to ensure that all binaries are computed before the app container is returned. This flag should be set if the caller requires up-to-date and complete information on app container binaries. If this flag is not set, returned data may be stale or incomplete.
See NETISO_FLAG for more information.
- pdwNumPublicAppCs [out]
-
Type: DWORD*
The number of app containers in the ppPublicAppCs member.
- ppPublicAppCs [out]
-
Type: PINET_FIREWALL_APP_CONTAINER*
The list of app container structure elements.
Return value
Type: DWORD
Returns ERROR_SUCCESS if successful, or an error value otherwise.
ERROR_OUTOFMEMORY will be returned if memory is unavailable.
Remarks
If no app containers are installed on the system, ERROR_SUCCESS will still be returned (and ppPublicAppCs will be empty).
Requirements
|
Minimum supported client | Windows 8 [desktop apps only] |
|---|---|
|
Minimum supported server | Windows Server 2012 [desktop apps only] |
|
Header |
|
|
DLL |
|
See also
Send comments about this topic to Microsoft
Build date: 10/26/2012
