Purpose
This function gets, for the specified system
object, the default user mode that currently is set.
Syntax
UINT CWB_ENTRY cwbCO_GetDefaultUserMode(
cwbCO_SysHandle system,
cwbCO_DefaultUserMode *mode );
Parameters
- cwbCO_SysHandle system - input
- Handle returned previously from cwbCO_CreateSystem or cwbCO_CreateSystemLike.
It identifies the iSeries™ system.
- cwbCO_DefaultUserMode * mode - output
- Returns the default user mode for this system object. See comments for cwbCO_SetDefaultUserMode for
the list of possible values and their meanings.
Return Codes
The following list shows common return
values.
- CWB_OK
- Successful completion.
- CWB_INVALID_API_HANDLE
- Invalid system handle.
- CWB_INVALID_POINTER
- The mode pointer is NULL.