IHttpSecurity::OnSecurityProblem (Windows Embedded CE 6.0)
1/6/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_INVALID_CA
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 |