Share via


UNIMODEM_INFO (Compact 2013)

3/26/2014

This structure receives the device-specific data for a Unimodem during a call to the lineGetDevCaps function.

Syntax

typedef struct UNIMODEM_INFO_tag {
  WORD wDeviceType; 
  WORD wActive; 
  DWORD dwPPPMTU; 
} UNIMODEM_INFO, * PUNIMODEM_INFO; 

Members

  • wDeviceType
    Value that indicates the type of device on the port. The following table shows possible values for dwOption.

    Value

    Description

    DT_NULL_MODEM

    No modem

    DT_EXTERNAL_MODEM

    An external modem

    DT_INTERNAL_MODEM

    An internal modem

    DT_PARALLEL_MODEM

    A parallel modem

    DT_IRCOMM_MODEM

    An IrCOMM modem

  • wActive
    If the port is currently active, this field is 1. Otherwise, this field is 0.
  • dwPPPMTU
    Maximum transfer unit size, in bytes, that PPP will use. The default value is 1500.

Remarks

Normally, wActive will be 1 for all TAPI devices.

To improve efficiency on some media, choose a size smaller than the default for dwPPPMTU.

Requirements

Header

unimodem.h

See Also

Reference

TAPI Structures
lineGetDevCaps
UNIMDM_CHG_DEVCFG