Poznámka:
Přístup k této stránce vyžaduje autorizaci. Můžete se zkusit přihlásit nebo změnit adresáře.
Přístup k této stránce vyžaduje autorizaci. Můžete zkusit změnit adresáře.
Obtains the default profile for a specific language.
Syntax
HRESULT GetDefaultLanguageProfile(
[in] LANGID langid,
[in] REFGUID catid,
[out] CLSID *pclsid,
[out] GUID *pguidProfile
);
Parameters
[in] langid
Contains a LANGID value that specifies which language to obtain the default profile for.
[in] catid
Contains a GUID value that identifies the category that the text service is registered under. This can be a user-defined category or one of the predefined category values.
[out] pclsid
Pointer to a CLSID value that receives the class identifier of the default text service for the language.
[out] pguidProfile
Pointer to a GUID value that receives the identifier of the default profile for the language.
Return value
This method can return one of these values.
| Value | Description |
|---|---|
|
The method was successful. |
|
No default language profile was found for the specified language and category. |
|
An unspecified error occurred. |
|
One or more parameters are invalid. |
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 | msctf.h |
| DLL | Msctf.dll |
| Redistributable | TSF 1.0 on Windows 2000 Professional |