Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ITfInputProcessorProfileMgr::UnregisterProfile method

The ITfInputProcessorProfileMgr::UnregisterProfile method unregisters the text service and the profile.

Syntax


HRESULT UnregisterProfile(
  [in] REFCLSID rclsid,
  [in] LANGID   langid,
  [in] REFGUID  guidProfile,
  [in] DWORD    dwFlags
);

Parameters

rclsid [in]

[in] CLSID of the text service.

langid [in]

[in] The language id of the profile.

guidProfile [in]

[in] The GUID to identify the profile.

dwFlags [in]

[in] The combination of the following bits:

ValueMeaning
TF_URP_ALLPROFILES

If this bit is on, UnregistrProfile unregisters all profiles of the rclsid parameter. The langid and guidProfile parameters are ignored.

TF_URP_LOCALPROCESS

The profile was registered on the local process.

TF_URP_LOCALTHREAD

The profile was registered on the local thread.

 

Return value

This method can return one of these values.

ValueDescription
S_OK

The method was successful.

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:
© 2017 Microsoft