Function Reference


_WinAPI_GetErrorMessage

Retrieves a text error message for the specified system error code

#include <WinAPIDiag.au3>
_WinAPI_GetErrorMessage ( $iCode [, $iLanguage = 0] )

Parameters

$iCode The system error code to retrieve a message.
$iLanguage [optional] The language identifier.

Return Value

Success: The requested message.
Failure: Empty string.

See Also

Search FormatMessage in MSDN Library.