IShellUIHelper2::DiagnoseConnection Method

Not supported. Attempts to diagnose problems with the network connection.

Syntax

HRESULT DiagnoseConnection(VOID);

Return Value

Returns one of the following values:

S_OK Success.
E_ACCESSDENIED Method is not allowed from the current page.

Remarks

IShellUIHelper2::DiagnoseConnection was introduced in Windows Internet Explorer 7.

To successfully complete this operation, the Network Diagnostic for Windows XP extension must be installed. On Windows Vista, the Network Diagnostics Framework is used.

This method can only be called from the "res://ieframe.dll/dnserror.htm" resource page.