Partager via


UNIMODEM_INFO (Windows Embedded CE 6.0)

1/6/2010

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_PCMCIA_MODEM

    A PCMCIA modem

    DT_PARALLEL_PORT

    A parallel port

    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 except PC Cards that have been removed from the system.

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

Requirements

Header unimodem.h
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

TAPI Structures
lineGetDevCaps
UNIMDM_CHG_DEVCFG