LInet::GetItemsCount

#include "ltwrappr.h"

L_UINT LInet::GetItemsCount(L_VOID)

Retrieves the number of remote computers in the internal connection list.

Returns

> 0

Number of remote computers.

0

No remote computers.

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

Example

LInet Inet;
L_UINT uItems;

// other operations

uItems = Inet.GetItemsCount();

if (uItems == 0)
   MessageBox(NULL, TEXT("No connections"), TEXT(""), MB_OK);