INtime SDK Help
SetLastRtError
INtime SDK v7 > 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
);

Parameters

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

Notes

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.

Requirements

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