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.

ITfContext::InWriteSession method

Syntax


HRESULT InWriteSession(
  [in]  TfClientId tid,
  [out] BOOL       *pfWriteSession
);

Parameters

tid [in]

Contains a TfClientID value that identifies the client.

pfWriteSession [out]

Pointer to a BOOL that receives a nonzero value if the client has a read/write lock on the context. Receives zero if the client does not have an edit session or has a read-only edit session.

Return value

This method can return one of these values.

ValueDescription
S_OK

The method was successful.

E_INVALIDARG

pfWriteSession is invalid.

 

Remarks

A client uses this method, from inside a notification callback, to determine if it must make the change.

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