InternetConfirmZoneCrossing
A version of this page is also available for
4/8/2010
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.
Syntax
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 Value
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
Header | wininet.h |
Library | wininet.lib |
Windows Embedded CE | Windows CE .NET 4.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |