# Function Reference

# _WinAPI_CommDlgExtendedErrorEx

Returns a common dialog box error code

#include <WinAPIDlg.au3>
_WinAPI_CommDlgExtendedErrorEx ( )

## Return Value

Returns the general error codes for any of the common dialog box functions ($CDERR_*, $PDERR_*, $CFERR_*, $FNERR_*, and $FRERR_*).

## Remarks

If the common dialog box function returned False because the user closed or cancelled the dialog box, the return value is zero.

## See Also

Search CommDlgExtendedError in MSDN Library.