NdfCreateWebIncidentEx function

The NdfCreateWebIncidentEx function diagnoses web connectivity problems concerning a specific URL. This function allows for more control over the underlying diagnosis than the NdfCreateWebIncident function.

Syntax


HRESULT WINAPI NdfCreateWebIncidentEx(
  _In_   LPCWSTR url,
  _In_   BOOL useWinHTTP,
  _In_   LPWSTR moduleName,
  _Out_  NDFHANDLE *handle
);

Parameters

url [in]

Type: LPCWSTR

The URL with which there is a connectivity issue.

useWinHTTP [in]

Type: BOOL

TRUE if diagnosis will be performed using the WinHTTP APIs; FALSE if the WinInet APIs will be used.

moduleName [in]

Type: LPWSTR

The module name to use when checking against application-specific filtering rules (for example, "C:\Program Files\Internet Explorer\iexplorer.exe"). If NULL, the value is autodetected during the diagnosis.

handle [out]

Type: NDFHANDLE*

Handle to the Network Diagnostics Framework incident.

Return value

Type: HRESULT

Possible return values include, but are not limited to, the following.

Return codeDescription
S_OK

The operation succeeded.

E_ABORT

The underlying diagnosis or repair operation has been canceled.

E_OUTOFMEMORY

There is not enough memory available to complete this operation.

NDF_E_BAD_PARAM

One or more parameters are invalid.

 

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Ndfapi.h

Library

Ndfapi.lib

DLL

Ndfapi.dll

See also

NdfCreateWebIncident

 

 

Community Additions

ADD
Show:
© 2014 Microsoft