Compartir a través de


IHttpSecurity::OnSecurityProblem

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This method notifies the client application about an authentication problem.

Syntax

HRESULT OnSecurityProblem(
  DWORD dwProblem
);

Parameters

  • dwProblem
    [in] Unsigned long integer value that contains the authentication problem encountered. This can be one of the following values that are defined in the WinInet API:

    ERROR_INTERNET_SEC_CERT_DATE_INVALID

    ERROR_INTERNET_SEC_CERT_CN_INVALID

    ERROR_INTERNET_HTTP_TO_HTTPS_ON_REDIR

    ERROR_INTERNET_HTTPS_TO_HTTP_ON_REDIR

    ERROR_HTTP_REDIRECT_NEEDS_CONFIRMATION

    ERROR_INTERNET_CLIENT_AUTH_CERT_NEEDED

Return Value

This method returns one of the values that are shown in the following table.

Value Description

S_OK

The calling application should continue the download.

S_FALSE

The calling application should open a dialog box to warn the user.

E_ABORT

The calling application should abort the download.

Remarks

The IHttpSecurity interface should be implemented by applications that handle any authentication problems themselves instead of using the default user interface.

Requirements

Header urlmon.h, urlmon.idl
Library urlmon.lib
Windows Embedded CE Windows CE .NET 4.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

URL Moniker Services Interfaces