LInet::GetNextItem
#include "ltwrappr.h"
LInet * LInet::GetNextItem(plRemoteComp, bByType=FALSE)
LInet * plRemoteComp; |
/* instance of a remote computer */ |
L_BOOL bByType; |
/* flag that indicates the next item to get */ |
Retrieves the next remote computer in the connection list, based on the specified parameters.
Parameter |
Description | |
plRemoteComp |
Instance of the remote computer currently referenced in the connection list. | |
bByType |
Flag that indicates the next item to get. Possible values are: | |
|
Value |
Meaning |
|
TRUE |
Get the next remote computer in the connection list that has the same type (server or client) as plRemoteComp. |
|
FALSE |
Get the next remote computer in the connection list, regardless of type. |
Returns
A pointer to an LInet object that references the next remote computer.
Comments
If bByType = FALSE, this function will get the next remote computer in the internal connection list, either SERVER or CLIENT.
If bByType = TRUE, this function will get the next remote computer in the internal connection list that has the same type as plRemoteComp.
Do not delete plRemoteComp.
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::ExistsItem, LInet::GetItem, LInet::GetFirstItem, LInet::GetLastItem, LInet::GetPrevItem, LInet::GetItemsCount, Class Members |
Example
L_INT LInet__GetNextItemExample() { LInet Inet; LInet* plRemote = NULL; // other operations plRemote = Inet.GetNextItem(plRemote); // other operations return SUCCESS; }