ITfCompositionView::GetOwnerClsid method (msctf.h)

Obtains the class identifier of the text service that created the composition object.

Syntax

HRESULT GetOwnerClsid(
  [out] CLSID *pclsid
);

Parameters

[out] pclsid

Pointer to a CLSID that receives the class identifier of the text service that owns the composition.

Return value

This method can return one of these values.

Value Description
S_OK
The method was successful.
E_FAIL
An unspecified error occurred.
E_INVALIDARG
pclsid is invalid.
E_UNEXPECTED
The composition has been terminated.

Remarks

This method can be used to enable a text service to filter compositions that it does not own.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps | UWP apps]
Minimum supported server Windows 2000 Server [desktop apps | UWP apps]
Target Platform Windows
Header msctf.h
DLL Msctf.dll
Redistributable TSF 1.0 on Windows 2000 Professional

See also

ITfCompositionView interface