Ets_Nt_Link_Consistency_Set()
Abstract
Sets an ETS link object as consistent or inconsistent.
Syntax
Ets_Nt_Link_Consistency_Set (link_hndl, state)
| Argument | Type | Description |
|---|---|---|
link_hndl |
EtsT_Obj_Handle |
Handle of the object of interest. |
state |
EtsT_Link_Consistency |
New consistency state to be set in the object (see Details). |
Return Type
EtsT_Compcode
EtsC_Compcode_Success if the object is a link and the consistency state is set on the object. EtsC_Compcode_Failure otherwise.
Header
ets_api_nt.h
Details
An ETS link object’s consistency state can be set to either EtsC_Link_Consistent or EtsC_Link_Inconsistent. If the state is set to EtsC_Link_Inconsistent, the link will be visually marked in the workspace and will display an error message when double-clicked. The message can be set using Ets_Nt_Link_Consistency_Error_Msg_Set(). The ETS link object will not be marked in the workspace until Ets_Model_Redraw() is called.