op_apptrack_type_name_get()
Abstract
Gets the name associated with an application type ID.
Syntax
op_apptrack_type_name_get (apptrack_hndl, app_type_id)
| Argument | Type | Description |
|---|---|---|
apptrack_hndl |
Apptrackhandle |
ADT state of interest. |
app_type_id |
OpT_uInt32 |
ID of the application type of interest |
Return Type
char *
Name of the application type, or OPC_NIL if an error occurs.
Details
None.
Purpose
This KP provides a way to obtain the application type name associated with an application type ID.
Errors
- Recoverable Error: Argument (apptrack_hndl) is NIL.
- Recoverable Error: Argument app_type_id (<app_type_id>) is invalid.
Reference
- Use the KP op_apptrack_type_register() to obtain an ID for an application type name.