Retrieves a text error message for the specified system error code
#include <WinAPIError.au3>
_WinAPI_GetErrorMessage ( $iCode [, $iLanguage = 0] )
$iCode | The system error code to retrieve a message. |
$iLanguage | [optional] The language identifier. |
Success: | The requested message. |
Failure: | Empty string. |
@error and @extended are preserved on return.
Search FormatMessage in MSDN Library.