LInet::ExistsItem

#include "ltwrappr.h"

L_INT LInet::ExistsItem(plRemoteComp)

LInet L_FAR * plRemoteComp;

/* instance of a remote computer */

Determines whether the specified remote computer is in the internal connection list.

Parameter

Description

plRemoteComp

Instance of a remote computer. This function will determine whether this remote computer is in the internal connection list.

Returns

>= 0

Index of the remote computer in the internal connection list.

-1

Remote computer not found.

<-1

An error occurred. Refer to Return Codes.

Required DLLs and Libraries

LTNET

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

See Also

Functions:

LInet::GetItem, LInet::GetFirstItem, LInet::GetLastItem, LInet::GetNextItem, LInet::GetPrevItem, LInet::GetItemsCount, Class Members

Example

LInet Inet;
LInet L_FAR *pInet;

// other operations

if( Inet.ExistsItem(pInet) == -1)
    return;
else pInet = Inet.GetLastItem(pInet);