NdfCreateWebIncident function (ndfapi.h)
The NdfCreateWebIncident function diagnoses web connectivity problems concerning a specific URL.
Syntax
void 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 |
---|---|
|
The operation succeeded. |
|
The underlying diagnosis or repair operation has been canceled. |
|
There is not enough memory available to complete this operation. |
|
One or more parameters are invalid. |
Requirements
Requirement | Value |
---|---|
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 |