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.

ITfFunctionProvider::GetFunction method

Syntax


HRESULT GetFunction(
  [in]  REFGUID  rguid,
  [in]  REFIID   riid,
  [out] IUnknown **ppunk
);

Parameters

rguid [in]

Contains a GUID value that identifies the function group that the requested function belongs to. This value can be GUID_NULL.

riid [in]

Contains an interface identifier that identifies the requested function within the group specified by rguid. This value can be specified by the application, text service, or one of the IID_ITfFn* values.

ppunk [out]

Pointer to an IUnknown interface pointer that receives the requested function interface.

Return value

This method can return one of these values.

ValueDescription
S_OK

The method was successful.

E_NOINTERFACE

The requested function is unsupported.

E_OUTOFMEMORY

A memory allocation failure occurred.

E_INVALIDARG

One or more parameters are invalid.

 

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