cwbCO_GetActiveConversations

Purpose

Get the number of active conversations of the system.

Syntax

 
int CWB_ENTRY cwbCO_GetActiveConversations(
                                          LPCSTR systemName);

Parameters

LPCSTR systemName - input
Pointer to a buffer that contains the system name.

Return Codes

The number of active conversations, if any, is returned. If the systemName pointer is NULL, points to an empty string, the system is not currently connected, or system name contains one or more Unicode characters which cannot be converted, 0 will be returned.

Usage

This API returns the number of conversations active for the specified iSeries™ system within the CURRENT PROCESS ONLY. There may be other conversations active within other processes running on the PC.