ITfContextOwnerCompositionSink::OnStartComposition method

Syntax


HRESULT OnStartComposition(
  [in]  ITfCompositionView *pComposition,
  [out] BOOL               *pfOk
);

Parameters

pComposition [in]

Pointer to an ITfCompositionView object that represents the new composition.

pfOk [out]

Pointer to a BOOL value that receives a value that allows or denies the new composition. Receives a nonzero value to allow the composition or zero to deny the composition.

Return value

This method can return one of these values.

ValueDescription
S_OK

The method was successful.

 

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

Msimtf.dll

See also

ITfContextOwnerCompositionSink
ITfCompositionView

 

 

Show: