次の方法で共有


LINECONFIGDATA (Compact 2013)

3/26/2014

This structure specifies the configuration information for a modem line. It is used by the Unimodem Configuration dialog box.

Syntax

typedef struct _LINECONFIGDATA {
  DWORD dwVersion;
  DWORD dwBaudRate;
  DWORD dwSettableBaud;
  BYTE bByteSize;
  BYTE bParity;
  BYTE bStopBits;
  BYTE bReserved;
  WORD wSettableData;
  WORD wWaitBong;
  DWORD dwCallSetupFailTimer;
  DWORD dwModemOptions;
  DWORD dwTermOptions;
  DWORD dwDdevCapFlags;
  DWORD dwModMaxLen;
  TCHAR szDialModifier[NETUI_LCD_DIAL_MOD_LEN + 1];
  WORD wSettableStopParity;
} LINECONFIGDATA, *PLINECONFIGDATA;

Members

  • dwVersion
    Specifies the version of the structure.
  • dwBaudRate
    Specifies the baud rate of the connection, using CBR_* values listed in %_WINCEROOT%\Public\Sdk\Inc\Winbase.h, for example, CBR_110.
  • dwSettableBaud
    Specifies the baud rates, using BAUD_* bit values from %_WINCEROOT%\Public\Sdk\Inc\Winbase.h.
  • bByteSize
    Specifies the number of bits per byte, which can be from 4 to 8.
  • bParity
    Specifies the parity of the connection. The following table shows the parity settings.

    Setting

    Parity

    0

    None

    1

    Odd

    2

    Even

    3

    Mark

    4

    Space

  • bStopBits
    Specifies the number of stop bits. The following table shows the settings for stop bits.

    Setting

    Stop bits

    0

    1 stop bit

    1

    1.5 stop bits

    2

    2 stop bits

  • bReserved
    Used for alignment purposes.
  • wSettableData
    Indicates the number of data bits to be sent. The following table shows the supported values.

    Value

    Description

    DATABITS_5

    5 data bits

    DATABITS_6

    6 data bits

    DATABITS_7

    7 data bits

    DATABITS_8

    8 data bits

    DATABITS_16

    16 data bits

    DATABITS_16X

    Special wide path through serial hardware lines

  • wWaitBong
    Specifies the number of seconds to wait for a credit-card tone.
  • dwCallSetupFailTimer
    Specifies the dial timeout value.
  • dwModemOptions
    Specifies modem options. The following table shows the supported modem options.

    Value

    Description

    NETUI_LCD_MDMOPT_SOFT_FLOW

    Software flow control

    NETUI_LCD_MDMOPT_HARD_FLOW

    Hardware flow control

    NETUI_LCD_MDMOPT_BLIND_DIAL

    Blind dial

    NETUI_LCD_MDMOPT_AUTO_BAUD

    Enables DCC automatic baud rate detection

  • dwTermOptions
    Specifies the terminal type. The following table shows the supported terminal types.

    Terminal option

    Terminal type

    NETUI_LCD_TRMOPT_MANUAL_DIAL

    Manual dial

    NETUI_LCD_TRMOPT_PRE_DIAL

    Predial

    NETUI_LCD_TRMPOT_POST_DIAL

    Postdial

  • dwDdevCapFlags
    Not supported.
  • dwModMaxLen
    Specifies the length to allow user to edit. The length is the value specified for NETUI_LCD_DIAL_MOD_LEN.
  • szDialModifier
    Specifies an optional modem command that is issued just after the modem has been initialized and just before the phone number is to be dialed.
  • wSettableStopParity
    Specifies the stop bit and parity settings that can be selected. The following table shows the supported values.

    Value

    Description

    PARITY_EVEN

    Even parity

    PARITY_MARK

    Mark parity

    PARITY_NONE

    No parity

    PARITY_ODD

    Odd parity

    PARITY_SPACE

    Space parity

    STOPBITS_10

    1 stop bit

    STOPBITS_15

    1.5 stop bits

    STOPBITS_20

    2 stop bits

Requirements

Header

netui.h

See Also

Reference

Network User Interface Structures
LineConfigEdit

Other Resources

COMMPROP