INtime SDK Help
INtime SDK v7.1 > About INtime > INtime Kernel > Status > SetLastRtError

Sets the calling thread's last error field. All RT functions call this function internally on exit if they fail.

VOID SetLastRtError(
    DWORD dwErrorCode


A 32-bit status code which is set in the calling thread's last error field.


Although the dwErrorCode parameter is a 32-bit value, in the current implementation only 16 bits of the value are stored. It is not intended that this API may be used to pass user-defined values.


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