Converts the specified NTSTATUS error code to its equivalent system error code
#include <WinAPIDiag.au3>
_WinAPI_NtStatusToDosError ( $iStatus )
$iStatus | The NTSTATUS error code to be converted. |
Search RtlNtStatusToDosError in MSDN Library.
#include <WinAPIDiag.au3>
#include <WinAPIError.au3>
Local $iError = _WinAPI_NtStatusToDosError(0xC0000023) ; STATUS_BUFFER_TOO_SMALL
ConsoleWrite($iError & ' - ' & _WinAPI_GetErrorMessage($iError) & @CRLF)