Skip to content

Latest commit

 

History

History
140 lines (108 loc) · 4.31 KB

nf-wininet-internetconfirmzonecrossinga.md

File metadata and controls

140 lines (108 loc) · 4.31 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.InternetConfirmZoneCrossingA
InternetConfirmZoneCrossingA function (wininet.h)
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. (InternetConfirmZoneCrossingA)
InternetConfirmZoneCrossingA
wininet/InternetConfirmZoneCrossingA
wininet\internetconfirmzonecrossing.htm
wininet
e14f58df-5457-4a17-919c-6a25691c2ee1
12/05/2018
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
InternetConfirmZoneCrossingA
wininet/InternetConfirmZoneCrossingA
c++
APIRef
kbSyntax
DllExport
Wininet.dll
InternetConfirmZoneCrossing
InternetConfirmZoneCrossingA
InternetConfirmZoneCrossingW

InternetConfirmZoneCrossingA 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).
 

Note

The wininet.h header defines InternetConfirmZoneCrossing as an alias which automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.

-see-also

Enabling Internet Functionality

WinINet Functions