Partager via


CELLDATACOMPINFO (Compact 2013)

3/26/2014

This structure contains data compression information that is used for v.42bis modem protocol compression settings.

Syntax

typedef struct celldatacompinfo_tag {
  DWORD dwDirection;
  BOOL dwRequired;
  DWORD dwMaxDictEntries;
  DWORD dwMaxStringLength;
} CELLDATACOMPINFO, *LPCELLDATACOMPINFO;

Members

  • dwDirection
    Data compression directions. May be one of the values listed in the following table. CELLDEVCONFIG_DATACOMPDIR_BOTH is the default setting.

    Value

    Description

    CELLDEVCONFIG_DATACOMPDIR_ UNKNOWN

    Unknown direction

    CELLDEVCONFIG_DATACOMPDIR_NONE

    No compression

    CELLDEVCONFIG_DATACOMPDIR_ TRANSMIT

    Transmit only

    CELLDEVCONFIG_DATACOMPDIR_ RECEIVE

    Receive only

    CELLDEVCONFIG_DATACOMPDIR_BOTH

    Both directions, accept any direction

  • dwRequired
    If TRUE, data compression is required. If FALSE, data compression is not required. False is the default setting.
  • dwMaxDictEntries
    Maximum number of dictionary entries. The range for this is 512 - 65535; 512 is the default setting.
  • dwMaxStringLength
    Maximum string length. The range for this is 6 - 250; 6 is the default setting.

Requirements

Header

tsp.h

See Also

Reference

Telephony Service Provider Structures
CELLDEVCONFIG