Share via


InternetConfirmZoneCrossing

This function checks for changes between secure and nonsecure URLs. When a change occurs in security between two URLs, an application should allow the user to acknowledge this change, typically by displaying a dialog box.

DWORD InternetConfirmZoneCrossing(
  HWND hWnd,
  LPTSTR szUrlPrev,
  LPTSTR szUrlNew,
  BOOL bPost
);

Parameters

  • hWnd
    [in] Handle to the parent window for any needed dialog box.
  • szUrlPrev
    [in] Pointer to a string variable containing the URL that was viewed before the current request was made.
  • szUrlNew
    [in] Pointer to a string variable containing the new URL that the user has requested to view.
  • bPost
    [in] Not implemented.

Return Values

The following table shows the possible return values.

Return value Description
ERROR_SUCCESS The user confirmed that it was okay to continue, or there was no user input needed.
ERROR_CANCELLED The user canceled the request.
ERROR_NOT_ENOUGH_MEMORY There is not enough memory to carry out the request.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Wininet.h.
Link Library: Wininet.lib.

See Also

WinInet Functions

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.