wss_getSpecificSetting()

Reads a specific workstation setting without hierarchy.

Synopsis

int wss_getSpecificSetting(string sPrefix,string sWorkstation, string sSettingName,string &sFormat,dyn_string &dsContent, langString &lsName

);

Parameters

Parameter Description
sPrefix _wss = basic workstation setting, _wsn =workstation setting
sWorkstation Workstation name. If you query the basic settings, enter an empty string string sWorkstation = "";
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 without hierarchy.

EXAMPLE

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

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

Assignment

User administration

Availability

CTRL