MPR_DEVICE_1

[This is preliminary documentation and subject to change.]

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

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
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
Specifies a null-terminated string that contains the name of the TAPI device to use with this phone-book entry.
szLocalPhoneNumber
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

  Windows NT/2000: Requires Windows 2000.
  Header: Declared in Mprapi.h.

See Also

MPR_DEVICE_0, MprAdminInterfaceDeviceGetInfo, MprAdminInterfaceDeviceSetInfo