NdfCreateWebIncident function (ndfapi.h)

The NdfCreateWebIncident function diagnoses web connectivity problems concerning a specific URL.

Syntax

HRESULT NdfCreateWebIncident(
  [in]  LPCWSTR   url,
  [out] NDFHANDLE *handle
);

Parameters

[in] url

Type: LPCWSTR

The URL with which there is a connectivity issue.

[out] handle

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 code Description
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]
Target Platform Windows
Header ndfapi.h
Library Ndfapi.lib
DLL Ndfapi.dll