INtime SDK Help
GetLastRtError
INtime SDK v7 > About INtime > INtime Kernel > Status > GetLastRtError

Returns the status of the last system call made by the calling thread that failed. All RT functions set the thread's last error field on failure.

Note: A successful call does not clear the status.


DWORD GetLastRtError(VOID);

Remarks

GetLastRtError shares the thread's last-error location with the iWin32 call GetLastError. However, GetLastRtError returns only 16 bits of status whereas the GetLastError (iwin32) call returns 32 bits of status.

Return Values

Returns the calling thread's last status code.

Requirements

Versions Defined in Include Link to
INtime 3.0 intime/rt/include/rtbase.h rt.h rt.lib
   
See Also

iwin32