Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The NdfExecuteDiagnosis function is used to diagnose the root cause of the incident that has occurred.
Syntax
void NdfExecuteDiagnosis(
NDFHANDLE handle,
HWND hwnd
);
Parameters
handle
Type: NDFHANDLE
Handle to the Network Diagnostics Framework incident.
hwnd
Type: HWND
Handle to the window that is intended to display the diagnostic information. If specified, the NDF UI is modal to the window. If NULL, the UI is non-modal.
Return value
Type: HRESULT
Possible return values include, but are not limited to, the following.
Return code | Description |
---|---|
|
The operation succeeded. |
|
handle is 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 |