wss_getWorkstationSettings()

Reads all workstation settings with hierarchy.

Synopsis

int wss_getWorkstationSettings(string sWorkstation,dyn_string &dsSettingNames,dyn_string &dsFormat,dyn_dyn_anytype &ddaContent);

)

Parameters

Parameter Description
sWorkstationName Workstation name
&dsSettingNames List of all settings
&dsFormat List of formats
&ddaContent Contents of all settings

Return value

The function returns 0 when it was executed successfully and in case of errors -1.

Errors

See above

Description

Reads all workstation settings with hierarchy. Hierarchy means that the function returns the workstation setting if it is available and otherwise the basic setting.

EXAMPLE

Returns all workstation settings with hierarchy for the workstation "atpckr2c".

main()
{
  int i;
  string sWorkstation = "atpckr2c";
  dyn_string dsSettingNames, dsFormat, ddaContent;
  i=
  wss_getWorkstationSettings(sWorkstation,dsSettingNames,dsFormat,ddaContent);
  DebugN(dsSettingNames," ", dsFormat," ",ddaContent);
}

Assignment

User administration

Availability

CTRL