wcConfigParam( )

Syntax . . Returns . . Tips . . Related Topics . . A-Z Index . . Home

Reads the configuration file (wcconfig.std) and returns the value of the first instance of a specified parameter. Returns only parameters that occur outside APP...ENDAPP tags in the configuration file.

Example

returnCode = wcConfigParam(cntrlHandle, "MI_WEBSHMKEY", &returnVal);

Syntax

int wcConfigParam(void *controlHandle, 
                  char *paramName,
                  char **currentValue)
controlHandleThe handle to the control structure.
paramNameName of the configuration parameter for which you want the current value. Must be the name of a parameter in the configuration file, such as MI_WEBSHMKEY.
currentValueOut parameter used to return a pointer to the data associated with the specified configuration parameter.

Returns

0Success.
Error codeFailure or exception. For a list of possible error codes, see Error Messages.

Tips

Related Topics

Configuration File Parameters


Top of Page . . Syntax . . Returns . . Tips . . A-Z Index . . Home