LInet::GetLastItem

#include "ltwrappr.h"

LInet L_FAR * LInet::GetLastItem(plRemoteComp=NULL)

LInet L_FAR * plRemoteComp;

/* instance of a remote computer */

Retrieves the last remote computer in the internal connection list, based on plRemoteComp.

Parameter

Description

plRemoteComp

Instance of a remote computer.

Returns

Pointer to an LInet class object that contains the retrieved remote computer.

Comments

If plRemoteComp = NULL, the function will retrieve the last remote computer in the internal connection list.

If plRemoteComp <> NULL, the function will retrieve the last remote computer in the internal connection list that has the same type (Server or client) as plRemoteComp.

Do not delete the retrieved pointer to the LInet class object.

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::GetNextItem, LInet::GetPrevItem, LInet::GetItemsCount, Class Members

Example

For an example, refer to LInet::AddWndItem.