다음을 통해 공유


IHttpSecurity::OnSecurityProblem (Windows CE 5.0)

Send Feedback

This method notifies the client application about an authentication problem.

HRESULT OnSecurityProblem(DWORDdwProblem);

Parameters

  • dwProblem
    [in] Unsigned long integer value that contains the authentication problem encountered. This can be one of the following values 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_INVALID_CA
    ERROR_INTERNET_CLIENT_AUTH_CERT_NEEDED

Return Values

This method returns one of the values 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

OS Versions: Windows CE .NET 4.0 and later.
Header: Urlmon.h, Urlmon.idl.
Link Library: Urlmon.lib.

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.