Skip to main content
NetworkIsolationDiagnoseConnectFailureAndGetInfo function

The NetworkIsolationDiagnoseConnectFailureAndGetInfo function gets information about a network isolation connection failure due to a missing capability. This function can be used to identify the capabilities required to connect to a server.

Syntax


DWORD NetworkIsolationDiagnoseConnectFailureAndGetInfo(
  _In_   LPCWSTR wszServerName,
  _Out_  NETISO_ERROR_TYPE *netIsoError
);

Parameters

wszServerName [in]

Type: LPCWSTR

Name (or IP address literal string) of the server to which a connection was attempted.

netIsoError [out]

Type: NETISO_ERROR_TYPE*

The error that has occurred, indicating which network capability was missing and thus caused the failure.

Return value

Type: DWORD

Returns ERROR_SUCCESS if successful, or an error value otherwise.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Netfw.h

DLL

Api-ms-win-net-isolation-l1.dll

See also

NETISO_ERROR_TYPE

 

 

Build date: 11/16/2013