MPR_DEVICE_1 structure

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

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

Minimum supported client

None supported

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Mprapi.h

See also

MPR_DEVICE_0
MprAdminInterfaceDeviceGetInfo
MprAdminInterfaceDeviceSetInfo

 

 

Community Additions

ADD
Show:
© 2014 Microsoft