LInet::ExistsItem
#include "ltwrappr.h"
L_INT LInet::ExistsItem(plRemoteComp)
LInet * 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
L_INT LInet__ExistsItemExample() { L_INT nRet; LInet Inet; LInet* pInet = NULL; // other operations nRet = Inet.ExistsItem(pInet); if(nRet <= -1) return nRet; else pInet = Inet.GetLastItem(pInet); return SUCCESS; }