ReactOS  r76032
msvc.h
Go to the documentation of this file.
1 
2 
3 #define __ASM_STDCALL_FUNC(name,args,code)
4 
5 #define typeof(X_) __typeof_ ## X_
6 
7 struct HDC__;
8 struct ITextHost;
9 struct tagRECT;
10 struct _RECTL;
11 struct _charformatw;
12 struct _paraformat;
13 struct tagPOINT;
14 enum _TXTBACKSTYLE;
15 struct tagSIZE;
16 struct ITextServices;
17 struct tagDVTARGETDEVICE;
18 struct IDropTarget;
19 
20 #define WINAPI __stdcall
21 #define HRESULT int
22 #define HDC struct HDC__*
23 #define BOOL int
24 #define HIMC void*
25 #define ITextHost struct ITextHost
26 #define INT int
27 #define UINT unsigned int
28 #define HBITMAP void*
29 #define LPCRECT const struct tagRECT *
30 #define LPRECT struct tagRECT *
31 #define LPCRECTL const struct _RECTL*
32 #define CHARFORMATW struct _charformatw
33 #define PARAFORMAT struct _paraformat
34 #define DWORD unsigned int /* HACK */
35 #define COLORREF DWORD
36 #define LONG int /* HACK */
37 #define WPARAM unsigned long
38 #define LPARAM long
39 #define HRGN void*
40 #define HCURSOR void*
41 #define LPPOINT struct tagPOINT*
42 #define TXTBACKSTYLE enum _TXTBACKSTYLE
43 #define WCHAR unsigned short
44 #define BSTR WCHAR*
45 #define LPCWSTR const WCHAR *
46 #define SIZEL struct tagSIZE
47 #define LPSIZEL struct tagSIZE*
48 #define ITextServices struct ITextServices
49 #define LRESULT long
50 #define DVTARGETDEVICE struct tagDVTARGETDEVICE
51 
52 typedef HDC (WINAPI typeof(ITextHostImpl_TxGetDC))(ITextHost * iface);
91 
110 
111 #undef WINAPI
112 #undef HRESULT
113 #undef HDC
114 #undef BOOL
115 #undef COLORREF
116 #undef HIMC
117 #undef ITextHost
118 #undef INT
119 #undef UINT
120 #undef HBITMAP
121 #undef LPCRECT
122 #undef LPRECT
123 #undef LPCRECTL
124 #undef CHARFORMATW
125 #undef PARAFORMAT
126 #undef DWORD
127 #undef LONG
128 #undef WPARAM
129 #undef LPARAM
130 #undef HRGN
131 #undef HCURSOR
132 #undef LPPOINT
133 #undef TXTBACKSTYLE
134 #undef WCHAR
135 #undef BSTR
136 #undef LPCWSTR
137 #undef SIZEL
138 #undef LPSIZEL
139 #undef ITextServices
140 #undef LRESULT
141 #undef DVTARGETDEVICE
142 
143 //#undef typeof
BOOL fUpdate
Definition: msvc.h:59
DECLSPEC_HIDDEN BOOL WINAPI ITextHostImpl_TxSetScrollRange(ITextHost *iface, INT fnBar, LONG nMinPos, INT nMaxPos, BOOL fRedraw)
Definition: txthost.c:121
DECLSPEC_HIDDEN HRESULT WINAPI ITextHostImpl_OnTxCharFormatChange(ITextHost *iface, const CHARFORMATW *pcf)
Definition: txthost.c:331
DWORD DWORD dwBits
Definition: msvc.h:108
DWORD * pLength
Definition: msvc.h:79
DECLSPEC_HIDDEN HRESULT WINAPI fnTextSrv_OnTxSetCursor(ITextServices *iface, DWORD dwDrawAspect, LONG lindex, void *pvAspect, DVTARGETDEVICE *ptd, HDC hdcDraw, HDC hicTargetDev, LPCRECT lprcClient, INT x, INT y)
Definition: txtsrv.c:194
#define HDC
Definition: msvc.h:22
enum _TXTBACKSTYLE TXTBACKSTYLE
DECLSPEC_HIDDEN BOOL WINAPI ITextHostImpl_TxClientToScreen(ITextHost *iface, LPPOINT lppt)
Definition: txthost.c:217
INT fuSBFlags
Definition: msvc.h:55
DECLSPEC_HIDDEN HRESULT WINAPI ITextHostImpl_TxGetPasswordChar(ITextHost *iface, WCHAR *pch)
Definition: txthost.c:311
const CHARFORMATW ** ppCF
Definition: msvc.h:75
DECLSPEC_HIDDEN HRESULT WINAPI fnTextSrv_OnTxUIDeactivate(ITextServices *iface)
Definition: txtsrv.c:239
DECLSPEC_HIDDEN HRESULT WINAPI fnTextSrv_TxQueryHitPoint(ITextServices *iface, DWORD dwDrawAspect, LONG lindex, void *pvAspect, DVTARGETDEVICE *ptd, HDC hdcDraw, HDC hicTargetDev, LPCRECT lprcClient, INT x, INT y, DWORD *pHitResult)
Definition: txtsrv.c:204
#define HBITMAP
Definition: msvc.h:28
DECLSPEC_HIDDEN HRESULT WINAPI ITextHostImpl_TxGetScrollBars(ITextHost *iface, DWORD *pdwScrollBar)
Definition: txthost.c:288
INT LONG nMinPos
Definition: msvc.h:56
DWORD HDC HDC DVTARGETDEVICE DWORD const SIZEL * psizelExtent
Definition: msvc.h:106
#define ITextHost
Definition: msvc.h:25
DECLSPEC_HIDDEN HRESULT WINAPI fnTextSrv_TxSetText(ITextServices *iface, LPCWSTR pszText)
Definition: txtsrv.c:271
INT INT LPCRECT LPCRECT HRGN hRgnUpdate
Definition: msvc.h:65
typedef void(WINAPI typeof(ITextHostImpl_TxInvalidateRect))(ITextHost *iface
#define HIMC
Definition: msvc.h:24
DECLSPEC_HIDDEN BOOL WINAPI ITextHostImpl_TxSetTimer(ITextHost *iface, UINT idTimer, UINT uTimeout)
Definition: txthost.c:168
LPSIZEL lpExtent
Definition: msvc.h:83
DECLSPEC_HIDDEN INT WINAPI ITextHostImpl_TxReleaseDC(ITextHost *iface, HDC hdc)
Definition: txthost.c:103
DECLSPEC_HIDDEN HRESULT WINAPI ITextHostImpl_TxGetMaxLength(ITextHost *iface, DWORD *pLength)
Definition: txthost.c:281
__wchar_t WCHAR
Definition: xmlstorage.h:180
INT BOOL fShow
Definition: msvc.h:54
DWORD dwMask
Definition: msvc.h:86
HCURSOR hcur
Definition: msvc.h:68
DECLSPEC_HIDDEN void WINAPI ITextHostImpl_TxSetCursor(ITextHost *iface, HCURSOR hcur, BOOL fText)
Definition: txthost.c:204
LONG LONG LONG LONG BOOL * pfEnabled
Definition: msvc.h:94
DECLSPEC_HIDDEN HRESULT WINAPI ITextHostImpl_TxGetCharFormat(ITextHost *iface, const CHARFORMATW **ppCF)
Definition: txthost.c:254
DECLSPEC_HIDDEN HRESULT WINAPI ITextHostImpl_TxGetViewInset(ITextHost *iface, LPRECT prc)
Definition: txthost.c:244
DECLSPEC_HIDDEN HRESULT WINAPI fnTextSrv_OnTxInplaceDeactivate(ITextServices *iface)
Definition: txtsrv.c:223
LPCWSTR pszText
Definition: msvc.h:103
#define HRGN
Definition: msvc.h:39
INT fnBar
Definition: msvc.h:54
DECLSPEC_HIDDEN HRESULT WINAPI ITextHostImpl_TxGetParaFormat(ITextHost *iface, const PARAFORMAT **fmt)
Definition: txthost.c:260
DWORD LONG void DVTARGETDEVICE HDC HDC LPCRECT lprcClient
Definition: msvc.h:96
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185
DECLSPEC_HIDDEN HRESULT WINAPI ITextHostImpl_TxGetAcceleratorPos(ITextHost *iface, LONG *pch)
Definition: txthost.c:318
INT INT fuArrowflags
Definition: msvc.h:55
DECLSPEC_HIDDEN HRESULT WINAPI fnTextSrv_TxDraw(ITextServices *iface, DWORD dwDrawAspect, LONG lindex, void *pvAspect, DVTARGETDEVICE *ptd, HDC hdcDraw, HDC hdcTargetDev, LPCRECTL lprcBounds, LPCRECTL lprcWBounds, LPRECT lprcUpdate, BOOL(CALLBACK *pfnContinue)(DWORD), DWORD dwContinue, LONG lViewId)
Definition: txtsrv.c:156
DECLSPEC_HIDDEN HRESULT WINAPI fnTextSrv_TxGetCachedSize(ITextServices *iface, DWORD *pdwWidth, DWORD *pdwHeight)
Definition: txtsrv.c:331
DECLSPEC_HIDDEN BOOL WINAPI ITextHostImpl_TxSetCaretPos(ITextHost *iface, INT x, INT y)
Definition: txthost.c:162
OLECHAR * BSTR
Definition: compat.h:1927
LONG LONG LONG * plPos
Definition: msvc.h:94
LONG * plOldState
Definition: msvc.h:71
INT INT LPCRECT LPCRECT lprcClip
Definition: msvc.h:65
HICON HCURSOR
Definition: windef.h:312
DECLSPEC_HIDDEN BOOL WINAPI ITextHostImpl_TxShowCaret(ITextHost *iface, BOOL fShow)
Definition: txthost.c:153
DECLSPEC_HIDDEN HRESULT WINAPI fnTextSrv_TxGetBaseLinePos(ITextServices *iface, LONG *x)
Definition: txtsrv.c:297
#define DWORD
Definition: msvc.h:34
int32_t INT
Definition: typedefs.h:56
DECLSPEC_HIDDEN HRESULT WINAPI ITextHostImpl_TxNotify(ITextHost *iface, DWORD iNotify, void *pv)
Definition: txthost.c:409
DECLSPEC_HIDDEN HRESULT WINAPI ITextHostImpl_TxGetExtent(ITextHost *iface, LPSIZEL lpExtent)
Definition: txthost.c:325
DWORD DWORD
Definition: winlogon.h:75
LPPOINT lppt
Definition: msvc.h:69
_TXTBACKSTYLE
Definition: textserv.h:154
LONG LONG * plMax
Definition: msvc.h:94
UINT_PTR WPARAM
Definition: windef.h:230
DECLSPEC_HIDDEN void WINAPI ITextHostImpl_TxScrollWindowEx(ITextHost *iface, INT dx, INT dy, LPCRECT lprcScroll, LPCRECT lprcClip, HRGN hRgnUpdate, LPRECT lprcUpdate, UINT fuScroll)
Definition: txthost.c:180
DWORD LONG void DVTARGETDEVICE HDC HDC LPCRECTL LPCRECTL LPRECT DWORD dwContinue
Definition: msvc.h:93
#define ITextServices
Definition: msvc.h:48
LPCRECT BOOL fMode
Definition: msvc.h:58
DWORD * pdwWidth
Definition: msvc.h:109
long LONG
Definition: pedump.c:60
LONG_PTR LPARAM
Definition: windef.h:231
HDC hdc
Definition: msvc.h:53
DWORD HDC HDC DVTARGETDEVICE DWORD const SIZEL LONG LONG * pheight
Definition: msvc.h:106
DECLSPEC_HIDDEN HRESULT WINAPI fnTextSrv_TxGetText(ITextServices *iface, BSTR *pbstrText)
Definition: txtsrv.c:247
DWORD LONG lindex
Definition: msvc.h:93
DECLSPEC_HIDDEN HIMC WINAPI ITextHostImpl_TxImmGetContext(ITextHost *iface)
Definition: txthost.c:467
DWORD LONG void DVTARGETDEVICE HDC HDC hicTargetDev
Definition: msvc.h:96
DWORD LONG void DVTARGETDEVICE HDC HDC hdcTargetDev
Definition: msvc.h:93
DWORD HIMC
Definition: dimm.idl:75
typedef int(WINAPI typeof(ITextHostImpl_TxReleaseDC))(ITextHost *iface
const CHARFORMATW * pcf
Definition: msvc.h:84
DWORD * pdwScrollBar
Definition: msvc.h:80
DECLSPEC_HIDDEN COLORREF WINAPI ITextHostImpl_TxGetSysColor(ITextHost *iface, int nIndex)
Definition: txthost.c:268
DWORD LONG void DVTARGETDEVICE HDC HDC LPCRECT INT INT DWORD * pHitResult
Definition: msvc.h:97
LPCRECT prc
Definition: msvc.h:58
unsigned int BOOL
Definition: ntddk_ex.h:94
DECLSPEC_HIDDEN HRESULT WINAPI ITextHostImpl_TxGetPropertyBits(ITextHost *iface, DWORD dwMask, DWORD *pdwBits)
Definition: txthost.c:343
UINT idTimer
Definition: msvc.h:63
INT INT LPCRECT LPCRECT HRGN LPRECT UINT fuScroll
Definition: msvc.h:65
DWORD dwDrawAspect
Definition: msvc.h:93
DECLSPEC_HIDDEN HRESULT WINAPI fnTextSrv_TxGetDropTarget(ITextServices *iface, IDropTarget **ppDropTarget)
Definition: txtsrv.c:315
DECLSPEC_HIDDEN void WINAPI ITextHostImpl_TxSetFocus(ITextHost *iface)
Definition: txthost.c:198
DWORD DWORD * pdwHeight
Definition: msvc.h:109
DECLSPEC_HIDDEN HDC WINAPI ITextHostImpl_TxGetDC(ITextHost *iface)
Definition: txthost.c:97
DWORD LONG void DVTARGETDEVICE HDC hdcDraw
Definition: msvc.h:93
DECLSPEC_HIDDEN void WINAPI ITextHostImpl_TxImmReleaseContext(ITextHost *iface, HIMC himc)
Definition: txthost.c:473
DECLSPEC_HIDDEN HRESULT WINAPI ITextHostImpl_TxGetBackStyle(ITextHost *iface, TXTBACKSTYLE *pStyle)
Definition: txthost.c:274
UINT WPARAM LPARAM LRESULT * plresult
Definition: msvc.h:92
#define __stdcall
Definition: typedefs.h:25
DWORD DWORD * pdwBits
Definition: msvc.h:86
INT INT nPos
Definition: msvc.h:57
INT LONG INT BOOL fRedraw
Definition: msvc.h:56
const PARAFORMAT ** ppPF
Definition: msvc.h:76
DECLSPEC_HIDDEN HRESULT WINAPI fnTextSrv_TxGetVScroll(ITextServices *iface, LONG *plMin, LONG *plMax, LONG *plPos, LONG *plPage, BOOL *pfEnabled)
Definition: txtsrv.c:181
DECLSPEC_HIDDEN HRESULT WINAPI fnTextSrv_OnTxInplaceActivate(ITextServices *iface, LPCRECT prcClient)
Definition: txtsrv.c:215
DECLSPEC_HIDDEN HRESULT WINAPI ITextHostImpl_TxGetSelectionBarWidth(ITextHost *iface, LONG *lSelBarWidth)
Definition: txthost.c:479
DWORD void * pv
Definition: msvc.h:87
DECLSPEC_HIDDEN BOOL WINAPI ITextHostImpl_TxEnableScrollBar(ITextHost *iface, INT fuSBFlags, INT fuArrowflags)
Definition: txthost.c:115
INT INT LPCRECT LPCRECT HRGN LPRECT lprcUpdate
Definition: msvc.h:65
DWORD LONG void DVTARGETDEVICE * ptd
Definition: msvc.h:93
BSTR * pbstrText
Definition: msvc.h:102
#define COLORREF
Definition: msvc.h:35
HCURSOR BOOL fText
Definition: msvc.h:68
UINT UINT uTimeout
Definition: msvc.h:63
UINT WPARAM LPARAM lparam
Definition: msvc.h:92
#define WINAPI
Definition: msvc.h:20
HBITMAP INT INT yHeight
Definition: msvc.h:60
DWORD LONG void * pvAspect
Definition: msvc.h:93
int nIndex
Definition: msvc.h:77
DWORD LONG void DVTARGETDEVICE HDC HDC LPCRECTL lprcBounds
Definition: msvc.h:93
DECLSPEC_HIDDEN HRESULT WINAPI fnTextSrv_OnTxPropertyBitsChange(ITextServices *iface, DWORD dwMask, DWORD dwBits)
Definition: txtsrv.c:323
DWORD LONG void DVTARGETDEVICE HDC HDC LPCRECTL LPCRECTL LPRECT DWORD LONG lViewId
Definition: msvc.h:93
INT INT dy
Definition: msvc.h:65
DECLSPEC_HIDDEN HRESULT WINAPI fnTextSrv_TxGetNaturalSize(ITextServices *iface, DWORD dwAspect, HDC hdcDraw, HDC hicTargetDev, DVTARGETDEVICE *ptd, DWORD dwMode, const SIZEL *psizelExtent, LONG *pwidth, LONG *pheight)
Definition: txtsrv.c:305
DECLSPEC_HIDDEN HRESULT WINAPI ITextHostImpl_TxGetClientRect(ITextHost *iface, LPRECT prc)
Definition: txthost.c:237
LONG * lSelBarWidth
Definition: msvc.h:90
DECLSPEC_HIDDEN BOOL WINAPI ITextHostImpl_TxCreateCaret(ITextHost *iface, HBITMAP hbmp, INT xWidth, INT yHeight)
Definition: txthost.c:147
INT INT LPCRECT lprcScroll
Definition: msvc.h:65
#define typeof(X_)
Definition: msvc.h:5
DECLSPEC_HIDDEN HRESULT WINAPI ITextHostImpl_OnTxParaFormatChange(ITextHost *iface, const PARAFORMAT *ppf)
Definition: txthost.c:337
DECLSPEC_HIDDEN void WINAPI ITextHostImpl_TxViewChange(ITextHost *iface, BOOL fUpdate)
Definition: txthost.c:140
LONG * plMin
Definition: msvc.h:94
unsigned int UINT
Definition: ndis.h:50
DWORD iNotify
Definition: msvc.h:87
DECLSPEC_HIDDEN BOOL WINAPI ITextHostImpl_TxScreenToClient(ITextHost *iface, LPPOINT lppt)
Definition: txthost.c:211
DECLSPEC_HIDDEN HRESULT WINAPI ITextHostImpl_TxDeactivate(ITextHost *iface, LONG lNewState)
Definition: txthost.c:230
DWORD HDC HDC DVTARGETDEVICE DWORD const SIZEL LONG * pwidth
Definition: msvc.h:106
LONG LONG LONG LONG * plPage
Definition: msvc.h:94
HBITMAP INT xWidth
Definition: msvc.h:60
#define HRESULT
Definition: msvc.h:21
DWORD LONG void DVTARGETDEVICE HDC HDC LPCRECTL LPCRECTL lprcWBounds
Definition: msvc.h:93
UINT msg
Definition: msvc.h:92
LPCRECT prcClient
Definition: msvc.h:98
DECLSPEC_HIDDEN void WINAPI ITextHostImpl_TxKillTimer(ITextHost *iface, UINT idTimer)
Definition: txthost.c:174
TXTBACKSTYLE * pStyle
Definition: msvc.h:78
Definition: windef.h:327
INT LONG INT nMaxPos
Definition: msvc.h:56
WCHAR * pch
Definition: msvc.h:81
const PARAFORMAT * ppf
Definition: msvc.h:85
struct IDropTarget ** ppDropTarget
Definition: msvc.h:107
DECLSPEC_HIDDEN HRESULT WINAPI ITextHostImpl_TxActivate(ITextHost *iface, LONG *plOldState)
Definition: txthost.c:223
DECLSPEC_HIDDEN HRESULT WINAPI fnTextSrv_TxGetHScroll(ITextServices *iface, LONG *plMin, LONG *plMax, LONG *plPos, LONG *plPage, BOOL *pfEnabled)
Definition: txtsrv.c:168
DECLSPEC_HIDDEN BOOL WINAPI ITextHostImpl_TxShowScrollBar(ITextHost *iface, INT fnBar, BOOL fShow)
Definition: txthost.c:109
LONG_PTR LRESULT
Definition: windef.h:232
LONG lNewState
Definition: msvc.h:72
DECLSPEC_HIDDEN BOOL WINAPI ITextHostImpl_TxSetScrollPos(ITextHost *iface, INT fnBar, INT nPos, BOOL fRedraw)
Definition: txthost.c:128
DECLSPEC_HIDDEN void WINAPI ITextHostImpl_TxSetCapture(ITextHost *iface, BOOL fCapture)
Definition: txthost.c:189
BOOL fCapture
Definition: msvc.h:66
DECLSPEC_HIDDEN HRESULT WINAPI fnTextSrv_TxSendMessage(ITextServices *iface, UINT msg, WPARAM wparam, LPARAM lparam, LRESULT *plresult)
Definition: txtsrv.c:144
HBITMAP hbmp
Definition: msvc.h:60
INT INT y
Definition: msvc.h:62
DWORD HDC HDC DVTARGETDEVICE DWORD dwMode
Definition: msvc.h:106
#define BOOL
Definition: msvc.h:23
#define DVTARGETDEVICE
Definition: msvc.h:50
HIMC himc
Definition: msvc.h:89
DECLSPEC_HIDDEN HRESULT WINAPI fnTextSrv_OnTxUIActivate(ITextServices *iface)
Definition: txtsrv.c:231
DWORD dwAspect
Definition: msvc.h:106
DECLSPEC_HIDDEN HRESULT WINAPI fnTextSrv_TxGetCurTargetX(ITextServices *iface, LONG *x)
Definition: txtsrv.c:289
UINT WPARAM wparam
Definition: msvc.h:92
INT x
Definition: msvc.h:62
DECLSPEC_HIDDEN void WINAPI ITextHostImpl_TxInvalidateRect(ITextHost *iface, LPCRECT prc, BOOL fMode)
Definition: txthost.c:134
INT dx
Definition: msvc.h:65