The CANDIDATELIST structure contains information about a candidate list.
typedef struct _tagCANDIDATELIST {
DWORD dwSize;
DWORD dwStyle;
DWORD dwCount;
DWORD dwSelection;
DWORD dwPageStart;
DWORD dwPageSize;
DWORD dwOffset[];
} CANDIDATELIST;
Value |
Meaning |
IME_CAND_UNKNOWN |
Candidates are in a style other than listed here. |
IME_CAND_READ |
Candidates are in same reading. |
IME_CAND_CODE |
Candidates are in a code range. |
IME_CAND_MEANING |
Candidates are in same meaning. |
IME_CAND_RADICAL |
Candidates use same radical character. |
IME_CAND_STROKES |
Candidates are in same number of strokes. |
For the IME_CAND_CODE style, the candidate list has a special structure
depending on the value of the dwCount member. If dwCount is 1,
the dwOffset member contains a single DBCS character rather than an
offset, and no candidate string is provided. If the dwCount member is
greater than 1, the dwOffset member contains valid offsets, and the
candidate strings are text representations of individual DBCS character values
in hexadecimal notation.
The candidate strings immediately follow the last offset in the dwOffset array.