Returns information about a thread, including such items as priority, exception handler, containing process, and execution state.
BOOLEAN GetRtThreadInfo(
    RTHANDLE hThread,             // handle for thread
    LPTHREADINFO_SNAPSHOT lpInfo  // pointer to THREADINFO_SNAPSHOT structure
);
hThread 
lpInfo 
TRUE 
FALSE 
E_OK 0x0000 
E_BAD_ADDR 0x800F 
lpInfo does not refer to a writeable area of sufficient size to receive the data. | Versions | Defined in | Include | Link to | 
|---|---|---|---|
| INtime 3.0 | intime/rt/include/rtbase.h | rt.h | rt.lib |