Returns information about the specified thread's stack use.
BOOLEAN GetRtStackInfo( RTHANDLE hThread, STACKINFO* pInfo );
hThread
pInfo
The information returned via pInfo
is a snapshot of the stack information. Because of the way this information is collected, over time the 'nUsed' field in the STACK_INFO structure only grows.
E_BAD_ADDR
pInfo
is invalid.
E_PARAM
cbSize
in the structure that pInfo
points to is less than sizeof
(STACK_INFO).
E_EXISTS
hThread
does not represent an existing object.
E_TYPE
hThread
is not a handle for a thread. Versions | Defined in | Include | Link to |
---|---|---|---|
INtime 3.0 | intime/rt/include/rtbase.h | rt.h | rt.lib |