ReactOS 0.4.16-dev-297-gc569aee
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)(fn)((hwnd), (UINT)(wParam), (LPCTSTR)(lParam))

Definition at line 775 of file winxx.h.

◆ HANDLE_LB_FINDSTRING

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

Definition at line 783 of file winxx.h.

◆ HANDLE_LB_FINDSTRINGEXACT

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

Definition at line 859 of file winxx.h.

◆ HANDLE_LB_GETANCHORINDEX

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

Definition at line 839 of file winxx.h.

◆ HANDLE_LB_GETCARETINDEX

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

Definition at line 847 of file winxx.h.

◆ HANDLE_LB_GETCOUNT

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

Definition at line 767 of file winxx.h.

◆ HANDLE_LB_GETCURSEL

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

Definition at line 755 of file winxx.h.

◆ HANDLE_LB_GETHORIZONTALEXTENT

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

Definition at line 799 of file winxx.h.

◆ HANDLE_LB_GETITEMDATA

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

Definition at line 823 of file winxx.h.

◆ HANDLE_LB_GETITEMHEIGHT

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

Definition at line 855 of file winxx.h.

◆ HANDLE_LB_GETITEMRECT

#define HANDLE_LB_GETITEMRECT (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (INT)(wParam), (RECT FAR *)(lParam))

Definition at line 819 of file winxx.h.

◆ HANDLE_LB_GETLOCALE

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

Definition at line 867 of file winxx.h.

◆ HANDLE_LB_GETSEL

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

Definition at line 751 of file winxx.h.

◆ HANDLE_LB_GETSELCOUNT

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

Definition at line 787 of file winxx.h.

◆ HANDLE_LB_GETSELITEMS

#define HANDLE_LB_GETSELITEMS (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (UINT)(wParam), (LPINT)(lParam))

Definition at line 791 of file winxx.h.

◆ HANDLE_LB_GETTEXT

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

Definition at line 759 of file winxx.h.

◆ HANDLE_LB_GETTEXTLEN

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

Definition at line 763 of file winxx.h.

◆ HANDLE_LB_GETTOPINDEX

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

Definition at line 779 of file winxx.h.

◆ HANDLE_LB_INITSTORAGE

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

Definition at line 875 of file winxx.h.

◆ HANDLE_LB_INSERTSTRING

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

Definition at line 727 of file winxx.h.

◆ HANDLE_LB_ITEMFROMPOINT

#define HANDLE_LB_ITEMFROMPOINT (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(DWORD)(fn)((hwnd), (SHORT)LOWORD(lParam), (SHORT)HIWORD(lParam))

Definition at line 879 of file winxx.h.

◆ HANDLE_LB_RESETCONTENT

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

Definition at line 739 of file winxx.h.

◆ HANDLE_LB_SELECTSTRING

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

Definition at line 771 of file winxx.h.

◆ HANDLE_LB_SELITEMRANGE

#define HANDLE_LB_SELITEMRANGE (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (BOOL)(wParam), LOWORD(lParam), HIWORD(lParam))

Definition at line 831 of file winxx.h.

◆ HANDLE_LB_SELITEMRANGEEX

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

Definition at line 735 of file winxx.h.

◆ HANDLE_LB_SETANCHORINDEX

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

Definition at line 835 of file winxx.h.

◆ HANDLE_LB_SETCARETINDEX

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

Definition at line 843 of file winxx.h.

◆ HANDLE_LB_SETCOLUMNWIDTH

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

Definition at line 807 of file winxx.h.

◆ HANDLE_LB_SETCOUNT

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

Definition at line 871 of file winxx.h.

◆ HANDLE_LB_SETCURSEL

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

Definition at line 747 of file winxx.h.

◆ HANDLE_LB_SETHORIZONTALEXTENT

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

Definition at line 803 of file winxx.h.

◆ HANDLE_LB_SETITEMDATA

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

Definition at line 827 of file winxx.h.

◆ HANDLE_LB_SETITEMHEIGHT

#define HANDLE_LB_SETITEMHEIGHT (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (INT)(wParam), (SHORT)LOWORD(lParam))

Definition at line 851 of file winxx.h.

◆ HANDLE_LB_SETLOCALE

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

Definition at line 863 of file winxx.h.

◆ HANDLE_LB_SETSEL

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

Definition at line 743 of file winxx.h.

◆ HANDLE_LB_SETTABSTOPS

#define HANDLE_LB_SETTABSTOPS (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(BOOL)(fn)((hwnd), (UINT)(wParam), (LPINT)(lParam))

Definition at line 795 of file winxx.h.

◆ HANDLE_LB_SETTOPINDEX

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

Definition at line 815 of file winxx.h.

◆ HANDLE_LVM_APPROXIMATEVIEWRECT

#define HANDLE_LVM_APPROXIMATEVIEWRECT (   hwnd,
  wParam,
  lParam,
  fn 
)     (DWORD)(fn)((hwnd), (INT)(wParam), (SHORT)LOWORD(lParam), (SHORT)HIWORD(lParam))

Definition at line 1311 of file winxx.h.

◆ HANDLE_LVM_ARRANGE

#define HANDLE_LVM_ARRANGE (   hwnd,
  wParam,
  lParam,
  fn 
)     (BOOL)(fn)((hwnd), (UINT)(wParam))

Definition at line 1147 of file winxx.h.

◆ HANDLE_LVM_CANCELEDITLABEL

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

Definition at line 1573 of file winxx.h.

◆ HANDLE_LVM_CREATEDRAGIMAGE

#define HANDLE_LVM_CREATEDRAGIMAGE (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(HIMAGELIST)(fn)((hwnd), (INT)(wParam), (LPPOINT)(lParam))

Definition at line 1187 of file winxx.h.

◆ HANDLE_LVM_DELETEALLITEMS

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

Definition at line 1095 of file winxx.h.

◆ HANDLE_LVM_DELETECOLUMN

#define HANDLE_LVM_DELETECOLUMN (   hwnd,
  wParam,
  lParam,
  fn 
)     (BOOL)(fn)((hwnd), (INT)(wParam))

Definition at line 1171 of file winxx.h.

◆ HANDLE_LVM_DELETEITEM

#define HANDLE_LVM_DELETEITEM (   hwnd,
  wParam,
  lParam,
  fn 
)     (BOOL)(fn)((hwnd), (INT)(wParam))

Definition at line 1091 of file winxx.h.

◆ HANDLE_LVM_EDITLABELA

#define HANDLE_LVM_EDITLABELA (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(HWND)(fn)((hwnd), (INT)(wParam))

Definition at line 1151 of file winxx.h.

◆ HANDLE_LVM_EDITLABELW

#define HANDLE_LVM_EDITLABELW (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(HWND)(fn)((hwnd), (INT)(wParam))

Definition at line 1423 of file winxx.h.

◆ HANDLE_LVM_ENSUREVISIBLE

#define HANDLE_LVM_ENSUREVISIBLE (   hwnd,
  wParam,
  lParam,
  fn 
)     (BOOL)(fn)((hwnd), (INT)(wParam), (BOOL)(lParam))

Definition at line 1135 of file winxx.h.

◆ HANDLE_LVM_FINDITEMA

#define HANDLE_LVM_FINDITEMA (   hwnd,
  wParam,
  lParam,
  fn 
)     (INT)(fn)((hwnd), (INT)(wParam), (const LV_FINDINFOA *)(lParam))

Definition at line 1111 of file winxx.h.

◆ HANDLE_LVM_FINDITEMW

#define HANDLE_LVM_FINDITEMW (   hwnd,
  wParam,
  lParam,
  fn 
)     (INT)(fn)((hwnd), (INT)(wParam), (const LV_FINDINFOW *)(lParam))

Definition at line 1375 of file winxx.h.

◆ HANDLE_LVM_GETBKCOLOR

#define HANDLE_LVM_GETBKCOLOR (   hwnd,
  wParam,
  lParam,
  fn 
)     (COLORREF)(fn)((hwnd))

Definition at line 1059 of file winxx.h.

◆ HANDLE_LVM_GETBKIMAGEA

#define HANDLE_LVM_GETBKIMAGEA (   hwnd,
  wParam,
  lParam,
  fn 
)     (BOOL)(fn)((hwnd), (LVBKIMAGEA *)(lParam))

Definition at line 1331 of file winxx.h.

◆ HANDLE_LVM_GETBKIMAGEW

#define HANDLE_LVM_GETBKIMAGEW (   hwnd,
  wParam,
  lParam,
  fn 
)     (BOOL)(fn)((hwnd), (LVBKIMAGEW *)(lParam))

Definition at line 1431 of file winxx.h.

◆ HANDLE_LVM_GETCALLBACKMASK

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

Definition at line 1099 of file winxx.h.

◆ HANDLE_LVM_GETCOLUMNA

#define HANDLE_LVM_GETCOLUMNA (   hwnd,
  wParam,
  lParam,
  fn 
)     (BOOL)(fn)((hwnd), (INT)(wParam), (LV_COLUMNA *)(lParam))

Definition at line 1159 of file winxx.h.

◆ HANDLE_LVM_GETCOLUMNORDERARRAY

#define HANDLE_LVM_GETCOLUMNORDERARRAY (   hwnd,
  wParam,
  lParam,
  fn 
)     (BOOL)(fn)((hwnd), (INT)(wParam), (LPINT)(lParam))

Definition at line 1291 of file winxx.h.

◆ HANDLE_LVM_GETCOLUMNW

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

Definition at line 1393 of file winxx.h.

◆ HANDLE_LVM_GETCOLUMNWIDTH

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

Definition at line 1175 of file winxx.h.

◆ HANDLE_LVM_GETCOUNTPERPAGE

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

Definition at line 1215 of file winxx.h.

◆ HANDLE_LVM_GETEDITCONTROL

#define HANDLE_LVM_GETEDITCONTROL (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(HWND)(fn)((hwnd))

Definition at line 1155 of file winxx.h.

◆ HANDLE_LVM_GETEXTENDEDLISTVIEWSTYLE

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

Definition at line 1275 of file winxx.h.

◆ HANDLE_LVM_GETHEADER

#define HANDLE_LVM_GETHEADER (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(HWND)(fn)((hwnd))

Definition at line 1183 of file winxx.h.

◆ HANDLE_LVM_GETHOTCURSOR

#define HANDLE_LVM_GETHOTCURSOR (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(HCURSOR)(fn)((hwnd))

Definition at line 1307 of file winxx.h.

◆ HANDLE_LVM_GETHOTITEM

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

Definition at line 1299 of file winxx.h.

◆ HANDLE_LVM_GETHOVERTIME

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

Definition at line 1343 of file winxx.h.

◆ HANDLE_LVM_GETIMAGELIST

#define HANDLE_LVM_GETIMAGELIST (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(HIMAGELIST)(fn)((hwnd), (INT)(wParam))

Definition at line 1067 of file winxx.h.

◆ HANDLE_LVM_GETINSERTMARK

#define HANDLE_LVM_GETINSERTMARK (   hwnd,
  wParam,
  lParam,
  fn 
)     (BOOL)(fn)((hwnd), (LVINSERTMARK *)(lParam))

Definition at line 1533 of file winxx.h.

◆ HANDLE_LVM_GETINSERTMARKCOLOR

#define HANDLE_LVM_GETINSERTMARKCOLOR (   hwnd,
  wParam,
  lParam,
  fn 
)     (COLORREF)(fn)((hwnd))

Definition at line 1549 of file winxx.h.

◆ HANDLE_LVM_GETINSERTMARKRECT

#define HANDLE_LVM_GETINSERTMARKRECT (   hwnd,
  wParam,
  lParam,
  fn 
)     (INT)(fn)((hwnd), (LPRECT)(lParam))

Definition at line 1541 of file winxx.h.

◆ HANDLE_LVM_GETISEARCHSTRINGA

#define HANDLE_LVM_GETISEARCHSTRINGA (   hwnd,
  wParam,
  lParam,
  fn 
)     (BOOL)(fn)((hwnd), (LPSTR)(lParam))

Definition at line 1263 of file winxx.h.

◆ HANDLE_LVM_GETISEARCHSTRINGW

#define HANDLE_LVM_GETISEARCHSTRINGW (   hwnd,
  wParam,
  lParam,
  fn 
)     (BOOL)(fn)((hwnd), (LPWSTR)(lParam))

Definition at line 1419 of file winxx.h.

◆ HANDLE_LVM_GETITEMA

#define HANDLE_LVM_GETITEMA (   hwnd,
  wParam,
  lParam,
  fn 
)     (BOOL)(fn)((hwnd), (LV_ITEMA *)(lParam))

Definition at line 1079 of file winxx.h.

◆ HANDLE_LVM_GETITEMCOUNT

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

Definition at line 1075 of file winxx.h.

◆ HANDLE_LVM_GETITEMPOSITION

#define HANDLE_LVM_GETITEMPOSITION (   hwnd,
  wParam,
  lParam,
  fn 
)     (BOOL)(fn)((hwnd), (INT)(wParam), (POINT *)(lParam))

Definition at line 1123 of file winxx.h.

◆ HANDLE_LVM_GETITEMRECT

#define HANDLE_LVM_GETITEMRECT (   hwnd,
  wParam,
  lParam,
  fn 
)     (BOOL)(fn)((hwnd), (INT)(wParam), (RECT *)(lParam))

Definition at line 1115 of file winxx.h.

◆ HANDLE_LVM_GETITEMSPACING

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

Definition at line 1259 of file winxx.h.

◆ HANDLE_LVM_GETITEMSTATE

#define HANDLE_LVM_GETITEMSTATE (   hwnd,
  wParam,
  lParam,
  fn 
)     (UINT)(fn)((hwnd), (INT)(wParam), (UINT)(lParam))

Definition at line 1231 of file winxx.h.

◆ HANDLE_LVM_GETITEMTEXTA

#define HANDLE_LVM_GETITEMTEXTA (   hwnd,
  wParam,
  lParam,
  fn 
)     (INT)(fn)((hwnd), (INT)(wParam), (LV_ITEMA *)(lParam))

Definition at line 1235 of file winxx.h.

◆ HANDLE_LVM_GETITEMTEXTW

#define HANDLE_LVM_GETITEMTEXTW (   hwnd,
  wParam,
  lParam,
  fn 
)     (INT)(fn)((hwnd), (INT)(wParam), (LV_ITEMW *)(lParam))

Definition at line 1411 of file winxx.h.

◆ HANDLE_LVM_GETITEMW

#define HANDLE_LVM_GETITEMW (   hwnd,
  wParam,
  lParam,
  fn 
)     (BOOL)(fn)((hwnd), (LV_ITEMW *)(lParam))

Definition at line 1355 of file winxx.h.

◆ HANDLE_LVM_GETNEXTITEM

#define HANDLE_LVM_GETNEXTITEM (   hwnd,
  wParam,
  lParam,
  fn 
)     (INT)(fn)((hwnd), (INT)(wParam), (UINT)(lParam))

Definition at line 1107 of file winxx.h.

◆ HANDLE_LVM_GETNUMBEROFWORKAREAS

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

Definition at line 1347 of file winxx.h.

◆ HANDLE_LVM_GETORIGIN

#define HANDLE_LVM_GETORIGIN (   hwnd,
  wParam,
  lParam,
  fn 
)     (BOOL)(fn)((hwnd), (POINT *)(lParam))

Definition at line 1219 of file winxx.h.

◆ HANDLE_LVM_GETOUTLINECOLOR

#define HANDLE_LVM_GETOUTLINECOLOR (   hwnd,
  wParam,
  lParam,
  fn 
)     (COLORREF)(fn)((hwnd))

Definition at line 1565 of file winxx.h.

◆ HANDLE_LVM_GETSELECTEDCOLUMN

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

Definition at line 1557 of file winxx.h.

◆ HANDLE_LVM_GETSELECTEDCOUNT

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

Definition at line 1255 of file winxx.h.

◆ HANDLE_LVM_GETSELECTIONMARK

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

Definition at line 1319 of file winxx.h.

◆ HANDLE_LVM_GETSTRINGWIDTHA

#define HANDLE_LVM_GETSTRINGWIDTHA (   hwnd,
  wParam,
  lParam,
  fn 
)     (INT)(fn)((hwnd), (LPCSTR)(lParam))

Definition at line 1127 of file winxx.h.

◆ HANDLE_LVM_GETSTRINGWIDTHW

#define HANDLE_LVM_GETSTRINGWIDTHW (   hwnd,
  wParam,
  lParam,
  fn 
)     (INT)(fn)((hwnd), (LPCWSTR)(lParam))

Definition at line 1379 of file winxx.h.

◆ HANDLE_LVM_GETSUBITEMRECT

#define HANDLE_LVM_GETSUBITEMRECT (   hwnd,
  wParam,
  lParam,
  fn 
)     (BOOL)(fn)((hwnd), (INT)(wParam), (RECT *)(lParam))

Definition at line 1279 of file winxx.h.

◆ HANDLE_LVM_GETTEXTBKCOLOR

#define HANDLE_LVM_GETTEXTBKCOLOR (   hwnd,
  wParam,
  lParam,
  fn 
)     (COLORREF)(fn)((hwnd))

Definition at line 1203 of file winxx.h.

◆ HANDLE_LVM_GETTEXTCOLOR

#define HANDLE_LVM_GETTEXTCOLOR (   hwnd,
  wParam,
  lParam,
  fn 
)     (COLORREF)(fn)((hwnd))

Definition at line 1195 of file winxx.h.

◆ HANDLE_LVM_GETTILEINFO

#define HANDLE_LVM_GETTILEINFO (   hwnd,
  wParam,
  lParam,
  fn 
)     ((fn)((hwnd), (LVTILEINFO *)(lParam)), 0L)

Definition at line 1525 of file winxx.h.

◆ HANDLE_LVM_GETTILEVIEWINFO

#define HANDLE_LVM_GETTILEVIEWINFO (   hwnd,
  wParam,
  lParam,
  fn 
)     ((fn)((hwnd), (LVTILEVIEWINFO *)(lParam)), 0L)

Definition at line 1517 of file winxx.h.

◆ HANDLE_LVM_GETTOOLTIPS

#define HANDLE_LVM_GETTOOLTIPS (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(HWND)(fn)((hwnd))

Definition at line 1367 of file winxx.h.

◆ HANDLE_LVM_GETTOPINDEX

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

Definition at line 1211 of file winxx.h.

◆ HANDLE_LVM_GETVIEW

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

Definition at line 1447 of file winxx.h.

◆ HANDLE_LVM_GETVIEWRECT

#define HANDLE_LVM_GETVIEWRECT (   hwnd,
  wParam,
  lParam,
  fn 
)     (BOOL)(fn)((hwnd), (RECT *)(lParam))

Definition at line 1191 of file winxx.h.

◆ HANDLE_LVM_GETWORKAREAS

#define HANDLE_LVM_GETWORKAREAS (   hwnd,
  wParam,
  lParam,
  fn 
)     (BOOL)(fn)((hwnd), (INT)(wParam), (RECT *)(lParam))

Definition at line 1335 of file winxx.h.

◆ HANDLE_LVM_HITTEST

#define HANDLE_LVM_HITTEST (   hwnd,
  wParam,
  lParam,
  fn 
)     (INT)(fn)((hwnd), (LV_HITTESTINFO *)(lParam))

Definition at line 1131 of file winxx.h.

◆ HANDLE_LVM_INSERTCOLUMNA

#define HANDLE_LVM_INSERTCOLUMNA (   hwnd,
  wParam,
  lParam,
  fn 
)     (INT)(fn)((hwnd), (INT)(wParam), (const LV_COLUMNA *)(lParam))

Definition at line 1167 of file winxx.h.

◆ HANDLE_LVM_INSERTCOLUMNW

#define HANDLE_LVM_INSERTCOLUMNW (   hwnd,
  wParam,
  lParam,
  fn 
)     (INT)(fn)((hwnd), (INT)(wParam), (const LV_COLUMNW *)(lParam))

Definition at line 1401 of file winxx.h.

◆ HANDLE_LVM_INSERTITEMA

#define HANDLE_LVM_INSERTITEMA (   hwnd,
  wParam,
  lParam,
  fn 
)     (INT)(fn)((hwnd), (const LV_ITEMA *)(lParam))

Definition at line 1087 of file winxx.h.

◆ HANDLE_LVM_INSERTITEMW

#define HANDLE_LVM_INSERTITEMW (   hwnd,
  wParam,
  lParam,
  fn 
)     (INT)(fn)((hwnd), (const LV_ITEMW *)(lParam))

Definition at line 1363 of file winxx.h.

◆ HANDLE_LVM_INSERTMARKHITTEST

#define HANDLE_LVM_INSERTMARKHITTEST (   hwnd,
  wParam,
  lParam,
  fn 
)     (INT)(fn)((hwnd), (LPPOINT)(wParam), (LPLVINSERTMARK)(lParam))

Definition at line 1537 of file winxx.h.

◆ HANDLE_LVM_ISGROUPVIEWENABLED

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

Definition at line 1561 of file winxx.h.

◆ HANDLE_LVM_ISITEMVISIBLE

#define HANDLE_LVM_ISITEMVISIBLE (   hwnd,
  wParam,
  lParam,
  fn 
)     (BOOL)(fn)((hwnd), (UINT)(wParam))

Definition at line 1585 of file winxx.h.

◆ HANDLE_LVM_MAPIDTOINDEX

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

Definition at line 1581 of file winxx.h.

◆ HANDLE_LVM_MAPINDEXTOID

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

Definition at line 1577 of file winxx.h.

◆ HANDLE_LVM_REDRAWITEMS

#define HANDLE_LVM_REDRAWITEMS (   hwnd,
  wParam,
  lParam,
  fn 
)     (BOOL)(fn)((hwnd), (INT)(wParam), (INT)(lParam))

Definition at line 1143 of file winxx.h.

◆ HANDLE_LVM_SCROLL

#define HANDLE_LVM_SCROLL (   hwnd,
  wParam,
  lParam,
  fn 
)     (BOOL)(fn)((hwnd), (INT)(wParam), (INT)(lParam))

Definition at line 1139 of file winxx.h.

◆ HANDLE_LVM_SETBKCOLOR

#define HANDLE_LVM_SETBKCOLOR (   hwnd,
  wParam,
  lParam,
  fn 
)     (BOOL)(fn)((hwnd), (COLORREF)(wParam))

Definition at line 1063 of file winxx.h.

◆ HANDLE_LVM_SETBKIMAGEA

#define HANDLE_LVM_SETBKIMAGEA (   hwnd,
  wParam,
  lParam,
  fn 
)     (BOOL)(fn)((hwnd), (const LVBKIMAGEA *)(lParam))

Definition at line 1327 of file winxx.h.

◆ HANDLE_LVM_SETBKIMAGEW

#define HANDLE_LVM_SETBKIMAGEW (   hwnd,
  wParam,
  lParam,
  fn 
)     (BOOL)(fn)((hwnd), (const LVBKIMAGEW *)(lParam))

Definition at line 1427 of file winxx.h.

◆ HANDLE_LVM_SETCALLBACKMASK

#define HANDLE_LVM_SETCALLBACKMASK (   hwnd,
  wParam,
  lParam,
  fn 
)     (BOOL)(fn)((hwnd), (UINT)(wParam))

Definition at line 1103 of file winxx.h.

◆ HANDLE_LVM_SETCOLUMNA

#define HANDLE_LVM_SETCOLUMNA (   hwnd,
  wParam,
  lParam,
  fn 
)     (BOOL)(fn)((hwnd), (INT)(wParam), (const LV_COLUMNA *)(lParam))

Definition at line 1163 of file winxx.h.

◆ HANDLE_LVM_SETCOLUMNORDERARRAY

#define HANDLE_LVM_SETCOLUMNORDERARRAY (   hwnd,
  wParam,
  lParam,
  fn 
)     (BOOL)(fn)((hwnd), (INT)(wParam), (LPINT)(lParam))

Definition at line 1287 of file winxx.h.

◆ HANDLE_LVM_SETCOLUMNW

#define HANDLE_LVM_SETCOLUMNW (   hwnd,
  wParam,
  lParam,
  fn 
)     (BOOL)(fn)((hwnd), (INT)(wParam), (INT)(lParam))

Definition at line 1397 of file winxx.h.

◆ HANDLE_LVM_SETCOLUMNWIDTH

#define HANDLE_LVM_SETCOLUMNWIDTH (   hwnd,
  wParam,
  lParam,
  fn 
)     (BOOL)(fn)((hwnd), (INT)(wParam), (INT)(lParam))

Definition at line 1179 of file winxx.h.

◆ HANDLE_LVM_SETEXTENDEDLISTVIEWSTYLE

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

Definition at line 1271 of file winxx.h.

◆ HANDLE_LVM_SETHOTCURSOR

#define HANDLE_LVM_SETHOTCURSOR (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(HCURSOR)(fn)((hwnd), (HCURSOR)(lParam))

Definition at line 1303 of file winxx.h.

◆ HANDLE_LVM_SETHOTITEM

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

Definition at line 1295 of file winxx.h.

◆ HANDLE_LVM_SETHOVERTIME

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

Definition at line 1339 of file winxx.h.

◆ HANDLE_LVM_SETICONSPACING

#define HANDLE_LVM_SETICONSPACING (   hwnd,
  wParam,
  lParam,
  fn 
)     (DWORD)(fn)((hwnd), (SHORT)LOWORD(lParam), (SHORT)HIWORD(lParam))

Definition at line 1267 of file winxx.h.

◆ HANDLE_LVM_SETIMAGELIST

#define HANDLE_LVM_SETIMAGELIST (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(HIMAGELIST)(fn)((hwnd), (INT)(wParam), (HIMAGELIST)(lParam))

Definition at line 1071 of file winxx.h.

◆ HANDLE_LVM_SETINFOTIP

#define HANDLE_LVM_SETINFOTIP (   hwnd,
  wParam,
  lParam,
  fn 
)     (BOOL)(fn)((hwnd), (const LVSETINFOTIP *)(lParam))

Definition at line 1553 of file winxx.h.

◆ HANDLE_LVM_SETINSERTMARK

#define HANDLE_LVM_SETINSERTMARK (   hwnd,
  wParam,
  lParam,
  fn 
)     (BOOL)(fn)((hwnd), (const LVINSERTMARK *)(lParam))

Definition at line 1529 of file winxx.h.

◆ HANDLE_LVM_SETINSERTMARKCOLOR

#define HANDLE_LVM_SETINSERTMARKCOLOR (   hwnd,
  wParam,
  lParam,
  fn 
)     (COLORREF)(fn)((hwnd), (COLORREF)(lParam))

Definition at line 1545 of file winxx.h.

◆ HANDLE_LVM_SETITEMA

#define HANDLE_LVM_SETITEMA (   hwnd,
  wParam,
  lParam,
  fn 
)     (BOOL)(fn)((hwnd), (const LV_ITEMA *)(lParam))

Definition at line 1083 of file winxx.h.

◆ HANDLE_LVM_SETITEMCOUNT

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

Definition at line 1243 of file winxx.h.

◆ HANDLE_LVM_SETITEMPOSITION

#define HANDLE_LVM_SETITEMPOSITION (   hwnd,
  wParam,
  lParam,
  fn 
)     (BOOL)(fn)((hwnd), (INT)(wParam), (SHORT)LOWORD(lParam), (SHORT)HIWORD(lParam))

Definition at line 1119 of file winxx.h.

◆ HANDLE_LVM_SETITEMPOSITION32

#define HANDLE_LVM_SETITEMPOSITION32 (   hwnd,
  wParam,
  lParam,
  fn 
)     ((fn)((hwnd), (INT)(wParam), (const POINT *)(lParam)), 0L)

Definition at line 1251 of file winxx.h.

◆ HANDLE_LVM_SETITEMSTATE

#define HANDLE_LVM_SETITEMSTATE (   hwnd,
  wParam,
  lParam,
  fn 
)     (BOOL)(fn)((hwnd), (INT)(wParam), (LV_ITEM *)(lParam))

Definition at line 1227 of file winxx.h.

◆ HANDLE_LVM_SETITEMTEXTA

#define HANDLE_LVM_SETITEMTEXTA (   hwnd,
  wParam,
  lParam,
  fn 
)     (BOOL)(fn)((hwnd), (INT)(wParam), (const LV_ITEMA *)(lParam))

Definition at line 1239 of file winxx.h.

◆ HANDLE_LVM_SETITEMTEXTW

#define HANDLE_LVM_SETITEMTEXTW (   hwnd,
  wParam,
  lParam,
  fn 
)     (INT)(fn)((hwnd), (INT)(wParam), (const LV_ITEMW *)(lParam))

Definition at line 1415 of file winxx.h.

◆ HANDLE_LVM_SETITEMW

#define HANDLE_LVM_SETITEMW (   hwnd,
  wParam,
  lParam,
  fn 
)     (BOOL)(fn)((hwnd), (const LV_ITEMW *)(lParam))

Definition at line 1359 of file winxx.h.

◆ HANDLE_LVM_SETOUTLINECOLOR

#define HANDLE_LVM_SETOUTLINECOLOR (   hwnd,
  wParam,
  lParam,
  fn 
)     (COLORREF)(fn)((hwnd), (COLORREF)(lParam))

Definition at line 1569 of file winxx.h.

◆ HANDLE_LVM_SETSELECTEDCOLUMN

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

Definition at line 1435 of file winxx.h.

◆ HANDLE_LVM_SETSELECTIONMARK

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

Definition at line 1323 of file winxx.h.

◆ HANDLE_LVM_SETTEXTBKCOLOR

#define HANDLE_LVM_SETTEXTBKCOLOR (   hwnd,
  wParam,
  lParam,
  fn 
)     (BOOL)(fn)((hwnd), (COLORREF)(lParam))

Definition at line 1207 of file winxx.h.

◆ HANDLE_LVM_SETTEXTCOLOR

#define HANDLE_LVM_SETTEXTCOLOR (   hwnd,
  wParam,
  lParam,
  fn 
)     (BOOL)(fn)((hwnd), (COLORREF)(lParam))

Definition at line 1199 of file winxx.h.

◆ HANDLE_LVM_SETTILEINFO

#define HANDLE_LVM_SETTILEINFO (   hwnd,
  wParam,
  lParam,
  fn 
)     (BOOL)(fn)((hwnd), (const LVTILEINFO *)(lParam))

Definition at line 1521 of file winxx.h.

◆ HANDLE_LVM_SETTILEVIEWINFO

#define HANDLE_LVM_SETTILEVIEWINFO (   hwnd,
  wParam,
  lParam,
  fn 
)     (BOOL)(fn)((hwnd), (const LVTILEVIEWINFO *)(lParam))

Definition at line 1513 of file winxx.h.

◆ HANDLE_LVM_SETTILEWIDTH

#define HANDLE_LVM_SETTILEWIDTH (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(fn)((hwnd), (wParam), (lParam))

Definition at line 1439 of file winxx.h.

◆ HANDLE_LVM_SETTOOLTIPS

#define HANDLE_LVM_SETTOOLTIPS (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(HWND)(fn)((hwnd), (HWND)(wParam))

Definition at line 1351 of file winxx.h.

◆ HANDLE_LVM_SETVIEW

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

Definition at line 1443 of file winxx.h.

◆ HANDLE_LVM_SETWORKAREAS

#define HANDLE_LVM_SETWORKAREAS (   hwnd,
  wParam,
  lParam,
  fn 
)     (BOOL)(fn)((hwnd), (INT)(wParam), (const RECT *)(lParam))

Definition at line 1315 of file winxx.h.

◆ HANDLE_LVM_SORTITEMS

#define HANDLE_LVM_SORTITEMS (   hwnd,
  wParam,
  lParam,
  fn 
)     (BOOL)(fn)((hwnd), (LPARAM)(wParam), (PFNLVCOMPARE)(lParam))

Definition at line 1247 of file winxx.h.

◆ HANDLE_LVM_SORTITEMSEX

#define HANDLE_LVM_SORTITEMSEX (   hwnd,
  wParam,
  lParam,
  fn 
)     (BOOL)(fn)((hwnd), (PFNLVCOMPARE)(lParam), (LPARAM)(wParam))

Definition at line 1371 of file winxx.h.

◆ HANDLE_LVM_SUBITEMHITTEST

#define HANDLE_LVM_SUBITEMHITTEST (   hwnd,
  wParam,
  lParam,
  fn 
)     (INT)(fn)((hwnd), (wParam), (LPLVHITTESTINFO)(lParam))

Definition at line 1283 of file winxx.h.

◆ HANDLE_LVM_UPDATE

#define HANDLE_LVM_UPDATE (   hwnd,
  wParam,
  lParam,
  fn 
)     (BOOL)(fn)((hwnd), (INT)(wParam))

Definition at line 1223 of file winxx.h.

◆ HANDLE_SBM_ENABLE_ARROWS

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

Definition at line 1043 of file winxx.h.

◆ HANDLE_SBM_GETPOS

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

Definition at line 1027 of file winxx.h.

◆ HANDLE_SBM_GETRANGE

#define HANDLE_SBM_GETRANGE (   hwnd,
  wParam,
  lParam,
  fn 
)     ((fn)((hwnd), (LPINT)(wParam), (LPINT)(lParam)), 0L)

Definition at line 1039 of file winxx.h.

◆ HANDLE_SBM_GETSCROLLBARINFO

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

Definition at line 1055 of file winxx.h.

◆ HANDLE_SBM_GETSCROLLINFO

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

Definition at line 1051 of file winxx.h.

◆ HANDLE_SBM_SETPOS

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

Definition at line 1023 of file winxx.h.

◆ HANDLE_SBM_SETRANGE

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

Definition at line 1031 of file winxx.h.

◆ HANDLE_SBM_SETRANGEREDRAW

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

Definition at line 1035 of file winxx.h.

◆ HANDLE_SBM_SETSCROLLINFO

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

Definition at line 1047 of file winxx.h.

◆ HANDLE_STM_GETICON

#define HANDLE_STM_GETICON (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(HICON)(fn)((hwnd))

Definition at line 711 of file winxx.h.

◆ HANDLE_STM_GETIMAGE

#define HANDLE_STM_GETIMAGE (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(HANDLE)(fn)((hwnd), (UINT)(wParam))

Definition at line 719 of file winxx.h.

◆ HANDLE_STM_SETICON

#define HANDLE_STM_SETICON (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(HICON)(fn)((hwnd), (HICON)(wParam))

Definition at line 707 of file winxx.h.

◆ HANDLE_STM_SETIMAGE

#define HANDLE_STM_SETIMAGE (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(HANDLE)(fn)((hwnd), (UINT)(wParam), (HANDLE)(lParam))

Definition at line 715 of file winxx.h.

◆ HANDLE_TVM_CREATEDRAGIMAGE

#define HANDLE_TVM_CREATEDRAGIMAGE (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(HIMAGELIST)(fn)((hwnd), (HTREEITEM)(lParam))

Definition at line 1691 of file winxx.h.

◆ HANDLE_TVM_DELETEITEM

#define HANDLE_TVM_DELETEITEM (   hwnd,
  wParam,
  lParam,
  fn 
)     (BOOL)(fn)((hwnd), (HTREEITEM)(lParam))

Definition at line 1627 of file winxx.h.

◆ HANDLE_TVM_EDITLABELA

#define HANDLE_TVM_EDITLABELA (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(HWND)(fn)((hwnd), (HTREEITEM)(lParam))

Definition at line 1675 of file winxx.h.

◆ HANDLE_TVM_EDITLABELW

#define HANDLE_TVM_EDITLABELW (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(HWND)(fn)((hwnd), (HTREEITEM)(lParam))

Definition at line 1829 of file winxx.h.

◆ HANDLE_TVM_ENDEDITLABELNOW

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

Definition at line 1707 of file winxx.h.

◆ HANDLE_TVM_ENSUREVISIBLE

#define HANDLE_TVM_ENSUREVISIBLE (   hwnd,
  wParam,
  lParam,
  fn 
)     (BOOL)(fn)((hwnd), (HTREEITEM)(lParam))

Definition at line 1699 of file winxx.h.

◆ HANDLE_TVM_EXPAND

#define HANDLE_TVM_EXPAND (   hwnd,
  wParam,
  lParam,
  fn 
)     (BOOL)(fn)((hwnd), (HTREEITEM)(lParam), (UINT)(wParam))

Definition at line 1631 of file winxx.h.

◆ HANDLE_TVM_GETBKCOLOR

#define HANDLE_TVM_GETBKCOLOR (   hwnd,
  wParam,
  lParam,
  fn 
)     (COLORREF)(fn)((hwnd))

Definition at line 1743 of file winxx.h.

◆ HANDLE_TVM_GETCOUNT

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

Definition at line 1639 of file winxx.h.

◆ HANDLE_TVM_GETEDITCONTROL

#define HANDLE_TVM_GETEDITCONTROL (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(HWND)(fn)((hwnd))

Definition at line 1679 of file winxx.h.

◆ HANDLE_TVM_GETIMAGELIST

#define HANDLE_TVM_GETIMAGELIST (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(HIMAGELIST)(fn)((hwnd), (INT)(wParam))

Definition at line 1651 of file winxx.h.

◆ HANDLE_TVM_GETINDENT

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

Definition at line 1643 of file winxx.h.

◆ HANDLE_TVM_GETINSERTMARKCOLOR

#define HANDLE_TVM_GETINSERTMARKCOLOR (   hwnd,
  wParam,
  lParam,
  fn 
)     (COLORREF)(fn)((hwnd))

Definition at line 1769 of file winxx.h.

◆ HANDLE_TVM_GETISEARCHSTRINGA

#define HANDLE_TVM_GETISEARCHSTRINGA (   hwnd,
  wParam,
  lParam,
  fn 
)     (BOOL)(fn)((hwnd), (LPSTR)(lParam))

Definition at line 1711 of file winxx.h.

◆ HANDLE_TVM_GETISEARCHSTRINGW

#define HANDLE_TVM_GETISEARCHSTRINGW (   hwnd,
  wParam,
  lParam,
  fn 
)     (BOOL)(fn)((hwnd), (LPWSTR)(lParam))

Definition at line 1825 of file winxx.h.

◆ HANDLE_TVM_GETITEMA

#define HANDLE_TVM_GETITEMA (   hwnd,
  wParam,
  lParam,
  fn 
)     (BOOL)(fn)((hwnd), (TV_ITEMA *)(lParam))

Definition at line 1667 of file winxx.h.

◆ HANDLE_TVM_GETITEMHEIGHT

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

Definition at line 1731 of file winxx.h.

◆ HANDLE_TVM_GETITEMRECT

#define HANDLE_TVM_GETITEMRECT (   hwnd,
  wParam,
  lParam,
  fn 
)     (BOOL)(fn)((hwnd), (UINT)(wParam), (RECT *)(lParam))

Definition at line 1635 of file winxx.h.

◆ HANDLE_TVM_GETITEMSTATE

#define HANDLE_TVM_GETITEMSTATE (   hwnd,
  wParam,
  lParam,
  fn 
)     (UINT)(fn)((hwnd), (HTREEITEM)(wParam), (UINT)(lParam))

Definition at line 1773 of file winxx.h.

◆ HANDLE_TVM_GETITEMW

#define HANDLE_TVM_GETITEMW (   hwnd,
  wParam,
  lParam,
  fn 
)     (BOOL)(fn)((hwnd), (TV_ITEMW *)(lParam))

Definition at line 1817 of file winxx.h.

◆ HANDLE_TVM_GETLINECOLOR

#define HANDLE_TVM_GETLINECOLOR (   hwnd,
  wParam,
  lParam,
  fn 
)     (COLORREF)(fn)((hwnd))

Definition at line 1781 of file winxx.h.

◆ HANDLE_TVM_GETNEXTITEM

#define HANDLE_TVM_GETNEXTITEM (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(HTREEITEM)(fn)((hwnd), (HTREEITEM)(lParam), (UINT)(wParam))

Definition at line 1659 of file winxx.h.

◆ HANDLE_TVM_GETSCROLLTIME

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

Definition at line 1755 of file winxx.h.

◆ HANDLE_TVM_GETTEXTCOLOR

#define HANDLE_TVM_GETTEXTCOLOR (   hwnd,
  wParam,
  lParam,
  fn 
)     (COLORREF)(fn)((hwnd))

Definition at line 1747 of file winxx.h.

◆ HANDLE_TVM_GETTOOLTIPS

#define HANDLE_TVM_GETTOOLTIPS (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(HWND)(fn)((hwnd))

Definition at line 1719 of file winxx.h.

◆ HANDLE_TVM_GETVISIBLECOUNT

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

Definition at line 1683 of file winxx.h.

◆ HANDLE_TVM_HITTEST

#define HANDLE_TVM_HITTEST (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(HTREEITEM)(fn)((hwnd), (LPTV_HITTESTINFO)(lParam))

Definition at line 1687 of file winxx.h.

◆ HANDLE_TVM_INSERTITEMA

#define HANDLE_TVM_INSERTITEMA (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(HTREEITEM)(fn)((hwnd), (LPTV_INSERTSTRUCTA)(lParam))

Definition at line 1623 of file winxx.h.

◆ HANDLE_TVM_INSERTITEMW

#define HANDLE_TVM_INSERTITEMW (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(HTREEITEM)(fn)((hwnd), (LPTV_INSERTSTRUCTW)(lParam))

Definition at line 1803 of file winxx.h.

◆ HANDLE_TVM_MAPACCIDTOHTREEITEM

#define HANDLE_TVM_MAPACCIDTOHTREEITEM (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(HTREEITEM)(fn)((hwnd), (UINT)(wParam))

Definition at line 1785 of file winxx.h.

◆ HANDLE_TVM_MAPHTREEITEMTOACCID

#define HANDLE_TVM_MAPHTREEITEMTOACCID (   hwnd,
  wParam,
  lParam,
  fn 
)     (UINT)(fn)((hwnd), (HTREEITEM)(wParam))

Definition at line 1789 of file winxx.h.

◆ HANDLE_TVM_SELECTITEM

#define HANDLE_TVM_SELECTITEM (   hwnd,
  wParam,
  lParam,
  fn 
)     (BOOL)(fn)((hwnd), (UINT)(wParam), (HTREEITEM)(lParam))

Definition at line 1663 of file winxx.h.

◆ HANDLE_TVM_SETBKCOLOR

#define HANDLE_TVM_SETBKCOLOR (   hwnd,
  wParam,
  lParam,
  fn 
)     (COLORREF)(fn)((hwnd), (COLORREF)(lParam))

Definition at line 1735 of file winxx.h.

◆ HANDLE_TVM_SETIMAGELIST

#define HANDLE_TVM_SETIMAGELIST (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(HIMAGELIST)(fn)((hwnd), (INT)(wParam), (HIMAGELIST)(lParam))

Definition at line 1655 of file winxx.h.

◆ HANDLE_TVM_SETINDENT

#define HANDLE_TVM_SETINDENT (   hwnd,
  wParam,
  lParam,
  fn 
)     (BOOL)(fn)((hwnd), (INT)(wParam))

Definition at line 1647 of file winxx.h.

◆ HANDLE_TVM_SETINSERTMARK

#define HANDLE_TVM_SETINSERTMARK (   hwnd,
  wParam,
  lParam,
  fn 
)     (BOOL)(fn)((hwnd), (HTREEITEM)(lParam), (BOOL)(wParam))

Definition at line 1723 of file winxx.h.

◆ HANDLE_TVM_SETINSERTMARKCOLOR

#define HANDLE_TVM_SETINSERTMARKCOLOR (   hwnd,
  wParam,
  lParam,
  fn 
)     (COLORREF)(fn)((hwnd), (COLORREF)(lParam))

Definition at line 1765 of file winxx.h.

◆ HANDLE_TVM_SETITEMA

#define HANDLE_TVM_SETITEMA (   hwnd,
  wParam,
  lParam,
  fn 
)     (BOOL)(fn)((hwnd), (const TV_ITEMA *)(lParam))

Definition at line 1671 of file winxx.h.

◆ HANDLE_TVM_SETITEMHEIGHT

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

Definition at line 1727 of file winxx.h.

◆ HANDLE_TVM_SETITEMW

#define HANDLE_TVM_SETITEMW (   hwnd,
  wParam,
  lParam,
  fn 
)     (BOOL)(fn)((hwnd), (const TV_ITEMW *)(lParam))

Definition at line 1821 of file winxx.h.

◆ HANDLE_TVM_SETLINECOLOR

#define HANDLE_TVM_SETLINECOLOR (   hwnd,
  wParam,
  lParam,
  fn 
)     (COLORREF)(fn)((hwnd), (COLORREF)(lParam))

Definition at line 1777 of file winxx.h.

◆ HANDLE_TVM_SETSCROLLTIME

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

Definition at line 1751 of file winxx.h.

◆ HANDLE_TVM_SETTEXTCOLOR

#define HANDLE_TVM_SETTEXTCOLOR (   hwnd,
  wParam,
  lParam,
  fn 
)     (COLORREF)(fn)((hwnd), (COLORREF)(lParam))

Definition at line 1739 of file winxx.h.

◆ HANDLE_TVM_SETTOOLTIPS

#define HANDLE_TVM_SETTOOLTIPS (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(HWND)(fn)((hwnd), (HWND)(wParam))

Definition at line 1715 of file winxx.h.

◆ HANDLE_TVM_SORTCHILDREN

#define HANDLE_TVM_SORTCHILDREN (   hwnd,
  wParam,
  lParam,
  fn 
)     (BOOL)(fn)((hwnd), (HTREEITEM)(lParam), (BOOL)(wParam))

Definition at line 1695 of file winxx.h.

◆ HANDLE_TVM_SORTCHILDRENCB

#define HANDLE_TVM_SORTCHILDRENCB (   hwnd,
  wParam,
  lParam,
  fn 
)     (BOOL)(fn)((hwnd), (LPTV_SORTCB)(lParam), (BOOL)(wParam))

Definition at line 1703 of file winxx.h.

◆ HANDLE_WM_APPCOMMAND

#define HANDLE_WM_APPCOMMAND (   hwnd,
  wParam,
  lParam,
  fn 
)
Value:
(LRESULT)(BOOL)(fn)((hwnd), (HWND)(wParam), GET_APPCOMMAND_LPARAM(lParam), \
GET_DEVICE_LPARAM(lParam), GET_KEYSTATE_LPARAM(lParam))
WPARAM wParam
Definition: combotst.c:138
LPARAM lParam
Definition: combotst.c:139

Definition at line 493 of file winxx.h.

◆ HANDLE_WM_CANCELJOURNAL

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

Definition at line 70 of file winxx.h.

◆ HANDLE_WM_CAPTURECHANGED

#define HANDLE_WM_CAPTURECHANGED (   hwnd,
  wParam,
  lParam,
  fn 
)     ((fn)((hwnd), (HWND)(lParam)), 0L)

Definition at line 340 of file winxx.h.

◆ HANDLE_WM_CHANGEUISTATE

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

Definition at line 260 of file winxx.h.

◆ HANDLE_WM_ENTERMENULOOP

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

Definition at line 307 of file winxx.h.

◆ HANDLE_WM_ENTERSIZEMOVE

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

Definition at line 503 of file winxx.h.

◆ HANDLE_WM_EXITMENULOOP

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

Definition at line 315 of file winxx.h.

◆ HANDLE_WM_EXITSIZEMOVE

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

Definition at line 511 of file winxx.h.

◆ HANDLE_WM_GETHOTKEY

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

Definition at line 46 of file winxx.h.

◆ HANDLE_WM_GETICON

#define HANDLE_WM_GETICON (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(HICON)(fn)((hwnd), (INT)(wParam), (LPARAM)(lParam))

Definition at line 147 of file winxx.h.

◆ HANDLE_WM_GETOBJECT

#define HANDLE_WM_GETOBJECT (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(fn)((hwnd), (WPARAM)(wParam), (DWORD)(lParam))

Definition at line 62 of file winxx.h.

◆ HANDLE_WM_HELP

#define HANDLE_WM_HELP (   hwnd,
  wParam,
  lParam,
  fn 
)     ((fn)((hwnd), (LPHELPINFO)(lParam)), 0L)

Definition at line 104 of file winxx.h.

◆ HANDLE_WM_IME_CHAR

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

Definition at line 413 of file winxx.h.

◆ HANDLE_WM_IME_COMPOSITION

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

Definition at line 210 of file winxx.h.

◆ HANDLE_WM_IME_COMPOSITIONFULL

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

Definition at line 397 of file winxx.h.

◆ HANDLE_WM_IME_CONTROL

#define HANDLE_WM_IME_CONTROL (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(fn)((hwnd), (WPARAM)(wParam), (LPVOID)(lParam))

Definition at line 389 of file winxx.h.

◆ HANDLE_WM_IME_ENDCOMPOSITION

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

Definition at line 202 of file winxx.h.

◆ HANDLE_WM_IME_KEYDOWN

#define HANDLE_WM_IME_KEYDOWN (   hwnd,
  wParam,
  lParam,
  fn 
)     ((fn)((hwnd), TRUE, (WORD)(wParam), (LONG)(lParam)), 0L)

Definition at line 429 of file winxx.h.

◆ HANDLE_WM_IME_KEYUP

#define HANDLE_WM_IME_KEYUP (   hwnd,
  wParam,
  lParam,
  fn 
)     ((fn)((hwnd), FALSE, (WORD)(wParam), (LONG)(lParam)), 0L)

Definition at line 434 of file winxx.h.

◆ HANDLE_WM_IME_NOTIFY

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

Definition at line 381 of file winxx.h.

◆ HANDLE_WM_IME_REQUEST

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

Definition at line 421 of file winxx.h.

◆ HANDLE_WM_IME_SELECT

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

Definition at line 405 of file winxx.h.

◆ HANDLE_WM_IME_SETCONTEXT

#define HANDLE_WM_IME_SETCONTEXT (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(BOOL)(fn)((hwnd), (BOOL)(wParam), (DWORD)(lParam))

Definition at line 373 of file winxx.h.

◆ HANDLE_WM_IME_STARTCOMPOSITION

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

Definition at line 194 of file winxx.h.

◆ HANDLE_WM_INPUTLANGCHANGE

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

Definition at line 87 of file winxx.h.

◆ HANDLE_WM_INPUTLANGCHANGEREQUEST

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

Definition at line 78 of file winxx.h.

◆ HANDLE_WM_MDICREATE

#define HANDLE_WM_MDICREATE (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(DWORD)(UINT)(UINT_PTR)(fn)((hwnd), (LPMDICREATESTRUCT)(lParam))

Definition at line 527 of file winxx.h.

◆ HANDLE_WM_MDIREFRESHMENU

#define HANDLE_WM_MDIREFRESHMENU (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(HMENU)(fn)((hwnd))

Definition at line 365 of file winxx.h.

◆ HANDLE_WM_MENUCOMMAND

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

Definition at line 251 of file winxx.h.

◆ HANDLE_WM_MENUDRAG

#define HANDLE_WM_MENUDRAG (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(UINT)(fn)((hwnd), (UINT)(wParam), (HMENU)(lParam))

Definition at line 226 of file winxx.h.

◆ HANDLE_WM_MENUGETOBJECT

#define HANDLE_WM_MENUGETOBJECT (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(UINT)(fn)((hwnd), (MENUGETOBJECTINFO *)(lParam))

Definition at line 234 of file winxx.h.

◆ HANDLE_WM_MENURBUTTONUP

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

Definition at line 218 of file winxx.h.

◆ HANDLE_WM_MOUSEHOVER

#define HANDLE_WM_MOUSEHOVER (   hwnd,
  wParam,
  lParam,
  fn 
)     ((fn)((hwnd), (UINT)(wParam), GET_X_LPARAM(lParam), GET_Y_LPARAM(lParam)), 0L)

Definition at line 443 of file winxx.h.

◆ HANDLE_WM_MOUSELEAVE

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

Definition at line 452 of file winxx.h.

◆ HANDLE_WM_MOVING

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

Definition at line 348 of file winxx.h.

◆ HANDLE_WM_NCACTIVATE

#define HANDLE_WM_NCACTIVATE (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(DWORD)(BOOL)(fn)((hwnd), (BOOL)(wParam), 0L, 0L)

Definition at line 535 of file winxx.h.

◆ HANDLE_WM_NCMOUSEHOVER

#define HANDLE_WM_NCMOUSEHOVER (   hwnd,
  wParam,
  lParam,
  fn 
)     ((fn)((hwnd), (INT)(wParam), GET_X_LPARAM(lParam), GET_Y_LPARAM(lParam)), 0L)

Definition at line 460 of file winxx.h.

◆ HANDLE_WM_NCMOUSELEAVE

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

Definition at line 469 of file winxx.h.

◆ HANDLE_WM_NCXBUTTONDBLCLK

#define HANDLE_WM_NCXBUTTONDBLCLK (   hwnd,
  wParam,
  lParam,
  fn 
)
Value:
(LRESULT)((fn)((hwnd), TRUE, GET_NCHITTEST_WPARAM(wParam), GET_XBUTTON_WPARAM(wParam), \
GET_X_LPARAM(lParam), GET_Y_LPARAM(lParam)), TRUE)
#define TRUE
Definition: types.h:120
#define GET_Y_LPARAM(lp)
Definition: windowsx.h:300

Definition at line 174 of file winxx.h.

◆ HANDLE_WM_NCXBUTTONDOWN

#define HANDLE_WM_NCXBUTTONDOWN (   hwnd,
  wParam,
  lParam,
  fn 
)
Value:
(LRESULT)((fn)((hwnd), FALSE, GET_NCHITTEST_WPARAM(wParam), GET_XBUTTON_WPARAM(wParam), \
GET_X_LPARAM(lParam), GET_Y_LPARAM(lParam)), TRUE)
#define FALSE
Definition: types.h:117

Definition at line 171 of file winxx.h.

◆ HANDLE_WM_NCXBUTTONUP

#define HANDLE_WM_NCXBUTTONUP (   hwnd,
  wParam,
  lParam,
  fn 
)
Value:
(LRESULT)((fn)((hwnd), GET_NCHITTEST_WPARAM(wParam), GET_XBUTTON_WPARAM(wParam), \
GET_X_LPARAM(lParam), GET_Y_LPARAM(lParam)), TRUE)

Definition at line 184 of file winxx.h.

◆ HANDLE_WM_NEXTMENU

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

Definition at line 323 of file winxx.h.

◆ HANDLE_WM_NOTIFYFORMAT

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

Definition at line 120 of file winxx.h.

◆ HANDLE_WM_NULL

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

Definition at line 30 of file winxx.h.

◆ HANDLE_WM_PAINTICON

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

Definition at line 54 of file winxx.h.

◆ HANDLE_WM_POWERBROADCAST

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

Definition at line 356 of file winxx.h.

◆ HANDLE_WM_PRINT

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

Definition at line 477 of file winxx.h.

◆ HANDLE_WM_PRINTCLIENT

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

Definition at line 485 of file winxx.h.

◆ HANDLE_WM_QUERYDRAGICON

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

Definition at line 519 of file winxx.h.

◆ HANDLE_WM_QUERYUISTATE

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

Definition at line 276 of file winxx.h.

◆ HANDLE_WM_SETHOTKEY

#define HANDLE_WM_SETHOTKEY (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(INT_PTR)(INT)(fn)((hwnd), (INT)LOWORD(wParam), (UINT)HIWORD(wParam))

Definition at line 38 of file winxx.h.

◆ HANDLE_WM_SETICON

#define HANDLE_WM_SETICON (   hwnd,
  wParam,
  lParam,
  fn 
)     (LRESULT)(HICON)(fn)((hwnd), (INT)(wParam), (HICON)(lParam))

Definition at line 155 of file winxx.h.

◆ HANDLE_WM_SETTINGCHANGE

#define HANDLE_WM_SETTINGCHANGE (   hwnd,
  wParam,
  lParam,
  fn 
)     ((fn)((hwnd), (UINT_PTR)(wParam), (LPCTSTR)(LPARAM)(lParam)), 0L)

Definition at line 543 of file winxx.h.

◆ HANDLE_WM_SIZING

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

Definition at line 332 of file winxx.h.

◆ HANDLE_WM_STYLECHANGED

#define HANDLE_WM_STYLECHANGED (   hwnd,
  wParam,
  lParam,
  fn 
)     ((fn)((hwnd), (UINT)(wParam), (const STYLESTRUCT *)(lParam)), 0L)

Definition at line 138 of file winxx.h.

◆ HANDLE_WM_STYLECHANGING

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

Definition at line 129 of file winxx.h.

◆ HANDLE_WM_SYNCPAINT

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

Definition at line 163 of file winxx.h.

◆ HANDLE_WM_TCARD

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

Definition at line 96 of file winxx.h.

◆ HANDLE_WM_UNINITMENUPOPUP

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

Definition at line 242 of file winxx.h.

◆ HANDLE_WM_UPDATEUISTATE

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

Definition at line 268 of file winxx.h.

◆ HANDLE_WM_USERCHANGED

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

Definition at line 112 of file winxx.h.

◆ HANDLE_WM_XBUTTONDBLCLK

#define HANDLE_WM_XBUTTONDBLCLK (   hwnd,
  wParam,
  lParam,
  fn 
)
Value:
(LRESULT)((fn)((hwnd), TRUE, GET_KEYSTATE_WPARAM(wParam), GET_XBUTTON_WPARAM(wParam), \
GET_X_LPARAM(lParam), GET_Y_LPARAM(lParam)), TRUE)

Definition at line 287 of file winxx.h.

◆ HANDLE_WM_XBUTTONDOWN

#define HANDLE_WM_XBUTTONDOWN (   hwnd,
  wParam,
  lParam,
  fn 
)
Value:
(LRESULT)((fn)((hwnd), FALSE, GET_KEYSTATE_WPARAM(wParam), GET_XBUTTON_WPARAM(wParam), \
GET_X_LPARAM(lParam), GET_Y_LPARAM(lParam)), TRUE)

Definition at line 284 of file winxx.h.

◆ HANDLE_WM_XBUTTONUP

#define HANDLE_WM_XBUTTONUP (   hwnd,
  wParam,
  lParam,
  fn 
)
Value:
(LRESULT)((fn)((hwnd), GET_KEYSTATE_WPARAM(wParam), GET_XBUTTON_WPARAM(wParam), \
GET_X_LPARAM(lParam), GET_Y_LPARAM(lParam)), TRUE)

Definition at line 297 of file winxx.h.