ReactOS 0.4.16-dev-1521-gb8f1da6
CRange Class Reference

#include <range.h>

Inheritance diagram for CRange:
Collaboration diagram for CRange:

Public Member Functions

 CRange (_In_ ITfContext *context, _In_ TfAnchor anchorStart, _In_ TfAnchor anchorEnd)
 
virtual ~CRange ()
 
STDMETHODIMP QueryInterface (REFIID riid, void **ppvObj) override
 
 STDMETHODIMP_ (ULONG) AddRef() override
 
 STDMETHODIMP_ (ULONG) Release() override
 
STDMETHODIMP GetText (_In_ TfEditCookie ec, _In_ DWORD dwFlags, _Out_ WCHAR *pchText, _In_ ULONG cchMax, _Out_ ULONG *pcch) override
 
STDMETHODIMP SetText (_In_ TfEditCookie ec, _In_ DWORD dwFlags, _In_ const WCHAR *pchText, _In_ LONG cch) override
 
STDMETHODIMP GetFormattedText (_In_ TfEditCookie ec, _Out_ IDataObject **ppDataObject) override
 
STDMETHODIMP GetEmbedded (_In_ TfEditCookie ec, _In_ REFGUID rguidService, _In_ REFIID riid, _Out_ IUnknown **ppunk) override
 
STDMETHODIMP InsertEmbedded (_In_ TfEditCookie ec, _In_ DWORD dwFlags, _In_ IDataObject *pDataObject) override
 
STDMETHODIMP ShiftStart (_In_ TfEditCookie ec, _In_ LONG cchReq, _Out_ LONG *pcch, _In_ const TF_HALTCOND *pHalt) override
 
STDMETHODIMP ShiftEnd (_In_ TfEditCookie ec, _In_ LONG cchReq, _Out_ LONG *pcch, _In_ const TF_HALTCOND *pHalt) override
 
STDMETHODIMP ShiftStartToRange (_In_ TfEditCookie ec, _In_ ITfRange *pRange, _In_ TfAnchor aPos) override
 
STDMETHODIMP ShiftEndToRange (_In_ TfEditCookie ec, _In_ ITfRange *pRange, _In_ TfAnchor aPos) override
 
STDMETHODIMP ShiftStartRegion (_In_ TfEditCookie ec, _In_ TfShiftDir dir, _Out_ BOOL *pfNoRegion) override
 
STDMETHODIMP ShiftEndRegion (_In_ TfEditCookie ec, _In_ TfShiftDir dir, _Out_ BOOL *pfNoRegion) override
 
STDMETHODIMP IsEmpty (_In_ TfEditCookie ec, _Out_ BOOL *pfEmpty) override
 
STDMETHODIMP Collapse (_In_ TfEditCookie ec, _In_ TfAnchor aPos) override
 
STDMETHODIMP IsEqualStart (_In_ TfEditCookie ec, _In_ ITfRange *pWith, _In_ TfAnchor aPos, _Out_ BOOL *pfEqual) override
 
STDMETHODIMP IsEqualEnd (_In_ TfEditCookie ec, _In_ ITfRange *pWith, _In_ TfAnchor aPos, _Out_ BOOL *pfEqual) override
 
STDMETHODIMP CompareStart (_In_ TfEditCookie ec, _In_ ITfRange *pWith, _In_ TfAnchor aPos, _Out_ LONG *plResult) override
 
STDMETHODIMP CompareEnd (_In_ TfEditCookie ec, _In_ ITfRange *pWith, _In_ TfAnchor aPos, _Out_ LONG *plResult) override
 
STDMETHODIMP AdjustForInsert (_In_ TfEditCookie ec, _In_ ULONG cchInsert, _Out_ BOOL *pfInsertOk) override
 
STDMETHODIMP GetGravity (_Out_ TfGravity *pgStart, _Out_ TfGravity *pgEnd) override
 
STDMETHODIMP SetGravity (_In_ TfEditCookie ec, _In_ TfGravity gStart, _In_ TfGravity gEnd) override
 
STDMETHODIMP Clone (_Out_ ITfRange **ppClone) override
 
STDMETHODIMP GetContext (_Out_ ITfContext **ppContext) override
 
STDMETHODIMP GetExtent (_Out_ LONG *pacpAnchor, _Out_ LONG *pcch) override
 
STDMETHODIMP SetExtent (_In_ LONG acpAnchor, _In_ LONG cch) override
 
STDMETHODIMP GetExtent (_Out_ IAnchor **ppStart, _Out_ IAnchor **ppEnd) override
 
STDMETHODIMP SetExtent (_In_ IAnchor *pAnchorStart, _In_ IAnchor *pAnchorEnd) override
 
STDMETHODIMP AdviseSink (_In_ REFIID riid, _In_ IUnknown *punk, _Out_ DWORD *pdwCookie) override
 
STDMETHODIMP UnadviseSink (_In_ DWORD dwCookie) override
 
- Public Member Functions inherited from ITfRangeACP
HRESULT GetExtent ([out] LONG *pacpAnchor, [out] LONG *pcch)
 
HRESULT SetExtent ([in] LONG acpAnchor, [in] LONG cch)
 
- Public Member Functions inherited from ITfRange
HRESULT GetText ([in] TfEditCookie ec, [in] DWORD dwFlags, [out, size_is(cchMax), length_is(*pcch)] WCHAR *pchText, [in] ULONG cchMax, [out] ULONG *pcch)
 
HRESULT SetText ([in] TfEditCookie ec, [in] DWORD dwFlags, [in, size_is(cch), unique] const WCHAR *pchText, [in] LONG cch)
 
HRESULT GetFormattedText ([in] TfEditCookie ec, [out] IDataObject **ppDataObject)
 
HRESULT GetEmbedded ([in] TfEditCookie ec, [in] REFGUID rguidService, [in] REFIID riid, [out, iid_is(riid)] IUnknown **ppunk)
 
HRESULT InsertEmbedded ([in] TfEditCookie ec, [in] DWORD dwFlags, [in] IDataObject *pDataObject)
 
HRESULT ShiftStart ([in] TfEditCookie ec, [in] LONG cchReq, [out] LONG *pcch, [in, unique] const TF_HALTCOND *pHalt)
 
HRESULT ShiftEnd ([in] TfEditCookie ec, [in] LONG cchReq, [out] LONG *pcch, [in, unique] const TF_HALTCOND *pHalt)
 
HRESULT ShiftStartToRange ([in] TfEditCookie ec, [in] ITfRange *pRange, [in] TfAnchor aPos)
 
HRESULT ShiftEndToRange ([in] TfEditCookie ec, [in] ITfRange *pRange, [in] TfAnchor aPos)
 
HRESULT ShiftStartRegion ([in] TfEditCookie ec, [in] TfShiftDir dir, [out] BOOL *pfNoRegion)
 
HRESULT ShiftEndRegion ([in] TfEditCookie ec, [in] TfShiftDir dir, [out] BOOL *pfNoRegion)
 
HRESULT IsEmpty ([in] TfEditCookie ec, [out] BOOL *pfEmpty)
 
HRESULT Collapse ([in] TfEditCookie ec, [in] TfAnchor aPos)
 
HRESULT IsEqualStart ([in] TfEditCookie ec, [in] ITfRange *pWith, [in] TfAnchor aPos, [out] BOOL *pfEqual)
 
HRESULT IsEqualEnd ([in] TfEditCookie ec, [in] ITfRange *pWith, [in] TfAnchor aPos, [out] BOOL *pfEqual)
 
HRESULT CompareStart ([in] TfEditCookie ec, [in] ITfRange *pWith, [in] TfAnchor aPos, [out] LONG *plResult)
 
HRESULT CompareEnd ([in] TfEditCookie ec, [in] ITfRange *pWith, [in] TfAnchor aPos, [out] LONG *plResult)
 
HRESULT AdjustForInsert ([in] TfEditCookie ec, [in] ULONG cchInsert, [out] BOOL *pfInsertOk)
 
HRESULT GetGravity ([out] TfGravity *pgStart, [out] TfGravity *pgEnd)
 
HRESULT SetGravity ([in] TfEditCookie ec, [in] TfGravity gStart, [in] TfGravity gEnd)
 
HRESULT Clone ([out] ITfRange **ppClone)
 
HRESULT GetContext ([out] ITfContext **ppContext)
 
- Public Member Functions inherited from IUnknown
HRESULT QueryInterface ([in] REFIID riid, [out, iid_is(riid)] void **ppvObject)
 
ULONG AddRef ()
 
ULONG Release ()
 
- Public Member Functions inherited from ITfRangeAnchor
HRESULT GetExtent ([out] IAnchor **ppStart, [out] IAnchor **ppEnd)
 
HRESULT SetExtent ([in] IAnchor *pAnchorStart, [in] IAnchor *pAnchorEnd)
 
- Public Member Functions inherited from ITfSource
HRESULT AdviseSink ([in] REFIID riid, [in, iid_is(riid)] IUnknown *punk, [out] DWORD *pdwCookie)
 
HRESULT UnadviseSink ([in] DWORD dwCookie)
 

Static Public Member Functions

static HRESULT TF_SELECTION_to_TS_SELECTION_ACP (const TF_SELECTION *tf, TS_SELECTION_ACP *tsAcp)
 

Protected Member Functions

CRange_Clone ()
 
HRESULT _IsEqualX (TfEditCookie ec, BOOL bEnd, ITfRange *pWith, TfAnchor aPos, BOOL *pfEqual)
 
HRESULT _CompareX (TfEditCookie ec, BOOL bEnd, ITfRange *pWidth, TfAnchor aPos, LONG *plResult)
 

Protected Attributes

LONG m_cRefs
 
ITfContextm_context
 
DWORD m_dwLockType
 
TfAnchor m_anchorStart
 
TfAnchor m_anchorEnd
 
DWORD m_dwCookie
 

Additional Inherited Members

- Public Types inherited from ITfRange
enum  TfGravity { TF_GRAVITY_BACKWARD = 0 , TF_GRAVITY_FORWARD = 1 }
 
enum  TfShiftDir { TF_SD_BACKWARD = 0 , TF_SD_FORWARD = 1 }
 
typedef struct ITfRange::TF_HALTCOND TF_HALTCOND
 
- Public Types inherited from IUnknown
typedef IUnknownLPUNKNOWN
 
- Public Attributes inherited from ITfRange
const WCHAR TF_CHAR_EMBEDDED = TS_CHAR_EMBEDDED
 
const DWORD TF_HF_OBJECT = 1
 
const DWORD TF_TF_MOVESTART = 1
 
const DWORD TF_TF_IGNOREEND = 2
 
const DWORD TF_ST_CORRECTION = 1
 
const DWORD TF_IE_CORRECTION = 1
 

Detailed Description

Definition at line 5 of file range.h.

Constructor & Destructor Documentation

◆ CRange()

CRange::CRange ( _In_ ITfContext context,
_In_ TfAnchor  anchorStart,
_In_ TfAnchor  anchorEnd 
)

Definition at line 17 of file range.cpp.

22 : m_cRefs(1)
24 , m_anchorStart(anchorStart)
25 , m_anchorEnd(anchorEnd)
26{
27 if (context)
28 context->AddRef();
29}
LONG m_cRefs
Definition: range.h:121
TfAnchor m_anchorStart
Definition: range.h:124
ITfContext * m_context
Definition: range.h:122
TfAnchor m_anchorEnd
Definition: range.h:125
Definition: http.c:7252

◆ ~CRange()

CRange::~CRange ( )
virtual

Definition at line 31 of file range.cpp.

32{
33 TRACE("destroying %p\n", this);
34 if (m_context)
36}
ULONG Release()
#define TRACE(s)
Definition: solgame.cpp:4

Member Function Documentation

◆ _Clone()

CRange * CRange::_Clone ( )
protected

Definition at line 38 of file range.cpp.

39{
41 if (!pRange)
42 return NULL;
43 return pRange;
44}
#define cicNoThrow
Definition: cicbase.h:46
Definition: range.h:9
#define NULL
Definition: types.h:112

Referenced by Clone().

◆ _CompareX()

HRESULT CRange::_CompareX ( TfEditCookie  ec,
BOOL  bEnd,
ITfRange pWidth,
TfAnchor  aPos,
LONG plResult 
)
protected

Definition at line 51 of file range.cpp.

57{
58 return E_NOTIMPL;
59}
#define E_NOTIMPL
Definition: ddrawi.h:99

◆ _IsEqualX()

HRESULT CRange::_IsEqualX ( TfEditCookie  ec,
BOOL  bEnd,
ITfRange pWith,
TfAnchor  aPos,
BOOL pfEqual 
)
protected

Definition at line 46 of file range.cpp.

47{
48 return E_NOTIMPL;
49}

Referenced by IsEqualEnd(), and IsEqualStart().

◆ AdjustForInsert()

STDMETHODIMP CRange::AdjustForInsert ( _In_ TfEditCookie  ec,
_In_ ULONG  cchInsert,
_Out_ BOOL pfInsertOk 
)
override

Definition at line 279 of file range.cpp.

283{
284 FIXME("\n");
285 return E_NOTIMPL;
286}
#define FIXME(fmt,...)
Definition: precomp.h:53

◆ AdviseSink()

STDMETHODIMP CRange::AdviseSink ( _In_ REFIID  riid,
_In_ IUnknown punk,
_Out_ DWORD pdwCookie 
)
override

Definition at line 352 of file range.cpp.

356{
357 FIXME("\n");
358 return E_NOTIMPL;
359}

◆ Clone()

STDMETHODIMP CRange::Clone ( _Out_ ITfRange **  ppClone)
override

Definition at line 305 of file range.cpp.

307{
308 TRACE("%p\n", ppClone);
309
310 if (!ppClone)
311 return E_INVALIDARG;
312
313 CRange *pCloned = _Clone();
314 if (!pCloned)
315 return E_OUTOFMEMORY;
316
317 *ppClone = static_cast<ITfRangeACP *>(pCloned);
318 return S_OK;
319}
CRange * _Clone()
Definition: range.cpp:38
#define E_OUTOFMEMORY
Definition: ddrawi.h:100
#define E_INVALIDARG
Definition: ddrawi.h:101
#define S_OK
Definition: intsafe.h:52

◆ Collapse()

STDMETHODIMP CRange::Collapse ( _In_ TfEditCookie  ec,
_In_ TfAnchor  aPos 
)
override

Definition at line 231 of file range.cpp.

234{
235 FIXME("\n");
236 return E_NOTIMPL;
237}

◆ CompareEnd()

STDMETHODIMP CRange::CompareEnd ( _In_ TfEditCookie  ec,
_In_ ITfRange pWith,
_In_ TfAnchor  aPos,
_Out_ LONG plResult 
)
override

Definition at line 269 of file range.cpp.

274{
275 FIXME("\n");
276 return E_NOTIMPL;
277}

◆ CompareStart()

STDMETHODIMP CRange::CompareStart ( _In_ TfEditCookie  ec,
_In_ ITfRange pWith,
_In_ TfAnchor  aPos,
_Out_ LONG plResult 
)
override

Definition at line 259 of file range.cpp.

264{
265 FIXME("\n");
266 return E_NOTIMPL;
267}

◆ GetContext()

STDMETHODIMP CRange::GetContext ( _Out_ ITfContext **  ppContext)
override

Definition at line 321 of file range.cpp.

323{
324 FIXME("%p\n", ppContext);
325 return E_NOTIMPL;
326}

◆ GetEmbedded()

STDMETHODIMP CRange::GetEmbedded ( _In_ TfEditCookie  ec,
_In_ REFGUID  rguidService,
_In_ REFIID  riid,
_Out_ IUnknown **  ppunk 
)
override

Definition at line 148 of file range.cpp.

153{
154 FIXME("\n");
155 return E_NOTIMPL;
156}

◆ GetExtent() [1/2]

STDMETHODIMP CRange::GetExtent ( _Out_ IAnchor **  ppStart,
_Out_ IAnchor **  ppEnd 
)
override

Definition at line 340 of file range.cpp.

341{
342 FIXME("\n");
343 return E_NOTIMPL;
344}

◆ GetExtent() [2/2]

STDMETHODIMP CRange::GetExtent ( _Out_ LONG pacpAnchor,
_Out_ LONG pcch 
)
override

Definition at line 328 of file range.cpp.

329{
330 FIXME("\n");
331 return E_NOTIMPL;
332}

◆ GetFormattedText()

STDMETHODIMP CRange::GetFormattedText ( _In_ TfEditCookie  ec,
_Out_ IDataObject **  ppDataObject 
)
override

Definition at line 140 of file range.cpp.

143{
144 FIXME("\n");
145 return E_NOTIMPL;
146}

◆ GetGravity()

STDMETHODIMP CRange::GetGravity ( _Out_ TfGravity pgStart,
_Out_ TfGravity pgEnd 
)
override

Definition at line 288 of file range.cpp.

291{
292 FIXME("\n");
293 return E_NOTIMPL;
294}

◆ GetText()

STDMETHODIMP CRange::GetText ( _In_ TfEditCookie  ec,
_In_ DWORD  dwFlags,
_Out_ WCHAR pchText,
_In_ ULONG  cchMax,
_Out_ ULONG pcch 
)
override

Definition at line 119 of file range.cpp.

125{
126 FIXME("\n");
127 return E_NOTIMPL;
128}

◆ InsertEmbedded()

STDMETHODIMP CRange::InsertEmbedded ( _In_ TfEditCookie  ec,
_In_ DWORD  dwFlags,
_In_ IDataObject pDataObject 
)
override

Definition at line 158 of file range.cpp.

162{
163 FIXME("\n");
164 return E_NOTIMPL;
165}

◆ IsEmpty()

STDMETHODIMP CRange::IsEmpty ( _In_ TfEditCookie  ec,
_Out_ BOOL pfEmpty 
)
override

Definition at line 223 of file range.cpp.

226{
227 TRACE("(%d, %p)\n", ec, pfEmpty);
228 return IsEqualStart(ec, static_cast<ITfRangeACP *>(this), TF_ANCHOR_END, pfEmpty);
229}
STDMETHODIMP IsEqualStart(_In_ TfEditCookie ec, _In_ ITfRange *pWith, _In_ TfAnchor aPos, _Out_ BOOL *pfEqual) override
Definition: range.cpp:239
@ TF_ANCHOR_END
Definition: msctf.idl:153

◆ IsEqualEnd()

STDMETHODIMP CRange::IsEqualEnd ( _In_ TfEditCookie  ec,
_In_ ITfRange pWith,
_In_ TfAnchor  aPos,
_Out_ BOOL pfEqual 
)
override

Definition at line 249 of file range.cpp.

254{
255 FIXME("\n");
256 return _IsEqualX(ec, TRUE, pWith, aPos, pfEqual);
257}
HRESULT _IsEqualX(TfEditCookie ec, BOOL bEnd, ITfRange *pWith, TfAnchor aPos, BOOL *pfEqual)
Definition: range.cpp:46
#define TRUE
Definition: types.h:120

◆ IsEqualStart()

STDMETHODIMP CRange::IsEqualStart ( _In_ TfEditCookie  ec,
_In_ ITfRange pWith,
_In_ TfAnchor  aPos,
_Out_ BOOL pfEqual 
)
override

Definition at line 239 of file range.cpp.

244{
245 FIXME("\n");
246 return _IsEqualX(ec, FALSE, pWith, aPos, pfEqual);
247}
#define FALSE
Definition: types.h:117

Referenced by IsEmpty().

◆ QueryInterface()

STDMETHODIMP CRange::QueryInterface ( REFIID  riid,
void **  ppvObj 
)
override

Implements IUnknown.

Definition at line 77 of file range.cpp.

78{
79 if (riid == IID_PRIV_CRANGE)
80 {
81 *ppvObj = this;
82 return S_OK; // No AddRef
83 }
84
85 if (riid == IID_IUnknown || riid == IID_ITfRange || riid == IID_ITfRangeACP)
86 *ppvObj = static_cast<ITfRangeACP *>(this);
87 else if (riid == IID_ITfRangeAnchor)
88 *ppvObj = static_cast<ITfRangeAnchor *>(this);
89 else if (riid == IID_ITfSource)
90 *ppvObj = static_cast<ITfSource *>(this);
91 else
92 *ppvObj = NULL;
93
94 if (*ppvObj)
95 {
96 AddRef();
97 return S_OK;
98 }
99
100 WARN("unsupported interface: %s\n", debugstr_guid(&riid));
101 return E_NOINTERFACE;
102}
#define WARN(fmt,...)
Definition: precomp.h:61
const GUID IID_IUnknown
REFIID riid
Definition: atlbase.h:39
ULONG AddRef()
#define debugstr_guid
Definition: kernel32.h:35
#define E_NOINTERFACE
Definition: winerror.h:3480

◆ SetExtent() [1/2]

STDMETHODIMP CRange::SetExtent ( _In_ IAnchor pAnchorStart,
_In_ IAnchor pAnchorEnd 
)
override

Definition at line 346 of file range.cpp.

347{
348 FIXME("\n");
349 return E_NOTIMPL;
350}

◆ SetExtent() [2/2]

STDMETHODIMP CRange::SetExtent ( _In_ LONG  acpAnchor,
_In_ LONG  cch 
)
override

Definition at line 334 of file range.cpp.

335{
336 FIXME("\n");
337 return E_NOTIMPL;
338}

◆ SetGravity()

STDMETHODIMP CRange::SetGravity ( _In_ TfEditCookie  ec,
_In_ TfGravity  gStart,
_In_ TfGravity  gEnd 
)
override

Definition at line 296 of file range.cpp.

300{
301 FIXME("\n");
302 return E_NOTIMPL;
303}

◆ SetText()

STDMETHODIMP CRange::SetText ( _In_ TfEditCookie  ec,
_In_ DWORD  dwFlags,
_In_ const WCHAR pchText,
_In_ LONG  cch 
)
override

Definition at line 130 of file range.cpp.

135{
136 FIXME("\n");
137 return E_NOTIMPL;
138}

◆ ShiftEnd()

STDMETHODIMP CRange::ShiftEnd ( _In_ TfEditCookie  ec,
_In_ LONG  cchReq,
_Out_ LONG pcch,
_In_ const TF_HALTCOND pHalt 
)
override

Definition at line 177 of file range.cpp.

182{
183 FIXME("\n");
184 return E_NOTIMPL;
185}

◆ ShiftEndRegion()

STDMETHODIMP CRange::ShiftEndRegion ( _In_ TfEditCookie  ec,
_In_ TfShiftDir  dir,
_Out_ BOOL pfNoRegion 
)
override

Definition at line 214 of file range.cpp.

218{
219 FIXME("\n");
220 return E_NOTIMPL;
221}

◆ ShiftEndToRange()

STDMETHODIMP CRange::ShiftEndToRange ( _In_ TfEditCookie  ec,
_In_ ITfRange pRange,
_In_ TfAnchor  aPos 
)
override

Definition at line 196 of file range.cpp.

200{
201 FIXME("\n");
202 return E_NOTIMPL;
203}

◆ ShiftStart()

STDMETHODIMP CRange::ShiftStart ( _In_ TfEditCookie  ec,
_In_ LONG  cchReq,
_Out_ LONG pcch,
_In_ const TF_HALTCOND pHalt 
)
override

Definition at line 167 of file range.cpp.

172{
173 FIXME("\n");
174 return E_NOTIMPL;
175}

◆ ShiftStartRegion()

STDMETHODIMP CRange::ShiftStartRegion ( _In_ TfEditCookie  ec,
_In_ TfShiftDir  dir,
_Out_ BOOL pfNoRegion 
)
override

Definition at line 205 of file range.cpp.

209{
210 FIXME("\n");
211 return E_NOTIMPL;
212}

◆ ShiftStartToRange()

STDMETHODIMP CRange::ShiftStartToRange ( _In_ TfEditCookie  ec,
_In_ ITfRange pRange,
_In_ TfAnchor  aPos 
)
override

Definition at line 187 of file range.cpp.

191{
192 FIXME("\n");
193 return E_NOTIMPL;
194}

◆ STDMETHODIMP_() [1/2]

CRange::STDMETHODIMP_ ( ULONG  )
override

◆ STDMETHODIMP_() [2/2]

CRange::STDMETHODIMP_ ( ULONG  )
override

◆ TF_SELECTION_to_TS_SELECTION_ACP()

HRESULT CRange::TF_SELECTION_to_TS_SELECTION_ACP ( const TF_SELECTION *  tf,
TS_SELECTION_ACP tsAcp 
)
static

Definition at line 61 of file range.cpp.

62{
63 if (!tf || !tsAcp || !tf->range)
64 {
65 ERR("E_INVALIDARG: %p, %p, %p\n", tf, tsAcp, tf->range);
66 return E_INVALIDARG;
67 }
68
69 CRange *This = static_cast<CRange *>(static_cast<ITfRangeACP *>(tf->range));
70 tsAcp->acpStart = This->m_anchorStart;
71 tsAcp->acpEnd = This->m_anchorEnd;
72 tsAcp->style.ase = static_cast<TsActiveSelEnd>(tf->style.ase);
73 tsAcp->style.fInterimChar = tf->style.fInterimChar;
74 return S_OK;
75}
#define ERR(fmt,...)
Definition: precomp.h:57
HFONT tf
Definition: icontest.c:17
TsActiveSelEnd ase
Definition: textstor.idl:86
TS_SELECTIONSTYLE style
Definition: textstor.idl:94
TsActiveSelEnd
Definition: textstor.idl:67

Referenced by TF_SELECTION_to_TS_SELECTION_ACP().

◆ UnadviseSink()

STDMETHODIMP CRange::UnadviseSink ( _In_ DWORD  dwCookie)
override

Definition at line 361 of file range.cpp.

363{
364 FIXME("\n");
365 return E_NOTIMPL;
366}

Member Data Documentation

◆ m_anchorEnd

TfAnchor CRange::m_anchorEnd
protected

Definition at line 125 of file range.h.

Referenced by _Clone().

◆ m_anchorStart

TfAnchor CRange::m_anchorStart
protected

Definition at line 124 of file range.h.

Referenced by _Clone().

◆ m_context

ITfContext* CRange::m_context
protected

Definition at line 122 of file range.h.

Referenced by _Clone(), and ~CRange().

◆ m_cRefs

LONG CRange::m_cRefs
protected

Definition at line 121 of file range.h.

Referenced by STDMETHODIMP_().

◆ m_dwCookie

DWORD CRange::m_dwCookie
protected

Definition at line 126 of file range.h.

◆ m_dwLockType

DWORD CRange::m_dwLockType
protected

Definition at line 123 of file range.h.


The documentation for this class was generated from the following files: