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.
| Value | Description |
|---|---|
|
The method was successful. |
|
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 |
|
|
IDL |
|
|
DLL |
|