Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
The NdfCreateIncident function is used internally by application developers to test the NDF functionality incorporated into their application.
Syntax
void NdfCreateIncident(
[in] LPCWSTR helperClassName,
ULONG celt,
[in] HELPER_ATTRIBUTE *attributes,
[out] NDFHANDLE *handle
);
Parameters
[in] helperClassName
Type: LPCWSTR
The name of the helper class to be used in the diagnoses of the incident.
celt
Type: ULONG
A count of elements in the attributes array.
[in] attributes
Type: HELPER_ATTRIBUTE*
The applicable HELPER_ATTRIBUTE structure.
[out] handle
Type: NDFHANDLE*
A 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. |
|
There is not enough memory available to complete this operation. |
|
One or more parameters are invalid. |
|
helperClassName is NULL. |
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 |