ReactOS 0.4.16-dev-320-g3bd9ddc
winxx.h File Reference
#include <windows.h>
#include <windowsx.h>
#include <commctrl.h>
#include <richedit.h>
Include dependency graph for winxx.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define _INC_WINXX   8 /* Version 8 */
 
#define HANDLE_WM_NULL(hwnd, wParam, lParam, fn)    ((fn)((hwnd)), 0L)
 
#define FORWARD_WM_NULL(hwnd, fn)    ((fn)((hwnd), WM_NULL, 0, 0L), 0L)
 
#define HANDLE_WM_SETHOTKEY(hwnd, wParam, lParam, fn)    (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (INT)LOWORD(wParam), (UINT)HIWORD(wParam))
 
#define FORWARD_WM_SETHOTKEY(hwnd, nCode, nOptions, fn)    (INT)(fn)((hwnd), WM_SETHOTKEY, MAKEWPARAM((nCode), (nOptions)))
 
#define HANDLE_WM_GETHOTKEY(hwnd, wParam, lParam, fn)    (LRESULT)(INT_PTR)(INT)(fn)((hwnd))
 
#define FORWARD_WM_GETHOTKEY(hwnd, fn)    (INT)(fn)((hwnd), WM_GETHOTKEY, 0, 0L)
 
#define HANDLE_WM_PAINTICON(hwnd, wParam, lParam, fn)    ((fn)((hwnd)), 0L)
 
#define FORWARD_WM_PAINTICON(hwnd, fn)    ((fn)((hwnd), WM_PAINTICON, 0, 0L), 0L)
 
#define HANDLE_WM_GETOBJECT(hwnd, wParam, lParam, fn)    (LRESULT)(fn)((hwnd), (WPARAM)(wParam), (DWORD)(lParam))
 
#define FORWARD_WM_GETOBJECT(hwnd, wParam, dwObjId, fn)    (fn)((hwnd), WM_GETOBJECT, (WPARAM)(wParam), (LPARAM)(DWORD)(dwObjId))
 
#define HANDLE_WM_CANCELJOURNAL(hwnd, wParam, lParam, fn)    ((fn)((hwnd)), 0L)
 
#define FORWARD_WM_CANCELJOURNAL(hwnd, fn)    ((fn)((hwnd), WM_PAINTICON, 0, 0L), 0L)
 
#define HANDLE_WM_INPUTLANGCHANGEREQUEST(hwnd, wParam, lParam, fn)    ((fn)((hwnd), (BOOL)(wParam), (HKL)(lParam)), 0L)
 
#define FORWARD_WM_INPUTLANGCHANGEREQUEST(hwnd, bFlag, hKL, fn)
 
#define HANDLE_WM_INPUTLANGCHANGE(hwnd, wParam, lParam, fn)    ((fn)((hwnd), (DWORD)(wParam), (HKL)(lParam)), 0L)
 
#define FORWARD_WM_INPUTLANGCHANGE(hwnd, dwCharSet, hKL, fn)
 
#define HANDLE_WM_TCARD(hwnd, wParam, lParam, fn)    ((fn)((hwnd), (UINT)(wParam), (DWORD)(lParam)), 0L)
 
#define FORWARD_WM_TCARD(hwnd, idAction, dwActionData, fn)    ((fn)((hwnd), WM_TCARD, (DWORD)(wParam), (DWORD)(lParam)), 0L)
 
#define HANDLE_WM_HELP(hwnd, wParam, lParam, fn)    ((fn)((hwnd), (LPHELPINFO)(lParam)), 0L)
 
#define FORWARD_WM_HELP(hwnd, lpHelpInfo, fn)    ((fn)((hwnd), WM_HELP, 0, (LPARAM)(LPHELPINFO)(lpHelpInfo)), 0L)
 
#define HANDLE_WM_USERCHANGED(hwnd, wParam, lParam, fn)    ((fn)((hwnd)), 0L)
 
#define FORWARD_WM_USERCHANGED(hwnd, fn)    ((fn)((hwnd), WM_USERCHANGED, 0, 0L), 0L)
 
#define HANDLE_WM_NOTIFYFORMAT(hwnd, wParam, lParam, fn)    (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (HWND)(wParam), (INT)(lParam))
 
#define FORWARD_WM_NOTIFYFORMAT(hwnd, hwndTarget, nCommand, fn)
 
#define HANDLE_WM_STYLECHANGING(hwnd, wParam, lParam, fn)    ((fn)((hwnd), (UINT)(wParam), (LPSTYLESTRUCT)(lParam)), 0L)
 
#define FORWARD_WM_STYLECHANGING(hwnd, nStyleType, lpStyleStruct, fn)
 
#define HANDLE_WM_STYLECHANGED(hwnd, wParam, lParam, fn)    ((fn)((hwnd), (UINT)(wParam), (const STYLESTRUCT *)(lParam)), 0L)
 
#define FORWARD_WM_STYLECHANGED(hwnd, nStyleType, lpStyleStruct, fn)
 
#define HANDLE_WM_GETICON(hwnd, wParam, lParam, fn)    (LRESULT)(HICON)(fn)((hwnd), (INT)(wParam), (LPARAM)(lParam))
 
#define FORWARD_WM_GETICON(hwnd, nType, dpi, fn)    (HICON)(fn)((hwnd), WM_GETICON, (WPARAM)(UINT)(nType), (LPARAM)(dpi))
 
#define HANDLE_WM_SETICON(hwnd, wParam, lParam, fn)    (LRESULT)(HICON)(fn)((hwnd), (INT)(wParam), (HICON)(lParam))
 
#define FORWARD_WM_SETICON(hwnd, nType, hIcon, fn)    (HICON)(fn)((hwnd), WM_SETICON, (WPARAM)(UINT)(nType), (LPARAM)(HICON)(hIcon))
 
#define HANDLE_WM_SYNCPAINT(hwnd, wParam, lParam, fn)    ((fn)((hwnd)), 0L)
 
#define FORWARD_WM_SYNCPAINT(hwnd, fn)    ((fn)((hwnd), WM_SYNCPAINT, 0, 0L), 0L)
 
#define HANDLE_WM_NCXBUTTONDOWN(hwnd, wParam, lParam, fn)
 
#define HANDLE_WM_NCXBUTTONDBLCLK(hwnd, wParam, lParam, fn)
 
#define FORWARD_WM_NCXBUTTONDOWN(hwnd, fDoubleClick, nHitTest, fwButton, xPos, yPos, fn)
 
#define HANDLE_WM_NCXBUTTONUP(hwnd, wParam, lParam, fn)
 
#define FORWARD_WM_NCXBUTTONUP(hwnd, nHitTest, fwButton, xPos, yPos, fn)
 
#define HANDLE_WM_IME_STARTCOMPOSITION(hwnd, wParam, lParam, fn)    ((fn)((hwnd)), 0L)
 
#define FORWARD_WM_IME_STARTCOMPOSITION(hwnd, fn)    ((fn)((hwnd), WM_IME_STARTCOMPOSITION, 0, 0L), 0L)
 
#define HANDLE_WM_IME_ENDCOMPOSITION(hwnd, wParam, lParam, fn)    ((fn)((hwnd)), 0L)
 
#define FORWARD_WM_IME_ENDCOMPOSITION(hwnd, fn)    ((fn)((hwnd), WM_IME_ENDCOMPOSITION, 0, 0L), 0L)
 
#define HANDLE_WM_IME_COMPOSITION(hwnd, wParam, lParam, fn)    ((fn)((hwnd), (WORD)(wParam), (DWORD)(lParam)), 0L)
 
#define FORWARD_WM_IME_COMPOSITION(hwnd, wChar, lAttribute, fn)    ((fn)((hwnd), WM_IME_COMPOSITION, (WPARAM)(WORD)(wChar), (DWORD)(lAttribute)), 0L)
 
#define HANDLE_WM_MENURBUTTONUP(hwnd, wParam, lParam, fn)    ((fn)((hwnd), (UINT)(wParam), (HMENU)(lParam)), 0L)
 
#define FORWARD_WM_MENURBUTTONUP(hwnd, nPos, hMenu, fn)    ((fn)((hwnd), WM_MENURBUTTONUP, (WPARAM)(UINT)(nPos), (LPARAM)(HMENU)(hMenu)), 0L)
 
#define HANDLE_WM_MENUDRAG(hwnd, wParam, lParam, fn)    (LRESULT)(UINT)(fn)((hwnd), (UINT)(wParam), (HMENU)(lParam))
 
#define FORWARD_WM_MENUDRAG(hwnd, nPos, hMenu, fn)    (UINT)(fn)((hwnd), WM_MENUDRAG, (WPARAM)(UINT)(nPos), (LPARAM)(HMENU)(hMenu))
 
#define HANDLE_WM_MENUGETOBJECT(hwnd, wParam, lParam, fn)    (LRESULT)(UINT)(fn)((hwnd), (MENUGETOBJECTINFO *)(lParam))
 
#define FORWARD_WM_MENUGETOBJECT(hwnd, pmgoi, fn)    (UINT)(fn)((hwnd), WM_MENUGETOBJECT, 0, (LPARAM)(MENUGETOBJECTINFO *)(pmgoi))
 
#define HANDLE_WM_UNINITMENUPOPUP(hwnd, wParam, lParam, fn)    ((fn)((hwnd), (HMENU)(wParam), (UINT)(lParam)), 0L)
 
#define FORWARD_WM_UNINITMENUPOPUP(hwnd, hMenu, nFlags, fn)
 
#define HANDLE_WM_MENUCOMMAND(hwnd, wParam, lParam, fn)    ((fn)((hwnd), (UINT)(wParam), (HMENU)(lParam)), 0L)
 
#define FORWARD_WM_MENUCOMMAND(hwnd, nPos, hMenu, fn)
 
#define HANDLE_WM_CHANGEUISTATE(hwnd, wParam, lParam, fn)    ((fn)((hwnd), (UINT)LOWORD(wParam), (UINT)HIWORD(wParam)), 0L)
 
#define FORWARD_WM_CHANGEUISTATE(hwnd, nAction, nUIElement, fn)    ((fn)((hwnd), WM_CHANGEUISTATE, MAKEWPARAM((nAction), (nUIElement)), 0L), 0L)
 
#define HANDLE_WM_UPDATEUISTATE(hwnd, wParam, lParam, fn)    ((fn)((hwnd), (UINT)LOWORD(wParam), (UINT)HIWORD(wParam)), 0L)
 
#define FORWARD_WM_UPDATEUISTATE(hwnd, nAction, nUIElement, fn)    ((fn)((hwnd), WM_UPDATEUISTATE, MAKEWPARAM((nAction), (nUIElement)), 0L), 0L)
 
#define HANDLE_WM_QUERYUISTATE(hwnd, wParam, lParam, fn)    (LRESULT)(UINT)(fn)((hwnd))
 
#define FORWARD_WM_QUERYUISTATE(hwnd, fn)    (UINT)(fn)((hwnd), WM_QUERYUISTATE, 0, 0L)
 
#define HANDLE_WM_XBUTTONDOWN(hwnd, wParam, lParam, fn)
 
#define HANDLE_WM_XBUTTONDBLCLK(hwnd, wParam, lParam, fn)
 
#define FORWARD_WM_XBUTTONDOWN(hwnd, fDoubleClick, fwKeys, fwButton, xPos, yPos, fn)
 
#define HANDLE_WM_XBUTTONUP(hwnd, wParam, lParam, fn)
 
#define FORWARD_WM_XBUTTONUP(hwnd, fDoubleClick, fwKeys, fwButton, xPos, yPos, fn)
 
#define HANDLE_WM_ENTERMENULOOP(hwnd, wParam, lParam, fn)    ((fn)((hwnd), (BOOL)(wParam)), 0L)
 
#define FORWARD_WM_ENTERMENULOOP(hwnd, bIsTrackPopupMenu, fn)    ((fn)((hwnd), WM_ENTERMENULOOP, (BOOL)(bIsTrackPopupMenu), 0L), 0L)
 
#define HANDLE_WM_EXITMENULOOP(hwnd, wParam, lParam, fn)    ((fn)((hwnd), (BOOL)(wParam)), 0L)
 
#define FORWARD_WM_EXITMENULOOP(hwnd, bIsTrackPopupMenu, fn)    ((fn)((hwnd), WM_EXITMENULOOP, (BOOL)(bIsTrackPopupMenu), 0L), 0L)
 
#define HANDLE_WM_NEXTMENU(hwnd, wParam, lParam, fn)    ((fn)((hwnd), (INT)(wParam), (LPMDINEXTMENU)(lParam)), 0L)
 
#define FORWARD_WM_NEXTMENU(hwnd, nCode, lpMDINextMenu, fn)
 
#define HANDLE_WM_SIZING(hwnd, wParam, lParam, fn)    ((fn)((hwnd), (UINT)(wParam), (LPRECT)(lParam)), 0L)
 
#define FORWARD_WM_SIZING(hwnd, nSide, lpRect, fn)    ((fn)((hwnd), WM_SIZING, (WPARAM)(UINT)(nSide), (LPARAM)(LPRECT)(lpRect)), 0L)
 
#define HANDLE_WM_CAPTURECHANGED(hwnd, wParam, lParam, fn)    ((fn)((hwnd), (HWND)(lParam)), 0L)
 
#define FORWARD_WM_CAPTURECHANGED(hwnd, hwndNewCapture, fn)    ((fn)((hwnd), WM_CAPTURECHANGED, 0, (LPARAM)(HWND)(hwndNewCapture)), 0L)
 
#define HANDLE_WM_MOVING(hwnd, wParam, lParam, fn)    ((fn)((hwnd), (UINT)(wParam), (LPRECT)(lParam)), 0L)
 
#define FORWARD_WM_MOVING(hwnd, nSide, lpRect, fn)    ((fn)((hwnd), WM_MOVING, (WPARAM)(UINT)(nSide), (LPARAM)(LPRECT)(lpRect)), 0L)
 
#define HANDLE_WM_POWERBROADCAST(hwnd, wParam, lParam, fn)    (LRESULT)(fn)((hwnd), (UINT)(wParam), (UINT)(lParam))
 
#define FORWARD_WM_POWERBROADCAST(hwnd, nPowerEvent, nEventData, fn)
 
#define HANDLE_WM_MDIREFRESHMENU(hwnd, wParam, lParam, fn)    (LRESULT)(HMENU)(fn)((hwnd))
 
#define FORWARD_WM_MDIREFRESHMENU(hwnd, fn)    (HMENU)(fn)((hwnd), WM_MDIREFRESHMENU, 0, 0L)
 
#define HANDLE_WM_IME_SETCONTEXT(hwnd, wParam, lParam, fn)    (LRESULT)(BOOL)(fn)((hwnd), (BOOL)(wParam), (DWORD)(lParam))
 
#define FORWARD_WM_IME_SETCONTEXT(hwnd, fActive, dwShow, fn)    (BOOL)(fn)((hwnd), WM_IME_SETCONTEXT, (WPARAM)(BOOL)(fActive), (LPARAM)(DWORD)(dwShow))
 
#define HANDLE_WM_IME_NOTIFY(hwnd, wParam, lParam, fn)    (LRESULT)(fn)((hwnd), (WPARAM)(wParam), (LPARAM)(lParam))
 
#define FORWARD_WM_IME_NOTIFY(hwnd, wSubMessage, lParam, fn)    (LRESULT)(fn)((hwnd), WM_IME_NOTIFY, (WPARAM)(wSubMessage), (LPARAM)(lParam))
 
#define HANDLE_WM_IME_CONTROL(hwnd, wParam, lParam, fn)    (LRESULT)(fn)((hwnd), (WPARAM)(wParam), (LPVOID)(lParam))
 
#define FORWARD_WM_IME_CONTROL(hwnd, wSubMessage, lpData, fn)    (LRESULT)(fn)((hwnd), WM_IME_CONTROL, (WPARAM)(wSubMessage), (LPARAM)(LPVOID)(lpData))
 
#define HANDLE_WM_IME_COMPOSITIONFULL(hwnd, wParam, lParam, fn)    ((fn)((hwnd)), 0L)
 
#define FORWARD_WM_IME_COMPOSITIONFULL(hwnd, compactRatio, fn)    ((fn)((hwnd), WM_IME_COMPOSITIONFULL, 0, 0L), 0L)
 
#define HANDLE_WM_IME_SELECT(hwnd, wParam, lParam, fn)    ((fn)((hwnd), (BOOL)(wParam), (HKL)(lParam)), 0L)
 
#define FORWARD_WM_IME_SELECT(hwnd, fSelect, hKL, fn)    ((fn)((hwnd), WM_IME_SELECT, (WPARAM)(BOOL)(fSelect), (LPARAM)(HKL)(hKL)), 0L)
 
#define HANDLE_WM_IME_CHAR(hwnd, wParam, lParam, fn)    ((fn)((hwnd), (WORD)(wParam), (LONG)(lParam)), 0L)
 
#define FORWARD_WM_IME_CHAR(hwnd, wCharCode, lKeyData, fn)    ((fn)((hwnd), WM_IME_CHAR, (WPARAM)(WORD)(wCharCode), (LPARAM)(LONG)(lKeyData)), 0L)
 
#define HANDLE_WM_IME_REQUEST(hwnd, wParam, lParam, fn)    (LRESULT)(fn)((hwnd), (WPARAM)(wParam), (LPARAM)(lParam))
 
#define FORWARD_WM_IME_REQUEST(hwnd, wParam, lParam, fn)    (LRESULT)(fn)((hwnd), WM_IME_REQUEST, (WPARAM)(wParam), (LPARAM)(lParam))
 
#define HANDLE_WM_IME_KEYDOWN(hwnd, wParam, lParam, fn)    ((fn)((hwnd), TRUE, (WORD)(wParam), (LONG)(lParam)), 0L)
 
#define FORWARD_WM_IME_KEYDOWN(hwnd, fDown, nVirtKey, lKeyData, fn)
 
#define HANDLE_WM_IME_KEYUP(hwnd, wParam, lParam, fn)    ((fn)((hwnd), FALSE, (WORD)(wParam), (LONG)(lParam)), 0L)
 
#define FORWARD_WM_IME_KEYUP(hwnd, fDown, nVirtKey, lKeyData, fn)
 
#define HANDLE_WM_MOUSEHOVER(hwnd, wParam, lParam, fn)    ((fn)((hwnd), (UINT)(wParam), GET_X_LPARAM(lParam), GET_Y_LPARAM(lParam)), 0L)
 
#define FORWARD_WM_MOUSEHOVER(hwnd, nFlags, xPos, yPos, fn)
 
#define HANDLE_WM_MOUSELEAVE(hwnd, wParam, lParam, fn)    ((fn)((hwnd)), 0L)
 
#define FORWARD_WM_MOUSELEAVE(hwnd, fn)    ((fn)((hwnd), WM_MOUSELEAVE, 0, 0L), 0L)
 
#define HANDLE_WM_NCMOUSEHOVER(hwnd, wParam, lParam, fn)    ((fn)((hwnd), (INT)(wParam), GET_X_LPARAM(lParam), GET_Y_LPARAM(lParam)), 0L)
 
#define FORWARD_WM_NCMOUSEHOVER(hwnd, nHitTest, xPos, yPos, fn)
 
#define HANDLE_WM_NCMOUSELEAVE(hwnd, wParam, lParam, fn)    ((fn)((hwnd)), 0L)
 
#define FORWARD_WM_NCMOUSELEAVE(hwnd, fn)    ((fn)((hwnd), WM_NCMOUSELEAVE, 0, 0L), 0L)
 
#define HANDLE_WM_PRINT(hwnd, wParam, lParam, fn)    ((fn)((hwnd), (HDC)(wParam), (UINT)(lParam)), 0L)
 
#define FORWARD_WM_PRINT(hwnd, hDC, uFlags, fn)    ((fn)((hwnd), WM_PRINT, (WPARAM)(HDC)(hDC), (LPARAM)(uFlags)), 0L)
 
#define HANDLE_WM_PRINTCLIENT(hwnd, wParam, lParam, fn)    ((fn)((hwnd), (HDC)(wParam), (UINT)(lParam)), 0L)
 
#define FORWARD_WM_PRINTCLIENT(hwnd, hDC, uFlags, fn)    ((fn)((hwnd), WM_PRINTCLIENT, (WPARAM)(HDC)(hDC), (LPARAM)(uFlags)), 0L)
 
#define HANDLE_WM_APPCOMMAND(hwnd, wParam, lParam, fn)
 
#define FORWARD_WM_APPCOMMAND(hwnd, hwndTarget, cmd, nDevice, nKey, fn)
 
#define HANDLE_WM_ENTERSIZEMOVE(hwnd, wParam, lParam, fn)    ((fn)((hwnd)), 0L)
 
#define FORWARD_WM_ENTERSIZEMOVE(hwnd, fn)    ((fn)((hwnd), WM_ENTERSIZEMOVE, 0, 0L), 0L)
 
#define HANDLE_WM_EXITSIZEMOVE(hwnd, wParam, lParam, fn)    ((fn)((hwnd)), 0L)
 
#define FORWARD_WM_EXITSIZEMOVE(hwnd, fn)    ((fn)((hwnd), WM_EXITSIZEMOVE, 0, 0L), 0L)
 
#define HANDLE_WM_QUERYDRAGICON(hwnd, wParam, lParam, fn)    (LRESULT)(DWORD)(UINT)(UINT_PTR)(fn)(hwnd)
 
#define FORWARD_WM_QUERYDRAGICON(hwnd, fn)    (HICON)(UINT_PTR)(UINT)(DWORD)(fn)((hwnd), WM_QUERYDRAGICON, 0L, 0L)
 
#define HANDLE_WM_MDICREATE(hwnd, wParam, lParam, fn)    (LRESULT)(DWORD)(UINT)(UINT_PTR)(fn)((hwnd), (LPMDICREATESTRUCT)(lParam))
 
#define FORWARD_WM_MDICREATE(hwnd, lpmcs, fn)    (HWND)(UINT_PTR)(fn)((hwnd), WM_MDICREATE, 0L, (LPARAM)(LPMDICREATESTRUCT)(lpmcs))
 
#define HANDLE_WM_NCACTIVATE(hwnd, wParam, lParam, fn)    (LRESULT)(DWORD)(BOOL)(fn)((hwnd), (BOOL)(wParam), 0L, 0L)
 
#define FORWARD_WM_NCACTIVATE(hwnd, fActive, hwndActDeact, fMinimized, fn)    (BOOL)(DWORD)(fn)((hwnd), WM_NCACTIVATE, (WPARAM)(BOOL)(fActive), 0L)
 
#define HANDLE_WM_SETTINGCHANGE(hwnd, wParam, lParam, fn)    ((fn)((hwnd), (UINT_PTR)(wParam), (LPCTSTR)(LPARAM)(lParam)), 0L)
 
#define FORWARD_WM_SETTINGCHANGE(hwnd, wFlag, pszSection, fn)    (LRESULT)(fn)((hwnd), WM_SETTINGCHANGE, (WPARAM)(UINT_PTR)(wFlag), (LPARAM)(LPCTSTR)(pszSection))
 
#define HANDLE_EM_GETSEL(hwnd, wParam, lParam, fn)    (LRESULT)(LONG)(fn)((hwnd), (LPDWORD)(wParam), (LPDWORD)(lParam))
 
#define HANDLE_EM_SETSEL(hwnd, wParam, lParam, fn)    ((fn)((hwnd), (INT)(wParam), (INT)(lParam)), 0L)
 
#define HANDLE_EM_GETRECT(hwnd, wParam, lParam, fn)    ((fn)((hwnd), (LPRECT)(lParam)), 0L)
 
#define HANDLE_EM_SETRECT(hwnd, wParam, lParam, fn)    ((fn)((hwnd), (LPCRECT)(lParam)), 0L)
 
#define HANDLE_EM_SETRECTNP(hwnd, wParam, lParam, fn)    ((fn)((hwnd), (LPCRECT)(lParam)), 0L)
 
#define HANDLE_EM_SCROLL(hwnd, wParam, lParam, fn)    (LRESULT)(DWORD)(fn)((hwnd), (INT)(wParam))
 
#define HANDLE_EM_LINESCROLL(hwnd, wParam, lParam, fn)    (LRESULT)(BOOL)(fn)((hwnd), (INT)(wParam), (INT)(lParam))
 
#define HANDLE_EM_SCROLLCARET(hwnd, wParam, lParam, fn)    (LRESULT)(BOOL)(fn)((hwnd))
 
#define HANDLE_EM_GETMODIFY(hwnd, wParam, lParam, fn)    (LRESULT)(BOOL)(fn)((hwnd))
 
#define HANDLE_EM_SETMODIFY(hwnd, wParam, lParam, fn)    ((fn)((hwnd), (BOOL)(wParam)), 0L)
 
#define HANDLE_EM_GETLINECOUNT(hwnd, wParam, lParam, fn)    (LRESULT)(INT_PTR)(INT)(fn)((hwnd))
 
#define HANDLE_EM_LINEINDEX(hwnd, wParam, lParam, fn)    (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (INT)(wParam))
 
#define HANDLE_EM_SETHANDLE(hwnd, wParam, lParam, fn)    ((fn)((hwnd), (HLOCAL)(wParam)), 0L)
 
#define HANDLE_EM_GETHANDLE(hwnd, wParam, lParam, fn)    (LRESULT)(HLOCAL)(fn)((hwnd))
 
#define HANDLE_EM_GETTHUMB(hwnd, wParam, lParam, fn)    (LRESULT)(INT_PTR)(INT)(fn)((hwnd))
 
#define HANDLE_EM_LINELENGTH(hwnd, wParam, lParam, fn)    (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (INT)(wParam))
 
#define HANDLE_EM_REPLACESEL(hwnd, wParam, lParam, fn)    ((fn)((hwnd), (BOOL)(wParam), (LPCTSTR)(lParam)), 0L)
 
#define HANDLE_EM_GETLINE(hwnd, wParam, lParam, fn)    (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (INT)(wParam), (LPCTSTR)(lParam))
 
#define HANDLE_EM_LIMITTEXT(hwnd, wParam, lParam, fn)    ((fn)((hwnd), (LONG)(wParam)), 0L)
 
#define HANDLE_EM_CANUNDO(hwnd, wParam, lParam, fn)    (LRESULT)(BOOL)(fn)((hwnd))
 
#define HANDLE_EM_UNDO(hwnd, wParam, lParam, fn)    (LRESULT)(BOOL)(fn)((hwnd))
 
#define HANDLE_EM_FMTLINES(hwnd, wParam, lParam, fn)    (LRESULT)(BOOL)(fn)((hwnd), (BOOL)(wParam))
 
#define HANDLE_EM_LINEFROMCHAR(hwnd, wParam, lParam, fn)    (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (INT)(wParam))
 
#define HANDLE_EM_SETTABSTOPS(hwnd, wParam, lParam, fn)    (LRESULT)(BOOL)(fn)((hwnd), (INT)(wParam), (LPDWORD)(lParam))
 
#define HANDLE_EM_SETPASSWORDCHAR(hwnd, wParam, lParam, fn)    ((fn)((hwnd), (UINT)(wParam)), 0L)
 
#define HANDLE_EM_EMPTYUNDOBUFFER(hwnd, wParam, lParam, fn)    ((fn)((hwnd)), 0L)
 
#define HANDLE_EM_GETFIRSTVISIBLELINE(hwnd, wParam, lParam, fn)    (INT)((fn)((hwnd)), 0L)
 
#define HANDLE_EM_SETREADONLY(hwnd, wParam, lParam, fn)    (BOOL)(fn)((hwnd), (BOOL)(wParam))
 
#define HANDLE_EM_SETWORDBREAKPROC(hwnd, wParam, lParam, fn)    ((fn)((hwnd), (EDITWORDBREAKPROC)(lParam)), 0L)
 
#define HANDLE_EM_GETWORDBREAKPROC(hwnd, wParam, lParam, fn)    (LRESULT)(EDITWORDBREAKPROC)(fn)((hwnd))
 
#define HANDLE_EM_GETPASSWORDCHAR(hwnd, wParam, lParam, fn)    (LRESULT)(UINT)(UINT)(fn)((hwnd))
 
#define HANDLE_EM_SETMARGINS(hwnd, wParam, lParam, fn)    ((fn)((hwnd), (UINT)(wParam), LOWORD(lParam), HIWORD(lParam)), 0L)
 
#define HANDLE_EM_GETMARGINS(hwnd, wParam, lParam, fn)    (LRESULT)(DWORD)(fn)((hwnd))
 
#define HANDLE_EM_SETLIMITTEXT(hwnd, wParam, lParam, fn)    ((fn)((hwnd), (DWORD)(wParam)), 0L)
 
#define HANDLE_EM_GETLIMITTEXT(hwnd, wParam, lParam, fn)    (LRESULT)(DWORD)(fn)((hwnd))
 
#define HANDLE_EM_POSFROMCHAR(hwnd, wParam, lParam, fn)    ((fn)((hwnd), (LPPOINT)(wParam), (UINT)(lParam)), 0L)
 
#define HANDLE_EM_CHARFROMPOS(hwnd, wParam, lParam, fn)    (LRESULT)(LONG)(fn)((hwnd), (SHORT)LOWORD(lParam), (SHORT)HIWORD(lParam))
 
#define HANDLE_EM_SETIMESTATUS(hwnd, wParam, lParam, fn)    (LRESULT)(DWORD)(fn)((hwnd), (UINT)(wParam), (DWORD)(lParam))
 
#define HANDLE_EM_GETIMESTATUS(hwnd, wParam, lParam, fn)    (LRESULT)(DWORD)(fn)((hwnd), (UINT)(wParam))
 
#define HANDLE_STM_SETICON(hwnd, wParam, lParam, fn)    (LRESULT)(HICON)(fn)((hwnd), (HICON)(wParam))
 
#define HANDLE_STM_GETICON(hwnd, wParam, lParam, fn)    (LRESULT)(HICON)(fn)((hwnd))
 
#define HANDLE_STM_SETIMAGE(hwnd, wParam, lParam, fn)    (LRESULT)(HANDLE)(fn)((hwnd), (UINT)(wParam), (HANDLE)(lParam))
 
#define HANDLE_STM_GETIMAGE(hwnd, wParam, lParam, fn)    (LRESULT)(HANDLE)(fn)((hwnd), (UINT)(wParam))
 
#define HANDLE_LB_ADDSTRING(hwnd, wParam, lParam, fn)    (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (LPCTSTR)(lParam))
 
#define HANDLE_LB_INSERTSTRING(hwnd, wParam, lParam, fn)    (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (INT)(wParam), (LPCTSTR)(lParam))
 
#define HANDLE_LB_DELETESTRING(hwnd, wParam, lParam, fn)    (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (INT)(wParam))
 
#define HANDLE_LB_SELITEMRANGEEX(hwnd, wParam, lParam, fn)    (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (UINT)(wParam), (UINT)(lParam))
 
#define HANDLE_LB_RESETCONTENT(hwnd, wParam, lParam, fn)    ((fn)((hwnd)), 0L)
 
#define HANDLE_LB_SETSEL(hwnd, wParam, lParam, fn)    (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (BOOL)(wParam), (UINT)(lParam))
 
#define HANDLE_LB_SETCURSEL(hwnd, wParam, lParam, fn)    (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (INT)(wParam))
 
#define HANDLE_LB_GETSEL(hwnd, wParam, lParam, fn)    (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (INT)(wParam))
 
#define HANDLE_LB_GETCURSEL(hwnd, wParam, lParam, fn)    (LRESULT)(INT_PTR)(INT)(fn)((hwnd))
 
#define HANDLE_LB_GETTEXT(hwnd, wParam, lParam, fn)    (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (INT)(wParam), (LPTSTR)(lParam))
 
#define HANDLE_LB_GETTEXTLEN(hwnd, wParam, lParam, fn)    (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (INT)(wParam))
 
#define HANDLE_LB_GETCOUNT(hwnd, wParam, lParam, fn)    (LRESULT)(INT_PTR)(INT)(fn)((hwnd))
 
#define HANDLE_LB_SELECTSTRING(hwnd, wParam, lParam, fn)    (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (INT)(wParam), (LPCTSTR)(lParam))
 
#define HANDLE_LB_DIR(hwnd, wParam, lParam, fn)    (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (UINT)(wParam), (LPCTSTR)(lParam))
 
#define HANDLE_LB_GETTOPINDEX(hwnd, wParam, lParam, fn)    (LRESULT)(INT_PTR)(INT)(fn)((hwnd))
 
#define HANDLE_LB_FINDSTRING(hwnd, wParam, lParam, fn)    (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (INT)(wParam), (LPCTSTR)(lParam))
 
#define HANDLE_LB_GETSELCOUNT(hwnd, wParam, lParam, fn)    (LRESULT)(INT_PTR)(INT)(fn)((hwnd))
 
#define HANDLE_LB_GETSELITEMS(hwnd, wParam, lParam, fn)    (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (UINT)(wParam), (LPINT)(lParam))
 
#define HANDLE_LB_SETTABSTOPS(hwnd, wParam, lParam, fn)    (LRESULT)(BOOL)(fn)((hwnd), (UINT)(wParam), (LPINT)(lParam))
 
#define HANDLE_LB_GETHORIZONTALEXTENT(hwnd, wParam, lParam, fn)    (LRESULT)(INT_PTR)(INT)(fn)((hwnd))
 
#define HANDLE_LB_SETHORIZONTALEXTENT(hwnd, wParam, lParam, fn)    ((fn)((hwnd), (INT)(wParam)), 0L)
 
#define HANDLE_LB_SETCOLUMNWIDTH(hwnd, wParam, lParam, fn)    ((fn)((hwnd), (INT)(wParam)), 0L)
 
#define HANDLE_LB_ADDFILE(hwnd, wParam, lParam, fn)    (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (LPCTSTR)(lParam))
 
#define HANDLE_LB_SETTOPINDEX(hwnd, wParam, lParam, fn)    (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (INT)(wParam))
 
#define HANDLE_LB_GETITEMRECT(hwnd, wParam, lParam, fn)    (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (INT)(wParam), (RECT FAR *)(lParam))
 
#define HANDLE_LB_GETITEMDATA(hwnd, wParam, lParam, fn)    (LRESULT)(INT_PTR)(fn)((hwnd), (INT)(wParam))
 
#define HANDLE_LB_SETITEMDATA(hwnd, wParam, lParam, fn)    (LRESULT)(INT_PTR)(fn)((hwnd), (INT)(wParam), (lParam))
 
#define HANDLE_LB_SELITEMRANGE(hwnd, wParam, lParam, fn)    (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (BOOL)(wParam), LOWORD(lParam), HIWORD(lParam))
 
#define HANDLE_LB_SETANCHORINDEX(hwnd, wParam, lParam, fn)    (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (INT)(wParam))
 
#define HANDLE_LB_GETANCHORINDEX(hwnd, wParam, lParam, fn)    (LRESULT)(INT_PTR)(INT)(fn)((hwnd))
 
#define HANDLE_LB_SETCARETINDEX(hwnd, wParam, lParam, fn)    (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (INT)(wParam), (BOOL)LOWORD(lParam))
 
#define HANDLE_LB_GETCARETINDEX(hwnd, wParam, lParam, fn)    (LRESULT)(INT_PTR)(INT)(fn)((hwnd))
 
#define HANDLE_LB_SETITEMHEIGHT(hwnd, wParam, lParam, fn)    (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (INT)(wParam), (SHORT)LOWORD(lParam))
 
#define HANDLE_LB_GETITEMHEIGHT(hwnd, wParam, lParam, fn)    (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (INT)(wParam))
 
#define HANDLE_LB_FINDSTRINGEXACT(hwnd, wParam, lParam, fn)    (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (INT)(wParam), (LPCTSTR)(lParam))
 
#define HANDLE_LB_SETLOCALE(hwnd, wParam, lParam, fn)    (LRESULT)(LCID)(fn)((hwnd), (LCID)(wParam))
 
#define HANDLE_LB_GETLOCALE(hwnd, wParam, lParam, fn)    (LRESULT)(LCID)(fn)((hwnd))
 
#define HANDLE_LB_SETCOUNT(hwnd, wParam, lParam, fn)    (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (INT)(wParam))
 
#define HANDLE_LB_INITSTORAGE(hwnd, wParam, lParam, fn)    (LRESULT)(DWORD)(fn)((hwnd), (UINT)(wParam), (DWORD)(lParam))
 
#define HANDLE_LB_ITEMFROMPOINT(hwnd, wParam, lParam, fn)    (LRESULT)(DWORD)(fn)((hwnd), (SHORT)LOWORD(lParam), (SHORT)HIWORD(lParam))
 
#define HANDLE_CB_GETEDITSEL(hwnd, wParam, lParam, fn)    (LRESULT)(DWORD)(fn)((hwnd), (LPDWORD)(wParam), (LPDWORD)(lParam))
 
#define HANDLE_CB_LIMITTEXT(hwnd, wParam, lParam, fn)    ((fn)((hwnd), (UINT)(wParam)), TRUE)
 
#define HANDLE_CB_SETEDITSEL(hwnd, wParam, lParam, fn)    (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (INT)(wParam), (INT)(lParam))
 
#define HANDLE_CB_ADDSTRING(hwnd, wParam, lParam, fn)    (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (LPCTSTR)(lParam))
 
#define HANDLE_CB_DELETESTRING(hwnd, wParam, lParam, fn)    (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (INT)(wParam))
 
#define HANDLE_CB_DIR(hwnd, wParam, lParam, fn)    (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (UINT)(wParam), (LPCTSTR)(lParam))
 
#define HANDLE_CB_GETCOUNT(hwnd, wParam, lParam, fn)    (LRESULT)(INT_PTR)(INT)(fn)((hwnd))
 
#define HANDLE_CB_GETCURSEL(hwnd, wParam, lParam, fn)    (LRESULT)(INT_PTR)(INT)(fn)((hwnd))
 
#define HANDLE_CB_GETLBTEXT(hwnd, wParam, lParam, fn)    (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (INT)(wParam), (LPTSTR)(lParam))
 
#define HANDLE_CB_GETLBTEXTLEN(hwnd, wParam, lParam, fn)    (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (INT)(wParam))
 
#define HANDLE_CB_INSERTSTRING(hwnd, wParam, lParam, fn)    (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (INT)(wParam), (LPCTSTR)(lParam))
 
#define HANDLE_CB_RESETCONTENT(hwnd, wParam, lParam, fn)    (LRESULT)((fn)((hwnd)), CB_OKAY)
 
#define HANDLE_CB_FINDSTRING(hwnd, wParam, lParam, fn)    (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (INT)(wParam), (LPCTSTR)(lParam))
 
#define HANDLE_CB_SELECTSTRING(hwnd, wParam, lParam, fn)    (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (INT)(wParam), (LPCTSTR)(lParam))
 
#define HANDLE_CB_SETCURSEL(hwnd, wParam, lParam, fn)    (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (INT)(wParam))
 
#define HANDLE_CB_SHOWDROPDOWN(hwnd, wParam, lParam, fn)    (LRESULT)((fn)((hwnd), (BOOL)(wParam)), TRUE)
 
#define HANDLE_CB_GETITEMDATA(hwnd, wParam, lParam, fn)    (LRESULT)(INT_PTR)(fn)((hwnd), (INT)(wParam))
 
#define HANDLE_CB_SETITEMDATA(hwnd, wParam, lParam, fn)    (LRESULT)(INT_PTR)(fn)((hwnd), (INT)(wParam), (DWORD_PTR)(lParam))
 
#define HANDLE_CB_GETDROPPEDCONTROLRECT(hwnd, wParam, lParam, fn)    (LRESULT)((fn)((hwnd), (RECT FAR *)(lParam)), CB_OKAY)
 
#define HANDLE_CB_SETITEMHEIGHT(hwnd, wParam, lParam, fn)    (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (INT)(wParam), (INT)(lParam))
 
#define HANDLE_CB_GETITEMHEIGHT(hwnd, wParam, lParam, fn)    (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (INT)(wParam))
 
#define HANDLE_CB_SETEXTENDEDUI(hwnd, wParam, lParam, fn)    (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (BOOL)(wParam))
 
#define HANDLE_CB_GETEXTENDEDUI(hwnd, wParam, lParam, fn)    (LRESULT)(INT_PTR)(BOOL)(fn)((hwnd))
 
#define HANDLE_CB_GETDROPPEDSTATE(hwnd, wParam, lParam, fn)    (LRESULT)(INT_PTR)(BOOL)(fn)((hwnd))
 
#define HANDLE_CB_FINDSTRINGEXACT(hwnd, wParam, lParam, fn)    (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (INT)(wParam), (LPCTSTR)(lParam))
 
#define HANDLE_CB_SETLOCALE(hwnd, wParam, lParam, fn)    (LRESULT)(LCID)(fn)((hwnd), (LCID)(wParam))
 
#define HANDLE_CB_GETLOCALE(hwnd, wParam, lParam, fn)    (LRESULT)(LCID)(fn)((hwnd))
 
#define HANDLE_CB_GETTOPINDEX(hwnd, wParam, lParam, fn)    (LRESULT)(INT_PTR)(INT)(fn)((hwnd))
 
#define HANDLE_CB_SETTOPINDEX(hwnd, wParam, lParam, fn)    (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (INT)(wParam))
 
#define HANDLE_CB_GETHORIZONTALEXTENT(hwnd, wParam, lParam, fn)    (LRESULT)(INT_PTR)(INT)(fn)((hwnd))
 
#define HANDLE_CB_SETHORIZONTALEXTENT(hwnd, wParam, lParam, fn)    ((fn)((hwnd), (INT)(wParam)), 0L)
 
#define HANDLE_CB_GETDROPPEDWIDTH(hwnd, wParam, lParam, fn)    (LRESULT)(INT_PTR)(INT)(fn)((hwnd))
 
#define HANDLE_CB_SETDROPPEDWIDTH(hwnd, wParam, lParam, fn)    (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (INT)(wParam))
 
#define HANDLE_CB_INITSTORAGE(hwnd, wParam, lParam, fn)    (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (INT)(wParam), (DWORD)(lParam))
 
#define HANDLE_SBM_SETPOS(hwnd, wParam, lParam, fn)    (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (INT)(wParam), (BOOL)(lParam))
 
#define HANDLE_SBM_GETPOS(hwnd, wParam, lParam, fn)    (LRESULT)(INT_PTR)(INT)(fn)((hwnd))
 
#define HANDLE_SBM_SETRANGE(hwnd, wParam, lParam, fn)    (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (INT)(wParam), (INT)(lParam))
 
#define HANDLE_SBM_SETRANGEREDRAW(hwnd, wParam, lParam, fn)    (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (INT)(wParam), (INT)(lParam))
 
#define HANDLE_SBM_GETRANGE(hwnd, wParam, lParam, fn)    ((fn)((hwnd), (LPINT)(wParam), (LPINT)(lParam)), 0L)
 
#define HANDLE_SBM_ENABLE_ARROWS(hwnd, wParam, lParam, fn)    (LRESULT)(INT_PTR)(BOOL)(fn)((hwnd), (UINT)(wParam))
 
#define HANDLE_SBM_SETSCROLLINFO(hwnd, wParam, lParam, fn)    (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (BOOL)(wParam), (LPSCROLLINFO)(lParam))
 
#define HANDLE_SBM_GETSCROLLINFO(hwnd, wParam, lParam, fn)    (LRESULT)(INT_PTR)(BOOL)(fn)((hwnd), (LPSCROLLINFO)(lParam))
 
#define HANDLE_SBM_GETSCROLLBARINFO(hwnd, wParam, lParam, fn)    (LRESULT)(INT_PTR)(BOOL)(fn)((hwnd), (LPSCROLLBARINFO)(lParam))
 
#define HANDLE_LVM_GETBKCOLOR(hwnd, wParam, lParam, fn)    (COLORREF)(fn)((hwnd))
 
#define HANDLE_LVM_SETBKCOLOR(hwnd, wParam, lParam, fn)    (BOOL)(fn)((hwnd), (COLORREF)(wParam))
 
#define HANDLE_LVM_GETIMAGELIST(hwnd, wParam, lParam, fn)    (LRESULT)(HIMAGELIST)(fn)((hwnd), (INT)(wParam))
 
#define HANDLE_LVM_SETIMAGELIST(hwnd, wParam, lParam, fn)    (LRESULT)(HIMAGELIST)(fn)((hwnd), (INT)(wParam), (HIMAGELIST)(lParam))
 
#define HANDLE_LVM_GETITEMCOUNT(hwnd, wParam, lParam, fn)    (INT)(fn)((hwnd))
 
#define HANDLE_LVM_GETITEMA(hwnd, wParam, lParam, fn)    (BOOL)(fn)((hwnd), (LV_ITEMA *)(lParam))
 
#define HANDLE_LVM_SETITEMA(hwnd, wParam, lParam, fn)    (BOOL)(fn)((hwnd), (const LV_ITEMA *)(lParam))
 
#define HANDLE_LVM_INSERTITEMA(hwnd, wParam, lParam, fn)    (INT)(fn)((hwnd), (const LV_ITEMA *)(lParam))
 
#define HANDLE_LVM_DELETEITEM(hwnd, wParam, lParam, fn)    (BOOL)(fn)((hwnd), (INT)(wParam))
 
#define HANDLE_LVM_DELETEALLITEMS(hwnd, wParam, lParam, fn)    (BOOL)(fn)((hwnd))
 
#define HANDLE_LVM_GETCALLBACKMASK(hwnd, wParam, lParam, fn)    (BOOL)(fn)((hwnd))
 
#define HANDLE_LVM_SETCALLBACKMASK(hwnd, wParam, lParam, fn)    (BOOL)(fn)((hwnd), (UINT)(wParam))
 
#define HANDLE_LVM_GETNEXTITEM(hwnd, wParam, lParam, fn)    (INT)(fn)((hwnd), (INT)(wParam), (UINT)(lParam))
 
#define HANDLE_LVM_FINDITEMA(hwnd, wParam, lParam, fn)    (INT)(fn)((hwnd), (INT)(wParam), (const LV_FINDINFOA *)(lParam))
 
#define HANDLE_LVM_GETITEMRECT(hwnd, wParam, lParam, fn)    (BOOL)(fn)((hwnd), (INT)(wParam), (RECT *)(lParam))
 
#define HANDLE_LVM_SETITEMPOSITION(hwnd, wParam, lParam, fn)    (BOOL)(fn)((hwnd), (INT)(wParam), (SHORT)LOWORD(lParam), (SHORT)HIWORD(lParam))
 
#define HANDLE_LVM_GETITEMPOSITION(hwnd, wParam, lParam, fn)    (BOOL)(fn)((hwnd), (INT)(wParam), (POINT *)(lParam))
 
#define HANDLE_LVM_GETSTRINGWIDTHA(hwnd, wParam, lParam, fn)    (INT)(fn)((hwnd), (LPCSTR)(lParam))
 
#define HANDLE_LVM_HITTEST(hwnd, wParam, lParam, fn)    (INT)(fn)((hwnd), (LV_HITTESTINFO *)(lParam))
 
#define HANDLE_LVM_ENSUREVISIBLE(hwnd, wParam, lParam, fn)    (BOOL)(fn)((hwnd), (INT)(wParam), (BOOL)(lParam))
 
#define HANDLE_LVM_SCROLL(hwnd, wParam, lParam, fn)    (BOOL)(fn)((hwnd), (INT)(wParam), (INT)(lParam))
 
#define HANDLE_LVM_REDRAWITEMS(hwnd, wParam, lParam, fn)    (BOOL)(fn)((hwnd), (INT)(wParam), (INT)(lParam))
 
#define HANDLE_LVM_ARRANGE(hwnd, wParam, lParam, fn)    (BOOL)(fn)((hwnd), (UINT)(wParam))
 
#define HANDLE_LVM_EDITLABELA(hwnd, wParam, lParam, fn)    (LRESULT)(HWND)(fn)((hwnd), (INT)(wParam))
 
#define HANDLE_LVM_GETEDITCONTROL(hwnd, wParam, lParam, fn)    (LRESULT)(HWND)(fn)((hwnd))
 
#define HANDLE_LVM_GETCOLUMNA(hwnd, wParam, lParam, fn)    (BOOL)(fn)((hwnd), (INT)(wParam), (LV_COLUMNA *)(lParam))
 
#define HANDLE_LVM_SETCOLUMNA(hwnd, wParam, lParam, fn)    (BOOL)(fn)((hwnd), (INT)(wParam), (const LV_COLUMNA *)(lParam))
 
#define HANDLE_LVM_INSERTCOLUMNA(hwnd, wParam, lParam, fn)    (INT)(fn)((hwnd), (INT)(wParam), (const LV_COLUMNA *)(lParam))
 
#define HANDLE_LVM_DELETECOLUMN(hwnd, wParam, lParam, fn)    (BOOL)(fn)((hwnd), (INT)(wParam))
 
#define HANDLE_LVM_GETCOLUMNWIDTH(hwnd, wParam, lParam, fn)    (INT)(fn)((hwnd), (INT)(wParam))
 
#define HANDLE_LVM_SETCOLUMNWIDTH(hwnd, wParam, lParam, fn)    (BOOL)(fn)((hwnd), (INT)(wParam), (INT)(lParam))
 
#define HANDLE_LVM_GETHEADER(hwnd, wParam, lParam, fn)    (LRESULT)(HWND)(fn)((hwnd))
 
#define HANDLE_LVM_CREATEDRAGIMAGE(hwnd, wParam, lParam, fn)    (LRESULT)(HIMAGELIST)(fn)((hwnd), (INT)(wParam), (LPPOINT)(lParam))
 
#define HANDLE_LVM_GETVIEWRECT(hwnd, wParam, lParam, fn)    (BOOL)(fn)((hwnd), (RECT *)(lParam))
 
#define HANDLE_LVM_GETTEXTCOLOR(hwnd, wParam, lParam, fn)    (COLORREF)(fn)((hwnd))
 
#define HANDLE_LVM_SETTEXTCOLOR(hwnd, wParam, lParam, fn)    (BOOL)(fn)((hwnd), (COLORREF)(lParam))
 
#define HANDLE_LVM_GETTEXTBKCOLOR(hwnd, wParam, lParam, fn)    (COLORREF)(fn)((hwnd))
 
#define HANDLE_LVM_SETTEXTBKCOLOR(hwnd, wParam, lParam, fn)    (BOOL)(fn)((hwnd), (COLORREF)(lParam))
 
#define HANDLE_LVM_GETTOPINDEX(hwnd, wParam, lParam, fn)    (INT)(fn)((hwnd))
 
#define HANDLE_LVM_GETCOUNTPERPAGE(hwnd, wParam, lParam, fn)    (INT)(fn)((hwnd))
 
#define HANDLE_LVM_GETORIGIN(hwnd, wParam, lParam, fn)    (BOOL)(fn)((hwnd), (POINT *)(lParam))
 
#define HANDLE_LVM_UPDATE(hwnd, wParam, lParam, fn)    (BOOL)(fn)((hwnd), (INT)(wParam))
 
#define HANDLE_LVM_SETITEMSTATE(hwnd, wParam, lParam, fn)    (BOOL)(fn)((hwnd), (INT)(wParam), (LV_ITEM *)(lParam))
 
#define HANDLE_LVM_GETITEMSTATE(hwnd, wParam, lParam, fn)    (UINT)(fn)((hwnd), (INT)(wParam), (UINT)(lParam))
 
#define HANDLE_LVM_GETITEMTEXTA(hwnd, wParam, lParam, fn)    (INT)(fn)((hwnd), (INT)(wParam), (LV_ITEMA *)(lParam))
 
#define HANDLE_LVM_SETITEMTEXTA(hwnd, wParam, lParam, fn)    (BOOL)(fn)((hwnd), (INT)(wParam), (const LV_ITEMA *)(lParam))
 
#define HANDLE_LVM_SETITEMCOUNT(hwnd, wParam, lParam, fn)    ((fn)((hwnd), (INT)(wParam)), 0L)
 
#define HANDLE_LVM_SORTITEMS(hwnd, wParam, lParam, fn)    (BOOL)(fn)((hwnd), (LPARAM)(wParam), (PFNLVCOMPARE)(lParam))
 
#define HANDLE_LVM_SETITEMPOSITION32(hwnd, wParam, lParam, fn)    ((fn)((hwnd), (INT)(wParam), (const POINT *)(lParam)), 0L)
 
#define HANDLE_LVM_GETSELECTEDCOUNT(hwnd, wParam, lParam, fn)    (UINT)(fn)((hwnd))
 
#define HANDLE_LVM_GETITEMSPACING(hwnd, wParam, lParam, fn)    (DWORD)(fn)((hwnd), (BOOL)(wParam))
 
#define HANDLE_LVM_GETISEARCHSTRINGA(hwnd, wParam, lParam, fn)    (BOOL)(fn)((hwnd), (LPSTR)(lParam))
 
#define HANDLE_LVM_SETICONSPACING(hwnd, wParam, lParam, fn)    (DWORD)(fn)((hwnd), (SHORT)LOWORD(lParam), (SHORT)HIWORD(lParam))
 
#define HANDLE_LVM_SETEXTENDEDLISTVIEWSTYLE(hwnd, wParam, lParam, fn)    (DWORD)(fn)((hwnd), (DWORD)(wParam), (DWORD)(lParam))
 
#define HANDLE_LVM_GETEXTENDEDLISTVIEWSTYLE(hwnd, wParam, lParam, fn)    (DWORD)(fn)((hwnd))
 
#define HANDLE_LVM_GETSUBITEMRECT(hwnd, wParam, lParam, fn)    (BOOL)(fn)((hwnd), (INT)(wParam), (RECT *)(lParam))
 
#define HANDLE_LVM_SUBITEMHITTEST(hwnd, wParam, lParam, fn)    (INT)(fn)((hwnd), (wParam), (LPLVHITTESTINFO)(lParam))
 
#define HANDLE_LVM_SETCOLUMNORDERARRAY(hwnd, wParam, lParam, fn)    (BOOL)(fn)((hwnd), (INT)(wParam), (LPINT)(lParam))
 
#define HANDLE_LVM_GETCOLUMNORDERARRAY(hwnd, wParam, lParam, fn)    (BOOL)(fn)((hwnd), (INT)(wParam), (LPINT)(lParam))
 
#define HANDLE_LVM_SETHOTITEM(hwnd, wParam, lParam, fn)    (INT)(fn)((hwnd), (INT)(wParam))
 
#define HANDLE_LVM_GETHOTITEM(hwnd, wParam, lParam, fn)    (INT)(fn)((hwnd))
 
#define HANDLE_LVM_SETHOTCURSOR(hwnd, wParam, lParam, fn)    (LRESULT)(HCURSOR)(fn)((hwnd), (HCURSOR)(lParam))
 
#define HANDLE_LVM_GETHOTCURSOR(hwnd, wParam, lParam, fn)    (LRESULT)(HCURSOR)(fn)((hwnd))
 
#define HANDLE_LVM_APPROXIMATEVIEWRECT(hwnd, wParam, lParam, fn)    (DWORD)(fn)((hwnd), (INT)(wParam), (SHORT)LOWORD(lParam), (SHORT)HIWORD(lParam))
 
#define HANDLE_LVM_SETWORKAREAS(hwnd, wParam, lParam, fn)    (BOOL)(fn)((hwnd), (INT)(wParam), (const RECT *)(lParam))
 
#define HANDLE_LVM_GETSELECTIONMARK(hwnd, wParam, lParam, fn)    (INT)(fn)((hwnd))
 
#define HANDLE_LVM_SETSELECTIONMARK(hwnd, wParam, lParam, fn)    (INT)(fn)((hwnd), (INT)(lParam))
 
#define HANDLE_LVM_SETBKIMAGEA(hwnd, wParam, lParam, fn)    (BOOL)(fn)((hwnd), (const LVBKIMAGEA *)(lParam))
 
#define HANDLE_LVM_GETBKIMAGEA(hwnd, wParam, lParam, fn)    (BOOL)(fn)((hwnd), (LVBKIMAGEA *)(lParam))
 
#define HANDLE_LVM_GETWORKAREAS(hwnd, wParam, lParam, fn)    (BOOL)(fn)((hwnd), (INT)(wParam), (RECT *)(lParam))
 
#define HANDLE_LVM_SETHOVERTIME(hwnd, wParam, lParam, fn)    (DWORD)(fn)((hwnd), (DWORD)(lParam))
 
#define HANDLE_LVM_GETHOVERTIME(hwnd, wParam, lParam, fn)    (DWORD)(fn)((hwnd))
 
#define HANDLE_LVM_GETNUMBEROFWORKAREAS(hwnd, wParam, lParam, fn)    (BOOL)(fn)((hwnd), (UINT *)(lParam))
 
#define HANDLE_LVM_SETTOOLTIPS(hwnd, wParam, lParam, fn)    (LRESULT)(HWND)(fn)((hwnd), (HWND)(wParam))
 
#define HANDLE_LVM_GETITEMW(hwnd, wParam, lParam, fn)    (BOOL)(fn)((hwnd), (LV_ITEMW *)(lParam))
 
#define HANDLE_LVM_SETITEMW(hwnd, wParam, lParam, fn)    (BOOL)(fn)((hwnd), (const LV_ITEMW *)(lParam))
 
#define HANDLE_LVM_INSERTITEMW(hwnd, wParam, lParam, fn)    (INT)(fn)((hwnd), (const LV_ITEMW *)(lParam))
 
#define HANDLE_LVM_GETTOOLTIPS(hwnd, wParam, lParam, fn)    (LRESULT)(HWND)(fn)((hwnd))
 
#define HANDLE_LVM_SORTITEMSEX(hwnd, wParam, lParam, fn)    (BOOL)(fn)((hwnd), (PFNLVCOMPARE)(lParam), (LPARAM)(wParam))
 
#define HANDLE_LVM_FINDITEMW(hwnd, wParam, lParam, fn)    (INT)(fn)((hwnd), (INT)(wParam), (const LV_FINDINFOW *)(lParam))
 
#define HANDLE_LVM_GETSTRINGWIDTHW(hwnd, wParam, lParam, fn)    (INT)(fn)((hwnd), (LPCWSTR)(lParam))
 
#define HANDLE_LVM_GETCOLUMNW(hwnd, wParam, lParam, fn)    (INT)(fn)((hwnd), (INT)(wParam))
 
#define HANDLE_LVM_SETCOLUMNW(hwnd, wParam, lParam, fn)    (BOOL)(fn)((hwnd), (INT)(wParam), (INT)(lParam))
 
#define HANDLE_LVM_INSERTCOLUMNW(hwnd, wParam, lParam, fn)    (INT)(fn)((hwnd), (INT)(wParam), (const LV_COLUMNW *)(lParam))
 
#define HANDLE_LVM_GETITEMTEXTW(hwnd, wParam, lParam, fn)    (INT)(fn)((hwnd), (INT)(wParam), (LV_ITEMW *)(lParam))
 
#define HANDLE_LVM_SETITEMTEXTW(hwnd, wParam, lParam, fn)    (INT)(fn)((hwnd), (INT)(wParam), (const LV_ITEMW *)(lParam))
 
#define HANDLE_LVM_GETISEARCHSTRINGW(hwnd, wParam, lParam, fn)    (BOOL)(fn)((hwnd), (LPWSTR)(lParam))
 
#define HANDLE_LVM_EDITLABELW(hwnd, wParam, lParam, fn)    (LRESULT)(HWND)(fn)((hwnd), (INT)(wParam))
 
#define HANDLE_LVM_SETBKIMAGEW(hwnd, wParam, lParam, fn)    (BOOL)(fn)((hwnd), (const LVBKIMAGEW *)(lParam))
 
#define HANDLE_LVM_GETBKIMAGEW(hwnd, wParam, lParam, fn)    (BOOL)(fn)((hwnd), (LVBKIMAGEW *)(lParam))
 
#define HANDLE_LVM_SETSELECTEDCOLUMN(hwnd, wParam, lParam, fn)    ((fn)((hwnd), (INT)(wParam)), 0L)
 
#define HANDLE_LVM_SETTILEWIDTH(hwnd, wParam, lParam, fn)    (LRESULT)(fn)((hwnd), (wParam), (lParam))
 
#define HANDLE_LVM_SETVIEW(hwnd, wParam, lParam, fn)    (DWORD)(fn)((hwnd), (DWORD)(wParam))
 
#define HANDLE_LVM_GETVIEW(hwnd, wParam, lParam, fn)    (DWORD)(fn)((hwnd))
 
#define HANDLE_LVM_SETTILEVIEWINFO(hwnd, wParam, lParam, fn)    (BOOL)(fn)((hwnd), (const LVTILEVIEWINFO *)(lParam))
 
#define HANDLE_LVM_GETTILEVIEWINFO(hwnd, wParam, lParam, fn)    ((fn)((hwnd), (LVTILEVIEWINFO *)(lParam)), 0L)
 
#define HANDLE_LVM_SETTILEINFO(hwnd, wParam, lParam, fn)    (BOOL)(fn)((hwnd), (const LVTILEINFO *)(lParam))
 
#define HANDLE_LVM_GETTILEINFO(hwnd, wParam, lParam, fn)    ((fn)((hwnd), (LVTILEINFO *)(lParam)), 0L)
 
#define HANDLE_LVM_SETINSERTMARK(hwnd, wParam, lParam, fn)    (BOOL)(fn)((hwnd), (const LVINSERTMARK *)(lParam))
 
#define HANDLE_LVM_GETINSERTMARK(hwnd, wParam, lParam, fn)    (BOOL)(fn)((hwnd), (LVINSERTMARK *)(lParam))
 
#define HANDLE_LVM_INSERTMARKHITTEST(hwnd, wParam, lParam, fn)    (INT)(fn)((hwnd), (LPPOINT)(wParam), (LPLVINSERTMARK)(lParam))
 
#define HANDLE_LVM_GETINSERTMARKRECT(hwnd, wParam, lParam, fn)    (INT)(fn)((hwnd), (LPRECT)(lParam))
 
#define HANDLE_LVM_SETINSERTMARKCOLOR(hwnd, wParam, lParam, fn)    (COLORREF)(fn)((hwnd), (COLORREF)(lParam))
 
#define HANDLE_LVM_GETINSERTMARKCOLOR(hwnd, wParam, lParam, fn)    (COLORREF)(fn)((hwnd))
 
#define HANDLE_LVM_SETINFOTIP(hwnd, wParam, lParam, fn)    (BOOL)(fn)((hwnd), (const LVSETINFOTIP *)(lParam))
 
#define HANDLE_LVM_GETSELECTEDCOLUMN(hwnd, wParam, lParam, fn)    (UINT)(fn)((hwnd))
 
#define HANDLE_LVM_ISGROUPVIEWENABLED(hwnd, wParam, lParam, fn)    (BOOL)(fn)((hwnd))
 
#define HANDLE_LVM_GETOUTLINECOLOR(hwnd, wParam, lParam, fn)    (COLORREF)(fn)((hwnd))
 
#define HANDLE_LVM_SETOUTLINECOLOR(hwnd, wParam, lParam, fn)    (COLORREF)(fn)((hwnd), (COLORREF)(lParam))
 
#define HANDLE_LVM_CANCELEDITLABEL(hwnd, wParam, lParam, fn)    ((fn)((hwnd)), 0L)
 
#define HANDLE_LVM_MAPINDEXTOID(hwnd, wParam, lParam, fn)    (UINT)(fn)((hwnd), (UINT)(wParam))
 
#define HANDLE_LVM_MAPIDTOINDEX(hwnd, wParam, lParam, fn)    (UINT)(fn)((hwnd), (UINT)(wParam))
 
#define HANDLE_LVM_ISITEMVISIBLE(hwnd, wParam, lParam, fn)    (BOOL)(fn)((hwnd), (UINT)(wParam))
 
#define HANDLE_TVM_INSERTITEMA(hwnd, wParam, lParam, fn)    (LRESULT)(HTREEITEM)(fn)((hwnd), (LPTV_INSERTSTRUCTA)(lParam))
 
#define HANDLE_TVM_DELETEITEM(hwnd, wParam, lParam, fn)    (BOOL)(fn)((hwnd), (HTREEITEM)(lParam))
 
#define HANDLE_TVM_EXPAND(hwnd, wParam, lParam, fn)    (BOOL)(fn)((hwnd), (HTREEITEM)(lParam), (UINT)(wParam))
 
#define HANDLE_TVM_GETITEMRECT(hwnd, wParam, lParam, fn)    (BOOL)(fn)((hwnd), (UINT)(wParam), (RECT *)(lParam))
 
#define HANDLE_TVM_GETCOUNT(hwnd, wParam, lParam, fn)    (UINT)(fn)((hwnd))
 
#define HANDLE_TVM_GETINDENT(hwnd, wParam, lParam, fn)    (UINT)(fn)((hwnd))
 
#define HANDLE_TVM_SETINDENT(hwnd, wParam, lParam, fn)    (BOOL)(fn)((hwnd), (INT)(wParam))
 
#define HANDLE_TVM_GETIMAGELIST(hwnd, wParam, lParam, fn)    (LRESULT)(HIMAGELIST)(fn)((hwnd), (INT)(wParam))
 
#define HANDLE_TVM_SETIMAGELIST(hwnd, wParam, lParam, fn)    (LRESULT)(HIMAGELIST)(fn)((hwnd), (INT)(wParam), (HIMAGELIST)(lParam))
 
#define HANDLE_TVM_GETNEXTITEM(hwnd, wParam, lParam, fn)    (LRESULT)(HTREEITEM)(fn)((hwnd), (HTREEITEM)(lParam), (UINT)(wParam))
 
#define HANDLE_TVM_SELECTITEM(hwnd, wParam, lParam, fn)    (BOOL)(fn)((hwnd), (UINT)(wParam), (HTREEITEM)(lParam))
 
#define HANDLE_TVM_GETITEMA(hwnd, wParam, lParam, fn)    (BOOL)(fn)((hwnd), (TV_ITEMA *)(lParam))
 
#define HANDLE_TVM_SETITEMA(hwnd, wParam, lParam, fn)    (BOOL)(fn)((hwnd), (const TV_ITEMA *)(lParam))
 
#define HANDLE_TVM_EDITLABELA(hwnd, wParam, lParam, fn)    (LRESULT)(HWND)(fn)((hwnd), (HTREEITEM)(lParam))
 
#define HANDLE_TVM_GETEDITCONTROL(hwnd, wParam, lParam, fn)    (LRESULT)(HWND)(fn)((hwnd))
 
#define HANDLE_TVM_GETVISIBLECOUNT(hwnd, wParam, lParam, fn)    (UINT)(fn)((hwnd))
 
#define HANDLE_TVM_HITTEST(hwnd, wParam, lParam, fn)    (LRESULT)(HTREEITEM)(fn)((hwnd), (LPTV_HITTESTINFO)(lParam))
 
#define HANDLE_TVM_CREATEDRAGIMAGE(hwnd, wParam, lParam, fn)    (LRESULT)(HIMAGELIST)(fn)((hwnd), (HTREEITEM)(lParam))
 
#define HANDLE_TVM_SORTCHILDREN(hwnd, wParam, lParam, fn)    (BOOL)(fn)((hwnd), (HTREEITEM)(lParam), (BOOL)(wParam))
 
#define HANDLE_TVM_ENSUREVISIBLE(hwnd, wParam, lParam, fn)    (BOOL)(fn)((hwnd), (HTREEITEM)(lParam))
 
#define HANDLE_TVM_SORTCHILDRENCB(hwnd, wParam, lParam, fn)    (BOOL)(fn)((hwnd), (LPTV_SORTCB)(lParam), (BOOL)(wParam))
 
#define HANDLE_TVM_ENDEDITLABELNOW(hwnd, wParam, lParam, fn)    (BOOL)(fn)((hwnd), (BOOL)(wParam))
 
#define HANDLE_TVM_GETISEARCHSTRINGA(hwnd, wParam, lParam, fn)    (BOOL)(fn)((hwnd), (LPSTR)(lParam))
 
#define HANDLE_TVM_SETTOOLTIPS(hwnd, wParam, lParam, fn)    (LRESULT)(HWND)(fn)((hwnd), (HWND)(wParam))
 
#define HANDLE_TVM_GETTOOLTIPS(hwnd, wParam, lParam, fn)    (LRESULT)(HWND)(fn)((hwnd))
 
#define HANDLE_TVM_SETINSERTMARK(hwnd, wParam, lParam, fn)    (BOOL)(fn)((hwnd), (HTREEITEM)(lParam), (BOOL)(wParam))
 
#define HANDLE_TVM_SETITEMHEIGHT(hwnd, wParam, lParam, fn)    (INT)(fn)((hwnd), (INT)(wParam))
 
#define HANDLE_TVM_GETITEMHEIGHT(hwnd, wParam, lParam, fn)    (INT)(fn)((hwnd))
 
#define HANDLE_TVM_SETBKCOLOR(hwnd, wParam, lParam, fn)    (COLORREF)(fn)((hwnd), (COLORREF)(lParam))
 
#define HANDLE_TVM_SETTEXTCOLOR(hwnd, wParam, lParam, fn)    (COLORREF)(fn)((hwnd), (COLORREF)(lParam))
 
#define HANDLE_TVM_GETBKCOLOR(hwnd, wParam, lParam, fn)    (COLORREF)(fn)((hwnd))
 
#define HANDLE_TVM_GETTEXTCOLOR(hwnd, wParam, lParam, fn)    (COLORREF)(fn)((hwnd))
 
#define HANDLE_TVM_SETSCROLLTIME(hwnd, wParam, lParam, fn)    (UINT)(fn)((hwnd), (UINT)(wParam))
 
#define HANDLE_TVM_GETSCROLLTIME(hwnd, wParam, lParam, fn)    (UINT)(fn)((hwnd))
 
#define HANDLE_TVM_SETINSERTMARKCOLOR(hwnd, wParam, lParam, fn)    (COLORREF)(fn)((hwnd), (COLORREF)(lParam))
 
#define HANDLE_TVM_GETINSERTMARKCOLOR(hwnd, wParam, lParam, fn)    (COLORREF)(fn)((hwnd))
 
#define HANDLE_TVM_GETITEMSTATE(hwnd, wParam, lParam, fn)    (UINT)(fn)((hwnd), (HTREEITEM)(wParam), (UINT)(lParam))
 
#define HANDLE_TVM_SETLINECOLOR(hwnd, wParam, lParam, fn)    (COLORREF)(fn)((hwnd), (COLORREF)(lParam))
 
#define HANDLE_TVM_GETLINECOLOR(hwnd, wParam, lParam, fn)    (COLORREF)(fn)((hwnd))
 
#define HANDLE_TVM_MAPACCIDTOHTREEITEM(hwnd, wParam, lParam, fn)    (LRESULT)(HTREEITEM)(fn)((hwnd), (UINT)(wParam))
 
#define HANDLE_TVM_MAPHTREEITEMTOACCID(hwnd, wParam, lParam, fn)    (UINT)(fn)((hwnd), (HTREEITEM)(wParam))
 
#define HANDLE_TVM_INSERTITEMW(hwnd, wParam, lParam, fn)    (LRESULT)(HTREEITEM)(fn)((hwnd), (LPTV_INSERTSTRUCTW)(lParam))
 
#define HANDLE_TVM_GETITEMW(hwnd, wParam, lParam, fn)    (BOOL)(fn)((hwnd), (TV_ITEMW *)(lParam))
 
#define HANDLE_TVM_SETITEMW(hwnd, wParam, lParam, fn)    (BOOL)(fn)((hwnd), (const TV_ITEMW *)(lParam))
 
#define HANDLE_TVM_GETISEARCHSTRINGW(hwnd, wParam, lParam, fn)    (BOOL)(fn)((hwnd), (LPWSTR)(lParam))
 
#define HANDLE_TVM_EDITLABELW(hwnd, wParam, lParam, fn)    (LRESULT)(HWND)(fn)((hwnd), (HTREEITEM)(lParam))
 
#define HANDLE_EM_CANPASTE(hwnd, wParam, lParam, fn)    (LRESULT)(fn)((hwnd), (UINT)(wParam))
 
#define HANDLE_EM_DISPLAYBAND(hwnd, wParam, lParam, fn)    (BOOL)(fn)((hwnd), (LPRECT)(lParam))
 
#define HANDLE_EM_EXGETSEL(hwnd, wParam, lParam, fn)    ((fn)((hwnd), (CHARRANGE *)(lParam)), 0L)
 
#define HANDLE_EM_EXLIMITTEXT(hwnd, wParam, lParam, fn)    ((fn)((hwnd), (DWORD)(lParam)), 0L)
 
#define HANDLE_EM_EXLINEFROMCHAR(hwnd, wParam, lParam, fn)    (INT)(fn)((hwnd), (DWORD)(wParam))
 
#define HANDLE_EM_EXSETSEL(hwnd, wParam, lParam, fn)    (INT)(fn)((hwnd), (INT)(INT_PTR)(lParam))
 
#define HANDLE_EM_FINDTEXT(hwnd, wParam, lParam, fn)    (INT)(fn)((hwnd), (UINT)(wParam), (FINDTEXT *)(lParam))
 
#define HANDLE_EM_FORMATRANGE(hwnd, wParam, lParam, fn)    (INT)(fn)((hwnd), (BOOL)(wParam), (FORMATRANGE *)(lParam))
 
#define HANDLE_EM_GETCHARFORMAT(hwnd, wParam, lParam, fn)    (DWORD)(fn)((hwnd), (BOOL)(wParam), (CHARFORMAT *)(lParam))
 
#define HANDLE_EM_GETEVENTMASK(hwnd, wParam, lParam, fn)    (DWORD)(fn)((hwnd))
 
#define HANDLE_EM_GETOLEINTERFACE(hwnd, wParam, lParam, fn)    (BOOL)(fn)((hwnd), (LPVOID *)(lParam))
 
#define HANDLE_EM_GETPARAFORMAT(hwnd, wParam, lParam, fn)    (DWORD)(fn)((hwnd), (PARAFORMAT *)(lParam))
 
#define HANDLE_EM_GETSELTEXT(hwnd, wParam, lParam, fn)    (INT)(fn)((hwnd), (LPTSTR)(lParam))
 
#define HANDLE_EM_HIDESELECTION(hwnd, wParam, lParam, fn)    ((fn)((hwnd), (BOOL)(wParam), (BOOL)(lParam)), 0L)
 
#define HANDLE_EM_PASTESPECIAL(hwnd, wParam, lParam, fn)    ((fn)((hwnd), (UINT)(wParam), (REPASTESPECIAL *)(lParam)), 0L)
 
#define HANDLE_EM_REQUESTRESIZE(hwnd, wParam, lParam, fn)    ((fn)((hwnd)), 0L)
 
#define HANDLE_EM_SELECTIONTYPE(hwnd, wParam, lParam, fn)    (DWORD)(fn)((hwnd))
 
#define HANDLE_EM_SETBKGNDCOLOR(hwnd, wParam, lParam, fn)    (DWORD)(fn)((hwnd), (BOOL)(wParam), (COLORREF)(lParam))
 
#define HANDLE_EM_SETCHARFORMAT(hwnd, wParam, lParam, fn)    (BOOL)(fn)((hwnd), (UINT)(wParam), (CHARFORMAT *)(lParam))
 
#define HANDLE_EM_SETEVENTMASK(hwnd, wParam, lParam, fn)    (DWORD)(fn)((hwnd), (DWORD)(lParam))
 
#define HANDLE_EM_SETOLECALLBACK(hwnd, wParam, lParam, fn)    (BOOL)(fn)((hwnd), (void *)(lParam))
 
#define HANDLE_EM_SETPARAFORMAT(hwnd, wParam, lParam, fn)    (BOOL)(fn)((hwnd), (PARAFORMAT *)(lParam))
 
#define HANDLE_EM_SETTARGETDEVICE(hwnd, wParam, lParam, fn)    (BOOL)(fn)((hwnd), (HDC)(wParam), (INT)(lParam))
 
#define HANDLE_EM_STREAMIN(hwnd, wParam, lParam, fn)    (DWORD)(fn)((hwnd), (UINT)(wParam), (EDITSTREAM *)(lParam))
 
#define HANDLE_EM_STREAMOUT(hwnd, wParam, lParam, fn)    (DWORD)(fn)((hwnd), (UINT)(wParam), (EDITSTREAM *)(lParam))
 
#define HANDLE_EM_GETTEXTRANGE(hwnd, wParam, lParam, fn)    (DWORD)(fn)((hwnd), (TEXTRANGE *)(lParam))
 
#define HANDLE_EM_FINDWORDBREAK(hwnd, wParam, lParam, fn)    (DWORD)(fn)((hwnd), (UINT)(wParam), (DWORD)(lParam))
 
#define HANDLE_EM_SETOPTIONS(hwnd, wParam, lParam, fn)    (UINT)(fn)((hwnd), (UINT)(wParam), (UINT)(lParam))
 
#define HANDLE_EM_GETOPTIONS(hwnd, wParam, lParam, fn)    (UINT)(fn)((hwnd))
 
#define HANDLE_EM_FINDTEXTEX(hwnd, wParam, lParam, fn)    (INT)(fn)((hwnd), (UINT)(wParam), (FINDTEXTEX *)(lParam))
 
#define HANDLE_EM_GETWORDBREAKPROCEX(hwnd, wParam, lParam, fn)    (LRESULT)(void *)(fn)((hwnd))
 
#define HANDLE_EM_SETWORDBREAKPROCEX(hwnd, wParam, lParam, fn)    (LRESULT)(void *)(fn)((hwnd), (void *)(lParam))
 
#define HANDLE_EM_SETUNDOLIMIT(hwnd, wParam, lParam, fn)    (DWORD)(fn)((hwnd), (DWORD)(wParam))
 
#define HANDLE_EM_REDO(hwnd, wParam, lParam, fn)    (BOOL)(fn)((hwnd))
 
#define HANDLE_EM_CANREDO(hwnd, wParam, lParam, fn)    (BOOL)(fn)((hwnd))
 
#define HANDLE_EM_GETUNDONAME(hwnd, wParam, lParam, fn)    (INT)(fn)((hwnd))
 
#define HANDLE_EM_GETREDONAME(hwnd, wParam, lParam, fn)    (INT)(fn)((hwnd))
 
#define HANDLE_EM_STOPGROUPTYPING(hwnd, wParam, lParam, fn)    ((fn)((hwnd)), 0L)
 
#define HANDLE_EM_SETTEXTMODE(hwnd, wParam, lParam, fn)    (BOOL)(fn)((hwnd), (DWORD)(wParam))
 
#define HANDLE_EM_GETTEXTMODE(hwnd, wParam, lParam, fn)    (DWORD)(fn)((hwnd))
 

Macro Definition Documentation

◆ _INC_WINXX

#define _INC_WINXX   8 /* Version 8 */

Definition at line 9 of file winxx.h.

◆ FORWARD_WM_APPCOMMAND

#define FORWARD_WM_APPCOMMAND (   hwnd,
  hwndTarget,
  cmd,
  nDevice,
  nKey,
  fn 
)
Value:
(BOOL)(fn)((hwnd), WM_APPCOMMAND, (WPARAM)(hwndTarget), \
MAKELPARAM((nKey), ((WORD)(cmd)) | (UINT)(nDevice)))
unsigned short WORD
Definition: ntddk_ex.h:93
unsigned int UINT
Definition: ndis.h:50
#define BOOL
Definition: nt_native.h:43
Definition: ftp_var.h:139
static GLenum _GLUfuncptr fn
Definition: wgl_font.c:159
_In_ LONG _In_ HWND hwnd
Definition: winddi.h:4023
UINT_PTR WPARAM
Definition: windef.h:207
#define MAKELPARAM(l, h)
Definition: winuser.h:4011
#define WM_APPCOMMAND
Definition: winuser.h:1885

Definition at line 496 of file winxx.h.

◆ FORWARD_WM_CANCELJOURNAL

#define FORWARD_WM_CANCELJOURNAL (   hwnd,
  fn 
)     ((fn)((hwnd), WM_PAINTICON, 0, 0L), 0L)

Definition at line 72 of file winxx.h.

◆ FORWARD_WM_CAPTURECHANGED

#define FORWARD_WM_CAPTURECHANGED (   hwnd,
  hwndNewCapture,
  fn 
)     ((fn)((hwnd), WM_CAPTURECHANGED, 0, (LPARAM)(HWND)(hwndNewCapture)), 0L)

Definition at line 342 of file winxx.h.

◆ FORWARD_WM_CHANGEUISTATE

#define FORWARD_WM_CHANGEUISTATE (   hwnd,
  nAction,
  nUIElement,
  fn 
)     ((fn)((hwnd), WM_CHANGEUISTATE, MAKEWPARAM((nAction), (nUIElement)), 0L), 0L)

Definition at line 262 of file winxx.h.

◆ FORWARD_WM_ENTERMENULOOP

#define FORWARD_WM_ENTERMENULOOP (   hwnd,
  bIsTrackPopupMenu,
  fn 
)     ((fn)((hwnd), WM_ENTERMENULOOP, (BOOL)(bIsTrackPopupMenu), 0L), 0L)

Definition at line 309 of file winxx.h.

◆ FORWARD_WM_ENTERSIZEMOVE

#define FORWARD_WM_ENTERSIZEMOVE (   hwnd,
  fn 
)     ((fn)((hwnd), WM_ENTERSIZEMOVE, 0, 0L), 0L)

Definition at line 505 of file winxx.h.

◆ FORWARD_WM_EXITMENULOOP

#define FORWARD_WM_EXITMENULOOP (   hwnd,
  bIsTrackPopupMenu,
  fn 
)     ((fn)((hwnd), WM_EXITMENULOOP, (BOOL)(bIsTrackPopupMenu), 0L), 0L)

Definition at line 317 of file winxx.h.

◆ FORWARD_WM_EXITSIZEMOVE

#define FORWARD_WM_EXITSIZEMOVE (   hwnd,
  fn 
)     ((fn)((hwnd), WM_EXITSIZEMOVE, 0, 0L), 0L)

Definition at line 513 of file winxx.h.

◆ FORWARD_WM_GETHOTKEY

#define FORWARD_WM_GETHOTKEY (   hwnd,
  fn 
)     (INT)(fn)((hwnd), WM_GETHOTKEY, 0, 0L)

Definition at line 48 of file winxx.h.

◆ FORWARD_WM_GETICON

#define FORWARD_WM_GETICON (   hwnd,
  nType,
  dpi,
  fn 
)     (HICON)(fn)((hwnd), WM_GETICON, (WPARAM)(UINT)(nType), (LPARAM)(dpi))

Definition at line 149 of file winxx.h.

◆ FORWARD_WM_GETOBJECT

#define FORWARD_WM_GETOBJECT (   hwnd,
  wParam,
  dwObjId,
  fn 
)     (fn)((hwnd), WM_GETOBJECT, (WPARAM)(wParam), (LPARAM)(DWORD)(dwObjId))

Definition at line 64 of file winxx.h.

◆ FORWARD_WM_HELP

#define FORWARD_WM_HELP (   hwnd,
  lpHelpInfo,
  fn 
)     ((fn)((hwnd), WM_HELP, 0, (LPARAM)(LPHELPINFO)(lpHelpInfo)), 0L)

Definition at line 106 of file winxx.h.

◆ FORWARD_WM_IME_CHAR

#define FORWARD_WM_IME_CHAR (   hwnd,
  wCharCode,
  lKeyData,
  fn 
)     ((fn)((hwnd), WM_IME_CHAR, (WPARAM)(WORD)(wCharCode), (LPARAM)(LONG)(lKeyData)), 0L)

Definition at line 415 of file winxx.h.

◆ FORWARD_WM_IME_COMPOSITION

#define FORWARD_WM_IME_COMPOSITION (   hwnd,
  wChar,
  lAttribute,
  fn 
)     ((fn)((hwnd), WM_IME_COMPOSITION, (WPARAM)(WORD)(wChar), (DWORD)(lAttribute)), 0L)

Definition at line 212 of file winxx.h.

◆ FORWARD_WM_IME_COMPOSITIONFULL

#define FORWARD_WM_IME_COMPOSITIONFULL (   hwnd,
  compactRatio,
  fn 
)     ((fn)((hwnd), WM_IME_COMPOSITIONFULL, 0, 0L), 0L)

Definition at line 399 of file winxx.h.

◆ FORWARD_WM_IME_CONTROL

#define FORWARD_WM_IME_CONTROL (   hwnd,
  wSubMessage,
  lpData,
  fn 
)     (LRESULT)(fn)((hwnd), WM_IME_CONTROL, (WPARAM)(wSubMessage), (LPARAM)(LPVOID)(lpData))

Definition at line 391 of file winxx.h.

◆ FORWARD_WM_IME_ENDCOMPOSITION

#define FORWARD_WM_IME_ENDCOMPOSITION (   hwnd,
  fn 
)     ((fn)((hwnd), WM_IME_ENDCOMPOSITION, 0, 0L), 0L)

Definition at line 204 of file winxx.h.

◆ FORWARD_WM_IME_KEYDOWN

#define FORWARD_WM_IME_KEYDOWN (   hwnd,
  fDown,
  nVirtKey,
  lKeyData,
  fn 
)
Value:
((fn)((hwnd), ((BOOL)(fDown) ? WM_IME_KEYDOWN : WM_IME_KEYUP), \
(WPARAM)(UINT)(nVirtKey), (LPARAM)(LONG)(lKeyData)), 0L)
#define L(x)
Definition: ntvdm.h:50
long LONG
Definition: pedump.c:60
LONG_PTR LPARAM
Definition: windef.h:208
#define WM_IME_KEYUP
Definition: winuser.h:1842
#define WM_IME_KEYDOWN
Definition: winuser.h:1841

Definition at line 431 of file winxx.h.

◆ FORWARD_WM_IME_KEYUP

#define FORWARD_WM_IME_KEYUP (   hwnd,
  fDown,
  nVirtKey,
  lKeyData,
  fn 
)
Value:
((fn)((hwnd), ((BOOL)(fDown) ? WM_IME_KEYDOWN : WM_IME_KEYUP), \
(WPARAM)(UINT)(nVirtKey), (LPARAM)(LONG)(lKeyData)), 0L)

Definition at line 436 of file winxx.h.

◆ FORWARD_WM_IME_NOTIFY

#define FORWARD_WM_IME_NOTIFY (   hwnd,
  wSubMessage,
  lParam,
  fn 
)     (LRESULT)(fn)((hwnd), WM_IME_NOTIFY, (WPARAM)(wSubMessage), (LPARAM)(lParam))

Definition at line 383 of file winxx.h.

◆ FORWARD_WM_IME_REQUEST

#define FORWARD_WM_IME_REQUEST (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(fn)((hwnd), WM_IME_REQUEST, (WPARAM)(wParam), (LPARAM)(lParam))

Definition at line 423 of file winxx.h.

◆ FORWARD_WM_IME_SELECT

#define FORWARD_WM_IME_SELECT (   hwnd,
  fSelect,
  hKL,
  fn 
)     ((fn)((hwnd), WM_IME_SELECT, (WPARAM)(BOOL)(fSelect), (LPARAM)(HKL)(hKL)), 0L)

Definition at line 407 of file winxx.h.

◆ FORWARD_WM_IME_SETCONTEXT

#define FORWARD_WM_IME_SETCONTEXT (   hwnd,
  fActive,
  dwShow,
  fn 
)     (BOOL)(fn)((hwnd), WM_IME_SETCONTEXT, (WPARAM)(BOOL)(fActive), (LPARAM)(DWORD)(dwShow))

Definition at line 375 of file winxx.h.

◆ FORWARD_WM_IME_STARTCOMPOSITION

#define FORWARD_WM_IME_STARTCOMPOSITION (   hwnd,
  fn 
)     ((fn)((hwnd), WM_IME_STARTCOMPOSITION, 0, 0L), 0L)

Definition at line 196 of file winxx.h.

◆ FORWARD_WM_INPUTLANGCHANGE

#define FORWARD_WM_INPUTLANGCHANGE (   hwnd,
  dwCharSet,
  hKL,
  fn 
)
Value:
((fn)((hwnd), WM_INPUTLANGCHANGE, (WPARAM)(DWORD)(dwCharSet), \
(LPARAM)(HKL)(hKL)), 0L)
unsigned long DWORD
Definition: ntddk_ex.h:95
UINT_PTR HKL
Definition: msctf.idl:143

Definition at line 89 of file winxx.h.

◆ FORWARD_WM_INPUTLANGCHANGEREQUEST

#define FORWARD_WM_INPUTLANGCHANGEREQUEST (   hwnd,
  bFlag,
  hKL,
  fn 
)
Value:
((fn)((hwnd), WM_INPUTLANGCHANGEREQUEST, (WPARAM)(BOOL)(bFlag), \
(LPARAM)(HKL)(hKL)), 0L)
unsigned int BOOL
Definition: ntddk_ex.h:94

Definition at line 80 of file winxx.h.

◆ FORWARD_WM_MDICREATE

#define FORWARD_WM_MDICREATE (   hwnd,
  lpmcs,
  fn 
)     (HWND)(UINT_PTR)(fn)((hwnd), WM_MDICREATE, 0L, (LPARAM)(LPMDICREATESTRUCT)(lpmcs))

Definition at line 530 of file winxx.h.

◆ FORWARD_WM_MDIREFRESHMENU

#define FORWARD_WM_MDIREFRESHMENU (   hwnd,
  fn 
)     (HMENU)(fn)((hwnd), WM_MDIREFRESHMENU, 0, 0L)

Definition at line 367 of file winxx.h.

◆ FORWARD_WM_MENUCOMMAND

#define FORWARD_WM_MENUCOMMAND (   hwnd,
  nPos,
  hMenu,
  fn 
)
Value:
((fn)((hwnd), WM_MENURBUTTONUP, (WPARAM)(UINT)(nPos), \
(LPARAM)(HMENU)(hMenu)), 0L)
static const CLSID *static CLSID *static const GUID VARIANT VARIANT *static IServiceProvider DWORD *static HMENU
Definition: ordinal.c:63

Definition at line 253 of file winxx.h.

◆ FORWARD_WM_MENUDRAG

#define FORWARD_WM_MENUDRAG (   hwnd,
  nPos,
  hMenu,
  fn 
)     (UINT)(fn)((hwnd), WM_MENUDRAG, (WPARAM)(UINT)(nPos), (LPARAM)(HMENU)(hMenu))

Definition at line 228 of file winxx.h.

◆ FORWARD_WM_MENUGETOBJECT

#define FORWARD_WM_MENUGETOBJECT (   hwnd,
  pmgoi,
  fn 
)     (UINT)(fn)((hwnd), WM_MENUGETOBJECT, 0, (LPARAM)(MENUGETOBJECTINFO *)(pmgoi))

Definition at line 236 of file winxx.h.

◆ FORWARD_WM_MENURBUTTONUP

#define FORWARD_WM_MENURBUTTONUP (   hwnd,
  nPos,
  hMenu,
  fn 
)     ((fn)((hwnd), WM_MENURBUTTONUP, (WPARAM)(UINT)(nPos), (LPARAM)(HMENU)(hMenu)), 0L)

Definition at line 220 of file winxx.h.

◆ FORWARD_WM_MOUSEHOVER

#define FORWARD_WM_MOUSEHOVER (   hwnd,
  nFlags,
  xPos,
  yPos,
  fn 
)
Value:
((fn)((hwnd), WM_MOUSEHOVER, (WPARAM)(UINT)(nFlags), \
MAKELPARAM((xPos), (yPos))), 0L)
#define WM_MOUSEHOVER
Definition: commctrl.h:4979

Definition at line 445 of file winxx.h.

◆ FORWARD_WM_MOUSELEAVE

#define FORWARD_WM_MOUSELEAVE (   hwnd,
  fn 
)     ((fn)((hwnd), WM_MOUSELEAVE, 0, 0L), 0L)

Definition at line 454 of file winxx.h.

◆ FORWARD_WM_MOVING

#define FORWARD_WM_MOVING (   hwnd,
  nSide,
  lpRect,
  fn 
)     ((fn)((hwnd), WM_MOVING, (WPARAM)(UINT)(nSide), (LPARAM)(LPRECT)(lpRect)), 0L)

Definition at line 350 of file winxx.h.

◆ FORWARD_WM_NCACTIVATE

#define FORWARD_WM_NCACTIVATE (   hwnd,
  fActive,
  hwndActDeact,
  fMinimized,
  fn 
)     (BOOL)(DWORD)(fn)((hwnd), WM_NCACTIVATE, (WPARAM)(BOOL)(fActive), 0L)

Definition at line 538 of file winxx.h.

◆ FORWARD_WM_NCMOUSEHOVER

#define FORWARD_WM_NCMOUSEHOVER (   hwnd,
  nHitTest,
  xPos,
  yPos,
  fn 
)
Value:
((fn)((hwnd), WM_NCMOUSEHOVER, (WPARAM)(UINT)(nHitTest), \
MAKELPARAM((xPos), (yPos))), 0L)
#define WM_NCMOUSEHOVER
Definition: winuser.h:1844

Definition at line 462 of file winxx.h.

◆ FORWARD_WM_NCMOUSELEAVE

#define FORWARD_WM_NCMOUSELEAVE (   hwnd,
  fn 
)     ((fn)((hwnd), WM_NCMOUSELEAVE, 0, 0L), 0L)

Definition at line 471 of file winxx.h.

◆ FORWARD_WM_NCXBUTTONDOWN

#define FORWARD_WM_NCXBUTTONDOWN (   hwnd,
  fDoubleClick,
  nHitTest,
  fwButton,
  xPos,
  yPos,
  fn 
)
Value:
((fn)((hwnd), ((fDoubleClick) ? WM_NCXBUTTONDBLCLK : WM_NCXBUTTONDOWN), \
MAKEWPARAM((nHitTest), (fwButton)), MAKELPARAM((xPos), (yPos))), 0L)

Definition at line 177 of file winxx.h.

◆ FORWARD_WM_NCXBUTTONUP

#define FORWARD_WM_NCXBUTTONUP (   hwnd,
  nHitTest,
  fwButton,
  xPos,
  yPos,
  fn 
)
Value:
((fn)((hwnd), WM_NCXBUTTONUP, MAKEWPARAM((nHitTest), (fwButton)), \
MAKELPARAM((xPos), (yPos))), 0L)
#define MAKEWPARAM(l, h)
Definition: winuser.h:4012

Definition at line 187 of file winxx.h.

◆ FORWARD_WM_NEXTMENU

#define FORWARD_WM_NEXTMENU (   hwnd,
  nCode,
  lpMDINextMenu,
  fn 
)
Value:
((fn)((hwnd), WM_NEXTMENU, (WPARAM)(INT)(nCode), \
(LPARAM)(LPMDINEXTMENU)(lpMDINextMenu)), 0L)
int32_t INT
Definition: typedefs.h:58
#define WM_NEXTMENU
Definition: winuser.h:1809
struct tagMDINEXTMENU * LPMDINEXTMENU

Definition at line 325 of file winxx.h.

◆ FORWARD_WM_NOTIFYFORMAT

#define FORWARD_WM_NOTIFYFORMAT (   hwnd,
  hwndTarget,
  nCommand,
  fn 
)
Value:
(INT)(fn)((hwnd), WM_NOTIFYFORMAT, (WPARAM)(HWND)(hwndTarget), \
(LPARAM)(INT)(nCommand))
HANDLE HWND
Definition: compat.h:19
#define INT
Definition: polytest.cpp:20

Definition at line 122 of file winxx.h.

◆ FORWARD_WM_NULL

#define FORWARD_WM_NULL (   hwnd,
  fn 
)     ((fn)((hwnd), WM_NULL, 0, 0L), 0L)

Definition at line 32 of file winxx.h.

◆ FORWARD_WM_PAINTICON

#define FORWARD_WM_PAINTICON (   hwnd,
  fn 
)     ((fn)((hwnd), WM_PAINTICON, 0, 0L), 0L)

Definition at line 56 of file winxx.h.

◆ FORWARD_WM_POWERBROADCAST

#define FORWARD_WM_POWERBROADCAST (   hwnd,
  nPowerEvent,
  nEventData,
  fn 
)
Value:
(LRESULT)(fn)((hwnd), WM_POWERBROADCAST, (WPARAM)(UINT)(nPowerEvent), \
(LPARAM)(UINT)(nEventData))
#define LRESULT
Definition: ole.h:14
#define WM_POWERBROADCAST
Definition: winuser.h:1813

Definition at line 358 of file winxx.h.

◆ FORWARD_WM_PRINT

#define FORWARD_WM_PRINT (   hwnd,
  hDC,
  uFlags,
  fn 
)     ((fn)((hwnd), WM_PRINT, (WPARAM)(HDC)(hDC), (LPARAM)(uFlags)), 0L)

Definition at line 479 of file winxx.h.

◆ FORWARD_WM_PRINTCLIENT

#define FORWARD_WM_PRINTCLIENT (   hwnd,
  hDC,
  uFlags,
  fn 
)     ((fn)((hwnd), WM_PRINTCLIENT, (WPARAM)(HDC)(hDC), (LPARAM)(uFlags)), 0L)

Definition at line 487 of file winxx.h.

◆ FORWARD_WM_QUERYDRAGICON

#define FORWARD_WM_QUERYDRAGICON (   hwnd,
  fn 
)     (HICON)(UINT_PTR)(UINT)(DWORD)(fn)((hwnd), WM_QUERYDRAGICON, 0L, 0L)

Definition at line 522 of file winxx.h.

◆ FORWARD_WM_QUERYUISTATE

#define FORWARD_WM_QUERYUISTATE (   hwnd,
  fn 
)     (UINT)(fn)((hwnd), WM_QUERYUISTATE, 0, 0L)

Definition at line 278 of file winxx.h.

◆ FORWARD_WM_SETHOTKEY

#define FORWARD_WM_SETHOTKEY (   hwnd,
  nCode,
  nOptions,
  fn 
)     (INT)(fn)((hwnd), WM_SETHOTKEY, MAKEWPARAM((nCode), (nOptions)))

Definition at line 40 of file winxx.h.

◆ FORWARD_WM_SETICON

#define FORWARD_WM_SETICON (   hwnd,
  nType,
  hIcon,
  fn 
)     (HICON)(fn)((hwnd), WM_SETICON, (WPARAM)(UINT)(nType), (LPARAM)(HICON)(hIcon))

Definition at line 157 of file winxx.h.

◆ FORWARD_WM_SETTINGCHANGE

#define FORWARD_WM_SETTINGCHANGE (   hwnd,
  wFlag,
  pszSection,
  fn 
)     (LRESULT)(fn)((hwnd), WM_SETTINGCHANGE, (WPARAM)(UINT_PTR)(wFlag), (LPARAM)(LPCTSTR)(pszSection))

Definition at line 546 of file winxx.h.

◆ FORWARD_WM_SIZING

#define FORWARD_WM_SIZING (   hwnd,
  nSide,
  lpRect,
  fn 
)     ((fn)((hwnd), WM_SIZING, (WPARAM)(UINT)(nSide), (LPARAM)(LPRECT)(lpRect)), 0L)

Definition at line 334 of file winxx.h.

◆ FORWARD_WM_STYLECHANGED

#define FORWARD_WM_STYLECHANGED (   hwnd,
  nStyleType,
  lpStyleStruct,
  fn 
)
Value:
((fn)((hwnd), WM_STYLECHANGED, (WPARAM)(UINT)(nStyleType), \
(LPARAM)(const STYLESTRUCT *)(lpStyleStruct)), 0L)

Definition at line 140 of file winxx.h.

◆ FORWARD_WM_STYLECHANGING

#define FORWARD_WM_STYLECHANGING (   hwnd,
  nStyleType,
  lpStyleStruct,
  fn 
)
Value:
((fn)((hwnd), WM_STYLECHANGING, (WPARAM)(UINT)(nStyleType), \
(LPARAM)(LPSTYLESTRUCT)(lpStyleStruct)), 0L)
struct tagSTYLESTRUCT * LPSTYLESTRUCT

Definition at line 131 of file winxx.h.

◆ FORWARD_WM_SYNCPAINT

#define FORWARD_WM_SYNCPAINT (   hwnd,
  fn 
)     ((fn)((hwnd), WM_SYNCPAINT, 0, 0L), 0L)

Definition at line 165 of file winxx.h.

◆ FORWARD_WM_TCARD

#define FORWARD_WM_TCARD (   hwnd,
  idAction,
  dwActionData,
  fn 
)     ((fn)((hwnd), WM_TCARD, (DWORD)(wParam), (DWORD)(lParam)), 0L)

Definition at line 98 of file winxx.h.

◆ FORWARD_WM_UNINITMENUPOPUP

#define FORWARD_WM_UNINITMENUPOPUP (   hwnd,
  hMenu,
  nFlags,
  fn 
)
Value:
((fn)((hwnd), WM_UNINITMENUPOPUP, (WPARAM)(HMENU)(hMenu), \
(LPARAM)(UINT)(nFlags)), 0L)

Definition at line 244 of file winxx.h.

◆ FORWARD_WM_UPDATEUISTATE

#define FORWARD_WM_UPDATEUISTATE (   hwnd,
  nAction,
  nUIElement,
  fn 
)     ((fn)((hwnd), WM_UPDATEUISTATE, MAKEWPARAM((nAction), (nUIElement)), 0L), 0L)

Definition at line 270 of file winxx.h.

◆ FORWARD_WM_USERCHANGED

#define FORWARD_WM_USERCHANGED (   hwnd,
  fn 
)     ((fn)((hwnd), WM_USERCHANGED, 0, 0L), 0L)

Definition at line 114 of file winxx.h.

◆ FORWARD_WM_XBUTTONDOWN

#define FORWARD_WM_XBUTTONDOWN (   hwnd,
  fDoubleClick,
  fwKeys,
  fwButton,
  xPos,
  yPos,
  fn 
)
Value:
((fn)((hwnd), ((fDoubleClick) ? WM_XBUTTONDBLCLK : WM_XBUTTONDOWN), \
MAKEWPARAM((fwKeys), (fwButton)), MAKELPARAM((xPos), (yPos))), 0L)

Definition at line 290 of file winxx.h.

◆ FORWARD_WM_XBUTTONUP

#define FORWARD_WM_XBUTTONUP (   hwnd,
  fDoubleClick,
  fwKeys,
  fwButton,
  xPos,
  yPos,
  fn 
)
Value:
((fn)((hwnd), WM_XBUTTONUP, MAKEWPARAM((fwKeys), (fwButton)), \
MAKELPARAM((xPos), (yPos))), 0L)

Definition at line 300 of file winxx.h.

◆ HANDLE_CB_ADDSTRING

#define HANDLE_CB_ADDSTRING (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (LPCTSTR)(lParam))

Definition at line 897 of file winxx.h.

◆ HANDLE_CB_DELETESTRING

#define HANDLE_CB_DELETESTRING (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (INT)(wParam))

Definition at line 901 of file winxx.h.

◆ HANDLE_CB_DIR

#define HANDLE_CB_DIR (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (UINT)(wParam), (LPCTSTR)(lParam))

Definition at line 905 of file winxx.h.

◆ HANDLE_CB_FINDSTRING

#define HANDLE_CB_FINDSTRING (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (INT)(wParam), (LPCTSTR)(lParam))

Definition at line 933 of file winxx.h.

◆ HANDLE_CB_FINDSTRINGEXACT

#define HANDLE_CB_FINDSTRINGEXACT (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (INT)(wParam), (LPCTSTR)(lParam))

Definition at line 981 of file winxx.h.

◆ HANDLE_CB_GETCOUNT

#define HANDLE_CB_GETCOUNT (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(INT_PTR)(INT)(fn)((hwnd))

Definition at line 909 of file winxx.h.

◆ HANDLE_CB_GETCURSEL

#define HANDLE_CB_GETCURSEL (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(INT_PTR)(INT)(fn)((hwnd))

Definition at line 913 of file winxx.h.

◆ HANDLE_CB_GETDROPPEDCONTROLRECT

#define HANDLE_CB_GETDROPPEDCONTROLRECT (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)((fn)((hwnd), (RECT FAR *)(lParam)), CB_OKAY)

Definition at line 957 of file winxx.h.

◆ HANDLE_CB_GETDROPPEDSTATE

#define HANDLE_CB_GETDROPPEDSTATE (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(INT_PTR)(BOOL)(fn)((hwnd))

Definition at line 977 of file winxx.h.

◆ HANDLE_CB_GETDROPPEDWIDTH

#define HANDLE_CB_GETDROPPEDWIDTH (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(INT_PTR)(INT)(fn)((hwnd))

Definition at line 1009 of file winxx.h.

◆ HANDLE_CB_GETEDITSEL

#define HANDLE_CB_GETEDITSEL (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(DWORD)(fn)((hwnd), (LPDWORD)(wParam), (LPDWORD)(lParam))

Definition at line 885 of file winxx.h.

◆ HANDLE_CB_GETEXTENDEDUI

#define HANDLE_CB_GETEXTENDEDUI (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(INT_PTR)(BOOL)(fn)((hwnd))

Definition at line 973 of file winxx.h.

◆ HANDLE_CB_GETHORIZONTALEXTENT

#define HANDLE_CB_GETHORIZONTALEXTENT (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(INT_PTR)(INT)(fn)((hwnd))

Definition at line 1001 of file winxx.h.

◆ HANDLE_CB_GETITEMDATA

#define HANDLE_CB_GETITEMDATA (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(INT_PTR)(fn)((hwnd), (INT)(wParam))

Definition at line 949 of file winxx.h.

◆ HANDLE_CB_GETITEMHEIGHT

#define HANDLE_CB_GETITEMHEIGHT (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (INT)(wParam))

Definition at line 965 of file winxx.h.

◆ HANDLE_CB_GETLBTEXT

#define HANDLE_CB_GETLBTEXT (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (INT)(wParam), (LPTSTR)(lParam))

Definition at line 917 of file winxx.h.

◆ HANDLE_CB_GETLBTEXTLEN

#define HANDLE_CB_GETLBTEXTLEN (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (INT)(wParam))

Definition at line 921 of file winxx.h.

◆ HANDLE_CB_GETLOCALE

#define HANDLE_CB_GETLOCALE (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(LCID)(fn)((hwnd))

Definition at line 989 of file winxx.h.

◆ HANDLE_CB_GETTOPINDEX

#define HANDLE_CB_GETTOPINDEX (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(INT_PTR)(INT)(fn)((hwnd))

Definition at line 993 of file winxx.h.

◆ HANDLE_CB_INITSTORAGE

#define HANDLE_CB_INITSTORAGE (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (INT)(wParam), (DWORD)(lParam))

Definition at line 1017 of file winxx.h.

◆ HANDLE_CB_INSERTSTRING

#define HANDLE_CB_INSERTSTRING (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (INT)(wParam), (LPCTSTR)(lParam))

Definition at line 925 of file winxx.h.

◆ HANDLE_CB_LIMITTEXT

#define HANDLE_CB_LIMITTEXT (   hwnd,
  wParam,
  lParam,
  fn 
)     ((fn)((hwnd), (UINT)(wParam)), TRUE)

Definition at line 889 of file winxx.h.

◆ HANDLE_CB_RESETCONTENT

#define HANDLE_CB_RESETCONTENT (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)((fn)((hwnd)), CB_OKAY)

Definition at line 929 of file winxx.h.

◆ HANDLE_CB_SELECTSTRING

#define HANDLE_CB_SELECTSTRING (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (INT)(wParam), (LPCTSTR)(lParam))

Definition at line 937 of file winxx.h.

◆ HANDLE_CB_SETCURSEL

#define HANDLE_CB_SETCURSEL (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (INT)(wParam))

Definition at line 941 of file winxx.h.

◆ HANDLE_CB_SETDROPPEDWIDTH

#define HANDLE_CB_SETDROPPEDWIDTH (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (INT)(wParam))

Definition at line 1013 of file winxx.h.

◆ HANDLE_CB_SETEDITSEL

#define HANDLE_CB_SETEDITSEL (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (INT)(wParam), (INT)(lParam))

Definition at line 893 of file winxx.h.

◆ HANDLE_CB_SETEXTENDEDUI

#define HANDLE_CB_SETEXTENDEDUI (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (BOOL)(wParam))

Definition at line 969 of file winxx.h.

◆ HANDLE_CB_SETHORIZONTALEXTENT

#define HANDLE_CB_SETHORIZONTALEXTENT (   hwnd,
  wParam,
  lParam,
  fn 
)     ((fn)((hwnd), (INT)(wParam)), 0L)

Definition at line 1005 of file winxx.h.

◆ HANDLE_CB_SETITEMDATA

#define HANDLE_CB_SETITEMDATA (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(INT_PTR)(fn)((hwnd), (INT)(wParam), (DWORD_PTR)(lParam))

Definition at line 953 of file winxx.h.

◆ HANDLE_CB_SETITEMHEIGHT

#define HANDLE_CB_SETITEMHEIGHT (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (INT)(wParam), (INT)(lParam))

Definition at line 961 of file winxx.h.

◆ HANDLE_CB_SETLOCALE

#define HANDLE_CB_SETLOCALE (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(LCID)(fn)((hwnd), (LCID)(wParam))

Definition at line 985 of file winxx.h.

◆ HANDLE_CB_SETTOPINDEX

#define HANDLE_CB_SETTOPINDEX (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (INT)(wParam))

Definition at line 997 of file winxx.h.

◆ HANDLE_CB_SHOWDROPDOWN

#define HANDLE_CB_SHOWDROPDOWN (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)((fn)((hwnd), (BOOL)(wParam)), TRUE)

Definition at line 945 of file winxx.h.

◆ HANDLE_EM_CANPASTE

#define HANDLE_EM_CANPASTE (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(fn)((hwnd), (UINT)(wParam))

Definition at line 1897 of file winxx.h.

◆ HANDLE_EM_CANREDO

#define HANDLE_EM_CANREDO (   hwnd,
  wParam,
  lParam,
  fn 
)     (BOOL)(fn)((hwnd))

Definition at line 2033 of file winxx.h.

◆ HANDLE_EM_CANUNDO

#define HANDLE_EM_CANUNDO (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(BOOL)(fn)((hwnd))

Definition at line 627 of file winxx.h.

◆ HANDLE_EM_CHARFROMPOS

#define HANDLE_EM_CHARFROMPOS (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(LONG)(fn)((hwnd), (SHORT)LOWORD(lParam), (SHORT)HIWORD(lParam))

Definition at line 695 of file winxx.h.

◆ HANDLE_EM_DISPLAYBAND

#define HANDLE_EM_DISPLAYBAND (   hwnd,
  wParam,
  lParam,
  fn 
)     (BOOL)(fn)((hwnd), (LPRECT)(lParam))

Definition at line 1901 of file winxx.h.

◆ HANDLE_EM_EMPTYUNDOBUFFER

#define HANDLE_EM_EMPTYUNDOBUFFER (   hwnd,
  wParam,
  lParam,
  fn 
)     ((fn)((hwnd)), 0L)

Definition at line 651 of file winxx.h.

◆ HANDLE_EM_EXGETSEL

#define HANDLE_EM_EXGETSEL (   hwnd,
  wParam,
  lParam,
  fn 
)     ((fn)((hwnd), (CHARRANGE *)(lParam)), 0L)

Definition at line 1905 of file winxx.h.

◆ HANDLE_EM_EXLIMITTEXT

#define HANDLE_EM_EXLIMITTEXT (   hwnd,
  wParam,
  lParam,
  fn 
)     ((fn)((hwnd), (DWORD)(lParam)), 0L)

Definition at line 1909 of file winxx.h.

◆ HANDLE_EM_EXLINEFROMCHAR

#define HANDLE_EM_EXLINEFROMCHAR (   hwnd,
  wParam,
  lParam,
  fn 
)     (INT)(fn)((hwnd), (DWORD)(wParam))

Definition at line 1913 of file winxx.h.

◆ HANDLE_EM_EXSETSEL

#define HANDLE_EM_EXSETSEL (   hwnd,
  wParam,
  lParam,
  fn 
)     (INT)(fn)((hwnd), (INT)(INT_PTR)(lParam))

Definition at line 1917 of file winxx.h.

◆ HANDLE_EM_FINDTEXT

#define HANDLE_EM_FINDTEXT (   hwnd,
  wParam,
  lParam,
  fn 
)     (INT)(fn)((hwnd), (UINT)(wParam), (FINDTEXT *)(lParam))

Definition at line 1921 of file winxx.h.

◆ HANDLE_EM_FINDTEXTEX

#define HANDLE_EM_FINDTEXTEX (   hwnd,
  wParam,
  lParam,
  fn 
)     (INT)(fn)((hwnd), (UINT)(wParam), (FINDTEXTEX *)(lParam))

Definition at line 2013 of file winxx.h.

◆ HANDLE_EM_FINDWORDBREAK

#define HANDLE_EM_FINDWORDBREAK (   hwnd,
  wParam,
  lParam,
  fn 
)     (DWORD)(fn)((hwnd), (UINT)(wParam), (DWORD)(lParam))

Definition at line 2001 of file winxx.h.

◆ HANDLE_EM_FMTLINES

#define HANDLE_EM_FMTLINES (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(BOOL)(fn)((hwnd), (BOOL)(wParam))

Definition at line 635 of file winxx.h.

◆ HANDLE_EM_FORMATRANGE

#define HANDLE_EM_FORMATRANGE (   hwnd,
  wParam,
  lParam,
  fn 
)     (INT)(fn)((hwnd), (BOOL)(wParam), (FORMATRANGE *)(lParam))

Definition at line 1925 of file winxx.h.

◆ HANDLE_EM_GETCHARFORMAT

#define HANDLE_EM_GETCHARFORMAT (   hwnd,
  wParam,
  lParam,
  fn 
)     (DWORD)(fn)((hwnd), (BOOL)(wParam), (CHARFORMAT *)(lParam))

Definition at line 1929 of file winxx.h.

◆ HANDLE_EM_GETEVENTMASK

#define HANDLE_EM_GETEVENTMASK (   hwnd,
  wParam,
  lParam,
  fn 
)     (DWORD)(fn)((hwnd))

Definition at line 1933 of file winxx.h.

◆ HANDLE_EM_GETFIRSTVISIBLELINE

#define HANDLE_EM_GETFIRSTVISIBLELINE (   hwnd,
  wParam,
  lParam,
  fn 
)     (INT)((fn)((hwnd)), 0L)

Definition at line 655 of file winxx.h.

◆ HANDLE_EM_GETHANDLE

#define HANDLE_EM_GETHANDLE (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(HLOCAL)(fn)((hwnd))

Definition at line 602 of file winxx.h.

◆ HANDLE_EM_GETIMESTATUS

#define HANDLE_EM_GETIMESTATUS (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(DWORD)(fn)((hwnd), (UINT)(wParam))

Definition at line 703 of file winxx.h.

◆ HANDLE_EM_GETLIMITTEXT

#define HANDLE_EM_GETLIMITTEXT (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(DWORD)(fn)((hwnd))

Definition at line 687 of file winxx.h.

◆ HANDLE_EM_GETLINE

#define HANDLE_EM_GETLINE (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (INT)(wParam), (LPCTSTR)(lParam))

Definition at line 618 of file winxx.h.

◆ HANDLE_EM_GETLINECOUNT

#define HANDLE_EM_GETLINECOUNT (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(INT_PTR)(INT)(fn)((hwnd))

Definition at line 590 of file winxx.h.

◆ HANDLE_EM_GETMARGINS

#define HANDLE_EM_GETMARGINS (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(DWORD)(fn)((hwnd))

Definition at line 679 of file winxx.h.

◆ HANDLE_EM_GETMODIFY

#define HANDLE_EM_GETMODIFY (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(BOOL)(fn)((hwnd))

Definition at line 582 of file winxx.h.

◆ HANDLE_EM_GETOLEINTERFACE

#define HANDLE_EM_GETOLEINTERFACE (   hwnd,
  wParam,
  lParam,
  fn 
)     (BOOL)(fn)((hwnd), (LPVOID *)(lParam))

Definition at line 1937 of file winxx.h.

◆ HANDLE_EM_GETOPTIONS

#define HANDLE_EM_GETOPTIONS (   hwnd,
  wParam,
  lParam,
  fn 
)     (UINT)(fn)((hwnd))

Definition at line 2009 of file winxx.h.

◆ HANDLE_EM_GETPARAFORMAT

#define HANDLE_EM_GETPARAFORMAT (   hwnd,
  wParam,
  lParam,
  fn 
)     (DWORD)(fn)((hwnd), (PARAFORMAT *)(lParam))

Definition at line 1941 of file winxx.h.

◆ HANDLE_EM_GETPASSWORDCHAR

#define HANDLE_EM_GETPASSWORDCHAR (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(UINT)(UINT)(fn)((hwnd))

Definition at line 671 of file winxx.h.

◆ HANDLE_EM_GETRECT

#define HANDLE_EM_GETRECT (   hwnd,
  wParam,
  lParam,
  fn 
)     ((fn)((hwnd), (LPRECT)(lParam)), 0L)

Definition at line 558 of file winxx.h.

◆ HANDLE_EM_GETREDONAME

#define HANDLE_EM_GETREDONAME (   hwnd,
  wParam,
  lParam,
  fn 
)     (INT)(fn)((hwnd))

Definition at line 2041 of file winxx.h.

◆ HANDLE_EM_GETSEL

#define HANDLE_EM_GETSEL (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(LONG)(fn)((hwnd), (LPDWORD)(wParam), (LPDWORD)(lParam))

Definition at line 550 of file winxx.h.

◆ HANDLE_EM_GETSELTEXT

#define HANDLE_EM_GETSELTEXT (   hwnd,
  wParam,
  lParam,
  fn 
)     (INT)(fn)((hwnd), (LPTSTR)(lParam))

Definition at line 1945 of file winxx.h.

◆ HANDLE_EM_GETTEXTMODE

#define HANDLE_EM_GETTEXTMODE (   hwnd,
  wParam,
  lParam,
  fn 
)     (DWORD)(fn)((hwnd))

Definition at line 2053 of file winxx.h.

◆ HANDLE_EM_GETTEXTRANGE

#define HANDLE_EM_GETTEXTRANGE (   hwnd,
  wParam,
  lParam,
  fn 
)     (DWORD)(fn)((hwnd), (TEXTRANGE *)(lParam))

Definition at line 1997 of file winxx.h.

◆ HANDLE_EM_GETTHUMB

#define HANDLE_EM_GETTHUMB (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(INT_PTR)(INT)(fn)((hwnd))

Definition at line 606 of file winxx.h.

◆ HANDLE_EM_GETUNDONAME

#define HANDLE_EM_GETUNDONAME (   hwnd,
  wParam,
  lParam,
  fn 
)     (INT)(fn)((hwnd))

Definition at line 2037 of file winxx.h.

◆ HANDLE_EM_GETWORDBREAKPROC

#define HANDLE_EM_GETWORDBREAKPROC (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(EDITWORDBREAKPROC)(fn)((hwnd))

Definition at line 667 of file winxx.h.

◆ HANDLE_EM_GETWORDBREAKPROCEX

#define HANDLE_EM_GETWORDBREAKPROCEX (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(void *)(fn)((hwnd))

Definition at line 2017 of file winxx.h.

◆ HANDLE_EM_HIDESELECTION

#define HANDLE_EM_HIDESELECTION (   hwnd,
  wParam,
  lParam,
  fn 
)     ((fn)((hwnd), (BOOL)(wParam), (BOOL)(lParam)), 0L)

Definition at line 1949 of file winxx.h.

◆ HANDLE_EM_LIMITTEXT

#define HANDLE_EM_LIMITTEXT (   hwnd,
  wParam,
  lParam,
  fn 
)     ((fn)((hwnd), (LONG)(wParam)), 0L)

Definition at line 623 of file winxx.h.

◆ HANDLE_EM_LINEFROMCHAR

#define HANDLE_EM_LINEFROMCHAR (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (INT)(wParam))

Definition at line 639 of file winxx.h.

◆ HANDLE_EM_LINEINDEX

#define HANDLE_EM_LINEINDEX (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (INT)(wParam))

Definition at line 594 of file winxx.h.

◆ HANDLE_EM_LINELENGTH

#define HANDLE_EM_LINELENGTH (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (INT)(wParam))

Definition at line 610 of file winxx.h.

◆ HANDLE_EM_LINESCROLL

#define HANDLE_EM_LINESCROLL (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(BOOL)(fn)((hwnd), (INT)(wParam), (INT)(lParam))

Definition at line 574 of file winxx.h.

◆ HANDLE_EM_PASTESPECIAL

#define HANDLE_EM_PASTESPECIAL (   hwnd,
  wParam,
  lParam,
  fn 
)     ((fn)((hwnd), (UINT)(wParam), (REPASTESPECIAL *)(lParam)), 0L)

Definition at line 1953 of file winxx.h.

◆ HANDLE_EM_POSFROMCHAR

#define HANDLE_EM_POSFROMCHAR (   hwnd,
  wParam,
  lParam,
  fn 
)     ((fn)((hwnd), (LPPOINT)(wParam), (UINT)(lParam)), 0L)

Definition at line 691 of file winxx.h.

◆ HANDLE_EM_REDO

#define HANDLE_EM_REDO (   hwnd,
  wParam,
  lParam,
  fn 
)     (BOOL)(fn)((hwnd))

Definition at line 2029 of file winxx.h.

◆ HANDLE_EM_REPLACESEL

#define HANDLE_EM_REPLACESEL (   hwnd,
  wParam,
  lParam,
  fn 
)     ((fn)((hwnd), (BOOL)(wParam), (LPCTSTR)(lParam)), 0L)

Definition at line 614 of file winxx.h.

◆ HANDLE_EM_REQUESTRESIZE

#define HANDLE_EM_REQUESTRESIZE (   hwnd,
  wParam,
  lParam,
  fn 
)     ((fn)((hwnd)), 0L)

Definition at line 1957 of file winxx.h.

◆ HANDLE_EM_SCROLL

#define HANDLE_EM_SCROLL (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(DWORD)(fn)((hwnd), (INT)(wParam))

Definition at line 570 of file winxx.h.

◆ HANDLE_EM_SCROLLCARET

#define HANDLE_EM_SCROLLCARET (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(BOOL)(fn)((hwnd))

Definition at line 578 of file winxx.h.

◆ HANDLE_EM_SELECTIONTYPE

#define HANDLE_EM_SELECTIONTYPE (   hwnd,
  wParam,
  lParam,
  fn 
)     (DWORD)(fn)((hwnd))

Definition at line 1961 of file winxx.h.

◆ HANDLE_EM_SETBKGNDCOLOR

#define HANDLE_EM_SETBKGNDCOLOR (   hwnd,
  wParam,
  lParam,
  fn 
)     (DWORD)(fn)((hwnd), (BOOL)(wParam), (COLORREF)(lParam))

Definition at line 1965 of file winxx.h.

◆ HANDLE_EM_SETCHARFORMAT

#define HANDLE_EM_SETCHARFORMAT (   hwnd,
  wParam,
  lParam,
  fn 
)     (BOOL)(fn)((hwnd), (UINT)(wParam), (CHARFORMAT *)(lParam))

Definition at line 1969 of file winxx.h.

◆ HANDLE_EM_SETEVENTMASK

#define HANDLE_EM_SETEVENTMASK (   hwnd,
  wParam,
  lParam,
  fn 
)     (DWORD)(fn)((hwnd), (DWORD)(lParam))

Definition at line 1973 of file winxx.h.

◆ HANDLE_EM_SETHANDLE

#define HANDLE_EM_SETHANDLE (   hwnd,
  wParam,
  lParam,
  fn 
)     ((fn)((hwnd), (HLOCAL)(wParam)), 0L)

Definition at line 598 of file winxx.h.

◆ HANDLE_EM_SETIMESTATUS

#define HANDLE_EM_SETIMESTATUS (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(DWORD)(fn)((hwnd), (UINT)(wParam), (DWORD)(lParam))

Definition at line 699 of file winxx.h.

◆ HANDLE_EM_SETLIMITTEXT

#define HANDLE_EM_SETLIMITTEXT (   hwnd,
  wParam,
  lParam,
  fn 
)     ((fn)((hwnd), (DWORD)(wParam)), 0L)

Definition at line 683 of file winxx.h.

◆ HANDLE_EM_SETMARGINS

#define HANDLE_EM_SETMARGINS (   hwnd,
  wParam,
  lParam,
  fn 
)     ((fn)((hwnd), (UINT)(wParam), LOWORD(lParam), HIWORD(lParam)), 0L)

Definition at line 675 of file winxx.h.

◆ HANDLE_EM_SETMODIFY

#define HANDLE_EM_SETMODIFY (   hwnd,
  wParam,
  lParam,
  fn 
)     ((fn)((hwnd), (BOOL)(wParam)), 0L)

Definition at line 586 of file winxx.h.

◆ HANDLE_EM_SETOLECALLBACK

#define HANDLE_EM_SETOLECALLBACK (   hwnd,
  wParam,
  lParam,
  fn 
)     (BOOL)(fn)((hwnd), (void *)(lParam))

Definition at line 1977 of file winxx.h.

◆ HANDLE_EM_SETOPTIONS

#define HANDLE_EM_SETOPTIONS (   hwnd,
  wParam,
  lParam,
  fn 
)     (UINT)(fn)((hwnd), (UINT)(wParam), (UINT)(lParam))

Definition at line 2005 of file winxx.h.

◆ HANDLE_EM_SETPARAFORMAT

#define HANDLE_EM_SETPARAFORMAT (   hwnd,
  wParam,
  lParam,
  fn 
)     (BOOL)(fn)((hwnd), (PARAFORMAT *)(lParam))

Definition at line 1981 of file winxx.h.

◆ HANDLE_EM_SETPASSWORDCHAR

#define HANDLE_EM_SETPASSWORDCHAR (   hwnd,
  wParam,
  lParam,
  fn 
)     ((fn)((hwnd), (UINT)(wParam)), 0L)

Definition at line 647 of file winxx.h.

◆ HANDLE_EM_SETREADONLY

#define HANDLE_EM_SETREADONLY (   hwnd,
  wParam,
  lParam,
  fn 
)     (BOOL)(fn)((hwnd), (BOOL)(wParam))

Definition at line 659 of file winxx.h.

◆ HANDLE_EM_SETRECT

#define HANDLE_EM_SETRECT (   hwnd,
  wParam,
  lParam,
  fn 
)     ((fn)((hwnd), (LPCRECT)(lParam)), 0L)

Definition at line 562 of file winxx.h.

◆ HANDLE_EM_SETRECTNP

#define HANDLE_EM_SETRECTNP (   hwnd,
  wParam,
  lParam,
  fn 
)     ((fn)((hwnd), (LPCRECT)(lParam)), 0L)

Definition at line 566 of file winxx.h.

◆ HANDLE_EM_SETSEL

#define HANDLE_EM_SETSEL (   hwnd,
  wParam,
  lParam,
  fn 
)     ((fn)((hwnd), (INT)(wParam), (INT)(lParam)), 0L)

Definition at line 554 of file winxx.h.

◆ HANDLE_EM_SETTABSTOPS

#define HANDLE_EM_SETTABSTOPS (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(BOOL)(fn)((hwnd), (INT)(wParam), (LPDWORD)(lParam))

Definition at line 643 of file winxx.h.

◆ HANDLE_EM_SETTARGETDEVICE

#define HANDLE_EM_SETTARGETDEVICE (   hwnd,
  wParam,
  lParam,
  fn 
)     (BOOL)(fn)((hwnd), (HDC)(wParam), (INT)(lParam))

Definition at line 1985 of file winxx.h.

◆ HANDLE_EM_SETTEXTMODE

#define HANDLE_EM_SETTEXTMODE (   hwnd,
  wParam,
  lParam,
  fn 
)     (BOOL)(fn)((hwnd), (DWORD)(wParam))

Definition at line 2049 of file winxx.h.

◆ HANDLE_EM_SETUNDOLIMIT

#define HANDLE_EM_SETUNDOLIMIT (   hwnd,
  wParam,
  lParam,
  fn 
)     (DWORD)(fn)((hwnd), (DWORD)(wParam))

Definition at line 2025 of file winxx.h.

◆ HANDLE_EM_SETWORDBREAKPROC

#define HANDLE_EM_SETWORDBREAKPROC (   hwnd,
  wParam,
  lParam,
  fn 
)     ((fn)((hwnd), (EDITWORDBREAKPROC)(lParam)), 0L)

Definition at line 663 of file winxx.h.

◆ HANDLE_EM_SETWORDBREAKPROCEX

#define HANDLE_EM_SETWORDBREAKPROCEX (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(void *)(fn)((hwnd), (void *)(lParam))

Definition at line 2021 of file winxx.h.

◆ HANDLE_EM_STOPGROUPTYPING

#define HANDLE_EM_STOPGROUPTYPING (   hwnd,
  wParam,
  lParam,
  fn 
)     ((fn)((hwnd)), 0L)

Definition at line 2045 of file winxx.h.

◆ HANDLE_EM_STREAMIN

#define HANDLE_EM_STREAMIN (   hwnd,
  wParam,
  lParam,
  fn 
)     (DWORD)(fn)((hwnd), (UINT)(wParam), (EDITSTREAM *)(lParam))

Definition at line 1989 of file winxx.h.

◆ HANDLE_EM_STREAMOUT

#define HANDLE_EM_STREAMOUT (   hwnd,
  wParam,
  lParam,
  fn 
)     (DWORD)(fn)((hwnd), (UINT)(wParam), (EDITSTREAM *)(lParam))

Definition at line 1993 of file winxx.h.

◆ HANDLE_EM_UNDO

#define HANDLE_EM_UNDO (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(BOOL)(fn)((hwnd))

Definition at line 631 of file winxx.h.

◆ HANDLE_LB_ADDFILE

#define HANDLE_LB_ADDFILE (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (LPCTSTR)(lParam))

Definition at line 811 of file winxx.h.

◆ HANDLE_LB_ADDSTRING

#define HANDLE_LB_ADDSTRING (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (LPCTSTR)(lParam))

Definition at line 723 of file winxx.h.

◆ HANDLE_LB_DELETESTRING

#define HANDLE_LB_DELETESTRING (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (INT)(wParam))

Definition at line 731 of file winxx.h.

◆ HANDLE_LB_DIR

#define HANDLE_LB_DIR (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(INT_PTR)(INT)(