Share via


IsMessageBoxHandled Callback Function

This callback function is called when WinInet has attempted to make a secure connection and trust was revoked for a certificate in the server certificate chain.

DWORD IsMessageBoxHandled(
  HWND hWnd,
  UINT uText,
  UINT uCaption,
  UINT uType
)

Parameters

  • hWnd
    [in] Handle to the parent window of the message box.
  • uText
    [in] Resource ID of the string that contains the message text.
  • uCaption
    [in] Resource ID of the caption string.
  • uType
    [in] Specifies the set of bit flags that determines contents and behavior of the message box.

Return Values

The IsMessageBoxHandled function should return one of the following values:

  • ERROR_SUCCESS if the function completed successfully.
  • ERROR_CANCELLED if the function failed or was cancelled.
  • ERROR_CALL_NOT_IMPLEMENTED to instruct WinInet to use the default message box.

Requirements

OS Versions: Windows CE .NET 4.2 and later.
Header: Wininetui.h.
Link Library: Wininetui.lib.

See Also

Replacing the WinInet User Interface | IsDialogBoxHandled Callback Function

 Last updated on Friday, April 09, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.