MPR_DEVICE_1 structure (mprapi.h)

The MPR_DEVICE_1 structure stores information about a device used for a link in a multilinked demand dial interface. In addition to the information in MPR_DEVICE_0, MPR_DEVICE_1 contains phone-number information.

Syntax

typedef struct _MPR_DEVICE_1 {
  WCHAR  szDeviceType[MPR_MaxDeviceType + 1];
  WCHAR  szDeviceName[MPR_MaxDeviceName + 1];
  WCHAR  szLocalPhoneNumber[MPR_MaxPhoneNumber + 1];
  PWCHAR szAlternates;
} MPR_DEVICE_1, *PMPR_DEVICE_1;

Members

szDeviceType[MPR_MaxDeviceType + 1]

Specifies a null-terminated string that indicates the device type referenced by szDeviceName. See MPR_INTERFACE_2 for a list of possible device types.

szDeviceName[MPR_MaxDeviceName + 1]

Specifies a null-terminated string that contains the name of the TAPI device to use with this phone-book entry.

szLocalPhoneNumber[MPR_MaxPhoneNumber + 1]

Specifies a null-terminated Unicode string that contains a telephone number. The router uses the szLocalPhoneNumber string as the entire phone number.

szAlternates

Pointer to a list of consecutive null-terminated Unicode strings. The last string is terminated by two consecutive null characters. The strings are alternate phone numbers that the router dials in the order listed if the primary number (see szLocalPhoneNumber) fails to connect.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows 2000 Server [desktop apps only]
Header mprapi.h

See also

MPR_DEVICE_0

MprAdminInterfaceDeviceGetInfo

MprAdminInterfaceDeviceSetInfo