FaxDeviceIds.Add method

The Add method adds a fax device to the FaxDeviceIds collection, using the device's ID.

Syntax

FaxDeviceIds.Add( _
  ByVal lDeviceId As Long _
) As Long

Parameters

lDeviceId [in]

Type: Long

A Long value that specifies the ID of the fax device to add to the collection.

Remarks

This method can also return remote procedure call (RPC) return values. For more information, see RPC Return Values.

Note

You cannot add devices to the special All Devices routing group. Also, you can only add valid device IDs. You can obtain the valid ID of a device in the FaxDeviceIds collection through the Id property.

 

To use this method, a user must have the farMANAGE_CONFIG access right.

Requirements

Minimum supported client
Windows XP [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
FaxComex.h
DLL
Fxscomex.dll

See also

Visual Basic Example

FaxDeviceIds

IFaxDeviceIds