Returns a common dialog box error code
#include <WinAPIDlg.au3>
_WinAPI_CommDlgExtendedErrorEx ( )
If the common dialog box function returned False because the user closed or cancelled the dialog box, the return value is zero.
Search CommDlgExtendedError in MSDN Library.