getAllDpAliases()
Returns all the data points and their aliases. Starting from version 2.11.1, the function has been renamed to dpGetAllAliases()
Synopsis
int getAllDpAliases(dyn_string &dps,dyn_string &aliases
                );
Parameters
| Parameter | Description | 
|---|---|
| dps | data point name | 
| aliases | Alias | 
Return value
In the event of an error, the function returns -1 otherwise, 0.
Errors
Errors can be retrieved with getLastError(). The return value will then be the appropriate error code.
Description
Fills the transferred dyn_strings with data point names and the associated aliases in the language lang.
Example
main()
{
  dyn_string dps,ali;
  int i;
  i = getAllDpAliases(dps,ali);
  DebugN(i);
  DebugN(dps,ali); // output 
}