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.

ITfKeystrokeMgr::GetForeground method

Syntax


HRESULT GetForeground(
  [out] CLSID *pclsid
);

Parameters

pclsid [out]

Pointer to a CLSID that receives the class identifier of the foreground TSF text service.

Return value

This method can return one of these values.

ValueDescription
S_OK

The method was successful.

S_FALSE

There is no foreground text service.

E_INVALIDARG

pclsid is invalid.

E_FAIL

An unspecified error occurred.

 

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps | Windows Store apps]

Minimum supported server

Windows 2000 Server [desktop apps | Windows Store apps]

Redistributable

TSF 1.0 on Windows 2000 Professional

Header

Msctf.h

IDL

Msctf.idl

DLL

Msctf.dll

 

 

Show:
© 2017 Microsoft