INtime SDK Help
GetLastError, RtGetLastError (iwin32)
INtime SDK v6 > About INtime > Alternate APIs > iwin32 API > iwin32 API > GetLastError, RtGetLastError (iwin32)

Returns the current thread's last exception code.

DWORD GetLastError(VOID)

DWORD RtGetLastError(VOID)

Parameters

None.

Remarks

Note: This call and the INtime GetLastRtError call share the same storage for the thread's last-error value. The difference is that this call returns all 32 bits of the status value whereas the INtime call returns only 16 bits of the value.

Return Values

Returns the calling thread's last-error code value. This value may be explicitly set by calling SetLastError.

Code values are the same as returned by WIndows calls.

Requirements

Versions Defined in Include Link to
INtime 3.0 intime/rt/include/iwin32.h
intime/rt/include/winbase.h
iwin32.h
windows.h
iwin32.lib

Note

   
See Also

INtime API