
4. FA LIBRARY B-75044EN/02
-102-
4.2.7 Getting List of Communicating Machines
< F_GetOpenMachineNumber >
SYNOPSIS
VB Function GetOpenMachineNumber(ByVal ComputerName As String) As Long
C++ LONG F_GetOpenMachineNumber(LPCTSTR ComputerName);
DESCRIPTION
The following describes the procedure for getting the list of the
communicating machine numbers.
1 F_GetOpenMachineNumber can get the list of the machines which
are communicating with the computer specified by ComputerName.
When the function succeeds, the return value indicates the descriptor ID
for pointing the list of the communicating machines.
2 F_CopyMachineNumber takes out the machines associated with the
descriptor ID. Refer to Clause 4.2.6 “Getting List of Registered Machine
Numbers” for the details
RETURN VALUE
F_GetOpenMachineNumber returns the descriptor ID of a positive
integer for placing the list of the communicating machines if it succeeds, and a
value of 0 is returned if it fails.
In failure, an error code can be acquired by calling F_GetLastError.