ITfInputProcessorProfileMgr::GetActiveProfile method
This method returns the current active profile.
Syntax
HRESULT GetActiveProfile(
[in] REFGUID catid,
[out] TF_INPUTPROCESSORPROFILE *pProfile
);
Parameters
- catid [in]
-
[in] The category id for the profile. This must be GUID_TFCAT_TIP_KEYBOARD. Only GUID_TFCAT_TIP_KEYBOARD is supported.
- pProfile [out]
-
[out] The buffer to receive the profile information.
Return value
This method can return one of these values.
| Value | Description |
|---|---|
|
The method was successful. |
|
The profile was not found or is not active. |
|
An unspecified error occurred. |
|
One or more parameters are invalid. |
Requirements
|
Minimum supported client |
Windows Vista [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2003 R2 [desktop apps | Windows Store apps] |
|
Header |
|
|
IDL |
|
|
DLL |
|