td_ref_tex

Reference Task Exception Status

[C Language Interface]

ER ercd = td_ref_tex ( ID tskid, TD_RTEX *pk_rtex );

[Parameters]

ID tskid Task ID (TSK_SELF can be designated)

TD_RTEX* pk rtex Packet address for returning the task exception status

[Return Parameters]

ER ercd Error code

pk rtex detail:

UINT pendtex Raised task exceptions

UINT texmask Allowed task exceptions

[Error Codes]

E_OK Normal completion

E_ID Bad identifier

E_NOEXS Object does not exist

[Description]

Gets the task exception status. This is similar to tk_ref_tex.

Comments