cwbAD_GetClientVersion

Purpose

Get the version of the iSeries™ Access for Windows® product that currently is installed on a PC.

Syntax

 
unsigned int CWB_ENTRY cwbAD_GetClientVersion(
                             unsigned long      *version
                             unsigned long      *release
                             unsigned long      *modificationLevel);

Parameters

unsigned long *version - output
Pointer to a buffer where the version level of the iSeries Access for Windows product is returned.
unsigned long *release - output
Pointer to a buffer where the release level of the iSeries Access for Windows product is returned.
unsigned long *modificationLevel - output
Pointer to a buffer where the modification level of the iSeries Access for Windows product is returned.

Return Codes

The following list shows common return values.

CWB_OK
Successful completion.
CWB_INVALID_POINTER
One or more pointer parameters are null.

Usage

If the return code is not CWB_OK, the values in version, release, and modificationLevel are meaningless.