Skip to content

Latest commit

 

History

History
134 lines (106 loc) · 3.93 KB

nf-wininet-internetconfirmzonecrossing.md

File metadata and controls

134 lines (106 loc) · 3.93 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:wininet.InternetConfirmZoneCrossing
InternetConfirmZoneCrossing function (wininet.h)
The InternetConfirmZoneCrossing function (wininet.h) checks for changes between secure and nonsecure URLs.
InternetConfirmZoneCrossing
InternetConfirmZoneCrossing function [WinINet]
InternetConfirmZoneCrossingA
InternetConfirmZoneCrossingW
_inet_internetconfirmzonecrossing_function
wininet.internetconfirmzonecrossing
wininet/InternetConfirmZoneCrossing
wininet/InternetConfirmZoneCrossingA
wininet/InternetConfirmZoneCrossingW
wininet\internetconfirmzonecrossing.htm
wininet
e14f58df-5457-4a17-919c-6a25691c2ee1
08/10/2022
InternetConfirmZoneCrossing, InternetConfirmZoneCrossing function [WinINet], InternetConfirmZoneCrossingA, InternetConfirmZoneCrossingW, _inet_internetconfirmzonecrossing_function, wininet.internetconfirmzonecrossing, wininet/InternetConfirmZoneCrossing, wininet/InternetConfirmZoneCrossingA, wininet/InternetConfirmZoneCrossingW
wininet.h
Windows
Windows 2000 Professional [desktop apps only]
Windows 2000 Server [desktop apps only]
InternetConfirmZoneCrossingW (Unicode) and InternetConfirmZoneCrossingA (ANSI)
Wininet.lib
Wininet.dll
Windows
19H1
InternetConfirmZoneCrossing
wininet/InternetConfirmZoneCrossing
c++
APIRef
kbSyntax
DllExport
Wininet.dll
InternetConfirmZoneCrossing
InternetConfirmZoneCrossingA
InternetConfirmZoneCrossingW

InternetConfirmZoneCrossing function

-description

Checks for changes between secure and nonsecure URLs. Always inform the user when a change occurs in security between two URLs. Typically, an application should allow the user to acknowledge the change through interaction with a dialog box.

-parameters

-param hWnd [in]

Handle to the parent window for any required dialog box.

-param szUrlPrev [in]

Pointer to a null-terminated string that specifies the URL that was viewed before the current request was made.

-param szUrlNew [in]

Pointer to a null-terminated string that specifies the new URL that the user has requested to view.

-param bPost [in]

Not implemented.

-returns

Returns one of the following values.

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

-remarks

Always inform the user when a change in security level occurs, or you risk subjecting the user to involuntary information disclosure.

Like all other aspects of the WinINet API, this function cannot be safely called from within DllMain or the constructors and destructors of global objects.

Note  WinINet does not support server implementations. In addition, it should not be used from a service. For server implementations or services use Microsoft Windows HTTP Services (WinHTTP).
 

-see-also

Enabling Internet Functionality

WinINet Functions