Compartir a través de


FaxDevice.ReceiveMode property

The ReceiveMode property is a value from the FAX_DEVICE_RECEIVE_MODE_ENUM enumeration that defines the way a device answers an incoming call. The value assigned to this property indicates whether the device does not answer the call, the device can answer the call manually, or the device answers the call automatically.

This property is read/write.

Syntax

Property ReceiveMode As Integer

Property value

Value from the FAX_DEVICE_RECEIVE_MODE_ENUM enumeration that receives or specifies the way a device answers an incoming call.

Remarks

You can set only one device to receive faxes manually at any given time. If you set a device to answer manually and another device is already set to the manual mode, the device that had been previously set will automatically change to the no-answer mode. You should call the Refresh method on that device to see the change.

Some devices, such as virtual devices, do not support the manual-answer receive mode. For those devices, the ReceiveMode will fail if you set the receive mode to fdrmMANUAL_ANSWER. In C++, the method will return an ERROR_NOT_SUPPORTED error code in an Long format.

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

FaxDevice

IFaxDevice