XFRADDRESS, LPXFRADDRESS

#include <fte.h>

XFRADDRESS xfrAddress; /* variable-length structure describing transfer address */
LPXFRADDRESS
lpAddress; /* 32-bit pointer to transfer address structure */

Variables of types XFRADDRESS and LPXFRADDRESS specify a transfer address.

Parameters

xfrAddress

Structure that describes a transfer address.

typedef struct tagXFRADDRESS
{
DWORD dwSize;
DWORD dwType;
UUID uuidAppID;
union {
DWORD dwDeviceId;
char achAddress[1];
}
}XFRADDRESS;

dwSize

Total size (in bytes) of structure including the dwSize field.

dwType

Type of transport for file transfer. It can be one of these values:

Value

Meaning

XF_VOICEVIEW

VoiceView modem transport.

XF_DATAMODEM

Data modem transport.

XF_ISDN

ISDN transport.

XF_IR

Infrared transport.

XF_NETWORK

Network transport.

XF_SVD

Simultaneous voice and data transport.


uuidAppID

Specific application ID associated with transfer. NULL specifies the default file transfer application.

dwDeviceId

The permanent line ID associated with a TAPI device. A value of -1 will specify the default TAPI device. This field is required for VoiceView transports.

achAddress

Character string that represents the transport-specific address: phone number, socket address, etc. Use achAddress when using nonVoiceView transports.

lpAddress

32-bit pointer to the transfer address structure.

See Also

UUID, xfConnect, xfConnectAndSend