ITfInputProcessorProfileMgr::GetActiveProfile method

This method returns the current active profile.

Syntax

HRESULT GetActiveProfile(
  REFGUID                  catid,
  TF_INPUTPROCESSORPROFILE *pProfile
);

Parameters

catid

[in] The category id for the profile. This must be GUID_TFCAT_TIP_KEYBOARD. Only GUID_TFCAT_TIP_KEYBOARD is supported.

pProfile

[out] The buffer to receive the profile information.

Return Value

This method can return one of these values.

Value Description
S_OK
The method was successful.
S_FALSE
The profile was not found or is not active.
E_FAIL
An unspecified error occurred.
E_INVALIDARG
One or more parameters are invalid.

Requirements

   
Minimum supported client Windows Vista [desktop apps | UWP apps]
Minimum supported server Windows Server 2003 R2 [desktop apps | UWP apps]
Target Platform Windows
Header msctf.h
DLL Msctf.dll