public static uint RtlNtStatusToDosError(int Status);
Declare Function RtlNtStatusToDosError Lib "ntdll.dll" (ByVal status as Integer) As UInteger