UNIMODEM_INFO

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

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

OS Versions: Windows CE .NET 4.0 and later.
Header: Unimodem.h.

See Also

lineGetDevCaps | UNIMDM_CHG_DEVCFG

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.