|
#define | COBJMACROS |
|
#define | CONST_VTABLE |
|
#define | TXTSERV_VTABLE(This) (This)->lpVtbl |
|
#define | ITextServices_TxSendMessage(This, a, b, c, d) TXTSERV_VTABLE(This)->TxSendMessage(This,a,b,c,d) |
|
#define | ITextServices_TxDraw(This, a, b, c, d, e, f, g, h, i, j, k, l) TXTSERV_VTABLE(This)->TxDraw(This,a,b,c,d,e,f,g,h,i,j,k,l) |
|
#define | ITextServices_TxGetHScroll(This, a, b, c, d, e) TXTSERV_VTABLE(This)->TxGetHScroll(This,a,b,c,d,e) |
|
#define | ITextServices_TxGetVScroll(This, a, b, c, d, e) TXTSERV_VTABLE(This)->TxGetVScroll(This,a,b,c,d,e) |
|
#define | ITextServices_OnTxSetCursor(This, a, b, c, d, e, f, g, h, i) TXTSERV_VTABLE(This)->OnTxSetCursor(This,a,b,c,d,e,f,g,h,i) |
|
#define | ITextServices_TxQueryHitPoint(This, a, b, c, d, e, f, g, h, i, j) TXTSERV_VTABLE(This)->TxQueryHitPoint(This,a,b,c,d,e,f,g,h,i,j) |
|
#define | ITextServices_OnTxInplaceActivate(This, a) TXTSERV_VTABLE(This)->OnTxInplaceActivate(This,a) |
|
#define | ITextServices_OnTxInplaceDeactivate(This) TXTSERV_VTABLE(This)->OnTxInplaceDeactivate(This) |
|
#define | ITextServices_OnTxUIActivate(This) TXTSERV_VTABLE(This)->OnTxUIActivate(This) |
|
#define | ITextServices_OnTxUIDeactivate(This) TXTSERV_VTABLE(This)->OnTxUIDeactivate(This) |
|
#define | ITextServices_TxGetText(This, a) TXTSERV_VTABLE(This)->TxGetText(This,a) |
|
#define | ITextServices_TxSetText(This, a) TXTSERV_VTABLE(This)->TxSetText(This,a) |
|
#define | ITextServices_TxGetCurTargetX(This, a) TXTSERV_VTABLE(This)->TxGetCurTargetX(This,a) |
|
#define | ITextServices_TxGetBaseLinePos(This, a) TXTSERV_VTABLE(This)->TxGetBaseLinePos(This,a) |
|
#define | ITextServices_TxGetNaturalSize(This, a, b, c, d, e, f, g, h) TXTSERV_VTABLE(This)->TxGetNaturalSize(This,a,b,c,d,e,f,g,h) |
|
#define | ITextServices_TxGetDropTarget(This, a) TXTSERV_VTABLE(This)->TxGetDropTarget(This,a) |
|
#define | ITextServices_OnTxPropertyBitsChange(This, a, b) TXTSERV_VTABLE(This)->OnTxPropertyBitsChange(This,a,b) |
|
#define | ITextServices_TxGetCachedSize(This, a, b) TXTSERV_VTABLE(This)->TxGetCachedSize(This,a,b) |
|
#define | TRACECALL if(winetest_debug > 1) trace |
|
#define | CHECK_TXGETNATURALSIZE(res, width, height, hdc, rect, string) _check_txgetnaturalsize(res, width, height, hdc, rect, string, __LINE__) |
|
|
static ITextHostTestImpl * | impl_from_ITextHost (ITextHost *iface) |
|
static HRESULT WINAPI | ITextHostImpl_QueryInterface (ITextHost *iface, REFIID riid, LPVOID *ppvObject) |
|
static ULONG WINAPI | ITextHostImpl_AddRef (ITextHost *iface) |
|
static ULONG WINAPI | ITextHostImpl_Release (ITextHost *iface) |
|
static HDC __thiscall | ITextHostImpl_TxGetDC (ITextHost *iface) |
|
static INT __thiscall | ITextHostImpl_TxReleaseDC (ITextHost *iface, HDC hdc) |
|
static BOOL __thiscall | ITextHostImpl_TxShowScrollBar (ITextHost *iface, INT fnBar, BOOL fShow) |
|
static BOOL __thiscall | ITextHostImpl_TxEnableScrollBar (ITextHost *iface, INT fuSBFlags, INT fuArrowflags) |
|
static BOOL __thiscall | ITextHostImpl_TxSetScrollRange (ITextHost *iface, INT fnBar, LONG nMinPos, INT nMaxPos, BOOL fRedraw) |
|
static BOOL __thiscall | ITextHostImpl_TxSetScrollPos (ITextHost *iface, INT fnBar, INT nPos, BOOL fRedraw) |
|
static void __thiscall | ITextHostImpl_TxInvalidateRect (ITextHost *iface, LPCRECT prc, BOOL fMode) |
|
static void __thiscall | ITextHostImpl_TxViewChange (ITextHost *iface, BOOL fUpdate) |
|
static BOOL __thiscall | ITextHostImpl_TxCreateCaret (ITextHost *iface, HBITMAP hbmp, INT xWidth, INT yHeight) |
|
static BOOL __thiscall | ITextHostImpl_TxShowCaret (ITextHost *iface, BOOL fShow) |
|
static BOOL __thiscall | ITextHostImpl_TxSetCaretPos (ITextHost *iface, INT x, INT y) |
|
static BOOL __thiscall | ITextHostImpl_TxSetTimer (ITextHost *iface, UINT idTimer, UINT uTimeout) |
|
static void __thiscall | ITextHostImpl_TxKillTimer (ITextHost *iface, UINT idTimer) |
|
static void __thiscall | ITextHostImpl_TxScrollWindowEx (ITextHost *iface, INT dx, INT dy, LPCRECT lprcScroll, LPCRECT lprcClip, HRGN hRgnUpdate, LPRECT lprcUpdate, UINT fuScroll) |
|
static void __thiscall | ITextHostImpl_TxSetCapture (ITextHost *iface, BOOL fCapture) |
|
static void __thiscall | ITextHostImpl_TxSetFocus (ITextHost *iface) |
|
static void __thiscall | ITextHostImpl_TxSetCursor (ITextHost *iface, HCURSOR hcur, BOOL fText) |
|
static BOOL __thiscall | ITextHostImpl_TxScreenToClient (ITextHost *iface, LPPOINT lppt) |
|
static BOOL __thiscall | ITextHostImpl_TxClientToScreen (ITextHost *iface, LPPOINT lppt) |
|
static HRESULT __thiscall | ITextHostImpl_TxActivate (ITextHost *iface, LONG *plOldState) |
|
static HRESULT __thiscall | ITextHostImpl_TxDeactivate (ITextHost *iface, LONG lNewState) |
|
static HRESULT __thiscall | ITextHostImpl_TxGetClientRect (ITextHost *iface, LPRECT prc) |
|
static HRESULT __thiscall | ITextHostImpl_TxGetViewInset (ITextHost *iface, LPRECT prc) |
|
static HRESULT __thiscall | ITextHostImpl_TxGetCharFormat (ITextHost *iface, const CHARFORMATW **ppCF) |
|
static HRESULT __thiscall | ITextHostImpl_TxGetParaFormat (ITextHost *iface, const PARAFORMAT **ppPF) |
|
static COLORREF __thiscall | ITextHostImpl_TxGetSysColor (ITextHost *iface, int nIndex) |
|
static HRESULT __thiscall | ITextHostImpl_TxGetBackStyle (ITextHost *iface, TXTBACKSTYLE *pStyle) |
|
static HRESULT __thiscall | ITextHostImpl_TxGetMaxLength (ITextHost *iface, DWORD *pLength) |
|
static HRESULT __thiscall | ITextHostImpl_TxGetScrollBars (ITextHost *iface, DWORD *pdwScrollBar) |
|
static HRESULT __thiscall | ITextHostImpl_TxGetPasswordChar (ITextHost *iface, WCHAR *pch) |
|
static HRESULT __thiscall | ITextHostImpl_TxGetAcceleratorPos (ITextHost *iface, LONG *pch) |
|
static HRESULT __thiscall | ITextHostImpl_TxGetExtent (ITextHost *iface, LPSIZEL lpExtent) |
|
static HRESULT __thiscall | ITextHostImpl_OnTxCharFormatChange (ITextHost *iface, const CHARFORMATW *pcf) |
|
static HRESULT __thiscall | ITextHostImpl_OnTxParaFormatChange (ITextHost *iface, const PARAFORMAT *ppf) |
|
static HRESULT __thiscall | ITextHostImpl_TxGetPropertyBits (ITextHost *iface, DWORD dwMask, DWORD *pdwBits) |
|
static HRESULT __thiscall | ITextHostImpl_TxNotify (ITextHost *iface, DWORD iNotify, void *pv) |
|
static HIMC __thiscall | ITextHostImpl_TxImmGetContext (ITextHost *iface) |
|
static void __thiscall | ITextHostImpl_TxImmReleaseContext (ITextHost *iface, HIMC himc) |
|
static HRESULT __thiscall | ITextHostImpl_TxGetSelectionBarWidth (ITextHost *iface, LONG *lSelBarWidth) |
|
static void | setup_thiscall_wrappers (void) |
|
static void | hf_to_cf (HFONT hf, CHARFORMAT2W *cf) |
|
static BOOL | init_texthost (ITextServices **txtserv, ITextHost **ret) |
|
static void | test_TxGetText (void) |
|
static void | test_TxSetText (void) |
|
static void | _check_txgetnaturalsize (HRESULT res, LONG width, LONG height, HDC hdc, RECT rect, LPCWSTR string, int line) |
|
static void | test_TxGetNaturalSize (void) |
|
static void | test_TxDraw (void) |
|
| DEFINE_GUID (expected_iid_itextservices, 0x8d33f740, 0xcf58, 0x11ce, 0xa8, 0x9d, 0x00, 0xaa, 0x00, 0x6c, 0xad, 0xc5) |
|
| DEFINE_GUID (expected_iid_itexthost, 0x13e670f4, 0x1a5a, 0x11cf, 0xab, 0xeb, 0x00, 0xaa, 0x00, 0xb6, 0x5e, 0xa1) |
|
| DEFINE_GUID (expected_iid_itexthost2, 0x13e670f5, 0x1a5a, 0x11cf, 0xab, 0xeb, 0x00, 0xaa, 0x00, 0xb6, 0x5e, 0xa1) |
|
static void | test_IIDs (void) |
|
static struct unk_impl * | impl_from_IUnknown (IUnknown *iface) |
|
static HRESULT WINAPI | unk_QueryInterface (IUnknown *iface, REFIID riid, void **ppv) |
|
static ULONG WINAPI | unk_AddRef (IUnknown *iface) |
|
static ULONG WINAPI | unk_Release (IUnknown *iface) |
|
static void | test_COM (void) |
|
static ULONG | get_refcount (IUnknown *iface) |
|
static void | test_QueryInterface (void) |
|
static void | test_default_format (void) |
|
static void | test_TxGetScroll (void) |
|
| START_TEST (txtsrv) |
|