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)
controlHandle | The handle to the control structure. |
paramName | Name 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. |
currentValue | Out parameter used to return a pointer to the data associated with the specified configuration parameter. |
Returns
0 | Success. |
Error code | Failure or exception. For a list of possible error codes, see Error Messages. |
Tips
- This function is intended for internal use by wcinit when setting up the shared memory. However, you can call it explicitly for your own purposes.
Related Topics
Configuration File Parameters
Top of Page . .
Syntax . .
Returns . .
Tips . .
A-Z Index . .
Home