wss_getSpecificWorkstationSetting()

Reads a specific workstation setting with hierarchy.

Synopsis

int wss_getSpecificWorkstationSetting(string sWorkstation,string sSettingName,string &sFormat,dyn_string &dsContent,langString &lsName);

Parameters

Parameter Description
sWorkstation Workstation name
sSettingName Name of a setting
&sFormat Format of a setting
&dsContent Content of a format
&lsName Full name

Return Value

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

Errors

See above

Description

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

EXAMPLE

Returns the basic workstation setting "Panel_Workstation345" with hierarchy for the workstation "atpckr2c".

main()
{
  string sWorkstation = "atpckr2c";
  string sSettingName = "Panel_Workstation345";
  string sFormat;
  dyn_string dsContent;
  langString lsName;
  int i =
  wss_getSpecificWorkstationSetting(sWorkstation,sSettingName, 
  sFormat,dsContent,lsName);
  DebugN(sFormat," ",dsContent," ",lsName);
}

Assignment

User administration

Availability

CTRL