IsMessageBoxHandled Callback Function

Windows CE .NET

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


[in] Handle to the parent window of the message box.
[in] Resource ID of the string that contains the message text.
[in] Resource ID of the caption string.
[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.


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.