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.

ValueDescription
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 | Windows Store apps]

Minimum supported server

Windows Server 2003 R2 [desktop apps | Windows Store apps]

Header

Msctf.h

IDL

Msctf.idl

DLL

Msctf.dll

 

 

Show: