Skip to content

Latest commit

 

History

History
148 lines (115 loc) · 2.96 KB

nf-ndfapi-ndfcreateincident.md

File metadata and controls

148 lines (115 loc) · 2.96 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:ndfapi.NdfCreateIncident
NdfCreateIncident function (ndfapi.h)
To test the NDF functionality incorporated into their application.
NdfCreateIncident
NdfCreateIncident function [NDF]
ndf.ndfcreateincident
ndfapi/NdfCreateIncident
ndf\ndfcreateincident.htm
NDF
8570a0e2-f02f-4812-a5c8-13b6e5feee6f
12/05/2018
NdfCreateIncident, NdfCreateIncident function [NDF], ndf.ndfcreateincident, ndfapi/NdfCreateIncident
ndfapi.h
Windows
Windows Vista [desktop apps only]
Windows Server 2008 [desktop apps only]
Ndfapi.lib
Ndfapi.dll
Windows
19H1
NdfCreateIncident
ndfapi/NdfCreateIncident
c++
APIRef
kbSyntax
DllExport
Ndfapi.dll
NdfCreateIncident

NdfCreateIncident function

-description

The NdfCreateIncident function is used internally by application developers to test the NDF functionality incorporated into their application.

-parameters

-param helperClassName [in]

Type: LPCWSTR

The name of the helper class to be used in the diagnoses of the incident.

-param celt

Type: ULONG

A count of elements in the attributes array.

-param attributes [in]

Type: HELPER_ATTRIBUTE*

The applicable HELPER_ATTRIBUTE structure.

-param handle [out]

Type: NDFHANDLE*

A handle to the Network Diagnostics Framework incident.

-returns

Type: HRESULT

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

Return code Description
S_OK
The operation succeeded.
E_OUTOFMEMORY
There is not enough memory available to complete this operation.
NDF_E_BAD_PARAM
One or more parameters are invalid.
NDF_E_NOHELPERCLASS
helperClassName is NULL.

-see-also

NdfCloseIncident

NdfCreateWinSockIncident

NdfExecuteDiagnosis