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 identifier of the currently active language profile for a specific text service.
Syntax
HRESULT GetActiveLanguageProfile(
[in] REFCLSID rclsid,
[out] LANGID *plangid,
[out] GUID *pguidProfile
);
Parameters
[in] rclsid
Contains the text service CLSID.
[out] plangid
Pointer to a LANGID value that receives the active profile language identifier.
[out] pguidProfile
Pointer to a GUID value that receives the language profile identifier. This is the value specified in ITfInputProcessorProfiles::AddLanguageProfile when the profile was added.
Return value
This method can return one of these values.
| Value | Description |
|---|---|
|
The method was successful. |
|
The text service identified by rclsid is not currently active. pguidProfile receives GUID_NULL. |
|
An unspecified error occurred. |
|
One or more parameters are invalid. |
|
A memory allocation error occurred. |
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 |