Function Reference


_WinAPI_ShowLastError

Shows the last error code and message

#include <WinAPIError.au3>
_WinAPI_ShowLastError ( [$sText = '' [, $bAbort = False [, $iLanguage = 0]]] )

Parameters

$sText [optional] The user's text that to be displayed with the message.
$bAbort [optional] Specifies whether to exit the script after displaying an error message, valid values:
True - Exit the script after displaying a message if it indicates an error.
False - Always return normally (Default).
$iLanguage [optional] The language identifier for the message.

Return Value

None.

Remarks

@error and @extended are preserved on return.