ReactOS 0.4.16-dev-981-g80eb313
textserv.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define THISCALLMETHOD_(type, method)   type (__thiscall *method)
 
#define INTERFACE   ITextServices
 
#define TXTBIT_RICHTEXT   0x000001
 
#define TXTBIT_MULTILINE   0x000002
 
#define TXTBIT_READONLY   0x000004
 
#define TXTBIT_SHOWACCELERATOR   0x000008
 
#define TXTBIT_USEPASSWORD   0x000010
 
#define TXTBIT_HIDESELECTION   0x000020
 
#define TXTBIT_SAVESELECTION   0x000040
 
#define TXTBIT_AUTOWORDSEL   0x000080
 
#define TXTBIT_VERTICAL   0x000100
 
#define TXTBIT_SELBARCHANGE   0x000200
 
#define TXTBIT_WORDWRAP   0x000400
 
#define TXTBIT_ALLOWBEEP   0x000800
 
#define TXTBIT_DISABLEDRAG   0x001000
 
#define TXTBIT_VIEWINSETCHANGE   0x002000
 
#define TXTBIT_BACKSTYLECHANGE   0x004000
 
#define TXTBIT_MAXLENGTHCHANGE   0x008000
 
#define TXTBIT_SCROLLBARCHANGE   0x010000
 
#define TXTBIT_CHARFORMATCHANGE   0x020000
 
#define TXTBIT_PARAFORMATCHANGE   0x040000
 
#define TXTBIT_EXTENTCHANGE   0x080000
 
#define TXTBIT_CLIENTRECTCHANGE   0x100000
 
#define TXTBIT_USECURRENTBKG   0x200000
 
#define INTERFACE   ITextHost
 
#define INTERFACE   ITextHost2
 

Typedefs

typedef enum _TXTBACKSTYLE TXTBACKSTYLE
 
typedef HRESULT(WINAPIPCreateTextServices) (IUnknown *, ITextHost *, IUnknown **)
 

Enumerations

enum  _TXTBACKSTYLE { TXTBACK_TRANSPARENT = 0 , TXTBACK_OPAQUE }
 
enum  TXTHITRESULT { TXTHITRESULT_NOHIT = 0 , TXTHITRESULT_TRANSPARENT = 1 , TXTHITRESULT_CLOSE = 2 , TXTHITRESULT_HIT = 3 }
 
enum  TXTNATURALSIZE { TXTNS_FITTOCONTENT = 1 , TXTNS_ROUNDTOLINE = 2 }
 
enum  TXTVIEW { TXTVIEW_ACTIVE = 0 , TXTVIEW_INACTIVE = -1 }
 

Functions

 DECLARE_INTERFACE_ (ITextServices, IUnknown)
 
 DECLARE_INTERFACE_ (ITextHost, IUnknown)
 
 DECLARE_INTERFACE_ (ITextHost2, ITextHost)
 
HRESULT WINAPI CreateTextServices (IUnknown *, ITextHost *, IUnknown **)
 

Variables

EXTERN_C const IID IID_ITextServices
 
EXTERN_C const IID IID_ITextHost
 
EXTERN_C const IID IID_ITextHost2
 

Macro Definition Documentation

◆ INTERFACE [1/3]

#define INTERFACE   ITextServices

Definition at line 375 of file textserv.h.

◆ INTERFACE [2/3]

#define INTERFACE   ITextHost

Definition at line 375 of file textserv.h.

◆ INTERFACE [3/3]

#define INTERFACE   ITextHost2

Definition at line 375 of file textserv.h.

◆ THISCALLMETHOD_

#define THISCALLMETHOD_ (   type,
  method 
)    type (__thiscall *method)

Definition at line 33 of file textserv.h.

◆ TXTBIT_ALLOWBEEP

#define TXTBIT_ALLOWBEEP   0x000800

Definition at line 196 of file textserv.h.

◆ TXTBIT_AUTOWORDSEL

#define TXTBIT_AUTOWORDSEL   0x000080

Definition at line 192 of file textserv.h.

◆ TXTBIT_BACKSTYLECHANGE

#define TXTBIT_BACKSTYLECHANGE   0x004000

Definition at line 199 of file textserv.h.

◆ TXTBIT_CHARFORMATCHANGE

#define TXTBIT_CHARFORMATCHANGE   0x020000

Definition at line 202 of file textserv.h.

◆ TXTBIT_CLIENTRECTCHANGE

#define TXTBIT_CLIENTRECTCHANGE   0x100000

Definition at line 205 of file textserv.h.

◆ TXTBIT_DISABLEDRAG

#define TXTBIT_DISABLEDRAG   0x001000

Definition at line 197 of file textserv.h.

◆ TXTBIT_EXTENTCHANGE

#define TXTBIT_EXTENTCHANGE   0x080000

Definition at line 204 of file textserv.h.

◆ TXTBIT_HIDESELECTION

#define TXTBIT_HIDESELECTION   0x000020

Definition at line 190 of file textserv.h.

◆ TXTBIT_MAXLENGTHCHANGE

#define TXTBIT_MAXLENGTHCHANGE   0x008000

Definition at line 200 of file textserv.h.

◆ TXTBIT_MULTILINE

#define TXTBIT_MULTILINE   0x000002

Definition at line 186 of file textserv.h.

◆ TXTBIT_PARAFORMATCHANGE

#define TXTBIT_PARAFORMATCHANGE   0x040000

Definition at line 203 of file textserv.h.

◆ TXTBIT_READONLY

#define TXTBIT_READONLY   0x000004

Definition at line 187 of file textserv.h.

◆ TXTBIT_RICHTEXT

#define TXTBIT_RICHTEXT   0x000001

Definition at line 185 of file textserv.h.

◆ TXTBIT_SAVESELECTION

#define TXTBIT_SAVESELECTION   0x000040

Definition at line 191 of file textserv.h.

◆ TXTBIT_SCROLLBARCHANGE

#define TXTBIT_SCROLLBARCHANGE   0x010000

Definition at line 201 of file textserv.h.

◆ TXTBIT_SELBARCHANGE

#define TXTBIT_SELBARCHANGE   0x000200

Definition at line 194 of file textserv.h.

◆ TXTBIT_SHOWACCELERATOR

#define TXTBIT_SHOWACCELERATOR   0x000008

Definition at line 188 of file textserv.h.

◆ TXTBIT_USECURRENTBKG

#define TXTBIT_USECURRENTBKG   0x200000

Definition at line 206 of file textserv.h.

◆ TXTBIT_USEPASSWORD

#define TXTBIT_USEPASSWORD   0x000010

Definition at line 189 of file textserv.h.

◆ TXTBIT_VERTICAL

#define TXTBIT_VERTICAL   0x000100

Definition at line 193 of file textserv.h.

◆ TXTBIT_VIEWINSETCHANGE

#define TXTBIT_VIEWINSETCHANGE   0x002000

Definition at line 198 of file textserv.h.

◆ TXTBIT_WORDWRAP

#define TXTBIT_WORDWRAP   0x000400

Definition at line 195 of file textserv.h.

Typedef Documentation

◆ PCreateTextServices

typedef HRESULT(WINAPI * PCreateTextServices) (IUnknown *, ITextHost *, IUnknown **)

Definition at line 448 of file textserv.h.

◆ TXTBACKSTYLE

Enumeration Type Documentation

◆ _TXTBACKSTYLE

Enumerator
TXTBACK_TRANSPARENT 
TXTBACK_OPAQUE 

Definition at line 163 of file textserv.h.

163 {
enum _TXTBACKSTYLE TXTBACKSTYLE
@ TXTBACK_OPAQUE
Definition: textserv.h:165
@ TXTBACK_TRANSPARENT
Definition: textserv.h:164

◆ TXTHITRESULT

Enumerator
TXTHITRESULT_NOHIT 
TXTHITRESULT_TRANSPARENT 
TXTHITRESULT_CLOSE 
TXTHITRESULT_HIT 

Definition at line 168 of file textserv.h.

168 {
173};
@ TXTHITRESULT_TRANSPARENT
Definition: textserv.h:170
@ TXTHITRESULT_CLOSE
Definition: textserv.h:171
@ TXTHITRESULT_HIT
Definition: textserv.h:172
@ TXTHITRESULT_NOHIT
Definition: textserv.h:169

◆ TXTNATURALSIZE

Enumerator
TXTNS_FITTOCONTENT 
TXTNS_ROUNDTOLINE 

Definition at line 175 of file textserv.h.

175 {
178};
@ TXTNS_FITTOCONTENT
Definition: textserv.h:176
@ TXTNS_ROUNDTOLINE
Definition: textserv.h:177

◆ TXTVIEW

Enumerator
TXTVIEW_ACTIVE 
TXTVIEW_INACTIVE 

Definition at line 180 of file textserv.h.

180 {
181 TXTVIEW_ACTIVE = 0,
183};
@ TXTVIEW_INACTIVE
Definition: textserv.h:182
@ TXTVIEW_ACTIVE
Definition: textserv.h:181

Function Documentation

◆ CreateTextServices()

HRESULT WINAPI CreateTextServices ( IUnknown outer,
ITextHost *  text_host,
IUnknown **  unk 
)

Definition at line 608 of file txtsrv.c.

609{
610 return create_text_services( outer, text_host, unk, FALSE );
611}
#define FALSE
Definition: types.h:117
HRESULT create_text_services(IUnknown *outer, ITextHost *text_host, IUnknown **unk, BOOL emulate_10)
Definition: txtsrv.c:577

◆ DECLARE_INTERFACE_() [1/3]

DECLARE_INTERFACE_ ( ITextHost  ,
IUnknown   
)

Definition at line 212 of file textserv.h.

213{
214 /*** IUnknown methods ***/
216 REFIID riid,
217 void** ppvObject) PURE;
218
220
222
223 /*** ITextHost methods ***/
224 THISCALLMETHOD_(HDC,TxGetDC)( THIS
225 ) PURE;
226
227 THISCALLMETHOD_(INT,TxReleaseDC)( THIS_
228 HDC hdc) PURE;
229
230 THISCALLMETHOD_(BOOL,TxShowScrollBar)( THIS_
231 INT fnBar,
232 BOOL fShow) PURE;
233
234 THISCALLMETHOD_(BOOL,TxEnableScrollBar)( THIS_
235 INT fuSBFlags,
236 INT fuArrowflags) PURE;
237
238 THISCALLMETHOD_(BOOL,TxSetScrollRange)( THIS_
239 INT fnBar,
240 LONG nMinPos,
241 INT nMaxPos,
242 BOOL fRedraw) PURE;
243
244 THISCALLMETHOD_(BOOL,TxSetScrollPos)( THIS_
245 INT fnBar,
246 INT nPos,
247 BOOL fRedraw) PURE;
248
249 THISCALLMETHOD_(void,TxInvalidateRect)( THIS_
250 LPCRECT prc,
251 BOOL fMode) PURE;
252
253 THISCALLMETHOD_(void,TxViewChange)( THIS_
254 BOOL fUpdate) PURE;
255
256 THISCALLMETHOD_(BOOL,TxCreateCaret)( THIS_
258 INT xWidth,
259 INT yHeight) PURE;
260
261 THISCALLMETHOD_(BOOL,TxShowCaret)( THIS_
262 BOOL fShow) PURE;
263
264 THISCALLMETHOD_(BOOL,TxSetCaretPos)( THIS_
265 INT x,
266 INT y) PURE;
267
268 THISCALLMETHOD_(BOOL,TxSetTimer)( THIS_
269 UINT idTimer,
270 UINT uTimeout) PURE;
271
272 THISCALLMETHOD_(void,TxKillTimer)( THIS_
273 UINT idTimer) PURE;
274
275 THISCALLMETHOD_(void,TxScrollWindowEx)( THIS_
276 INT dx,
277 INT dy,
278 LPCRECT lprcScroll,
279 LPCRECT lprcClip,
280 HRGN hRgnUpdate,
281 LPRECT lprcUpdate,
282 UINT fuScroll) PURE;
283
284 THISCALLMETHOD_(void,TxSetCapture)( THIS_
285 BOOL fCapture) PURE;
286
287 THISCALLMETHOD_(void,TxSetFocus)( THIS
288 ) PURE;
289
290 THISCALLMETHOD_(void,TxSetCursor)( THIS_
291 HCURSOR hcur,
292 BOOL fText) PURE;
293
294 THISCALLMETHOD_(BOOL,TxScreenToClient)( THIS_
295 LPPOINT lppt) PURE;
296
297 THISCALLMETHOD_(BOOL,TxClientToScreen)( THIS_
298 LPPOINT lppt) PURE;
299
300 THISCALLMETHOD_(HRESULT,TxActivate)( THIS_
301 LONG* plOldState) PURE;
302
303 THISCALLMETHOD_(HRESULT,TxDeactivate)( THIS_
304 LONG lNewState) PURE;
305
306 THISCALLMETHOD_(HRESULT,TxGetClientRect)( THIS_
307 LPRECT prc) PURE;
308
309 THISCALLMETHOD_(HRESULT,TxGetViewInset)( THIS_
310 LPRECT prc) PURE;
311
312 THISCALLMETHOD_(HRESULT,TxGetCharFormat)( THIS_
313 const CHARFORMATW** ppCF) PURE;
314
315 THISCALLMETHOD_(HRESULT,TxGetParaFormat)( THIS_
316 const PARAFORMAT** ppPF) PURE;
317
318 THISCALLMETHOD_(COLORREF,TxGetSysColor)( THIS_
319 int nIndex) PURE;
320
321 THISCALLMETHOD_(HRESULT,TxGetBackStyle)( THIS_
322 TXTBACKSTYLE* pStyle) PURE;
323
324 THISCALLMETHOD_(HRESULT,TxGetMaxLength)( THIS_
325 DWORD* plength) PURE;
326
327 THISCALLMETHOD_(HRESULT,TxGetScrollBars)( THIS_
328 DWORD* pdwScrollBar) PURE;
329
330 THISCALLMETHOD_(HRESULT,TxGetPasswordChar)( THIS_
331 WCHAR* pch) PURE;
332
333 THISCALLMETHOD_(HRESULT,TxGetAcceleratorPos)( THIS_
334 LONG* pch) PURE;
335
336 THISCALLMETHOD_(HRESULT,TxGetExtent)( THIS_
337 LPSIZEL lpExtent) PURE;
338
339 THISCALLMETHOD_(HRESULT,OnTxCharFormatChange)( THIS_
340 const CHARFORMATW* pcf) PURE;
341
342 THISCALLMETHOD_(HRESULT,OnTxParaFormatChange)( THIS_
343 const PARAFORMAT* ppf) PURE;
344
345 THISCALLMETHOD_(HRESULT,TxGetPropertyBits)( THIS_
346 DWORD dwMask,
347 DWORD* pdwBits) PURE;
348
349 THISCALLMETHOD_(HRESULT,TxNotify)( THIS_
350 DWORD iNotify,
351 void* pv) PURE;
352
353 THISCALLMETHOD_(HIMC,TxImmGetContext)( THIS
354 ) PURE;
355
356 THISCALLMETHOD_(void,TxImmReleaseContext)( THIS_
357 HIMC himc) PURE;
358
359 THISCALLMETHOD_(HRESULT,TxGetSelectionBarWidth)( THIS_
360 LONG* lSelBarWidth) PURE;
361
362};
#define PURE
Definition: basetyps.h:64
#define THIS_
Definition: basetyps.h:65
#define THIS
Definition: basetyps.h:66
#define STDMETHOD_(t, m)
Definition: basetyps.h:63
#define STDMETHOD(m)
Definition: basetyps.h:62
HBITMAP hbmp
_In_ BOOLEAN Release
Definition: cdrom.h:920
DWORD HIMC
Definition: dimm.idl:75
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
REFIID riid
Definition: atlbase.h:39
GLint dy
Definition: linetemp.h:97
GLint dx
Definition: linetemp.h:97
#define pch(ap)
Definition: match.c:418
HDC hdc
Definition: main.c:9
static HBITMAP
Definition: button.c:44
static HDC
Definition: imagelist.c:88
static HRESULT QueryInterface(REFIID, void **)
Definition: events.c:2587
static ULONG WINAPI AddRef(IStream *iface)
Definition: clist.c:90
unsigned int UINT
Definition: ndis.h:50
_Out_ LPRECT prc
Definition: ntgdi.h:1658
long LONG
Definition: pedump.c:60
#define REFIID
Definition: guiddef.h:118
#define THISCALLMETHOD_(type, method)
Definition: textserv.h:33
int32_t INT
Definition: typedefs.h:58
uint32_t ULONG
Definition: typedefs.h:59
_In_ void _In_ PCCERT_CONTEXT _In_opt_ LPFILETIME _In_ DWORD _In_ DWORD _Outptr_opt_ void ** ppvObject
Definition: wincrypt.h:6082
DWORD COLORREF
Definition: windef.h:300
HICON HCURSOR
Definition: windef.h:299
__wchar_t WCHAR
Definition: xmlstorage.h:180

◆ DECLARE_INTERFACE_() [2/3]

DECLARE_INTERFACE_ ( ITextHost2  ,
ITextHost   
)

Definition at line 376 of file textserv.h.

377{
378 /*** IUnknown methods ***/
382 /*** ITextHost methods ***/
383 THISCALLMETHOD_(HDC,TxGetDC)( THIS ) PURE;
384 THISCALLMETHOD_(INT,TxReleaseDC)( THIS_ HDC hdc ) PURE;
385 THISCALLMETHOD_(BOOL,TxShowScrollBar)( THIS_ INT fnBar, BOOL fShow ) PURE;
386 THISCALLMETHOD_(BOOL,TxEnableScrollBar)( THIS_ INT fuSBFlags, INT fuArrowflags ) PURE;
387 THISCALLMETHOD_(BOOL,TxSetScrollRange)( THIS_ INT fnBar, LONG nMinPos, INT nMaxPos, BOOL fRedraw ) PURE;
388 THISCALLMETHOD_(BOOL,TxSetScrollPos)( THIS_ INT fnBar, INT nPos, BOOL fRedraw ) PURE;
389 THISCALLMETHOD_(void,TxInvalidateRect)( THIS_ LPCRECT prc, BOOL fMode ) PURE;
390 THISCALLMETHOD_(void,TxViewChange)( THIS_ BOOL fUpdate ) PURE;
391 THISCALLMETHOD_(BOOL,TxCreateCaret)( THIS_ HBITMAP hbmp, INT xWidth, INT yHeight ) PURE;
392 THISCALLMETHOD_(BOOL,TxShowCaret)( THIS_ BOOL fShow ) PURE;
393 THISCALLMETHOD_(BOOL,TxSetCaretPos)( THIS_ INT x, INT y ) PURE;
394 THISCALLMETHOD_(BOOL,TxSetTimer)( THIS_ UINT idTimer, UINT uTimeout ) PURE;
395 THISCALLMETHOD_(void,TxKillTimer)( THIS_ UINT idTimer ) PURE;
396 THISCALLMETHOD_(void,TxScrollWindowEx)( THIS_ INT dx, INT dy, LPCRECT lprcScroll, LPCRECT lprcClip,
397 HRGN hRgnUpdate, LPRECT lprcUpdate, UINT fuScroll ) PURE;
398 THISCALLMETHOD_(void,TxSetCapture)( THIS_ BOOL fCapture ) PURE;
399 THISCALLMETHOD_(void,TxSetFocus)( THIS ) PURE;
400 THISCALLMETHOD_(void,TxSetCursor)( THIS_ HCURSOR hcur, BOOL fText ) PURE;
401 THISCALLMETHOD_(BOOL,TxScreenToClient)( THIS_ LPPOINT lppt ) PURE;
402 THISCALLMETHOD_(BOOL,TxClientToScreen)( THIS_ LPPOINT lppt ) PURE;
403 THISCALLMETHOD_(HRESULT,TxActivate)( THIS_ LONG* plOldState ) PURE;
404 THISCALLMETHOD_(HRESULT,TxDeactivate)( THIS_ LONG lNewState ) PURE;
405 THISCALLMETHOD_(HRESULT,TxGetClientRect)( THIS_ LPRECT prc ) PURE;
406 THISCALLMETHOD_(HRESULT,TxGetViewInset)( THIS_ LPRECT prc ) PURE;
407 THISCALLMETHOD_(HRESULT,TxGetCharFormat)( THIS_ const CHARFORMATW** ppCF ) PURE;
408 THISCALLMETHOD_(HRESULT,TxGetParaFormat)( THIS_ const PARAFORMAT** ppPF ) PURE;
409 THISCALLMETHOD_(COLORREF,TxGetSysColor)( THIS_ int nIndex ) PURE;
410 THISCALLMETHOD_(HRESULT,TxGetBackStyle)( THIS_ TXTBACKSTYLE* pStyle ) PURE;
411 THISCALLMETHOD_(HRESULT,TxGetMaxLength)( THIS_ DWORD* plength ) PURE;
412 THISCALLMETHOD_(HRESULT,TxGetScrollBars)( THIS_ DWORD* pdwScrollBar ) PURE;
413 THISCALLMETHOD_(HRESULT,TxGetPasswordChar)( THIS_ WCHAR* pch ) PURE;
414 THISCALLMETHOD_(HRESULT,TxGetAcceleratorPos)( THIS_ LONG* pch ) PURE;
415 THISCALLMETHOD_(HRESULT,TxGetExtent)( THIS_ LPSIZEL lpExtent ) PURE;
416 THISCALLMETHOD_(HRESULT,OnTxCharFormatChange)( THIS_ const CHARFORMATW* pcf ) PURE;
417 THISCALLMETHOD_(HRESULT,OnTxParaFormatChange)( THIS_ const PARAFORMAT* ppf ) PURE;
418 THISCALLMETHOD_(HRESULT,TxGetPropertyBits)( THIS_ DWORD dwMask, DWORD* pdwBits ) PURE;
419 THISCALLMETHOD_(HRESULT,TxNotify)( THIS_ DWORD iNotify, void* pv ) PURE;
420 THISCALLMETHOD_(HIMC,TxImmGetContext)( THIS ) PURE;
421 THISCALLMETHOD_(void,TxImmReleaseContext)( THIS_ HIMC himc ) PURE;
422 THISCALLMETHOD_(HRESULT,TxGetSelectionBarWidth)( THIS_ LONG* lSelBarWidth ) PURE;
423 /* ITextHost2 methods */
424 THISCALLMETHOD_(BOOL,TxIsDoubleClickPending)( THIS ) PURE;
425 THISCALLMETHOD_(HRESULT,TxGetWindow)( THIS_ HWND *hwnd ) PURE;
426 THISCALLMETHOD_(HRESULT,TxSetForegroundWindow)( THIS ) PURE;
427 THISCALLMETHOD_(HPALETTE,TxGetPalette)( THIS ) PURE;
428 THISCALLMETHOD_(HRESULT,TxGetEastAsianFlags)( THIS_ LONG *flags ) PURE;
430 THISCALLMETHOD_(void,TxFreeTextServicesNotification)( THIS ) PURE;
431 THISCALLMETHOD_(HRESULT,TxGetEditStyle)( THIS_ DWORD item, DWORD *data ) PURE;
432 THISCALLMETHOD_(HRESULT,TxGetWindowStyles)( THIS_ DWORD *style, DWORD *ex_style ) PURE;
433 THISCALLMETHOD_(HRESULT,TxShowDropCaret)( THIS_ BOOL show, HDC hdc, const RECT *rect ) PURE;
434 THISCALLMETHOD_(HRESULT,TxDestroyCaret)( THIS ) PURE;
435 THISCALLMETHOD_(HRESULT,TxGetHorzExtent)( THIS_ LONG *horz_extent ) PURE;
436};
Arabic default style
Definition: afstyles.h:94
const WCHAR * text
Definition: package.c:1794
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
Definition: gl.h:1950
GLbitfield flags
Definition: glext.h:7161
const char cursor[]
Definition: icontest.c:13
static ATOM item
Definition: dde.c:856
& rect
Definition: startmenu.cpp:1413
_In_ LONG _In_ HWND hwnd
Definition: winddi.h:4023

◆ DECLARE_INTERFACE_() [3/3]

DECLARE_INTERFACE_ ( ITextServices  ,
IUnknown   
)

Definition at line 44 of file textserv.h.

45{
46 /*** IUnknown methods ***/
49 void** ppvObject) PURE;
50
52
54
55 /*** ITextServices methods ***/
56
57 THISCALLMETHOD_(HRESULT,TxSendMessage)( THIS_
59
61 DWORD dwDrawAspect,
62 LONG lindex,
63 void* pvAspect,
64 DVTARGETDEVICE* ptd,
65 HDC hdcDraw,
66 HDC hicTargetDev,
67 LPCRECTL lprcBounds,
68 LPCRECTL lprcWBounds,
69 LPRECT lprcUpdate,
70 BOOL (CALLBACK * pfnContinue)(DWORD),
71 DWORD dwContinue,
72 LONG lViewId) PURE;
73
74 THISCALLMETHOD_(HRESULT,TxGetHScroll)( THIS_
75 LONG* plMin,
76 LONG* plMax,
77 LONG* plPos,
78 LONG* plPage,
79 BOOL* pfEnabled) PURE;
80
81 THISCALLMETHOD_(HRESULT,TxGetVScroll)( THIS_
82 LONG* plMin,
83 LONG* plMax,
84 LONG* plPos,
85 LONG* plPage,
86 BOOL* pfEnabled) PURE;
87
88 THISCALLMETHOD_(HRESULT,OnTxSetCursor)( THIS_
89 DWORD dwDrawAspect,
90 LONG lindex,
91 void* pvAspect,
92 DVTARGETDEVICE* ptd,
93 HDC hdcDraw,
94 HDC hicTargetDev,
95 LPCRECT lprcClient,
96 INT x,
97 INT y) PURE;
98
99 THISCALLMETHOD_(HRESULT,TxQueryHitPoint)( THIS_
100 DWORD dwDrawAspect,
101 LONG lindex,
102 void* pvAspect,
103 DVTARGETDEVICE* ptd,
104 HDC hdcDraw,
105 HDC hicTargetDev,
106 LPCRECT lprcClient,
107 INT x,
108 INT y,
109 DWORD* pHitResult) PURE;
110
111 THISCALLMETHOD_(HRESULT,OnTxInPlaceActivate)( THIS_
112 LPCRECT prcClient) PURE;
113
114 THISCALLMETHOD_(HRESULT,OnTxInPlaceDeactivate)( THIS ) PURE;
115
116 THISCALLMETHOD_(HRESULT,OnTxUIActivate)( THIS ) PURE;
117
118 THISCALLMETHOD_(HRESULT,OnTxUIDeactivate)( THIS ) PURE;
119
120 THISCALLMETHOD_(HRESULT,TxGetText)( THIS_
121 BSTR* pbstrText) PURE;
122
123 THISCALLMETHOD_(HRESULT,TxSetText)( THIS_
124 LPCWSTR pszText) PURE;
125
126 THISCALLMETHOD_(HRESULT,TxGetCurTargetX)( THIS_
127 LONG* x) PURE;
128
129 THISCALLMETHOD_(HRESULT,TxGetBaseLinePos)( THIS_
130 LONG* x) PURE;
131
132 THISCALLMETHOD_(HRESULT,TxGetNaturalSize)( THIS_
133 DWORD dwAspect,
134 HDC hdcDraw,
135 HDC hicTargetDev,
136 DVTARGETDEVICE* ptd,
137 DWORD dwMode,
138 const SIZEL* psizelExtent,
139 LONG* pwidth,
140 LONG* pheight) PURE;
141
142 THISCALLMETHOD_(HRESULT,TxGetDropTarget)( THIS_
143 IDropTarget** ppDropTarget) PURE;
144
145 THISCALLMETHOD_(HRESULT,OnTxPropertyBitsChange)( THIS_
146 DWORD dwMask,
147 DWORD dwBits) PURE;
148
149 THISCALLMETHOD_(HRESULT,TxGetCachedSize)( THIS_
150 DWORD* pdwWidth,
151 DWORD* pdwHeight) PURE;
152
153};
@ lparam
Definition: SystemMenu.c:31
@ wparam
Definition: SystemMenu.c:30
#define msg(x)
Definition: auth_time.c:54
_In_ size_t const _In_ int _In_ bool const _In_ unsigned const _In_ __acrt_rounding_mode const _Inout_ __crt_cached_ptd_host & ptd
Definition: cvt.cpp:355
OLECHAR * BSTR
Definition: compat.h:2293
#define CALLBACK
Definition: compat.h:35
#define BOOL
Definition: nt_native.h:43
#define DWORD
Definition: nt_native.h:44
LONG_PTR LPARAM
Definition: windef.h:208
LONG_PTR LRESULT
Definition: windef.h:209
UINT_PTR WPARAM
Definition: windef.h:207
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185

Variable Documentation

◆ IID_ITextHost

EXTERN_C const IID IID_ITextHost

Definition at line 37 of file textserv.h.

Referenced by ITextHostImpl_QueryInterface().

◆ IID_ITextHost2

EXTERN_C const IID IID_ITextHost2

Definition at line 38 of file textserv.h.

Referenced by ITextHostImpl_QueryInterface(), and ME_MakeEditor().

◆ IID_ITextServices

EXTERN_C const IID IID_ITextServices

Definition at line 36 of file textserv.h.

Referenced by create_windowed_editor(), and ITextServicesImpl_QueryInterface().