###User Defined Function###
_WinAPI_ConfirmCredentials

###Description###
Confirms the validity of the credential harvested.

###Syntax###
#include <WinAPIDlg.au3>
_WinAPI_ConfirmCredentials ( $sTarget, $fConfirm )


###Parameters###
@@ParamTable@@
$sTarget
	The string that contains the name of the target for the credentials, typically a domain or server name.
	This must be the same value passed to <a href="_WinAPI_ShellUserAuthenticationDlg.htm">_WinAPI_ShellUserAuthenticationDlg()</a> function.
$fConfirm
	Specifies whether the credentials returned from the prompt function are valid, valid values:
	True     - The credentials are stored in the credential manager.
	False    - The credentials are not stored and various pieces of memory are cleaned up.
@@End@@

###ReturnValue###
@@ReturnTable@@
Success 	1.
Failure 	0 and sets the @error flag to non-zero, @extended flag may contain the system error code.
@@End@@


###Remarks###
This function function must be called after each successful call to <a href="_WinAPI_ShellUserAuthenticationDlg.htm">_WinAPI_ShellUserAuthenticationDlg()</a> with the $CREDUI_FLAGS_EXPECT_CONFIRMATION flag set.


###Related###
_WinAPI_ShellUserAuthenticationDlg


###See Also###
@@MsdnLink@@ CredUIConfirmCredentials


###Example###
@@IncludeExample@@
