cwbCO_GetIPAddressLookupMode

Use the cwbCO_GetIPAddressLookupMode command.

Purpose

This function gets the indication of when, if ever, dynamic lookup occurs for the IBM i IP address represented by the specified system object.

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 is the IBM i identification.
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.