cwbCO_GetNumberOfEnvironments
Use the cwbCO_GetNumberOfEnvironments command.
Purpose
Get the number of IBM i Access environments that exist. This includes both the active and all non-active environments.
Syntax
unsigned int CWB_ENTRY cwbCO_GetNumberOfEnvironments(
unsigned long *numberOfEnv);
Parameters
- unsigned long *numberOfEnv - output
- On output this will be set to the number of environments.
Return Codes
The following list shows common return values.
- CWB_OK
- Successful Completion.
- CWB_INVALID_POINTER
- The numberOfEnv pointer parameter is NULL.
Usage
None.