Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
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 |
Windows Embedded CE | Windows CE 3.0 and later |
Windows Mobile | Pocket PC 2002 and later, Smartphone 2002 and later |