Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
Determines if the language model text service supports a particular language.
Syntax
HRESULT QueryLangID(
[in] LANGID langid,
[out] BOOL *pfAccepted
);
Parameters
[in] langid
Contains a LANGID that specifies the identifier of the language that the query applies to.
[out] pfAccepted
Pointer to a BOOL value that receives nonzero if the language model text service supports the language identified by langid or zero otherwise.
Return value
This method can return one of these values.
| Value | Description |
|---|---|
|
The method was successful. |
|
pfAccepted is invalid. |
Remarks
If a client can possibly generate more than one language identifier of text, it should query all with this method.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 2000 Professional [desktop apps only] |
| Minimum supported server | Windows 2000 Server [desktop apps only] |
| Target Platform | Windows |
| Header | ctffunc.h |
| DLL | Msctf.dll |
| Redistributable | TSF 1.0 on Windows 2000 Professional |