cwbCO_GetIPAddressLookupMode

Purpose

This function gets, for the specified system object, the indication of when, if ever, the iSeries™ system's IP address will be looked up dynamically.

Syntax

 
UINT CWB_ENTRY cwbCO_GetIPAddressLookupMode(
                             cwbCO_SysHandle              system,
                             cwbCO_IPAddressLookupMode   *mode );

Parameters

cwbCO_SysHandle system - input
Handle that previously was returned by cwbCO_CreateSystem or cwbCO_CreateSystemLike. It identifies the iSeries system.
cwbCO_IPAddressLookupMode * mode - output
Returns the IP address lookup mode that currently is in use. See comments for cwbCO_SetIPAddressLookupMode for 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.

Usage

None.