NdfExecuteDiagnosis function

The NdfExecuteDiagnosis function is used to diagnose the root cause of the incident that has occurred.

Syntax


HRESULT 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 codeDescription
S_OK

The operation succeeded.

E_HANDLE

handle is invalid.

 

Examples

To view an example, see NDF Diagnostics Example.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Ndfapi.h

Library

Ndfapi.lib

DLL

Ndfapi.dll

See also

NdfCloseIncident
NdfCreateIncident
NdfCreateWinSockIncident

 

 

Community Additions

ADD
Show: