Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Obtains the class identifier of the foreground TSF text service.
Syntax
HRESULT GetForeground(
[out] CLSID *pclsid
);
Parameters
[out] pclsid
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.
Value | Description |
---|---|
|
The method was successful. |
|
There is no foreground text service. |
|
pclsid is invalid. |
|
An unspecified error occurred. |
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 |