Uconv attribute t: Difference between revisions
Appearance
No edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
== unconv_attribute_t == | == unconv_attribute_t == | ||
Describes attributes and characteristics of the conversion object. All of these field can be retrieved through [[UniQueryUconvObject]]. Some of these fields are settable through [[UniSetUconvObject]]. They are signified in the [[#Fields|fields]] section. | |||
Describes attributes and characteristics of the conversion object. | |||
=== Type === | === Type === | ||
[[ULONG]] version | |||
[[ | [[CHAR]] mb_min_len | ||
[[ | CHAR mb_max_len | ||
CHAR usc_min_len | |||
CHAR usc_max_len | |||
[[USHORT]] esid | |||
[[ | CHAR options | ||
CHAR state | |||
[[conv_endian_t]] endian | |||
[[ | ULONG displaymask | ||
ULONG converttype | |||
[[USHORT]] subchar_len | |||
[[ | USHORT subuni_len | ||
[[CHAR]] subchar[16] | |||
[[ | [[UniChar]] subuni[8] | ||
[[ | |||
==== C declaration method ==== | ==== C declaration method ==== | ||
typedef struct | typedef struct | ||
=== Fields === | === Fields === | ||
;version:Must be zero. | |||
;mb_min_len:Minimum character size. | |||
;mb_max_len:Maximum character size. | |||
;usc_min_len:USC minimum character size. | |||
;usc_max_len:USC maximum character size. | |||
;esid:Encoding scheme id. | |||
options Substitution options. Settable. | options Substitution options. Settable. | ||
state Current state. Settable. | state Current state. Settable. | ||
Line 47: | Line 43: | ||
This identifies the environments for which a codepage is valid: | This identifies the environments for which a codepage is valid: | ||
{|class="wikitable" | |||
{| | !Name||Value||Process||Display||VIO||GPI | ||
! | |||
|- | |- | ||
|ESID_sbcs_data||0x2100||x||x||x||x | |||
|- | |- | ||
|ESID_sbcs_pc||0x3100||x||x||x||x | |||
|- | |- | ||
|ESID_sbcs_ebcdic||0x1100|| ||x||x||x | |||
|- | |- | ||
|ESID_sbcs_iso||0x4100||x||x||x||x | |||
|- | |- | ||
|ESID_sbcs_windows||0x4105||x||x||x||x | |||
|- | |- | ||
|ESID_sbcs_alt||0xF100|| ||x||x||x | |||
|- | |- | ||
|ESID_dbcs_data||0x2200|| ||x|| ||x | |||
|- | |- | ||
|ESID_dbcs_pc||0x3200||x||x||x||x | |||
|- | |- | ||
|ESID_dbcs_ebcdic||0x1200|| || || ||x | |||
|- | |- | ||
|ESID_mbcs_data||0x2300|| ||x||x||x | |||
|- | |- | ||
|ESID_mbcs_pc||0x3300|| ||x|| ||x | |||
|- | |- | ||
|ESID_mbcs_ebcdic||0x1301|| || || || | |||
|- | |- | ||
|ESID_ucs_2||0x7200|| || || || | |||
|- | |- | ||
|ESID_ugl||0x72FF|| || || || | |||
|- | |- | ||
|ESID_utf_8||0x7807|| ||x||x||x | |||
|- | |- | ||
|ESID_upf_8||0x78FF||x||x||x||x | |||
|} | |} | ||
[[Category:Data type]] | |||
[[Category: |
Revision as of 15:14, 5 December 2016
unconv_attribute_t
Describes attributes and characteristics of the conversion object. All of these field can be retrieved through UniQueryUconvObject. Some of these fields are settable through UniSetUconvObject. They are signified in the fields section.
Type
ULONG version CHAR mb_min_len CHAR mb_max_len CHAR usc_min_len CHAR usc_max_len USHORT esid CHAR options CHAR state conv_endian_t endian ULONG displaymask ULONG converttype USHORT subchar_len USHORT subuni_len CHAR subchar[16] UniChar subuni[8]
C declaration method
typedef struct
Fields
- version
- Must be zero.
- mb_min_len
- Minimum character size.
- mb_max_len
- Maximum character size.
- usc_min_len
- USC minimum character size.
- usc_max_len
- USC maximum character size.
- esid
- Encoding scheme id.
options Substitution options. Settable. state Current state. Settable. endian Source and target chain. Settable. displaymask Display and data mask. Settable. converttype Conversion type. Settable. subchar_len MBCS sub-character length. Settable. subuni_len UniCode sub-character length. Settable. subchar MBCS sub-character. Settable. subuni UniCode sub-character. Settable.
Comment
Encoding scheme id:
This identifies the environments for which a codepage is valid:
Name | Value | Process | Display | VIO | GPI |
---|---|---|---|---|---|
ESID_sbcs_data | 0x2100 | x | x | x | x |
ESID_sbcs_pc | 0x3100 | x | x | x | x |
ESID_sbcs_ebcdic | 0x1100 | x | x | x | |
ESID_sbcs_iso | 0x4100 | x | x | x | x |
ESID_sbcs_windows | 0x4105 | x | x | x | x |
ESID_sbcs_alt | 0xF100 | x | x | x | |
ESID_dbcs_data | 0x2200 | x | x | ||
ESID_dbcs_pc | 0x3200 | x | x | x | x |
ESID_dbcs_ebcdic | 0x1200 | x | |||
ESID_mbcs_data | 0x2300 | x | x | x | |
ESID_mbcs_pc | 0x3300 | x | x | ||
ESID_mbcs_ebcdic | 0x1301 | ||||
ESID_ucs_2 | 0x7200 | ||||
ESID_ugl | 0x72FF | ||||
ESID_utf_8 | 0x7807 | x | x | x | |
ESID_upf_8 | 0x78FF | x | x | x | x |