98 struct host *texthost;
101 if (!texthost)
return NULL;
143 ITextHost_AddRef( (ITextHost *)*
obj );
208 FIXME(
"Unexpected bar %d\n",
bar );
235 FIXME(
"Unexpected bar %d\n",
bar );
498 info->code = iNotify;
519 FIXME(
"EN_MSGFILTER is documented as not being sent to TxNotify\n");
625#ifdef __ASM_USE_THISCALL_WRAPPER
627#define STDCALL(func) (void *) __stdcall_ ## func
629#define DEFINE_STDCALL_WRAPPER(num,func,args) \
630 __declspec(naked) HRESULT __stdcall_##func(void) \
635 __asm mov eax, [ecx] \
636 __asm jmp dword ptr [eax + 4*num] \
639#define DEFINE_STDCALL_WRAPPER(num,func,args) \
640 extern HRESULT __stdcall_ ## func(void); \
641 __ASM_GLOBAL_FUNC(__stdcall_ ## func, \
645 "movl (%ecx), %eax\n\t" \
646 "jmp *(4*(" #num "))(%eax)" )
702const ITextHost2Vtbl text_host2_stdcall_vtbl =
824 "EM_GETSEL",
"EM_SETSEL",
"EM_GETRECT",
"EM_SETRECT",
825 "EM_SETRECTNP",
"EM_SCROLL",
"EM_LINESCROLL",
"EM_SCROLLCARET",
826 "EM_GETMODIFY",
"EM_SETMODIFY",
"EM_GETLINECOUNT",
"EM_LINEINDEX",
827 "EM_SETHANDLE",
"EM_GETHANDLE",
"EM_GETTHUMB",
"EM_UNKNOWN_BF",
828 "EM_UNKNOWN_C0",
"EM_LINELENGTH",
"EM_REPLACESEL",
"EM_UNKNOWN_C3",
829 "EM_GETLINE",
"EM_LIMITTEXT",
"EM_CANUNDO",
"EM_UNDO",
830 "EM_FMTLINES",
"EM_LINEFROMCHAR",
"EM_UNKNOWN_CA",
"EM_SETTABSTOPS",
831 "EM_SETPASSWORDCHAR",
"EM_EMPTYUNDOBUFFER",
"EM_GETFIRSTVISIBLELINE",
"EM_SETREADONLY",
832 "EM_SETWORDBREAKPROC",
"EM_GETWORDBREAKPROC",
"EM_GETPASSWORDCHAR",
"EM_SETMARGINS",
833 "EM_GETMARGINS",
"EM_GETLIMITTEXT",
"EM_POSFROMCHAR",
"EM_CHARFROMPOS",
834 "EM_SETIMESTATUS",
"EM_GETIMESTATUS"
839 "EM_CANPASTE",
"EM_DISPLAYBAND",
"EM_EXGETSEL",
"EM_EXLIMITTEXT",
840 "EM_EXLINEFROMCHAR",
"EM_EXSETSEL",
"EM_FINDTEXT",
"EM_FORMATRANGE",
841 "EM_GETCHARFORMAT",
"EM_GETEVENTMASK",
"EM_GETOLEINTERFACE",
"EM_GETPARAFORMAT",
842 "EM_GETSELTEXT",
"EM_HIDESELECTION",
"EM_PASTESPECIAL",
"EM_REQUESTRESIZE",
843 "EM_SELECTIONTYPE",
"EM_SETBKGNDCOLOR",
"EM_SETCHARFORMAT",
"EM_SETEVENTMASK",
844 "EM_SETOLECALLBACK",
"EM_SETPARAFORMAT",
"EM_SETTARGETDEVICE",
"EM_STREAMIN",
845 "EM_STREAMOUT",
"EM_GETTEXTRANGE",
"EM_FINDWORDBREAK",
"EM_SETOPTIONS",
846 "EM_GETOPTIONS",
"EM_FINDTEXTEX",
"EM_GETWORDBREAKPROCEX",
"EM_SETWORDBREAKPROCEX",
847 "EM_SETUNDOLIMIT",
"EM_UNKNOWN_USER_83",
"EM_REDO",
"EM_CANREDO",
848 "EM_GETUNDONAME",
"EM_GETREDONAME",
"EM_STOPGROUPTYPING",
"EM_SETTEXTMODE",
849 "EM_GETTEXTMODE",
"EM_AUTOURLDETECT",
"EM_GETAUTOURLDETECT",
"EM_SETPALETTE",
850 "EM_GETTEXTEX",
"EM_GETTEXTLENGTHEX",
"EM_SHOWSCROLLBAR",
"EM_SETTEXTEX",
851 "EM_UNKNOWN_USER_98",
"EM_UNKNOWN_USER_99",
"EM_SETPUNCTUATION",
"EM_GETPUNCTUATION",
852 "EM_SETWORDWRAPMODE",
"EM_GETWORDWRAPMODE",
"EM_SETIMECOLOR",
"EM_GETIMECOLOR",
853 "EM_SETIMEOPTIONS",
"EM_GETIMEOPTIONS",
"EM_CONVPOSITION",
"EM_UNKNOWN_USER_109",
854 "EM_UNKNOWN_USER_110",
"EM_UNKNOWN_USER_111",
"EM_UNKNOWN_USER_112",
"EM_UNKNOWN_USER_113",
855 "EM_UNKNOWN_USER_114",
"EM_UNKNOWN_USER_115",
"EM_UNKNOWN_USER_116",
"EM_UNKNOWN_USER_117",
856 "EM_UNKNOWN_USER_118",
"EM_UNKNOWN_USER_119",
"EM_SETLANGOPTIONS",
"EM_GETLANGOPTIONS",
857 "EM_GETIMECOMPMODE",
"EM_FINDTEXTW",
"EM_FINDTEXTEXW",
"EM_RECONVERSION",
858 "EM_SETIMEMODEBIAS",
"EM_GETIMEMODEBIAS"
885 IUnknown_Release( unk );
902 if (!sizeA)
return S_OK;
953 DWORD style, old_options, new_options, change, props_mask = 0;
965 new_options |=
value;
968 new_options &=
value;
971 new_options ^=
value;
975 change = (new_options ^ old_options);
1030 mask &= ~ECO_AUTOWORDSELECTION;
1042 if (ctrl_is_down)
return TRUE;
1089 TRACE(
"enter hwnd %p msg %04x (%s) %lx %lx, unicode %d\n",
1099 TRACE(
"WM_NCCREATE: hwnd %p style 0x%08x\n",
hwnd, pcs->
style );
1113 TRACE(
"exit (filtered deferred release) hwnd %p msg %04x (%s) %lx %lx -> 0\n",
1121 TRACE(
"exit (filtered %lu) hwnd %p msg %04x (%s) %lx %lx -> 0\n",
1245 range.lpstrText[0] =
'\0';
1411 else host->
props &= ~TXTBIT_USEPASSWORD;
1502 TRACE(
"exit hwnd %p msg %04x (%s) %lx %lx, unicode %d -> %lu\n",
1541 TRACE(
"WM_NCCREATE: hwnd %p style 0x%08x\n",
hwnd, pcs->
style );
1550 TRACE(
"hwnd %p msg %04x (%s) %08lx %08lx\n",
1558 TRACE(
"hwnd %p msg %04x (%s) %08lx %08lx\n",
1574 FIXME(
"semi stub\n" );
int strncmp(const char *String1, const char *String2, ACPI_SIZE Count)
void release_typelib(void)
static void * heap_alloc(size_t len)
static BOOL heap_free(void *mem)
#define InterlockedIncrement
#define InterlockedDecrement
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
#define ERROR_INSUFFICIENT_BUFFER
static HINSTANCE instance
static WCHAR reason[MAX_STRING_RESOURCE_LEN]
#define DLL_PROCESS_ATTACH
#define DLL_PROCESS_DETACH
#define WideCharToMultiByte
#define MultiByteToWideChar
HIMC WINAPI ImmGetContext(HWND hWnd)
BOOL WINAPI ImmReleaseContext(HWND hWnd, HIMC hIMC)
static const WCHAR createW[]
BOOL WINAPI DisableThreadLibraryCalls(IN HMODULE hLibModule)
#define ITextServices_TxSetText(This, a)
#define ITextServices_TxDraw(This, a, b, c, d, e, f, g, h, i, j, k, l)
HRESULT create_text_services(IUnknown *outer, ITextHost *text_host, IUnknown **unk, BOOL emulate_10) DECLSPEC_HIDDEN
#define ITextServices_TxSendMessage(This, a, b, c, d)
#define ITextHost_TxGetSysColor(This, a)
void ME_EndToUnicode(LONG codepage, LPVOID psz) DECLSPEC_HIDDEN
#define ITextServices_OnTxInPlaceActivate(This, a)
#define ITextHost_TxGetClientRect(This, a)
#define ITextServices_TxGetHScroll(This, a, b, c, d, e)
#define ITextHost_TxGetPasswordChar(This, a)
#define ITextHost_TxSetCursor(This, a, b)
#define ITextServices_TxGetVScroll(This, a, b, c, d, e)
#define ITextServices_OnTxPropertyBitsChange(This, a, b)
LPWSTR ME_ToUnicode(LONG codepage, LPVOID psz, INT *len) DECLSPEC_HIDDEN
#define ITextServices_OnTxSetCursor(This, a, b, c, d, e, f, g, h, i)
#define SELECTIONBAR_WIDTH
GLint GLint GLint GLint GLint x
GLuint GLuint GLsizei count
GLint GLint GLint GLint GLint GLint y
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
GLint GLint GLsizei GLsizei height
GLint GLint GLsizei width
GLenum const GLfloat * params
GLenum GLuint GLenum GLsizei const GLchar * buf
GLenum GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * bits
GLuint GLsizei GLsizei * length
HANDLE WINAPI HeapCreate(DWORD flOptions, SIZE_T dwInitialSize, SIZE_T dwMaximumSize)
BOOL WINAPI HeapDestroy(HANDLE hHeap)
VOID WINAPI CoTaskMemFree(LPVOID ptr)
LPVOID WINAPI CoTaskMemAlloc(SIZE_T size)
static const char textA[]
static BOOL register_classes(void)
static const WCHAR textW[]
static const struct access_res create[16]
#define DEFINE_THISCALL_WRAPPER(func, args)
#define IsEqualIID(riid1, riid2)
void redraw(int x, int y, int cx, int cy)
DWORD WINAPI GetVersion()
#define EM_GETIMEMODEBIAS
#define ECO_AUTOWORDSELECTION
static const WCHAR RICHEDIT_CLASS20W[]
#define RICHEDIT_CLASS20A
#define ES_DISABLENOSCROLL
#define EM_GETTEXTLENGTHEX
static const WCHAR MSFTEDIT_CLASS[]
ITextHost2 ITextHost_iface
unsigned int notify_level
unsigned int defer_release
unsigned int use_set_rect
unsigned int use_back_colour
EXTERN_C const IID IID_ITextServices
#define TXTBIT_AUTOWORDSEL
#define TXTBIT_CLIENTRECTCHANGE
EXTERN_C const IID IID_ITextHost
enum _TXTBACKSTYLE TXTBACKSTYLE
#define TXTBIT_SCROLLBARCHANGE
#define TXTBIT_SAVESELECTION
#define TXTBIT_USEPASSWORD
#define TXTBIT_HIDESELECTION
EXTERN_C const IID IID_ITextHost2
#define TXTBIT_SELBARCHANGE
#define TXTBIT_DISABLEDRAG
DECLSPEC_HIDDEN HRESULT __thiscall ITextHostImpl_TxGetBackStyle(ITextHost2 *iface, TXTBACKSTYLE *style)
static BOOL create_windowed_editor(HWND hwnd, CREATESTRUCTW *create, BOOL emulate_10)
DECLSPEC_HIDDEN BOOL __thiscall ITextHostImpl_TxSetCaretPos(ITextHost2 *iface, INT x, INT y)
static const ITextHost2Vtbl textHostVtbl
DECLSPEC_HIDDEN HRESULT __thiscall ITextHostImpl_TxGetExtent(ITextHost2 *iface, SIZEL *extent)
static LRESULT WINAPI RichEditWndProcA(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam)
static ULONG WINAPI ITextHostImpl_Release(ITextHost2 *iface)
DECLSPEC_HIDDEN void __thiscall ITextHostImpl_TxImmReleaseContext(ITextHost2 *iface, HIMC context)
DECLSPEC_HIDDEN BOOL __thiscall ITextHostImpl_TxSetScrollPos(ITextHost2 *iface, INT bar, INT pos, BOOL redraw)
DECLSPEC_HIDDEN HRESULT __thiscall ITextHostImpl_TxGetWindowStyles(ITextHost2 *iface, DWORD *style, DWORD *ex_style)
DECLSPEC_HIDDEN void __thiscall ITextHostImpl_TxInvalidateRect(ITextHost2 *iface, const RECT *rect, BOOL mode)
DECLSPEC_HIDDEN HRESULT __thiscall ITextHostImpl_TxGetWindow(ITextHost2 *iface, HWND *hwnd)
static HRESULT get_lineA(ITextServices *text_srv, WPARAM wparam, LPARAM lparam, LRESULT *res)
DECLSPEC_HIDDEN void __thiscall ITextHostImpl_TxSetCursor(ITextHost2 *iface, HCURSOR cursor, BOOL text)
static const char *const richedit_messages[]
static LRESULT WINAPI REComboWndProc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam)
DECLSPEC_HIDDEN HRESULT __thiscall ITextHostImpl_TxActivate(ITextHost2 *iface, LONG *old_state)
BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, void *reserved)
static ULONG WINAPI ITextHostImpl_AddRef(ITextHost2 *iface)
LRESULT WINAPI REExtendedRegisterClass(void)
LRESULT WINAPI RichEdit10ANSIWndProc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam)
DECLSPEC_HIDDEN HCURSOR __thiscall ITextHostImpl_TxSetCursor2(ITextHost2 *iface, HCURSOR cursor, BOOL text)
static HRESULT set_options(struct host *host, DWORD op, DWORD value, LRESULT *res)
DECLSPEC_HIDDEN HRESULT __thiscall ITextHostImpl_OnTxCharFormatChange(ITextHost2 *iface, const CHARFORMATW *pcf)
static LRESULT RichEditWndProc_common(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam, BOOL unicode)
DECLSPEC_HIDDEN HRESULT __thiscall ITextHostImpl_TxNotify(ITextHost2 *iface, DWORD iNotify, void *pv)
struct host * host_create(HWND hwnd, CREATESTRUCTW *cs, BOOL emulate_10)
DECLSPEC_HIDDEN HRESULT __thiscall ITextHostImpl_TxGetEastAsianFlags(ITextHost2 *iface, LONG *flags)
static struct host * impl_from_ITextHost(ITextHost2 *iface)
static BOOL listbox_registered
static LRESULT WINAPI RichEditWndProcW(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam)
DECLSPEC_HIDDEN HRESULT __thiscall ITextHostImpl_TxGetSelectionBarWidth(ITextHost2 *iface, LONG *width)
DECLSPEC_HIDDEN void __thiscall ITextHostImpl_TxViewChange(ITextHost2 *iface, BOOL update)
DECLSPEC_HIDDEN BOOL __thiscall ITextHostImpl_TxClientToScreen(ITextHost2 *iface, POINT *pt)
DECLSPEC_HIDDEN HIMC __thiscall ITextHostImpl_TxImmGetContext(ITextHost2 *iface)
static LRESULT send_msg_filter(struct host *host, UINT msg, WPARAM *wparam, LPARAM *lparam)
DECLSPEC_HIDDEN BOOL __thiscall ITextHostImpl_TxCreateCaret(ITextHost2 *iface, HBITMAP bitmap, INT width, INT height)
DECLSPEC_HIDDEN BOOL __thiscall ITextHostImpl_TxSetTimer(ITextHost2 *iface, UINT id, UINT timeout)
DECLSPEC_HIDDEN INT __thiscall ITextHostImpl_TxReleaseDC(ITextHost2 *iface, HDC hdc)
static BOOL handle_dialog_enter(struct host *host)
static HRESULT WINAPI ITextHostImpl_QueryInterface(ITextHost2 *iface, REFIID iid, void **obj)
DECLSPEC_HIDDEN HRESULT __thiscall ITextHostImpl_TxGetMaxLength(ITextHost2 *iface, DWORD *length)
DECLSPEC_HIDDEN HRESULT __thiscall ITextHostImpl_TxGetAcceleratorPos(ITextHost2 *iface, LONG *pos)
DECLSPEC_HIDDEN HRESULT __thiscall ITextHostImpl_TxGetParaFormat(ITextHost2 *iface, const PARAFORMAT **fmt)
static LRESULT WINAPI REListWndProc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam)
DECLSPEC_HIDDEN void __thiscall ITextHostImpl_TxSetFocus(ITextHost2 *iface)
LRESULT WINAPI RichEditANSIWndProc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam)
DECLSPEC_HIDDEN BOOL __thiscall ITextHostImpl_TxShowScrollBar(ITextHost2 *iface, INT bar, BOOL show)
static BOOL combobox_registered
DECLSPEC_HIDDEN COLORREF __thiscall ITextHostImpl_TxGetSysColor(ITextHost2 *iface, int index)
DECLSPEC_HIDDEN HRESULT __thiscall ITextHostImpl_TxGetHorzExtent(ITextHost2 *iface, LONG *horz_extent)
DECLSPEC_HIDDEN HRESULT __thiscall ITextHostImpl_TxGetEditStyle(ITextHost2 *iface, DWORD item, DWORD *data)
DECLSPEC_HIDDEN HPALETTE __thiscall ITextHostImpl_TxGetPalette(ITextHost2 *iface)
static HRESULT get_text_rangeA(struct host *host, TEXTRANGEA *rangeA, LRESULT *res)
DECLSPEC_HIDDEN BOOL __thiscall ITextHostImpl_TxShowCaret(ITextHost2 *iface, BOOL show)
DECLSPEC_HIDDEN HRESULT __thiscall ITextHostImpl_TxGetClientRect(ITextHost2 *iface, RECT *rect)
DECLSPEC_HIDDEN HRESULT __thiscall ITextHostImpl_TxDestroyCaret(ITextHost2 *iface)
DECLSPEC_HIDDEN BOOL __thiscall ITextHostImpl_TxIsDoubleClickPending(ITextHost2 *iface)
DECLSPEC_HIDDEN BOOL __thiscall ITextHostImpl_TxScreenToClient(ITextHost2 *iface, POINT *pt)
DECLSPEC_HIDDEN HDC __thiscall ITextHostImpl_TxGetDC(ITextHost2 *iface)
DECLSPEC_HIDDEN HRESULT __thiscall ITextHostImpl_TxGetPasswordChar(ITextHost2 *iface, WCHAR *c)
static const char * get_msg_name(UINT msg)
static const char *const edit_messages[]
DECLSPEC_HIDDEN void __thiscall ITextHostImpl_TxScrollWindowEx(ITextHost2 *iface, INT dx, INT dy, const RECT *scroll, const RECT *clip, HRGN update_rgn, RECT *update_rect, UINT flags)
DECLSPEC_HIDDEN HRESULT __thiscall ITextHostImpl_TxSetForegroundWindow(ITextHost2 *iface)
DECLSPEC_HIDDEN HRESULT __thiscall ITextHostImpl_TxGetViewInset(ITextHost2 *iface, RECT *rect)
DECLSPEC_HIDDEN HRESULT __thiscall ITextHostImpl_TxShowDropCaret(ITextHost2 *iface, BOOL show, HDC hdc, const RECT *rect)
DECLSPEC_HIDDEN void __thiscall ITextHostImpl_TxFreeTextServicesNotification(ITextHost2 *iface)
DECLSPEC_HIDDEN HRESULT __thiscall ITextHostImpl_TxGetCharFormat(ITextHost2 *iface, const CHARFORMATW **ppCF)
DECLSPEC_HIDDEN BOOL __thiscall ITextHostImpl_TxEnableScrollBar(ITextHost2 *iface, INT bar, INT arrows)
DECLSPEC_HIDDEN HRESULT __thiscall ITextHostImpl_TxGetScrollBars(ITextHost2 *iface, DWORD *scrollbars)
DECLSPEC_HIDDEN void __thiscall ITextHostImpl_TxSetCapture(ITextHost2 *iface, BOOL capture)
DECLSPEC_HIDDEN HRESULT __thiscall ITextHostImpl_OnTxParaFormatChange(ITextHost2 *iface, const PARAFORMAT *ppf)
DECLSPEC_HIDDEN HRESULT __thiscall ITextHostImpl_TxDeactivate(ITextHost2 *iface, LONG new_state)
DECLSPEC_HIDDEN BOOL __thiscall ITextHostImpl_TxSetScrollRange(ITextHost2 *iface, INT bar, LONG min_pos, INT max_pos, BOOL redraw)
DECLSPEC_HIDDEN HRESULT __thiscall ITextHostImpl_TxGetPropertyBits(ITextHost2 *iface, DWORD mask, DWORD *bits)
DECLSPEC_HIDDEN void __thiscall ITextHostImpl_TxKillTimer(ITextHost2 *iface, UINT id)
static void host_init_props(struct host *host)
#define CONTAINING_RECORD(address, type, field)
DWORD WINAPI GetLastError(void)
HGDIOBJ WINAPI GetStockObject(_In_ int)
HGDIOBJ WINAPI SelectObject(_In_ HDC, _In_ HGDIOBJ)
BOOL WINAPI PatBlt(_In_ HDC, _In_ int, _In_ int, _In_ int, _In_ int, _In_ DWORD)
int WINAPI FillRect(HDC, LPCRECT, HBRUSH)
HBRUSH WINAPI CreateSolidBrush(_In_ COLORREF)
HWND WINAPI SetCapture(_In_ HWND hWnd)
int WINAPI ReleaseDC(_In_opt_ HWND, _In_ HDC)
DWORD WINAPI GetSysColor(_In_ int)
#define GetWindowLongPtrW
BOOL WINAPI ShowCaret(_In_opt_ HWND)
BOOL WINAPI ReleaseCapture(void)
#define EM_GETPASSWORDCHAR
BOOL WINAPI UnregisterClassA(_In_ LPCSTR, HINSTANCE)
LRESULT WINAPI DefWindowProcW(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
BOOL WINAPI PostMessageW(_In_opt_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
#define EM_SETPASSWORDCHAR
LONG WINAPI SetWindowLongW(_In_ HWND, _In_ int, _In_ LONG)
LONG WINAPI GetWindowLongW(_In_ HWND, _In_ int)
ATOM WINAPI RegisterClassW(_In_ CONST WNDCLASSW *)
BOOL WINAPI GetCursorPos(_Out_ LPPOINT)
HCURSOR WINAPI SetCursor(_In_opt_ HCURSOR)
HCURSOR WINAPI LoadCursorW(_In_opt_ HINSTANCE, _In_ LPCWSTR)
int WINAPI SetScrollPos(_In_ HWND, _In_ int, _In_ int, _In_ BOOL)
BOOL WINAPI ClientToScreen(_In_ HWND, _Inout_ LPPOINT)
HWND WINAPI GetDlgItem(_In_opt_ HWND, _In_ int)
UINT_PTR WINAPI SetTimer(_In_opt_ HWND, _In_ UINT_PTR, _In_ UINT, _In_opt_ TIMERPROC)
BOOL WINAPI PtInRect(_In_ LPCRECT, _In_ POINT)
BOOL WINAPI GetClientRect(_In_ HWND, _Out_ LPRECT)
ATOM WINAPI RegisterClassA(_In_ CONST WNDCLASSA *)
HWND WINAPI SetFocus(_In_opt_ HWND)
HWND WINAPI SetActiveWindow(_In_ HWND)
BOOL WINAPI EndPaint(_In_ HWND, _In_ const PAINTSTRUCT *)
#define SIF_DISABLENOSCROLL
BOOL WINAPI IntersectRect(_Out_ LPRECT, _In_ LPCRECT, _In_ LPCRECT)
BOOL WINAPI UpdateWindow(_In_ HWND)
HDC WINAPI GetDC(_In_opt_ HWND)
BOOL WINAPI SetRectEmpty(_Out_ LPRECT)
int WINAPI SetScrollInfo(_In_ HWND, _In_ int, _In_ LPCSCROLLINFO, _In_ BOOL)
BOOL WINAPI UnregisterClassW(_In_ LPCWSTR, HINSTANCE)
BOOL WINAPI ShowScrollBar(_In_ HWND, _In_ int, _In_ BOOL)
BOOL WINAPI SetCaretPos(_In_ int, _In_ int)
BOOL WINAPI CreateCaret(_In_ HWND, _In_opt_ HBITMAP, _In_ int, _In_ int)
BOOL WINAPI InvalidateRect(_In_opt_ HWND, _In_opt_ LPCRECT, _In_ BOOL)
#define MAKEINTRESOURCEW(i)
HDC WINAPI BeginPaint(_In_ HWND, _Out_ LPPAINTSTRUCT)
BOOL WINAPI KillTimer(_In_opt_ HWND, _In_ UINT_PTR)
#define SetWindowLongPtrW
BOOL WINAPI InflateRect(_Inout_ LPRECT, _In_ int, _In_ int)
BOOL WINAPI GetUpdateRect(_In_ HWND, _Out_opt_ LPRECT, _In_ BOOL)
#define WM_WINDOWPOSCHANGED
BOOL WINAPI IsWindowVisible(_In_ HWND)
int WINAPI ScrollWindowEx(_In_ HWND, _In_ int, _In_ int, _In_opt_ LPCRECT, _In_opt_ LPCRECT, _In_opt_ HRGN, _Out_opt_ LPRECT, _In_ UINT)
BOOL WINAPI EnableScrollBar(_In_ HWND, _In_ UINT, _In_ UINT)
BOOL WINAPI HideCaret(_In_opt_ HWND)
LRESULT WINAPI SendMessageW(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
SHORT WINAPI GetKeyState(_In_ int)
BOOL WINAPI ScreenToClient(_In_ HWND, _Inout_ LPPOINT)