• R/O
  • HTTP
  • SSH
  • HTTPS

コミット

タグ
未設定

よく使われているワード(クリックで追加)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

The MinGW.org Windows System Libraries


コミットメタ情報

リビジョンa41c43993b880f76e4675874469314cb195a1688 (tree)
日時2016-12-08 23:30:41
作者Keith Marshall <keithmarshall@user...>
コミッターKeith Marshall

ログメッセージ

Rationalize <winuser.h> ANSI vs. UNICODE definition strategy.

変更サマリ

差分

--- a/w32api/ChangeLog
+++ b/w32api/ChangeLog
@@ -1,3 +1,12 @@
1+2016-12-08 Keith Marshall <keithmarshall@users.sourceforge.net>
2+
3+ Rationalize <winuser.h> ANSI vs. UNICODE definition strategy.
4+
5+ * include/winuser.h [UNICODE, !UNICODE]: Replace individual pairs of
6+ alternative generic symbol mapping definitions, and typedefs, with...
7+ (__AW_SUFFIXED__): ...one such macro expansion per pair; collate with
8+ their respective ANSI and UNICODE specific references.
9+
110 2016-11-26 Keith Marshall <keithmarshall@users.sourceforge.net>
211
312 Deprecate obsolete <winable.h> and <pbt.h> headers.
--- a/w32api/include/winuser.h
+++ b/w32api/include/winuser.h
@@ -2655,14 +2655,24 @@ _BEGIN_C_DECLS
26552655 #define MAPVK_VK_TO_VSC_EX 4
26562656
26572657 #ifndef RC_INVOKED
2658+#define DEKSTOPENUMPROC __AW_SUFFIXED__(DEKSTOPENUMPROC)
2659+#define WINSTAENUMPROC __AW_SUFFIXED__(WINSTAENUMPROC)
2660+#define MAKEINTRESOURCE __AW_SUFFIXED__(MAKEINTRESOURCE)
2661+
26582662 typedef BOOL (CALLBACK *DLGPROC) (HWND, UINT, WPARAM, LPARAM);
26592663 typedef VOID (CALLBACK *TIMERPROC) (HWND, UINT, UINT_PTR, DWORD);
26602664 typedef BOOL (CALLBACK *GRAYSTRINGPROC) (HDC, LPARAM, int);
26612665 typedef LRESULT (CALLBACK *HOOKPROC) (int, WPARAM, LPARAM);
2666+
2667+#define PROPENUMPROC __AW_SUFFIXED__(PROPENUMPROC)
26622668 typedef BOOL (CALLBACK *PROPENUMPROCA) (HWND, LPCSTR, HANDLE);
26632669 typedef BOOL (CALLBACK *PROPENUMPROCW) (HWND, LPCWSTR, HANDLE);
2670+
2671+#define PROPENUMPROCEX __AW_SUFFIXED__(PROPENUMPROCEX)
26642672 typedef BOOL (CALLBACK *PROPENUMPROCEXA) (HWND, LPSTR, HANDLE, DWORD);
26652673 typedef BOOL (CALLBACK *PROPENUMPROCEXW) (HWND, LPWSTR, HANDLE, DWORD);
2674+
2675+#define EDITWORDBREAKPROC __AW_SUFFIXED__(EDITWORDBREAKPROC)
26662676 typedef int (CALLBACK *EDITWORDBREAKPROCA) (LPSTR, int, int, int);
26672677 typedef int (CALLBACK *EDITWORDBREAKPROCW) (LPWSTR, int, int, int);
26682678 typedef LRESULT (CALLBACK *WNDPROC) (HWND, UINT, WPARAM, LPARAM);
@@ -2738,6 +2748,8 @@ typedef struct tagCREATESTRUCTW
27382748 DWORD dwExStyle;
27392749 } CREATESTRUCTW, *LPCREATESTRUCTW;
27402750
2751+typedef __AW_SUFFIXED__(CREATESTRUCT) CREATESTRUCT, *LPCREATESTRUCT;
2752+
27412753 typedef struct tagCBT_CREATEWNDA
27422754 { LPCREATESTRUCTA lpcs;
27432755 HWND hwndInsertAfter;
@@ -2748,6 +2760,8 @@ typedef struct tagCBT_CREATEWNDW
27482760 HWND hwndInsertAfter;
27492761 } CBT_CREATEWNDW, *LPCBT_CREATEWNDW;
27502762
2763+typedef __AW_SUFFIXED__(CBT_CREATEWND) CBT_CREATEWND, *LPCBT_CREATEWND;
2764+
27512765 typedef struct tagCBTACTIVATESTRUCT
27522766 { BOOL fMouse;
27532767 HWND hWndActive;
@@ -2920,6 +2934,8 @@ typedef struct _WNDCLASSW
29202934 LPCWSTR lpszClassName;
29212935 } WNDCLASSW, *LPWNDCLASSW, *PWNDCLASSW;
29222936
2937+typedef __AW_SUFFIXED__(WNDCLASS) WNDCLASS, *LPWNDCLASS, *PWNDCLASS;
2938+
29232939 typedef struct _WNDCLASSEXA
29242940 { UINT cbSize;
29252941 UINT style;
@@ -2950,6 +2966,8 @@ typedef struct _WNDCLASSEXW
29502966 HICON hIconSm;
29512967 } WNDCLASSEXW, *LPWNDCLASSEXW, *PWNDCLASSEXW;
29522968
2969+typedef __AW_SUFFIXED__(WNDCLASSEX) WNDCLASSEX, *LPWNDCLASSEX, *PWNDCLASSEX;
2970+
29532971 typedef struct tagMENUITEMINFOA
29542972 { UINT cbSize;
29552973 UINT fMask;
@@ -2987,6 +3005,8 @@ typedef struct tagMENUITEMINFOW
29873005 } MENUITEMINFOW, *LPMENUITEMINFOW;
29883006
29893007 typedef const MENUITEMINFOW *LPCMENUITEMINFOW;
3008+typedef __AW_SUFFIXED__(MENUITEMINFO) MENUITEMINFO, *LPMENUITEMINFO;
3009+typedef __AW_SUFFIXED__(LPCMENUITEMINFO) LPCMENUITEMINFO;
29903010
29913011 typedef struct tagSCROLLINFO
29923012 { UINT cbSize;
@@ -3060,6 +3080,8 @@ typedef struct
30603080 DWORD dwLanguageId;
30613081 } MSGBOXPARAMSW, *PMSGBOXPARAMSW, *LPMSGBOXPARAMSW;
30623082
3083+typedef __AW_SUFFIXED__(MSGBOXPARAMS) MSGBOXPARAMS, *PMSGBOXPARAMS, *LPMSGBOXPARAMS;
3084+
30633085 typedef struct tagUSEROBJECTFLAGS
30643086 { BOOL fInherit;
30653087 BOOL fReserved;
@@ -3087,6 +3109,8 @@ typedef struct tagHIGHCONTRASTW
30873109 LPWSTR lpszDefaultScheme;
30883110 } HIGHCONTRASTW, *LPHIGHCONTRASTW;
30893111
3112+typedef __AW_SUFFIXED__(HIGHCONTRAST) HIGHCONTRAST, *LPHIGHCONTRAST;
3113+
30903114 #ifndef NOGDI
30913115 typedef struct tagICONMETRICSA
30923116 { UINT cbSize;
@@ -3103,7 +3127,9 @@ typedef struct tagICONMETRICSW
31033127 int iTitleWrap;
31043128 LOGFONTW lfFont;
31053129 } ICONMETRICSW, *LPICONMETRICSW;
3106-#endif /* NOGDI */
3130+
3131+typedef __AW_SUFFIXED__(ICONMETRICS) ICONMETRICS, *LPICONMETRICS;
3132+#endif /* ! NOGDI */
31073133
31083134 typedef struct tagMINIMIZEDMETRICS
31093135 { UINT cbSize;
@@ -3159,7 +3185,9 @@ typedef struct tagNONCLIENTMETRICSW
31593185 LOGFONTW lfStatusFont;
31603186 LOGFONTW lfMessageFont;
31613187 } NONCLIENTMETRICSW, *LPNONCLIENTMETRICSW;
3162-#endif
3188+
3189+typedef __AW_SUFFIXED__(NONCLIENTMETRICS) NONCLIENTMETRICS, *LPNONCLIENTMETRICS;
3190+#endif /* ! NOGDI */
31633191
31643192 typedef struct tagSERIALKEYSA
31653193 { UINT cbSize;
@@ -3181,6 +3209,8 @@ typedef struct tagSERIALKEYSW
31813209 UINT iActive;
31823210 } SERIALKEYSW, *LPSERIALKEYSW;
31833211
3212+typedef __AW_SUFFIXED__(SERIALKEYS) SERIALKEYS, *LPSERIALKEYS;
3213+
31843214 typedef struct tagSOUNDSENTRYA
31853215 { UINT cbSize;
31863216 DWORD dwFlags;
@@ -3211,6 +3241,8 @@ typedef struct tagSOUNDSENTRYW
32113241 DWORD iWindowsEffectOrdinal;
32123242 } SOUNDSENTRYW, *LPSOUNDSENTRYW;
32133243
3244+typedef __AW_SUFFIXED__(SOUNDSENTRY) SOUNDSENTRY, *LPSOUNDSENTRY;
3245+
32143246 typedef struct tagSTICKYKEYS
32153247 { DWORD cbSize;
32163248 DWORD dwFlags;
@@ -3287,6 +3319,8 @@ typedef struct tagMDICREATESTRUCTW
32873319 LPARAM lParam;
32883320 } MDICREATESTRUCTW, *LPMDICREATESTRUCTW;
32893321
3322+typedef __AW_SUFFIXED__(MDICREATESTRUCT) MDICREATESTRUCT, *LPMDICREATESTRUCT;
3323+
32903324 typedef struct tagMINMAXINFO
32913325 { POINT ptReserved;
32923326 POINT ptMaxSize;
@@ -3333,6 +3367,8 @@ typedef struct tagMULTIKEYHELPW
33333367 WCHAR szKeyphrase[1];
33343368 } MULTIKEYHELPW, *PMULTIKEYHELPW, *LPMULTIKEYHELPW;
33353369
3370+typedef __AW_SUFFIXED__(MULTIKEYHELP) MULTIKEYHELP, *PMULTIKEYHELP, *LPMULTIKEYHELP;
3371+
33363372 typedef struct tagHELPWININFOA
33373373 { int wStructSize;
33383374 int x;
@@ -3483,6 +3519,8 @@ typedef struct tagMONITORINFOEXW
34833519 } MONITORINFOEXW, *LPMONITORINFOEXW;
34843520 #endif /* !__cplusplus */
34853521
3522+typedef __AW_SUFFIXED__(MONITORINFOEX) MONITORINFOEX, *LPMONITORINFOEX;
3523+
34863524 typedef struct tagKBDLLHOOKSTRUCT
34873525 { DWORD vkCode;
34883526 DWORD scanCode;
@@ -3733,7 +3771,7 @@ extern const GUID GUID_SYSTEM_AWAYMODE;
37333771 extern const GUID GUID_MONITOR_POWER_ON;
37343772 #endif
37353773
3736-WINUSERAPI HKL WINAPI ActivateKeyboardLayout (HKL, UINT);
3774+WINUSERAPI HKL WINAPI ActivateKeyboardLayout (HKL, UINT);
37373775 WINUSERAPI BOOL WINAPI AdjustWindowRect (LPRECT, DWORD, BOOL);
37383776 WINUSERAPI BOOL WINAPI AdjustWindowRectEx (LPRECT, DWORD, BOOL, DWORD);
37393777
@@ -3742,118 +3780,187 @@ WINUSERAPI BOOL WINAPI AnimateWindow (HWND, DWORD, DWORD);
37423780 #endif /* >= _WIN32_WINNT_WIN2K */
37433781
37443782 WINUSERAPI BOOL WINAPI AnyPopup (void);
3783+
3784+#define AppendMenu __AW_SUFFIXED__(AppendMenu)
37453785 WINUSERAPI BOOL WINAPI AppendMenuA (HMENU, UINT, UINT_PTR, LPCSTR);
37463786 WINUSERAPI BOOL WINAPI AppendMenuW (HMENU, UINT, UINT_PTR, LPCWSTR);
3787+
37473788 WINUSERAPI UINT WINAPI ArrangeIconicWindows (HWND);
37483789 WINUSERAPI BOOL WINAPI AttachThreadInput (DWORD, DWORD, BOOL);
37493790 WINUSERAPI HDWP WINAPI BeginDeferWindowPos (int);
3750-WINUSERAPI HDC WINAPI BeginPaint (HWND, LPPAINTSTRUCT);
3791+WINUSERAPI HDC WINAPI BeginPaint (HWND, LPPAINTSTRUCT);
37513792 WINUSERAPI BOOL WINAPI BringWindowToTop (HWND);
3793+
37523794 WINUSERAPI long WINAPI BroadcastSystemMessage (DWORD, LPDWORD, UINT, WPARAM, LPARAM);
37533795
37543796 #if _WIN32_WINNT >= _WIN32_WINNT_NT4
3797+#define BroadcastSystemMessage __AW_SUFFIXED__(BroadcastSystemMessage)
37553798 WINUSERAPI long WINAPI BroadcastSystemMessageA (DWORD, LPDWORD, UINT, WPARAM, LPARAM);
37563799 WINUSERAPI long WINAPI BroadcastSystemMessageW (DWORD, LPDWORD, UINT, WPARAM, LPARAM);
37573800 #endif /* >= _WIN32_WINNT_NT4 */
37583801
37593802 #if _WIN32_WINNT >= _WIN32_WINNT_WINXP
3803+#define BroadcastSystemMessageEx __AW_SUFFIXED__(BroadcastSystemMessageEx)
37603804 WINUSERAPI long WINAPI BroadcastSystemMessageExA (DWORD, LPDWORD, UINT, WPARAM, LPARAM, PBSMINFO);
37613805 WINUSERAPI long WINAPI BroadcastSystemMessageExW (DWORD, LPDWORD, UINT, WPARAM, LPARAM, PBSMINFO);
37623806 #endif /* >= _WIN32_WINNT_WINXP */
37633807
3808+#define CallMsgFilter __AW_SUFFIXED__(CallMsgFilter)
37643809 WINUSERAPI BOOL WINAPI CallMsgFilterA (LPMSG, INT);
37653810 WINUSERAPI BOOL WINAPI CallMsgFilterW (LPMSG, INT);
3766-WINUSERAPI LRESULT WINAPI CallNextHookEx (HHOOK, int, WPARAM, LPARAM);
3811+
3812+#define CallWindowProc __AW_SUFFIXED__(CallWindowProc)
37673813 WINUSERAPI LRESULT WINAPI CallWindowProcA (WNDPROC, HWND, UINT, WPARAM, LPARAM);
37683814 WINUSERAPI LRESULT WINAPI CallWindowProcW (WNDPROC, HWND, UINT, WPARAM, LPARAM);
3815+
37693816 WINUSERAPI WORD WINAPI CascadeWindows (HWND, UINT, LPCRECT, UINT, const HWND *);
37703817 WINUSERAPI BOOL WINAPI ChangeClipboardChain (HWND, HWND);
37713818
3819+#define DefHookProc(c, p, lp, h) CallNextHookEx ((HHOOK)(*(h)), c, p, lp)
3820+WINUSERAPI LRESULT WINAPI CallNextHookEx (HHOOK, int, WPARAM, LPARAM);
3821+
37723822 #ifndef NOGDI
3823+#define ChangeDisplaySettings __AW_SUFFIXED__(ChangeDisplaySettings)
37733824 WINUSERAPI LONG WINAPI ChangeDisplaySettingsA (PDEVMODEA, DWORD);
37743825 WINUSERAPI LONG WINAPI ChangeDisplaySettingsW (PDEVMODEW, DWORD);
3826+
3827+#define ChangeDisplaySettingsEx __AW_SUFFIXED__(ChangeDisplaySettingsEx)
37753828 WINUSERAPI LONG WINAPI ChangeDisplaySettingsExA (LPCSTR, LPDEVMODEA, HWND, DWORD, LPVOID);
37763829 WINUSERAPI LONG WINAPI ChangeDisplaySettingsExW (LPCWSTR, LPDEVMODEW, HWND, DWORD, LPVOID);
3777-#endif
3830+#endif /* ! NOGDI */
37783831
3832+#define ChangeMenu __AW_SUFFIXED__(ChangeMenu)
37793833 WINUSERAPI BOOL WINAPI ChangeMenuA (HMENU, UINT, LPCSTR, UINT, UINT);
37803834 WINUSERAPI BOOL WINAPI ChangeMenuW (HMENU, UINT, LPCWSTR, UINT, UINT);
3781-WINUSERAPI LPSTR WINAPI CharLowerA (LPSTR);
3835+
3836+#define CharLower __AW_SUFFIXED__(CharLower)
3837+WINUSERAPI LPSTR WINAPI CharLowerA (LPSTR);
37823838 WINUSERAPI LPWSTR WINAPI CharLowerW (LPWSTR);
3839+
3840+#define CharLowerBuff __AW_SUFFIXED__(CharLowerBuff)
37833841 WINUSERAPI DWORD WINAPI CharLowerBuffA (LPSTR, DWORD);
37843842 WINUSERAPI DWORD WINAPI CharLowerBuffW (LPWSTR, DWORD);
3785-WINUSERAPI LPSTR WINAPI CharNextA (LPCSTR);
3843+
3844+#define CharNext __AW_SUFFIXED__(CharNext)
3845+WINUSERAPI LPSTR WINAPI CharNextA (LPCSTR);
37863846 WINUSERAPI LPWSTR WINAPI CharNextW (LPCWSTR);
3787-WINUSERAPI LPSTR WINAPI CharNextExA (WORD, LPCSTR, DWORD);
3788-WINUSERAPI LPSTR WINAPI CharPrevA (LPCSTR, LPCSTR);
3847+WINUSERAPI LPSTR WINAPI CharNextExA (WORD, LPCSTR, DWORD);
3848+
3849+#define CharPrev __AW_SUFFIXED__(CharPrev)
3850+WINUSERAPI LPSTR WINAPI CharPrevA (LPCSTR, LPCSTR);
37893851 WINUSERAPI LPWSTR WINAPI CharPrevW (LPCWSTR, LPCWSTR);
3790-WINUSERAPI LPSTR WINAPI CharPrevExA (WORD, LPCSTR, LPCSTR, DWORD);
3852+WINUSERAPI LPSTR WINAPI CharPrevExA (WORD, LPCSTR, LPCSTR, DWORD);
3853+
3854+#define CharToOem __AW_SUFFIXED__(CharToOem)
37913855 WINUSERAPI BOOL WINAPI CharToOemA (LPCSTR, LPSTR);
37923856 WINUSERAPI BOOL WINAPI CharToOemW (LPCWSTR, LPSTR);
3857+
3858+#define CharToOemBuff __AW_SUFFIXED__(CharToOemBuff)
37933859 WINUSERAPI BOOL WINAPI CharToOemBuffA (LPCSTR, LPSTR, DWORD);
37943860 WINUSERAPI BOOL WINAPI CharToOemBuffW (LPCWSTR, LPSTR, DWORD);
3795-WINUSERAPI LPSTR WINAPI CharUpperA (LPSTR);
3861+
3862+#define CharUpper __AW_SUFFIXED__(CharUpper)
3863+WINUSERAPI LPSTR WINAPI CharUpperA (LPSTR);
37963864 WINUSERAPI LPWSTR WINAPI CharUpperW (LPWSTR);
3865+
3866+#define CharUpperBuff __AW_SUFFIXED__(CharUpperBuff)
37973867 WINUSERAPI DWORD WINAPI CharUpperBuffA (LPSTR, DWORD);
37983868 WINUSERAPI DWORD WINAPI CharUpperBuffW (LPWSTR, DWORD);
3799-WINUSERAPI BOOL WINAPI CheckDlgButton (HWND, int, UINT);
3869+
3870+WINUSERAPI BOOL WINAPI CheckDlgButton (HWND, int, UINT);
38003871 WINUSERAPI DWORD WINAPI CheckMenuItem (HMENU, UINT, UINT);
3801-WINUSERAPI BOOL WINAPI CheckMenuRadioItem (HMENU, UINT, UINT, UINT, UINT);
3802-WINUSERAPI BOOL WINAPI CheckRadioButton (HWND, int, int, int);
3803-WINUSERAPI HWND WINAPI ChildWindowFromPoint (HWND, POINT);
3804-WINUSERAPI HWND WINAPI ChildWindowFromPointEx (HWND, POINT, UINT);
3805-WINUSERAPI BOOL WINAPI ClientToScreen (HWND, LPPOINT);
3806-WINUSERAPI BOOL WINAPI ClipCursor (LPCRECT);
3807-WINUSERAPI BOOL WINAPI CloseClipboard (void);
3808-WINUSERAPI BOOL WINAPI CloseDesktop (HDESK);
3809-WINUSERAPI BOOL WINAPI CloseWindow (HWND);
3810-WINUSERAPI BOOL WINAPI CloseWindowStation (HWINSTA);
3872+WINUSERAPI BOOL WINAPI CheckMenuRadioItem (HMENU, UINT, UINT, UINT, UINT);
3873+WINUSERAPI BOOL WINAPI CheckRadioButton (HWND, int, int, int);
3874+WINUSERAPI HWND WINAPI ChildWindowFromPoint (HWND, POINT);
3875+WINUSERAPI HWND WINAPI ChildWindowFromPointEx (HWND, POINT, UINT);
3876+WINUSERAPI BOOL WINAPI ClientToScreen (HWND, LPPOINT);
3877+WINUSERAPI BOOL WINAPI ClipCursor (LPCRECT);
3878+WINUSERAPI BOOL WINAPI CloseClipboard (void);
3879+WINUSERAPI BOOL WINAPI CloseDesktop (HDESK);
3880+WINUSERAPI BOOL WINAPI CloseWindow (HWND);
3881+WINUSERAPI BOOL WINAPI CloseWindowStation (HWINSTA);
3882+
3883+#define CopyAcceleratorTable __AW_SUFFIXED__(CopyAcceleratorTable)
38113884 WINUSERAPI int WINAPI CopyAcceleratorTableA (HACCEL, LPACCEL, int);
38123885 WINUSERAPI int WINAPI CopyAcceleratorTableW (HACCEL, LPACCEL, int);
3886+
38133887 #define CopyCursor(c) ((HCURSOR)(CopyIcon ((HICON)(c))))
3814-WINUSERAPI HICON WINAPI CopyIcon (HICON);
3888+WINUSERAPI HICON WINAPI CopyIcon (HICON);
38153889 WINUSERAPI HANDLE WINAPI CopyImage (HANDLE, UINT, int, int, UINT);
3816-WINUSERAPI BOOL WINAPI CopyRect (LPRECT, LPCRECT);
3817-WINUSERAPI int WINAPI CountClipboardFormats (void);
3890+WINUSERAPI BOOL WINAPI CopyRect (LPRECT, LPCRECT);
3891+WINUSERAPI int WINAPI CountClipboardFormats (void);
3892+
3893+#define CreateAcceleratorTable __AW_SUFFIXED__(CreateAcceleratorTable)
38183894 WINUSERAPI HACCEL WINAPI CreateAcceleratorTableA (LPACCEL, int);
38193895 WINUSERAPI HACCEL WINAPI CreateAcceleratorTableW (LPACCEL, int);
3820-WINUSERAPI BOOL WINAPI CreateCaret (HWND, HBITMAP, int, int);
3896+
3897+WINUSERAPI BOOL WINAPI CreateCaret (HWND, HBITMAP, int, int);
38213898 WINUSERAPI HCURSOR WINAPI CreateCursor (HINSTANCE, int, int, int, int, PCVOID, PCVOID);
38223899
38233900 #ifndef NOGDI
3824-WINUSERAPI HDESK WINAPI CreateDesktopA (LPCSTR, LPCSTR, LPDEVMODEA, DWORD, ACCESS_MASK, LPSECURITY_ATTRIBUTES);
3825-WINUSERAPI HDESK WINAPI CreateDesktopW (LPCWSTR, LPCWSTR, LPDEVMODEW, DWORD, ACCESS_MASK, LPSECURITY_ATTRIBUTES);
3826-#endif
3827-
3828-#define CreateDialogA(h, n, w, f) CreateDialogParamA (h, n, w, f, 0)
3829-#define CreateDialogW(h, n, w, f) CreateDialogParamW (h, n, w, f, 0)
3830-#define CreateDialogIndirectA(h, t, w, f) CreateDialogIndirectParamA (h, t, w, f, 0)
3831-#define CreateDialogIndirectW(h, t, w, f) CreateDialogIndirectParamW (h, t, w, f, 0)
3832-
3833-WINUSERAPI HWND WINAPI CreateDialogIndirectParamA (HINSTANCE, LPCDLGTEMPLATE, HWND, DLGPROC, LPARAM);
3834-WINUSERAPI HWND WINAPI CreateDialogIndirectParamW (HINSTANCE, LPCDLGTEMPLATE, HWND, DLGPROC, LPARAM);
3901+#define CreateDesktop __AW_SUFFIXED__(CreateDesktop)
3902+WINUSERAPI HDESK WINAPI CreateDesktopA
3903+(LPCSTR, LPCSTR, LPDEVMODEA, DWORD, ACCESS_MASK, LPSECURITY_ATTRIBUTES);
3904+WINUSERAPI HDESK WINAPI CreateDesktopW
3905+(LPCWSTR, LPCWSTR, LPDEVMODEW, DWORD, ACCESS_MASK, LPSECURITY_ATTRIBUTES);
3906+#endif /* ! NOGDI */
3907+
3908+#define CreateDialog __AW_SUFFIXED__(CreateDialog)
3909+#define CreateDialogA(h,n,w,f) CreateDialogParamA (h, n, w, f, 0)
3910+#define CreateDialogW(h,n,w,f) CreateDialogParamW (h, n, w, f, 0)
3911+
3912+#define CreateDialogIndirect __AW_SUFFIXED__(CreateDialogIndirect)
3913+#define CreateDialogIndirectA(h,t,w,f) CreateDialogIndirectParamA (h, t, w, f, 0)
3914+#define CreateDialogIndirectW(h,t,w,f) CreateDialogIndirectParamW (h, t, w, f, 0)
3915+
3916+#define CreateDialogIndirectParam __AW_SUFFIXED__(CreateDialogIndirectParam)
3917+WINUSERAPI HWND WINAPI
3918+CreateDialogIndirectParamA (HINSTANCE, LPCDLGTEMPLATE, HWND, DLGPROC, LPARAM);
3919+WINUSERAPI HWND WINAPI
3920+CreateDialogIndirectParamW (HINSTANCE, LPCDLGTEMPLATE, HWND, DLGPROC, LPARAM);
3921+
3922+#define CreateDialogParam __AW_SUFFIXED__(CreateDialogParam)
38353923 WINUSERAPI HWND WINAPI CreateDialogParamA (HINSTANCE, LPCSTR, HWND, DLGPROC, LPARAM);
38363924 WINUSERAPI HWND WINAPI CreateDialogParamW (HINSTANCE, LPCWSTR, HWND, DLGPROC, LPARAM);
3925+
38373926 WINUSERAPI HICON WINAPI CreateIcon (HINSTANCE, int, int, BYTE, BYTE, const BYTE *, const BYTE *);
38383927 WINUSERAPI HICON WINAPI CreateIconFromResource (PBYTE, DWORD, BOOL, DWORD);
38393928 WINUSERAPI HICON WINAPI CreateIconFromResourceEx (PBYTE, DWORD, BOOL, DWORD, int, int, UINT);
38403929 WINUSERAPI HICON WINAPI CreateIconIndirect (PICONINFO);
3930+
3931+#define CreateMDIWindow __AW_SUFFIXED__(CreateMDIWindow)
38413932 WINUSERAPI HWND WINAPI CreateMDIWindowA (LPCSTR, LPCSTR, DWORD, int, int, int, int, HWND, HINSTANCE, LPARAM);
38423933 WINUSERAPI HWND WINAPI CreateMDIWindowW (LPCWSTR, LPCWSTR, DWORD, int, int, int, int, HWND, HINSTANCE, LPARAM);
38433934 WINUSERAPI HMENU WINAPI CreateMenu (void);
38443935 WINUSERAPI HMENU WINAPI CreatePopupMenu (void);
3845-#define CreateWindowA(a, b, c, d, e, f, g, h, i, j, k) CreateWindowExA (0, a, b, c, d, e, f, g, h, i, j, k)
3846-#define CreateWindowW(a, b, c, d, e, f, g, h, i, j, k) CreateWindowExW (0, a, b, c, d, e, f, g, h, i, j, k)
3847-WINUSERAPI HWND WINAPI CreateWindowExA (DWORD, LPCSTR, LPCSTR, DWORD, int, int, int, int, HWND, HMENU, HINSTANCE, LPVOID);
3848-WINUSERAPI HWND WINAPI CreateWindowExW (DWORD, LPCWSTR, LPCWSTR, DWORD, int, int, int, int, HWND, HMENU, HINSTANCE, LPVOID);
3936+
3937+#define CreateWindow __AW_SUFFIXED__(CreateWindow)
3938+#define CreateWindowA(a, b, c, d, e, f, g, h, i, j, k) \
3939+ CreateWindowExA (0, a, b, c, d, e, f, g, h, i, j, k)
3940+#define CreateWindowW(a, b, c, d, e, f, g, h, i, j, k) \
3941+ CreateWindowExW (0, a, b, c, d, e, f, g, h, i, j, k)
3942+
3943+#define CreateWindowEx __AW_SUFFIXED__(CreateWindowEx)
3944+WINUSERAPI HWND WINAPI CreateWindowExA
3945+(DWORD, LPCSTR, LPCSTR, DWORD, int, int, int, int, HWND, HMENU, HINSTANCE, LPVOID);
3946+WINUSERAPI HWND WINAPI CreateWindowExW
3947+(DWORD, LPCWSTR, LPCWSTR, DWORD, int, int, int, int, HWND, HMENU, HINSTANCE, LPVOID);
3948+
3949+#define CreateWindowStation __AW_SUFFIXED__(CreateWindowStation)
38493950 WINUSERAPI HWINSTA WINAPI CreateWindowStationA (LPCSTR, DWORD, DWORD, LPSECURITY_ATTRIBUTES);
38503951 WINUSERAPI HWINSTA WINAPI CreateWindowStationW (LPCWSTR, DWORD, DWORD, LPSECURITY_ATTRIBUTES);
3952+
3953+WINUSERAPI HDWP WINAPI DeferWindowPos (HDWP, HWND, HWND, int, int, int, int, UINT);
3954+
3955+#define DefDlgProc __AW_SUFFIXED__(DefDlgProc)
38513956 WINUSERAPI LRESULT WINAPI DefDlgProcA (HWND, UINT, WPARAM, LPARAM);
38523957 WINUSERAPI LRESULT WINAPI DefDlgProcW (HWND, UINT, WPARAM, LPARAM);
3853-WINUSERAPI HDWP WINAPI DeferWindowPos (HDWP, HWND, HWND, int, int, int, int, UINT);
3958+
3959+#define DefFrameProc __AW_SUFFIXED__(DefFrameProc)
38543960 WINUSERAPI LRESULT WINAPI DefFrameProcA (HWND, HWND, UINT, WPARAM, LPARAM);
38553961 WINUSERAPI LRESULT WINAPI DefFrameProcW (HWND, HWND, UINT, WPARAM, LPARAM);
3856-#define DefHookProc(c, p, lp, h) CallNextHookEx ((HHOOK)(*(h)), c, p, lp)
3962+
3963+#define DefMDIChildProc __AW_SUFFIXED__(DefMDIChildProc)
38573964 WINUSERAPI LRESULT WINAPI DefMDIChildProcA (HWND, UINT, WPARAM, LPARAM);
38583965 WINUSERAPI LRESULT WINAPI DefMDIChildProcW (HWND, UINT, WPARAM, LPARAM);
38593966
@@ -3861,8 +3968,10 @@ WINUSERAPI LRESULT WINAPI DefMDIChildProcW (HWND, UINT, WPARAM, LPARAM);
38613968 WINUSERAPI LRESULT WINAPI DefRawInputProc (PRAWINPUT *, INT, UINT);
38623969 #endif
38633970
3971+#define DefWindowProc __AW_SUFFIXED__(DefWindowProc)
38643972 WINUSERAPI LRESULT WINAPI DefWindowProcA (HWND, UINT, WPARAM, LPARAM);
38653973 WINUSERAPI LRESULT WINAPI DefWindowProcW (HWND, UINT, WPARAM, LPARAM);
3974+
38663975 WINUSERAPI BOOL WINAPI DeleteMenu (HMENU, UINT, UINT);
38673976 WINUSERAPI BOOL WINAPI DeregisterShellHookWindow (HWND);
38683977 WINUSERAPI BOOL WINAPI DestroyAcceleratorTable (HACCEL);
@@ -3871,13 +3980,21 @@ WINUSERAPI BOOL WINAPI DestroyCursor (HCURSOR);
38713980 WINUSERAPI BOOL WINAPI DestroyIcon (HICON);
38723981 WINUSERAPI BOOL WINAPI DestroyMenu (HMENU);
38733982 WINUSERAPI BOOL WINAPI DestroyWindow (HWND);
3874-#define DialogBoxA(i, t, p, f) DialogBoxParamA (i, t, p, f, 0)
3875-#define DialogBoxW(i, t, p, f) DialogBoxParamW (i, t, p, f, 0)
3876-#define DialogBoxIndirectA(i, t, p, f) DialogBoxIndirectParamA (i, t, p, f, 0)
3877-#define DialogBoxIndirectW(i, t, p, f) DialogBoxIndirectParamW (i, t, p, f, 0)
3983+
3984+#define DialogBox __AW_SUFFIXED__(DialogBox)
3985+#define DialogBoxA(i,t,p,f) DialogBoxParamA (i, t, p, f, 0)
3986+#define DialogBoxW(i,t,p,f) DialogBoxParamW (i, t, p, f, 0)
3987+
3988+#define DialogBoxIndirect __AW_SUFFIXED__(DialogBoxIndirect)
3989+#define DialogBoxIndirectA(i,t,p,f) DialogBoxIndirectParamA (i, t, p, f, 0)
3990+#define DialogBoxIndirectW(i,t,p,f) DialogBoxIndirectParamW (i, t, p, f, 0)
3991+
3992+#define DialogBoxIndirectParam __AW_SUFFIXED__(DialogBoxIndirectParam)
38783993 WINUSERAPI int WINAPI DialogBoxIndirectParamA (HINSTANCE, LPCDLGTEMPLATE, HWND, DLGPROC, LPARAM);
38793994 WINUSERAPI int WINAPI DialogBoxIndirectParamW (HINSTANCE, LPCDLGTEMPLATE, HWND, DLGPROC, LPARAM);
38803995
3996+#define DialogBoxParam __AW_SUFFIXED__(DialogBoxParam)
3997+
38813998 #ifdef _WIN32_WCE
38823999 extern int DialogBoxParamA (HINSTANCE, LPCSTR, HWND, DLGPROC, LPARAM);
38834000 extern int DialogBoxParamW (HINSTANCE, LPCWSTR, HWND, DLGPROC, LPARAM);
@@ -3886,32 +4003,51 @@ WINUSERAPI int WINAPI DialogBoxParamA (HINSTANCE, LPCSTR, HWND, DLGPROC, LPARAM)
38864003 WINUSERAPI int WINAPI DialogBoxParamW (HINSTANCE, LPCWSTR, HWND, DLGPROC, LPARAM);
38874004 #endif
38884005
4006+#define DispatchMessage __AW_SUFFIXED__(DispatchMessage)
38894007 WINUSERAPI LONG WINAPI DispatchMessageA (const MSG *);
38904008 WINUSERAPI LONG WINAPI DispatchMessageW (const MSG *);
4009+
4010+#define DlgDirList __AW_SUFFIXED__(DlgDirList)
38914011 WINUSERAPI int WINAPI DlgDirListA (HWND, LPSTR, int, int, UINT);
38924012 WINUSERAPI int WINAPI DlgDirListW (HWND, LPWSTR, int, int, UINT);
4013+
4014+#define DlgDirListComboBox __AW_SUFFIXED__(DlgDirListComboBox)
38934015 WINUSERAPI int WINAPI DlgDirListComboBoxA (HWND, LPSTR, int, int, UINT);
38944016 WINUSERAPI int WINAPI DlgDirListComboBoxW (HWND, LPWSTR, int, int, UINT);
4017+
4018+#define DlgDirSelectComboBoxEx __AW_SUFFIXED__(DlgDirSelectComboBoxEx)
38954019 WINUSERAPI BOOL WINAPI DlgDirSelectComboBoxExA (HWND, LPSTR, int, int);
38964020 WINUSERAPI BOOL WINAPI DlgDirSelectComboBoxExW (HWND, LPWSTR, int, int);
4021+
4022+#define DlgDirSelectEx __AW_SUFFIXED__(DlgDirSelectEx)
38974023 WINUSERAPI BOOL WINAPI DlgDirSelectExA (HWND, LPSTR, int, int);
38984024 WINUSERAPI BOOL WINAPI DlgDirSelectExW (HWND, LPWSTR, int, int);
3899-WINUSERAPI BOOL WINAPI DragDetect (HWND, POINT);
4025+
4026+WINUSERAPI BOOL WINAPI DragDetect (HWND, POINT);
39004027 WINUSERAPI DWORD WINAPI DragObject (HWND, HWND, UINT, DWORD, HCURSOR);
3901-WINUSERAPI BOOL WINAPI DrawAnimatedRects (HWND, int, LPCRECT, LPCRECT);
3902-WINUSERAPI BOOL WINAPI DrawCaption (HWND, HDC, LPCRECT, UINT);
3903-WINUSERAPI BOOL WINAPI DrawEdge (HDC, LPRECT, UINT, UINT);
3904-WINUSERAPI BOOL WINAPI DrawFocusRect (HDC, LPCRECT);
3905-WINUSERAPI BOOL WINAPI DrawFrameControl (HDC, LPRECT, UINT, UINT);
3906-WINUSERAPI BOOL WINAPI DrawIcon (HDC, int, int, HICON);
3907-WINUSERAPI BOOL WINAPI DrawIconEx (HDC, int, int, HICON, int, int, UINT, HBRUSH, UINT);
3908-WINUSERAPI BOOL WINAPI DrawMenuBar (HWND);
3909-WINUSERAPI BOOL WINAPI DrawStateA (HDC, HBRUSH, DRAWSTATEPROC, LPARAM, WPARAM, int, int, int, int, UINT);
3910-WINUSERAPI BOOL WINAPI DrawStateW (HDC, HBRUSH, DRAWSTATEPROC, LPARAM, WPARAM, int, int, int, int, UINT);
4028+WINUSERAPI BOOL WINAPI DrawAnimatedRects (HWND, int, LPCRECT, LPCRECT);
4029+WINUSERAPI BOOL WINAPI DrawCaption (HWND, HDC, LPCRECT, UINT);
4030+WINUSERAPI BOOL WINAPI DrawEdge (HDC, LPRECT, UINT, UINT);
4031+WINUSERAPI BOOL WINAPI DrawFocusRect (HDC, LPCRECT);
4032+WINUSERAPI BOOL WINAPI DrawFrameControl (HDC, LPRECT, UINT, UINT);
4033+WINUSERAPI BOOL WINAPI DrawIcon (HDC, int, int, HICON);
4034+WINUSERAPI BOOL WINAPI DrawIconEx (HDC, int, int, HICON, int, int, UINT, HBRUSH, UINT);
4035+WINUSERAPI BOOL WINAPI DrawMenuBar (HWND);
4036+
4037+#define DrawState __AW_SUFFIXED__(DrawState)
4038+WINUSERAPI BOOL WINAPI DrawStateA
4039+(HDC, HBRUSH, DRAWSTATEPROC, LPARAM, WPARAM, int, int, int, int, UINT);
4040+WINUSERAPI BOOL WINAPI DrawStateW
4041+(HDC, HBRUSH, DRAWSTATEPROC, LPARAM, WPARAM, int, int, int, int, UINT);
4042+
4043+#define DrawText __AW_SUFFIXED__(DrawText)
39114044 WINUSERAPI int WINAPI DrawTextA (HDC, LPCSTR, int, LPRECT, UINT);
39124045 WINUSERAPI int WINAPI DrawTextW (HDC, LPCWSTR, int, LPRECT, UINT);
4046+
4047+#define DrawTextEx __AW_SUFFIXED__(DrawTextEx)
39134048 WINUSERAPI int WINAPI DrawTextExA (HDC, LPSTR, int, LPRECT, UINT, LPDRAWTEXTPARAMS);
39144049 WINUSERAPI int WINAPI DrawTextExW (HDC, LPWSTR, int, LPRECT, UINT, LPDRAWTEXTPARAMS);
4050+
39154051 WINUSERAPI BOOL WINAPI EmptyClipboard (void);
39164052 WINUSERAPI BOOL WINAPI EnableMenuItem (HMENU, UINT, UINT);
39174053 WINUSERAPI BOOL WINAPI EnableScrollBar (HWND, UINT, UINT);
@@ -3927,76 +4063,107 @@ WINUSERAPI BOOL WINAPI EndTask (HWND, BOOL, BOOL);
39274063
39284064 WINUSERAPI BOOL WINAPI EnumChildWindows (HWND, ENUMWINDOWSPROC, LPARAM);
39294065 WINUSERAPI UINT WINAPI EnumClipboardFormats (UINT);
4066+
4067+#define EnumDesktops __AW_SUFFIXED__(EnumDesktops)
39304068 WINUSERAPI BOOL WINAPI EnumDesktopsA (HWINSTA, DESKTOPENUMPROCA, LPARAM);
39314069 WINUSERAPI BOOL WINAPI EnumDesktopsW (HWINSTA, DESKTOPENUMPROCW, LPARAM);
4070+
39324071 WINUSERAPI BOOL WINAPI EnumDesktopWindows (HDESK, ENUMWINDOWSPROC, LPARAM);
39334072 WINUSERAPI BOOL WINAPI EnumDisplayMonitors (HDC, LPCRECT, MONITORENUMPROC, LPARAM);
39344073
39354074 #ifndef NOGDI
4075+#define EnumDisplaySettings __AW_SUFFIXED__(EnumDisplaySettings)
39364076 WINUSERAPI BOOL WINAPI EnumDisplaySettingsA (LPCSTR, DWORD, PDEVMODEA);
39374077 WINUSERAPI BOOL WINAPI EnumDisplaySettingsW (LPCWSTR, DWORD, PDEVMODEW);
39384078
39394079 #if _WIN32_WINNT >= _WIN32_WINNT_WIN2K || _WIN32_WINDOWS >= _WIN32_WINDOWS_98
39404080 WINUSERAPI BOOL WINAPI EnumDisplaySettingsExA (LPCSTR, DWORD, LPDEVMODEA, DWORD);
39414081 WINUSERAPI BOOL WINAPI EnumDisplaySettingsExW (LPCWSTR, DWORD, LPDEVMODEW, DWORD);
4082+#define EnumDisplaySettingsEx __AW_SUFFIXED__(EnumDisplaySettingsEx)
39424083 #endif
39434084
4085+#define EnumDisplayDevices __AW_SUFFIXED__(EnumDisplayDevices)
39444086 WINUSERAPI BOOL WINAPI EnumDisplayDevicesA (LPCSTR, DWORD, PDISPLAY_DEVICEA, DWORD);
39454087 WINUSERAPI BOOL WINAPI EnumDisplayDevicesW (LPCWSTR, DWORD, PDISPLAY_DEVICEW, DWORD);
3946-#endif
4088+#endif /* ! NOGDI */
39474089
4090+#define EnumProps __AW_SUFFIXED__(EnumProps)
39484091 WINUSERAPI int WINAPI EnumPropsA (HWND, PROPENUMPROCA);
39494092 WINUSERAPI int WINAPI EnumPropsW (HWND, PROPENUMPROCW);
4093+
4094+#define EnumPropsEx __AW_SUFFIXED__(EnumPropsEx)
39504095 WINUSERAPI int WINAPI EnumPropsExA (HWND, PROPENUMPROCEXA, LPARAM);
39514096 WINUSERAPI int WINAPI EnumPropsExW (HWND, PROPENUMPROCEXW, LPARAM);
3952-#define EnumTaskWindows(h, f, p) EnumThreadWindows ((DWORD)h, f, p)
4097+
4098+#define EnumTaskWindows(h,f,p) EnumThreadWindows ((DWORD)(h), f, p)
39534099 WINUSERAPI BOOL WINAPI EnumThreadWindows (DWORD, WNDENUMPROC, LPARAM);
39544100 WINUSERAPI BOOL WINAPI EnumWindows (WNDENUMPROC, LPARAM);
4101+
4102+#define EnumWindowStations __AW_SUFFIXED__(EnumWindowStations)
39554103 WINUSERAPI BOOL WINAPI EnumWindowStationsA (WINSTAENUMPROCA, LPARAM);
39564104 WINUSERAPI BOOL WINAPI EnumWindowStationsW (WINSTAENUMPROCW, LPARAM);
4105+
39574106 WINUSERAPI BOOL WINAPI EqualRect (LPCRECT, LPCRECT);
3958-#define ExitWindows(r, c) ExitWindowsEx (EWX_LOGOFF, 0)
4107+
4108+#define ExitWindows(r, c) ExitWindowsEx (EWX_LOGOFF, 0)
39594109 WINUSERAPI BOOL WINAPI ExitWindowsEx (UINT, DWORD);
4110+
4111+#define FindWindow __AW_SUFFIXED__(FindWindow)
39604112 WINUSERAPI HWND WINAPI FindWindowA (LPCSTR, LPCSTR);
4113+WINUSERAPI HWND WINAPI FindWindowW (LPCWSTR, LPCWSTR);
4114+
4115+#define FindWindowEx __AW_SUFFIXED__(FindWindowEx)
39614116 WINUSERAPI HWND WINAPI FindWindowExA (HWND, HWND, LPCSTR, LPCSTR);
39624117 WINUSERAPI HWND WINAPI FindWindowExW (HWND, HWND, LPCWSTR, LPCWSTR);
3963-WINUSERAPI HWND WINAPI FindWindowW (LPCWSTR, LPCWSTR);
3964-WINUSERAPI BOOL WINAPI FlashWindow (HWND, BOOL);
39654118
4119+WINUSERAPI BOOL WINAPI FlashWindow (HWND, BOOL);
39664120 #if _WIN32_WINNT >= _WIN32_WINNT_WIN2K || _WIN32_WINDOWS >= _WIN32_WINDOWS_98
39674121 WINUSERAPI BOOL WINAPI FlashWindowEx (PFLASHWINFO);
39684122 #endif
39694123
39704124 int WINAPI FrameRect (HDC, LPCRECT, HBRUSH);
3971-WINUSERAPI BOOL WINAPI FrameRgn (HDC, HRGN, HBRUSH, int, int);
3972-WINUSERAPI HWND WINAPI GetActiveWindow (void);
3973-WINUSERAPI HWND WINAPI GetAncestor (HWND, UINT);
4125+WINUSERAPI BOOL WINAPI FrameRgn (HDC, HRGN, HBRUSH, int, int);
4126+WINUSERAPI HWND WINAPI GetActiveWindow (void);
4127+WINUSERAPI HWND WINAPI GetAncestor (HWND, UINT);
39744128 WINUSERAPI SHORT WINAPI GetAsyncKeyState (int);
3975-WINUSERAPI HWND WINAPI GetCapture (void);
3976-WINUSERAPI UINT WINAPI GetCaretBlinkTime (void);
3977-WINUSERAPI BOOL WINAPI GetCaretPos (LPPOINT);
4129+WINUSERAPI HWND WINAPI GetCapture (void);
4130+WINUSERAPI UINT WINAPI GetCaretBlinkTime (void);
4131+WINUSERAPI BOOL WINAPI GetCaretPos (LPPOINT);
4132+
4133+#define GetClassInfo __AW_SUFFIXED__(GetClassInfo)
39784134 WINUSERAPI BOOL WINAPI GetClassInfoA (HINSTANCE, LPCSTR, LPWNDCLASSA);
3979-WINUSERAPI BOOL WINAPI GetClassInfoExA (HINSTANCE, LPCSTR, LPWNDCLASSEXA);
39804135 WINUSERAPI BOOL WINAPI GetClassInfoW (HINSTANCE, LPCWSTR, LPWNDCLASSW);
4136+
4137+#define GetClassInfoEx __AW_SUFFIXED__(GetClassInfoEx)
4138+WINUSERAPI BOOL WINAPI GetClassInfoExA (HINSTANCE, LPCSTR, LPWNDCLASSEXA);
39814139 WINUSERAPI BOOL WINAPI GetClassInfoExW (HINSTANCE, LPCWSTR, LPWNDCLASSEXW);
4140+
4141+#define GetClassLong __AW_SUFFIXED__(GetClassLong)
39824142 WINUSERAPI DWORD WINAPI GetClassLongA (HWND, int);
39834143 WINUSERAPI DWORD WINAPI GetClassLongW (HWND, int);
39844144
39854145 #ifdef _WIN64
4146+#define GetClassLongPtr __AW_SUFFIXED__(GetClassLongPtr)
39864147 WINUSERAPI ULONG_PTR WINAPI GetClassLongPtrA (HWND, int);
39874148 WINUSERAPI ULONG_PTR WINAPI GetClassLongPtrW (HWND, int);
39884149 #else
3989-#define GetClassLongPtrA GetClassLongA
3990-#define GetClassLongPtrW GetClassLongW
4150+#define GetClassLongPtr GetClassLong
4151+#define GetClassLongPtrA GetClassLongA
4152+#define GetClassLongPtrW GetClassLongW
39914153 #endif
39924154
4155+#define GetClassName __AW_SUFFIXED__(GetClassName)
39934156 WINUSERAPI int WINAPI GetClassNameA (HWND, LPSTR, int);
39944157 WINUSERAPI int WINAPI GetClassNameW (HWND, LPWSTR, int);
4158+
39954159 WINUSERAPI WORD WINAPI GetClassWord (HWND, int);
39964160 WINUSERAPI BOOL WINAPI GetClientRect (HWND, LPRECT);
3997-WINUSERAPI HANDLE WINAPI GetClipboardData (UINT);
4161+
4162+#define GetClipboardFormatName __AW_SUFFIXED__(GetClipboardFormatName)
39984163 WINUSERAPI int WINAPI GetClipboardFormatNameA (UINT, LPSTR, int);
39994164 WINUSERAPI int WINAPI GetClipboardFormatNameW (UINT, LPWSTR, int);
4165+
4166+WINUSERAPI HANDLE WINAPI GetClipboardData (UINT);
40004167 WINUSERAPI HWND WINAPI GetClipboardOwner (void);
40014168
40024169 #if _WIN32_WINNT >= _WIN32_WINNT_WIN2K || _WIN32_WINDOWS >= _WIN32_WINDOWS_98
@@ -4013,8 +4180,11 @@ WINUSERAPI long WINAPI GetDialogBaseUnits (void);
40134180 WINUSERAPI int WINAPI GetDlgCtrlID (HWND);
40144181 WINUSERAPI HWND WINAPI GetDlgItem (HWND, int);
40154182 WINUSERAPI UINT WINAPI GetDlgItemInt (HWND, int, PBOOL, BOOL);
4183+
4184+#define GetDlgItemText __AW_SUFFIXED__(GetDlgItemText)
40164185 WINUSERAPI UINT WINAPI GetDlgItemTextA (HWND, int, LPSTR, int);
40174186 WINUSERAPI UINT WINAPI GetDlgItemTextW (HWND, int, LPWSTR, int);
4187+
40184188 WINUSERAPI UINT WINAPI GetDoubleClickTime (void);
40194189 WINUSERAPI HWND WINAPI GetFocus (void);
40204190 WINUSERAPI HWND WINAPI GetForegroundWindow (void);
@@ -4028,12 +4198,18 @@ WINUSERAPI BOOL WINAPI GetInputState (void);
40284198 WINUSERAPI UINT WINAPI GetKBCodePage (void);
40294199 WINUSERAPI HKL WINAPI GetKeyboardLayout (DWORD);
40304200 WINUSERAPI UINT WINAPI GetKeyboardLayoutList (int, HKL *);
4201+
4202+#define GetKeyboardLayoutName __AW_SUFFIXED__(GetKeyboardLayoutName)
40314203 WINUSERAPI BOOL WINAPI GetKeyboardLayoutNameA (LPSTR);
40324204 WINUSERAPI BOOL WINAPI GetKeyboardLayoutNameW (LPWSTR);
4205+
40334206 WINUSERAPI BOOL WINAPI GetKeyboardState (PBYTE);
40344207 WINUSERAPI int WINAPI GetKeyboardType (int);
4208+
4209+#define GetKeyNameText __AW_SUFFIXED__(GetKeyNameText)
40354210 WINUSERAPI int WINAPI GetKeyNameTextA (LONG, LPSTR, int);
40364211 WINUSERAPI int WINAPI GetKeyNameTextW (LONG, LPWSTR, int);
4212+
40374213 WINUSERAPI SHORT WINAPI GetKeyState (int);
40384214 WINUSERAPI HWND WINAPI GetLastActivePopup (HWND);
40394215 WINUSERAPI HMENU WINAPI GetMenu (HWND);
@@ -4042,14 +4218,22 @@ WINUSERAPI DWORD WINAPI GetMenuContextHelpId (HMENU);
40424218 WINUSERAPI UINT WINAPI GetMenuDefaultItem (HMENU, UINT, UINT);
40434219 WINUSERAPI int WINAPI GetMenuItemCount (HMENU);
40444220 WINUSERAPI UINT WINAPI GetMenuItemID (HMENU, int);
4221+
4222+#define GetMenuItemInfo __AW_SUFFIXED__(GetMenuItemInfo)
40454223 WINUSERAPI BOOL WINAPI GetMenuItemInfoA (HMENU, UINT, BOOL, LPMENUITEMINFOA);
40464224 WINUSERAPI BOOL WINAPI GetMenuItemInfoW (HMENU, UINT, BOOL, LPMENUITEMINFOW);
4225+
40474226 WINUSERAPI BOOL WINAPI GetMenuItemRect (HWND, HMENU, UINT, LPRECT);
40484227 WINUSERAPI UINT WINAPI GetMenuState (HMENU, UINT, UINT);
4228+
4229+#define GetMenuString __AW_SUFFIXED__(GetMenuString)
40494230 WINUSERAPI int WINAPI GetMenuStringA (HMENU, UINT, LPSTR, int, UINT);
40504231 WINUSERAPI int WINAPI GetMenuStringW (HMENU, UINT, LPWSTR, int, UINT);
4232+
4233+#define GetMessage __AW_SUFFIXED__(GetMessage)
40514234 WINUSERAPI BOOL WINAPI GetMessageA (LPMSG, HWND, UINT, UINT);
40524235 WINUSERAPI BOOL WINAPI GetMessageW (LPMSG, HWND, UINT, UINT);
4236+
40534237 WINUSERAPI LONG WINAPI GetMessageExtraInfo (void);
40544238 WINUSERAPI DWORD WINAPI GetMessagePos (void);
40554239 WINUSERAPI LONG WINAPI GetMessageTime (void);
@@ -4060,18 +4244,22 @@ WINUSERAPI int WINAPI GetMouseMovePointsEx (UINT, LPMOUSEMOVEPOINT, LPMOUSEMOVEP
40604244
40614245 WINUSERAPI HWND WINAPI GetNextDlgGroupItem (HWND, HWND, BOOL);
40624246 WINUSERAPI HWND WINAPI GetNextDlgTabItem (HWND, HWND, BOOL);
4063-#define GetNextWindow(h, c) GetWindow (h, c)
40644247 WINUSERAPI HWND WINAPI GetOpenClipboardWindow (void);
40654248 WINUSERAPI HWND WINAPI GetParent (HWND);
40664249 WINUSERAPI int WINAPI GetPriorityClipboardFormat (UINT *, int);
4250+
4251+#define GetProp __AW_SUFFIXED__(GetProp)
40674252 WINUSERAPI HANDLE WINAPI GetPropA (HWND, LPCSTR);
40684253 WINUSERAPI HANDLE WINAPI GetPropW (HWND, LPCWSTR);
40694254
40704255 #if _WIN32_WINNT >= _WIN32_WINNT_WINXP
40714256 WINUSERAPI UINT WINAPI GetRawInputBuffer (PRAWINPUT, PUINT, UINT);
40724257 WINUSERAPI UINT WINAPI GetRawInputData (HRAWINPUT, UINT, LPVOID, PUINT, UINT);
4258+
4259+#define GetRawInputDeviceInfo __AW_SUFFIXED__(GetRawInputDeviceInfo)
40734260 WINUSERAPI UINT WINAPI GetRawInputDeviceInfoA (HANDLE, UINT, LPVOID, PUINT);
40744261 WINUSERAPI UINT WINAPI GetRawInputDeviceInfoW (HANDLE, UINT, LPVOID, PUINT);
4262+
40754263 WINUSERAPI UINT WINAPI GetRawInputDeviceList (PRAWINPUTDEVICELIST, PUINT, UINT);
40764264 WINUSERAPI UINT WINAPI GetRegisteredRawInputDevices (PRAWINPUTDEVICE, PUINT, UINT);
40774265 #endif
@@ -4088,43 +4276,64 @@ WINUSERAPI HWND WINAPI GetShellWindow (void);
40884276 WINUSERAPI HMENU WINAPI GetSubMenu (HMENU, int);
40894277 WINUSERAPI DWORD WINAPI GetSysColor (int);
40904278 WINUSERAPI HBRUSH WINAPI GetSysColorBrush (int);
4091-#define GetSysModalWindow() (NULL)
40924279 WINUSERAPI HMENU WINAPI GetSystemMenu (HWND, BOOL);
40934280 WINUSERAPI int WINAPI GetSystemMetrics (int);
4281+#define GetSysModalWindow() (NULL)
4282+
4283+#define GetTabbedTextExtent __AW_SUFFIXED__(GetTabbedTextExtent)
40944284 WINUSERAPI DWORD WINAPI GetTabbedTextExtentA (HDC, LPCSTR, int, int, LPINT);
40954285 WINUSERAPI DWORD WINAPI GetTabbedTextExtentW (HDC, LPCWSTR, int, int, LPINT);
4286+
4287+#define GetWindowLong __AW_SUFFIXED__(GetWindowLong)
40964288 WINUSERAPI LONG WINAPI GetWindowLongA (HWND, int);
40974289 WINUSERAPI LONG WINAPI GetWindowLongW (HWND, int);
40984290
40994291 #ifdef _WIN64
4292+#define GetWindowLongPtr __AW_SUFFIXED__(GetWindowLongPtr)
41004293 WINUSERAPI LONG_PTR WINAPI GetWindowLongPtrA (HWND, int);
41014294 WINUSERAPI LONG_PTR WINAPI GetWindowLongPtrW (HWND, int);
41024295 #else
4103-#define GetWindowLongPtrA GetWindowLongA
4104-#define GetWindowLongPtrW GetWindowLongW
4296+#define GetWindowLongPtr GetWindowLong
4297+#define GetWindowLongPtrA GetWindowLongA
4298+#define GetWindowLongPtrW GetWindowLongW
41054299 #endif
41064300
41074301 WINUSERAPI HDESK WINAPI GetThreadDesktop (DWORD);
41084302 WINUSERAPI HWND WINAPI GetTopWindow (HWND);
41094303 WINUSERAPI BOOL WINAPI GetUpdateRect (HWND, LPRECT, BOOL);
41104304 WINUSERAPI int WINAPI GetUpdateRgn (HWND, HRGN, BOOL);
4305+
4306+#define GetUserObjectInformation __AW_SUFFIXED__(GetUserObjectInformation)
41114307 WINUSERAPI BOOL WINAPI GetUserObjectInformationA (HANDLE, int, PVOID, DWORD, PDWORD);
41124308 WINUSERAPI BOOL WINAPI GetUserObjectInformationW (HANDLE, int, PVOID, DWORD, PDWORD);
4113-WINUSERAPI BOOL WINAPI GetUserObjectSecurity (HANDLE, PSECURITY_INFORMATION, PSECURITY_DESCRIPTOR, DWORD, PDWORD);
4309+
4310+WINUSERAPI BOOL WINAPI GetUserObjectSecurity
4311+(HANDLE, PSECURITY_INFORMATION, PSECURITY_DESCRIPTOR, DWORD, PDWORD);
4312+
41144313 WINUSERAPI HWND WINAPI GetWindow (HWND, UINT);
4314+#define GetNextWindow(h, c) GetWindow(h, c)
4315+
41154316 WINUSERAPI DWORD WINAPI GetWindowContextHelpId (HWND);
41164317 WINUSERAPI HDC WINAPI GetWindowDC (HWND);
41174318 WINUSERAPI BOOL WINAPI GetWindowPlacement (HWND, WINDOWPLACEMENT *);
41184319 WINUSERAPI BOOL WINAPI GetWindowRect (HWND, LPRECT);
41194320 WINUSERAPI int WINAPI GetWindowRgn (HWND, HRGN);
4120-#define GetWindowTask(hWnd) ((HANDLE)(GetWindowThreadProcessId(hWnd, NULL)))
4321+WINUSERAPI WORD WINAPI GetWindowWord (HWND, int);
4322+
4323+#define GetWindowTask(hWnd) ((HANDLE)(GetWindowThreadProcessId(hWnd, NULL)))
4324+
4325+#define GetWindowText __AW_SUFFIXED__(GetWindowText)
41214326 WINUSERAPI int WINAPI GetWindowTextA (HWND, LPSTR, int);
4327+WINUSERAPI int WINAPI GetWindowTextW (HWND, LPWSTR, int);
4328+
4329+#define GetWindowTextLength __AW_SUFFIXED__(GetWindowTextLength)
41224330 WINUSERAPI int WINAPI GetWindowTextLengthA (HWND);
41234331 WINUSERAPI int WINAPI GetWindowTextLengthW (HWND);
4124-WINUSERAPI int WINAPI GetWindowTextW (HWND, LPWSTR, int);
4125-WINUSERAPI WORD WINAPI GetWindowWord (HWND, int);
4332+
4333+#define GetAltTabInfo __AW_SUFFIXED__(GetAltTabInfo)
41264334 WINUSERAPI BOOL WINAPI GetAltTabInfoA (HWND, int, PALTTABINFO, LPSTR, UINT);
41274335 WINUSERAPI BOOL WINAPI GetAltTabInfoW (HWND, int, PALTTABINFO, LPWSTR, UINT);
4336+
41284337 WINUSERAPI BOOL WINAPI GetComboBoxInfo (HWND, PCOMBOBOXINFO);
41294338 WINUSERAPI BOOL WINAPI GetCursorInfo (PCURSORINFO);
41304339
@@ -4141,19 +4350,25 @@ WINUSERAPI BOOL WINAPI GetMenuInfo (HMENU, LPMENUINFO);
41414350 WINUSERAPI BOOL WINAPI GetProcessDefaultLayout (DWORD *);
41424351 #endif
41434352
4144-WINUSERAPI BOOL WINAPI GetScrollBarInfo (HWND, LONG, PSCROLLBARINFO);
4145-
41464353 #if _WIN32_WINDOWS >= _WIN32_WINDOWS_98
41474354 WINUSERAPI BOOL WINAPI GetTitleBarInfo (HWND, PTITLEBARINFO);
41484355 #endif
41494356
41504357 WINUSERAPI BOOL WINAPI GetWindowInfo (HWND, PWINDOWINFO);
4358+WINUSERAPI BOOL WINAPI GetScrollBarInfo (HWND, LONG, PSCROLLBARINFO);
4359+
4360+#define GetMonitorInfo __AW_SUFFIXED__(GetMonitorInfo)
41514361 WINUSERAPI BOOL WINAPI GetMonitorInfoA (HMONITOR, LPMONITORINFO);
41524362 WINUSERAPI BOOL WINAPI GetMonitorInfoW (HMONITOR, LPMONITORINFO);
4363+
4364+#define GetWindowModuleFileName __AW_SUFFIXED__(GetWindowModuleFileName)
41534365 WINUSERAPI UINT WINAPI GetWindowModuleFileNameA (HWND, LPSTR, UINT);
41544366 WINUSERAPI UINT WINAPI GetWindowModuleFileNameW (HWND, LPWSTR, UINT);
4367+
4368+#define GrayString __AW_SUFFIXED__(GrayString)
41554369 WINUSERAPI BOOL WINAPI GrayStringA (HDC, HBRUSH, GRAYSTRINGPROC, LPARAM, int, int, int, int, int);
41564370 WINUSERAPI BOOL WINAPI GrayStringW (HDC, HBRUSH, GRAYSTRINGPROC, LPARAM, int, int, int, int, int);
4371+
41574372 WINUSERAPI BOOL WINAPI HideCaret (HWND);
41584373 WINUSERAPI BOOL WINAPI HiliteMenuItem (HWND, HMENU, UINT, UINT);
41594374 WINUSERAPI BOOL WINAPI InflateRect (LPRECT, int, int);
@@ -4163,28 +4378,43 @@ WINUSERAPI BOOL WINAPI InSendMessage (void);
41634378 WINUSERAPI DWORD WINAPI InSendMessageEx (LPVOID);
41644379 #endif
41654380
4381+#define InsertMenu __AW_SUFFIXED__(InsertMenu)
41664382 WINUSERAPI BOOL WINAPI InsertMenuA (HMENU, UINT, UINT, UINT, LPCSTR);
41674383 WINUSERAPI BOOL WINAPI InsertMenuW (HMENU, UINT, UINT, UINT, LPCWSTR);
4384+
4385+#define InsertMenuItem __AW_SUFFIXED__(InsertMenuItem)
41684386 WINUSERAPI BOOL WINAPI InsertMenuItemA (HMENU, UINT, BOOL, LPCMENUITEMINFOA);
41694387 WINUSERAPI BOOL WINAPI InsertMenuItemW (HMENU, UINT, BOOL, LPCMENUITEMINFOW);
4388+
41704389 WINUSERAPI INT WINAPI InternalGetWindowText (HWND, LPWSTR, INT);
41714390 WINUSERAPI BOOL WINAPI IntersectRect (LPRECT, LPCRECT, LPCRECT);
41724391 WINUSERAPI BOOL WINAPI InvalidateRect (HWND, LPCRECT, BOOL);
41734392 WINUSERAPI BOOL WINAPI InvalidateRgn (HWND, HRGN, BOOL);
41744393 WINUSERAPI BOOL WINAPI InvertRect (HDC, LPCRECT);
4394+
4395+#define IsCharAlpha __AW_SUFFIXED__(IsCharAlpha)
41754396 WINUSERAPI BOOL WINAPI IsCharAlphaA (CHAR ch);
4397+WINUSERAPI BOOL WINAPI IsCharAlphaW (WCHAR);
4398+
4399+#define IsCharAlphaNumeric __AW_SUFFIXED__(IsCharAlphaNumeric)
41764400 WINUSERAPI BOOL WINAPI IsCharAlphaNumericA (CHAR);
41774401 WINUSERAPI BOOL WINAPI IsCharAlphaNumericW (WCHAR);
4178-WINUSERAPI BOOL WINAPI IsCharAlphaW (WCHAR);
4402+
4403+#define IsCharLower __AW_SUFFIXED__(IsCharLower)
41794404 WINUSERAPI BOOL WINAPI IsCharLowerA (CHAR);
41804405 WINUSERAPI BOOL WINAPI IsCharLowerW (WCHAR);
4406+
4407+#define IsCharUpper __AW_SUFFIXED__(IsCharUpper)
41814408 WINUSERAPI BOOL WINAPI IsCharUpperA (CHAR);
41824409 WINUSERAPI BOOL WINAPI IsCharUpperW (WCHAR);
4410+
41834411 WINUSERAPI BOOL WINAPI IsChild (HWND, HWND);
41844412 WINUSERAPI BOOL WINAPI IsClipboardFormatAvailable (UINT);
4413+WINUSERAPI UINT WINAPI IsDlgButtonChecked (HWND, int);
4414+
4415+#define IsDialogMessage __AW_SUFFIXED__(IsDialogMessage)
41854416 WINUSERAPI BOOL WINAPI IsDialogMessageA (HWND, LPMSG);
41864417 WINUSERAPI BOOL WINAPI IsDialogMessageW (HWND, LPMSG);
4187-WINUSERAPI UINT WINAPI IsDlgButtonChecked (HWND, int);
41884418
41894419 #if _WIN32_WINNT >= _WIN32_WINNT_WINXP
41904420 WINUSERAPI BOOL WINAPI IsGUIThread (BOOL);
@@ -4209,26 +4439,47 @@ WINUSERAPI BOOL WINAPI IsWinEventHookInstalled (DWORD);
42094439 WINUSERAPI BOOL WINAPI IsZoomed (HWND);
42104440 WINUSERAPI VOID WINAPI keybd_event (BYTE, BYTE, DWORD, DWORD);
42114441 WINUSERAPI BOOL WINAPI KillTimer (HWND, UINT_PTR);
4442+
4443+#define LoadAccelerators __AW_SUFFIXED__(LoadAccelerators)
42124444 WINUSERAPI HACCEL WINAPI LoadAcceleratorsA (HINSTANCE, LPCSTR);
42134445 WINUSERAPI HACCEL WINAPI LoadAcceleratorsW (HINSTANCE, LPCWSTR);
4446+
4447+#define LoadBitmap __AW_SUFFIXED__(LoadBitmap)
42144448 WINUSERAPI HBITMAP WINAPI LoadBitmapA (HINSTANCE, LPCSTR);
42154449 WINUSERAPI HBITMAP WINAPI LoadBitmapW (HINSTANCE, LPCWSTR);
4450+
4451+#define LoadCursor __AW_SUFFIXED__(LoadCursor)
42164452 WINUSERAPI HCURSOR WINAPI LoadCursorA (HINSTANCE, LPCSTR);
4453+WINUSERAPI HCURSOR WINAPI LoadCursorW (HINSTANCE, LPCWSTR);
4454+
4455+#define LoadCursorFromFile __AW_SUFFIXED__(LoadCursorFromFile)
42174456 WINUSERAPI HCURSOR WINAPI LoadCursorFromFileA (LPCSTR);
42184457 WINUSERAPI HCURSOR WINAPI LoadCursorFromFileW (LPCWSTR);
4219-WINUSERAPI HCURSOR WINAPI LoadCursorW (HINSTANCE, LPCWSTR);
4458+
4459+#define LoadIcon __AW_SUFFIXED__(LoadIcon)
42204460 WINUSERAPI HICON WINAPI LoadIconA (HINSTANCE, LPCSTR);
42214461 WINUSERAPI HICON WINAPI LoadIconW (HINSTANCE, LPCWSTR);
4462+
4463+#define LoadImage __AW_SUFFIXED__(LoadImage)
42224464 WINUSERAPI HANDLE WINAPI LoadImageA (HINSTANCE, LPCSTR, UINT, int, int, UINT);
42234465 WINUSERAPI HANDLE WINAPI LoadImageW (HINSTANCE, LPCWSTR, UINT, int, int, UINT);
4466+
4467+#define LoadKeyboardLayout __AW_SUFFIXED__(LoadKeyboardLayout)
42244468 WINUSERAPI HKL WINAPI LoadKeyboardLayoutA (LPCSTR, UINT);
42254469 WINUSERAPI HKL WINAPI LoadKeyboardLayoutW (LPCWSTR, UINT);
4470+
4471+#define LoadMenu __AW_SUFFIXED__(LoadMenu)
42264472 WINUSERAPI HMENU WINAPI LoadMenuA (HINSTANCE, LPCSTR);
4473+WINUSERAPI HMENU WINAPI LoadMenuW (HINSTANCE, LPCWSTR);
4474+
4475+#define LoadMenuIndirect __AW_SUFFIXED__(LoadMenuIndirect)
42274476 WINUSERAPI HMENU WINAPI LoadMenuIndirectA (const MENUTEMPLATE *);
42284477 WINUSERAPI HMENU WINAPI LoadMenuIndirectW (const MENUTEMPLATE *);
4229-WINUSERAPI HMENU WINAPI LoadMenuW (HINSTANCE, LPCWSTR);
4478+
4479+#define LoadString __AW_SUFFIXED__(LoadString)
42304480 WINUSERAPI int WINAPI LoadStringA (HINSTANCE, UINT, LPSTR, int);
42314481 WINUSERAPI int WINAPI LoadStringW (HINSTANCE, UINT, LPWSTR, int);
4482+
42324483 WINUSERAPI BOOL WINAPI LockWindowUpdate (HWND);
42334484
42344485 #if _WIN32_WINNT >= _WIN32_WINNT_WIN2K
@@ -4238,19 +4489,32 @@ WINUSERAPI BOOL WINAPI LockWorkStation (void);
42384489 WINUSERAPI int WINAPI LookupIconIdFromDirectory (PBYTE, BOOL);
42394490 WINUSERAPI int WINAPI LookupIconIdFromDirectoryEx (PBYTE, BOOL, int, int, UINT);
42404491 WINUSERAPI BOOL WINAPI MapDialogRect (HWND, LPRECT);
4492+
4493+#define MapVirtualKey __AW_SUFFIXED__(MapVirtualKey)
42414494 WINUSERAPI UINT WINAPI MapVirtualKeyA (UINT, UINT);
4495+WINUSERAPI UINT WINAPI MapVirtualKeyW (UINT, UINT);
4496+
4497+#define MapVirtualKeyEx __AW_SUFFIXED__(MapVirtualKeyEx)
42424498 WINUSERAPI UINT WINAPI MapVirtualKeyExA (UINT, UINT, HKL);
42434499 WINUSERAPI UINT WINAPI MapVirtualKeyExW (UINT, UINT, HKL);
4244-WINUSERAPI UINT WINAPI MapVirtualKeyW (UINT, UINT);
4500+
42454501 WINUSERAPI int WINAPI MapWindowPoints (HWND, HWND, LPPOINT, UINT);
42464502 WINUSERAPI int WINAPI MenuItemFromPoint (HWND, HMENU, POINT);
42474503 WINUSERAPI BOOL WINAPI MessageBeep (UINT);
4504+
4505+#define MessageBox __AW_SUFFIXED__(MessageBox)
42484506 WINUSERAPI int WINAPI MessageBoxA (HWND, LPCSTR, LPCSTR, UINT);
42494507 WINUSERAPI int WINAPI MessageBoxW (HWND, LPCWSTR, LPCWSTR, UINT);
4508+
4509+#define MessageBoxEx __AW_SUFFIXED__(MessageBoxEx)
42504510 WINUSERAPI int WINAPI MessageBoxExA (HWND, LPCSTR, LPCSTR, UINT, WORD);
42514511 WINUSERAPI int WINAPI MessageBoxExW (HWND, LPCWSTR, LPCWSTR, UINT, WORD);
4512+
4513+#define MessageBoxIndirect __AW_SUFFIXED__(MessageBoxIndirect)
42524514 WINUSERAPI int WINAPI MessageBoxIndirectA (CONST MSGBOXPARAMSA *);
42534515 WINUSERAPI int WINAPI MessageBoxIndirectW (CONST MSGBOXPARAMSW *);
4516+
4517+#define ModifyMenu __AW_SUFFIXED__(ModifyMenu)
42544518 WINUSERAPI BOOL WINAPI ModifyMenuA (HMENU, UINT, UINT, UINT, LPCSTR);
42554519 WINUSERAPI BOOL WINAPI ModifyMenuW (HMENU, UINT, UINT, UINT, LPCWSTR);
42564520
@@ -4270,46 +4534,75 @@ WINUSERAPI void WINAPI NotifyWinEvent (DWORD, HWND, LONG, LONG);
42704534 #endif
42714535
42724536 WINUSERAPI DWORD WINAPI OemKeyScan (WORD);
4537+
4538+#define OemToChar __AW_SUFFIXED__(OemToChar)
42734539 WINUSERAPI BOOL WINAPI OemToCharA (LPCSTR, LPSTR);
4540+WINUSERAPI BOOL WINAPI OemToCharW (LPCSTR, LPWSTR);
4541+
4542+#define OemToCharBuff __AW_SUFFIXED__(OemToCharBuff)
42744543 WINUSERAPI BOOL WINAPI OemToCharBuffA (LPCSTR, LPSTR, DWORD);
42754544 WINUSERAPI BOOL WINAPI OemToCharBuffW (LPCSTR, LPWSTR, DWORD);
4276-WINUSERAPI BOOL WINAPI OemToCharW (LPCSTR, LPWSTR);
4545+
42774546 WINUSERAPI BOOL WINAPI OffsetRect (LPRECT, int, int);
42784547 WINUSERAPI BOOL WINAPI OpenClipboard (HWND);
4548+
4549+#define OpenDesktop __AW_SUFFIXED__(OpenDesktop)
42794550 WINUSERAPI HDESK WINAPI OpenDesktopA (LPSTR, DWORD, BOOL, DWORD);
42804551 WINUSERAPI HDESK WINAPI OpenDesktopW (LPWSTR, DWORD, BOOL, DWORD);
4552+
42814553 WINUSERAPI BOOL WINAPI OpenIcon (HWND);
42824554 WINUSERAPI HDESK WINAPI OpenInputDesktop (DWORD, BOOL, DWORD);
4555+
4556+#define OpenWindowStation __AW_SUFFIXED__(OpenWindowStation)
42834557 WINUSERAPI HWINSTA WINAPI OpenWindowStationA (LPSTR, BOOL, DWORD);
42844558 WINUSERAPI HWINSTA WINAPI OpenWindowStationW (LPWSTR, BOOL, DWORD);
4559+
42854560 WINUSERAPI BOOL WINAPI PaintDesktop (HDC);
4561+
4562+#define PeekMessage __AW_SUFFIXED__(PeekMessage)
42864563 WINUSERAPI BOOL WINAPI PeekMessageA (LPMSG, HWND, UINT, UINT, UINT);
42874564 WINUSERAPI BOOL WINAPI PeekMessageW (LPMSG, HWND, UINT, UINT, UINT);
4288-#define PostAppMessageA(t, m, w, l) PostThreadMessageA ((DWORD)t, m, w, l)
4289-#define PostAppMessageW(t, m, w, l) PostThreadMessageW ((DWORD)t, m, w, l)
4565+
4566+#define PostAppMessage __AW_SUFFIXED__(PostAppMessage)
4567+#define PostAppMessageA(t,m,w,l) PostThreadMessageA ((DWORD)(t), m, w, l)
4568+#define PostAppMessageW(t,m,w,l) PostThreadMessageW ((DWORD)(t), m, w, l)
4569+
4570+#define PostMessage __AW_SUFFIXED__(PostMessage)
42904571 WINUSERAPI BOOL WINAPI PostMessageA (HWND, UINT, WPARAM, LPARAM);
42914572 WINUSERAPI BOOL WINAPI PostMessageW (HWND, UINT, WPARAM, LPARAM);
4292-WINUSERAPI void WINAPI PostQuitMessage (int);
4573+
4574+#define PostThreadMessage __AW_SUFFIXED__(PostThreadMessage)
42934575 WINUSERAPI BOOL WINAPI PostThreadMessageA (DWORD, UINT, WPARAM, LPARAM);
42944576 WINUSERAPI BOOL WINAPI PostThreadMessageW (DWORD, UINT, WPARAM, LPARAM);
42954577
4578+WINUSERAPI void WINAPI PostQuitMessage (int);
4579+
42964580 #if _WIN32_WINNT >= _WIN32_WINNT_WINXP
42974581 WINUSERAPI BOOL WINAPI PrintWindow (HWND, HDC, UINT);
42984582 #endif
42994583
43004584 WINUSERAPI BOOL WINAPI PtInRect (LPCRECT, POINT);
4585+WINUSERAPI BOOL WINAPI RedrawWindow (HWND, LPCRECT, HRGN, UINT);
43014586 WINUSERAPI HWND WINAPI RealChildWindowFromPoint (HWND, POINT);
4587+
4588+#define RealGetWindowClass __AW_SUFFIXED__(RealGetWindowClass)
43024589 WINUSERAPI UINT WINAPI RealGetWindowClassA (HWND, LPSTR, UINT);
43034590 WINUSERAPI UINT WINAPI RealGetWindowClassW (HWND, LPWSTR, UINT);
4304-WINUSERAPI BOOL WINAPI RedrawWindow (HWND, LPCRECT, HRGN, UINT);
4591+
4592+#define RegisterClass __AW_SUFFIXED__(RegisterClass)
43054593 WINUSERAPI ATOM WINAPI RegisterClassA (CONST WNDCLASSA *);
43064594 WINUSERAPI ATOM WINAPI RegisterClassW (CONST WNDCLASSW *);
4595+
4596+#define RegisterClassEx __AW_SUFFIXED__(RegisterClassEx)
43074597 WINUSERAPI ATOM WINAPI RegisterClassExA (CONST WNDCLASSEXA *);
43084598 WINUSERAPI ATOM WINAPI RegisterClassExW (CONST WNDCLASSEXW *);
4599+
4600+#define RegisterClipboardFormat __AW_SUFFIXED__(RegisterClipboardFormat)
43094601 WINUSERAPI UINT WINAPI RegisterClipboardFormatA (LPCSTR);
43104602 WINUSERAPI UINT WINAPI RegisterClipboardFormatW (LPCWSTR);
43114603
43124604 #if _WIN32_WINNT >= _WIN32_WINNT_WIN2K
4605+#define RegisterDeviceNotification __AW_SUFFIXED__(RegisterDeviceNotification)
43134606 WINUSERAPI HDEVNOTIFY WINAPI RegisterDeviceNotificationA (HANDLE, LPVOID, DWORD);
43144607 WINUSERAPI HDEVNOTIFY WINAPI RegisterDeviceNotificationW (HANDLE, LPVOID, DWORD);
43154608 #endif
@@ -4324,18 +4617,25 @@ WINUSERAPI BOOL WINAPI RegisterHotKey (HWND, int, UINT, UINT);
43244617 WINUSERAPI BOOL WINAPI RegisterRawInputDevices (PCRAWINPUTDEVICE, UINT, UINT);
43254618 #endif
43264619
4620+#define RegisterWindowMessage __AW_SUFFIXED__(RegisterWindowMessage)
43274621 WINUSERAPI UINT WINAPI RegisterWindowMessageA (LPCSTR);
43284622 WINUSERAPI UINT WINAPI RegisterWindowMessageW (LPCWSTR);
4623+
43294624 WINUSERAPI BOOL WINAPI ReleaseCapture (void);
43304625 WINUSERAPI int WINAPI ReleaseDC (HWND, HDC);
43314626 WINUSERAPI BOOL WINAPI RemoveMenu (HMENU, UINT, UINT);
4627+
4628+#define RemoveProp __AW_SUFFIXED__(RemoveProp)
43324629 WINUSERAPI HANDLE WINAPI RemovePropA (HWND, LPCSTR);
43334630 WINUSERAPI HANDLE WINAPI RemovePropW (HWND, LPCWSTR);
4631+
43344632 WINUSERAPI BOOL WINAPI ReplyMessage (LRESULT);
43354633 WINUSERAPI BOOL WINAPI ScreenToClient (HWND, LPPOINT);
43364634 WINUSERAPI BOOL WINAPI ScrollDC (HDC, int, int, LPCRECT, LPCRECT, HRGN, LPRECT);
43374635 WINUSERAPI BOOL WINAPI ScrollWindow (HWND, int, int, LPCRECT, LPCRECT);
43384636 WINUSERAPI int WINAPI ScrollWindowEx (HWND, int, int, LPCRECT, LPCRECT, HRGN, LPRECT, UINT);
4637+
4638+#define SendDlgItemMessage __AW_SUFFIXED__(SendDlgItemMessage)
43394639 WINUSERAPI LONG WINAPI SendDlgItemMessageA (HWND, int, UINT, WPARAM, LPARAM);
43404640 WINUSERAPI LONG WINAPI SendDlgItemMessageW (HWND, int, UINT, WPARAM, LPARAM);
43414641
@@ -4347,27 +4647,39 @@ BOOL WINAPI BlockInput(BOOL);
43474647 #endif
43484648 #endif
43494649
4650+#define SendMessage __AW_SUFFIXED__(SendMessage)
43504651 WINUSERAPI LRESULT WINAPI SendMessageA (HWND, UINT, WPARAM, LPARAM);
4652+WINUSERAPI LRESULT WINAPI SendMessageW (HWND, UINT, WPARAM, LPARAM);
4653+
4654+#define SendMessageCallback __AW_SUFFIXED__(SendMessageCallback)
43514655 WINUSERAPI BOOL WINAPI SendMessageCallbackA (HWND, UINT, WPARAM, LPARAM, SENDASYNCPROC, DWORD);
43524656 WINUSERAPI BOOL WINAPI SendMessageCallbackW (HWND, UINT, WPARAM, LPARAM, SENDASYNCPROC, DWORD);
4657+
4658+#define SendMessageTimeout __AW_SUFFIXED__(SendMessageTimeout)
43534659 WINUSERAPI LRESULT WINAPI SendMessageTimeoutA (HWND, UINT, WPARAM, LPARAM, UINT, UINT, PDWORD_PTR);
43544660 WINUSERAPI LRESULT WINAPI SendMessageTimeoutW (HWND, UINT, WPARAM, LPARAM, UINT, UINT, PDWORD_PTR);
4355-WINUSERAPI LRESULT WINAPI SendMessageW (HWND, UINT, WPARAM, LPARAM);
4661+
4662+#define SendNotifyMessage __AW_SUFFIXED__(SendNotifyMessage)
43564663 WINUSERAPI BOOL WINAPI SendNotifyMessageA (HWND, UINT, WPARAM, LPARAM);
43574664 WINUSERAPI BOOL WINAPI SendNotifyMessageW (HWND, UINT, WPARAM, LPARAM);
4665+
43584666 WINUSERAPI HWND WINAPI SetActiveWindow (HWND);
43594667 WINUSERAPI HWND WINAPI SetCapture (HWND hWnd);
43604668 WINUSERAPI BOOL WINAPI SetCaretBlinkTime (UINT);
43614669 WINUSERAPI BOOL WINAPI SetCaretPos (int, int);
4670+
4671+#define SetClassLong __AW_SUFFIXED__(SetClassLong)
43624672 WINUSERAPI DWORD WINAPI SetClassLongA (HWND, int, LONG);
43634673 WINUSERAPI DWORD WINAPI SetClassLongW (HWND, int, LONG);
43644674
43654675 #ifdef _WIN64
4676+#define SetClassLongPtr __AW_SUFFIXED__(SetClassLongPtr)
43664677 WINUSERAPI ULONG_PTR WINAPI SetClassLongPtrA (HWND, int, LONG_PTR);
43674678 WINUSERAPI ULONG_PTR WINAPI SetClassLongPtrW (HWND, int, LONG_PTR);
43684679 #else
4369-#define SetClassLongPtrA SetClassLongA
4370-#define SetClassLongPtrW SetClassLongW
4680+#define SetClassLongPtr SetClassLong
4681+#define SetClassLongPtrA SetClassLongA
4682+#define SetClassLongPtrW SetClassLongW
43714683 #endif
43724684
43734685 WINUSERAPI WORD WINAPI SetClassWord (HWND, int, WORD);
@@ -4377,8 +4689,11 @@ WINUSERAPI HCURSOR WINAPI SetCursor (HCURSOR);
43774689 WINUSERAPI BOOL WINAPI SetCursorPos (int, int);
43784690 WINUSERAPI VOID WINAPI SetDebugErrorLevel (DWORD);
43794691 WINUSERAPI BOOL WINAPI SetDlgItemInt (HWND, int, UINT, BOOL);
4692+
4693+#define SetDlgItemText __AW_SUFFIXED__(SetDlgItemText)
43804694 WINUSERAPI BOOL WINAPI SetDlgItemTextA (HWND, int, LPCSTR);
43814695 WINUSERAPI BOOL WINAPI SetDlgItemTextW (HWND, int, LPCWSTR);
4696+
43824697 WINUSERAPI BOOL WINAPI SetDoubleClickTime (UINT);
43834698 WINUSERAPI HWND WINAPI SetFocus (HWND);
43844699 WINUSERAPI BOOL WINAPI SetForegroundWindow (HWND);
@@ -4388,8 +4703,11 @@ WINUSERAPI BOOL WINAPI SetMenuContextHelpId (HMENU, DWORD);
43884703 WINUSERAPI BOOL WINAPI SetMenuDefaultItem (HMENU, UINT, UINT);
43894704 WINUSERAPI BOOL WINAPI SetMenuInfo (HMENU, LPCMENUINFO);
43904705 WINUSERAPI BOOL WINAPI SetMenuItemBitmaps (HMENU, UINT, UINT, HBITMAP, HBITMAP);
4706+
4707+#define SetMenuItemInfo __AW_SUFFIXED__(SetMenuItemInfo)
43914708 WINUSERAPI BOOL WINAPI SetMenuItemInfoA (HMENU, UINT, BOOL, LPCMENUITEMINFOA);
43924709 WINUSERAPI BOOL WINAPI SetMenuItemInfoW ( HMENU, UINT, BOOL, LPCMENUITEMINFOW);
4710+
43934711 WINUSERAPI LPARAM WINAPI SetMessageExtraInfo (LPARAM);
43944712 WINUSERAPI BOOL WINAPI SetMessageQueue (int);
43954713 WINUSERAPI HWND WINAPI SetParent (HWND, HWND);
@@ -4399,47 +4717,68 @@ WINUSERAPI BOOL WINAPI SetProcessDefaultLayout (DWORD);
43994717 #endif /* >= _WIN32_WINNT_WIN2K */
44004718
44014719 WINUSERAPI BOOL WINAPI SetProcessWindowStation (HWINSTA);
4720+
4721+#define SetProp __AW_SUFFIXED__(SetProp)
44024722 WINUSERAPI BOOL WINAPI SetPropA (HWND, LPCSTR, HANDLE);
44034723 WINUSERAPI BOOL WINAPI SetPropW (HWND, LPCWSTR, HANDLE);
4724+
44044725 WINUSERAPI BOOL WINAPI SetRect (LPRECT, int, int, int, int);
44054726 WINUSERAPI BOOL WINAPI SetRectEmpty (LPRECT);
44064727 WINUSERAPI int WINAPI SetScrollInfo (HWND, int, LPCSCROLLINFO, BOOL);
44074728 WINUSERAPI int WINAPI SetScrollPos (HWND, int, int, BOOL);
44084729 WINUSERAPI BOOL WINAPI SetScrollRange (HWND, int, int, int, BOOL);
44094730 WINUSERAPI BOOL WINAPI SetSysColors (int, const INT *, const COLORREF *);
4731+
44104732 #define SetSysModalWindow(h) (NULL)
4733+
44114734 WINUSERAPI BOOL WINAPI SetSystemCursor (HCURSOR, DWORD);
44124735 WINUSERAPI BOOL WINAPI SetThreadDesktop (HDESK);
44134736 WINUSERAPI UINT WINAPI SetTimer (HWND, UINT_PTR, UINT, TIMERPROC);
4737+
4738+#define SetUserObjectInformation __AW_SUFFIXED__(SetUserObjectInformation)
44144739 WINUSERAPI BOOL WINAPI SetUserObjectInformationA (HANDLE, int, PVOID, DWORD);
44154740 WINUSERAPI BOOL WINAPI SetUserObjectInformationW (HANDLE, int, PVOID, DWORD);
4416-WINUSERAPI BOOL WINAPI SetUserObjectSecurity (HANDLE, PSECURITY_INFORMATION, PSECURITY_DESCRIPTOR);
4741+
4742+WINUSERAPI BOOL WINAPI SetUserObjectSecurity
4743+(HANDLE, PSECURITY_INFORMATION, PSECURITY_DESCRIPTOR);
44174744
44184745 #if _WIN32_WINNT >= _WIN32_WINNT_WIN2K
4419-WINUSERAPI HWINEVENTHOOK WINAPI SetWinEventHook (UINT, UINT, HMODULE, WINEVENTPROC, DWORD, DWORD, UINT);
4746+WINUSERAPI HWINEVENTHOOK WINAPI SetWinEventHook
4747+(UINT, UINT, HMODULE, WINEVENTPROC, DWORD, DWORD, UINT);
44204748 #endif
44214749
44224750 WINUSERAPI BOOL WINAPI SetWindowContextHelpId (HWND, DWORD);
4751+
4752+#define SetWindowLong __AW_SUFFIXED__(SetWindowLong)
44234753 WINUSERAPI LONG WINAPI SetWindowLongA (HWND, int, LONG);
44244754 WINUSERAPI LONG WINAPI SetWindowLongW (HWND, int, LONG);
44254755
44264756 #ifdef _WIN64
4757+#define SetWindowLongPtr __AW_SUFFIXED__(SetWindowLongPtr)
44274758 WINUSERAPI LONG_PTR WINAPI SetWindowLongPtrA (HWND, int, LONG_PTR);
44284759 WINUSERAPI LONG_PTR WINAPI SetWindowLongPtrW (HWND, int, LONG_PTR);
44294760 #else
4430-#define SetWindowLongPtrA SetWindowLongA
4431-#define SetWindowLongPtrW SetWindowLongW
4761+#define SetWindowLongPtr SetWindowLong
4762+#define SetWindowLongPtrA SetWindowLongA
4763+#define SetWindowLongPtrW SetWindowLongW
44324764 #endif
44334765
44344766 WINUSERAPI BOOL WINAPI SetWindowPlacement (HWND hWnd, const WINDOWPLACEMENT *);
44354767 WINUSERAPI BOOL WINAPI SetWindowPos (HWND, HWND, int, int, int, int, UINT);
44364768 WINUSERAPI int WINAPI SetWindowRgn (HWND, HRGN, BOOL);
4769+
4770+#define SetWindowsHook __AW_SUFFIXED__(SetWindowsHook)
44374771 WINUSERAPI HHOOK WINAPI SetWindowsHookA (int, HOOKPROC);
44384772 WINUSERAPI HHOOK WINAPI SetWindowsHookW (int, HOOKPROC);
4773+
4774+#define SetWindowsHookEx __AW_SUFFIXED__(SetWindowsHookEx)
44394775 WINUSERAPI HHOOK WINAPI SetWindowsHookExA (int, HOOKPROC, HINSTANCE, DWORD);
44404776 WINUSERAPI HHOOK WINAPI SetWindowsHookExW (int, HOOKPROC, HINSTANCE, DWORD);
4777+
4778+#define SetWindowText __AW_SUFFIXED__(SetWindowText)
44414779 WINUSERAPI BOOL WINAPI SetWindowTextA (HWND, LPCSTR);
44424780 WINUSERAPI BOOL WINAPI SetWindowTextW (HWND, LPCWSTR);
4781+
44434782 WINUSERAPI WORD WINAPI SetWindowWord (HWND, int, WORD);
44444783 WINUSERAPI BOOL WINAPI ShowCaret (HWND);
44454784 WINUSERAPI int WINAPI ShowCursor (BOOL);
@@ -4455,10 +4794,14 @@ WINUSERAPI BOOL WINAPI SwitchDesktop (HDESK);
44554794 WINUSERAPI VOID WINAPI SwitchToThisWindow (HWND, BOOL);
44564795 #endif /* >= _WIN32_WINNT_WIN2K */
44574796
4797+#define SystemParametersInfo __AW_SUFFIXED__(SystemParametersInfo)
44584798 WINUSERAPI BOOL WINAPI SystemParametersInfoA (UINT, UINT, PVOID, UINT);
44594799 WINUSERAPI BOOL WINAPI SystemParametersInfoW (UINT, UINT, PVOID, UINT);
4800+
4801+#define TabbedTextOut __AW_SUFFIXED__(TabbedTextOut)
44604802 WINUSERAPI LONG WINAPI TabbedTextOutA (HDC, int, int, LPCSTR, int, int, LPINT, int);
44614803 WINUSERAPI LONG WINAPI TabbedTextOutW (HDC, int, int, LPCWSTR, int, int, LPINT, int);
4804+
44624805 WINUSERAPI WORD WINAPI TileWindows (HWND, UINT, LPCRECT, UINT, const HWND *);
44634806 WINUSERAPI int WINAPI ToAscii (UINT, UINT, PBYTE, LPWORD, UINT);
44644807 WINUSERAPI int WINAPI ToAsciiEx (UINT, UINT, PBYTE, LPWORD, UINT, HKL);
@@ -4467,8 +4810,11 @@ WINUSERAPI int WINAPI ToUnicodeEx (UINT, UINT, PBYTE, LPWSTR, int, UINT, HKL);
44674810 WINUSERAPI BOOL WINAPI TrackMouseEvent (LPTRACKMOUSEEVENT);
44684811 WINUSERAPI BOOL WINAPI TrackPopupMenu (HMENU, UINT, int, int, int, HWND, LPCRECT);
44694812 WINUSERAPI BOOL WINAPI TrackPopupMenuEx (HMENU, UINT, int, int, HWND, LPTPMPARAMS);
4813+
4814+#define TranslateAccelerator __AW_SUFFIXED__(TranslateAccelerator)
44704815 WINUSERAPI int WINAPI TranslateAcceleratorA (HWND, HACCEL, LPMSG);
44714816 WINUSERAPI int WINAPI TranslateAcceleratorW (HWND, HACCEL, LPMSG);
4817+
44724818 WINUSERAPI BOOL WINAPI TranslateMDISysAccel (HWND, LPMSG);
44734819 WINUSERAPI BOOL WINAPI TranslateMessage (const MSG *);
44744820 WINUSERAPI BOOL WINAPI UnhookWindowsHook (int, HOOKPROC);
@@ -4480,6 +4826,8 @@ WINUSERAPI BOOL WINAPI UnhookWinEvent (HWINEVENTHOOK);
44804826
44814827 WINUSERAPI BOOL WINAPI UnionRect (LPRECT, LPCRECT, LPCRECT);
44824828 WINUSERAPI BOOL WINAPI UnloadKeyboardLayout (HKL);
4829+
4830+#define UnregisterClass __AW_SUFFIXED__(UnregisterClass)
44834831 WINUSERAPI BOOL WINAPI UnregisterClassA (LPCSTR, HINSTANCE);
44844832 WINUSERAPI BOOL WINAPI UnregisterClassW (LPCWSTR, HINSTANCE);
44854833
@@ -4500,19 +4848,30 @@ WINUSERAPI BOOL WINAPI UserHandleGrantAccess (HANDLE, HANDLE, BOOL);
45004848
45014849 WINUSERAPI BOOL WINAPI ValidateRect (HWND, LPCRECT);
45024850 WINUSERAPI BOOL WINAPI ValidateRgn (HWND, HRGN);
4851+
4852+#define VkKeyScan __AW_SUFFIXED__(VkKeyScan)
45034853 WINUSERAPI SHORT WINAPI VkKeyScanA (CHAR);
4854+WINUSERAPI SHORT WINAPI VkKeyScanW (WCHAR);
4855+
4856+#define VkKeyScanEx __AW_SUFFIXED__(VkKeyScanEx)
45044857 WINUSERAPI SHORT WINAPI VkKeyScanExA (CHAR, HKL);
45054858 WINUSERAPI SHORT WINAPI VkKeyScanExW (WCHAR, HKL);
4506-WINUSERAPI SHORT WINAPI VkKeyScanW (WCHAR);
4859+
45074860 WINUSERAPI DWORD WINAPI WaitForInputIdle (HANDLE, DWORD);
45084861 WINUSERAPI BOOL WINAPI WaitMessage (void);
45094862 WINUSERAPI HWND WINAPI WindowFromDC (HDC hDC);
45104863 WINUSERAPI HWND WINAPI WindowFromPoint (POINT);
45114864 WINUSERAPI UINT WINAPI WinExec (LPCSTR, UINT);
4865+
4866+#define WinHelp __AW_SUFFIXED__(WinHelp)
45124867 WINUSERAPI BOOL WINAPI WinHelpA (HWND, LPCSTR, UINT, DWORD);
45134868 WINUSERAPI BOOL WINAPI WinHelpW (HWND, LPCWSTR, UINT, DWORD);
4869+
4870+#define wsprintf __AW_SUFFIXED__(wsprintf)
45144871 WINUSERAPI int WINAPIV wsprintfA (LPSTR, LPCSTR,...);
45154872 WINUSERAPI int WINAPIV wsprintfW (LPWSTR, LPCWSTR,...);
4873+
4874+#define wvsprintf __AW_SUFFIXED__(wvsprintf)
45164875 WINUSERAPI int WINAPI wvsprintfA (LPSTR, LPCSTR, va_list arglist);
45174876 WINUSERAPI int WINAPI wvsprintfW (LPWSTR, LPCWSTR, va_list arglist);
45184877
@@ -4525,8 +4884,9 @@ WINUSERAPI BOOL WINAPI LockSetForegroundWindow (UINT);
45254884 WINUSERAPI BOOL WINAPI SetLayeredWindowAttributes (HWND, COLORREF, BYTE, DWORD);
45264885
45274886 #ifndef NOGDI
4528-WINUSERAPI BOOL WINAPI UpdateLayeredWindow (HWND, HDC, POINT *, SIZE *, HDC, POINT *, COLORREF, BLENDFUNCTION *, DWORD);
4529-#endif
4887+WINUSERAPI BOOL WINAPI UpdateLayeredWindow
4888+(HWND, HDC, POINT *, SIZE *, HDC, POINT *, COLORREF, BLENDFUNCTION *, DWORD);
4889+#endif /* ! NOGDI */
45304890 #endif
45314891
45324892 #if _WIN32_WINNT >= _WIN32_WINNT_WINXP
@@ -4541,343 +4901,6 @@ BOOL WINAPI RegisterTouchWindow (HWND hWnd, ULONG ulFlags);
45414901 BOOL WINAPI UnregisterTouchWindow (HWND hWnd);
45424902 #endif
45434903
4544-#ifdef UNICODE
4545-#define EDITWORDBREAKPROC EDITWORDBREAKPROCW
4546-#define PROPENUMPROC PROPENUMPROCW
4547-#define PROPENUMPROCEX PROPENUMPROCEXW
4548-#define DEKSTOPENUMPROC DEKSTOPENUMPROCW
4549-#define WINSTAENUMPROC WINSTAENUMPROCW
4550-#define PROPENUMPROC PROPENUMPROCW
4551-#define PROPENUMPROCEX PROPENUMPROCEXW
4552-#define MAKEINTRESOURCE MAKEINTRESOURCEW
4553-
4554-typedef WNDCLASSW WNDCLASS, *LPWNDCLASS, *PWNDCLASS;
4555-typedef WNDCLASSEXW WNDCLASSEX, *LPWNDCLASSEX, *PWNDCLASSEX;
4556-typedef MENUITEMINFOW MENUITEMINFO, *LPMENUITEMINFO;
4557-typedef LPCMENUITEMINFOW LPCMENUITEMINFO;
4558-typedef MSGBOXPARAMSW MSGBOXPARAMS, *PMSGBOXPARAMS, *LPMSGBOXPARAMS;
4559-typedef HIGHCONTRASTW HIGHCONTRAST, *LPHIGHCONTRAST;
4560-typedef SERIALKEYSW SERIALKEYS, *LPSERIALKEYS;
4561-typedef SOUNDSENTRYW SOUNDSENTRY, *LPSOUNDSENTRY;
4562-typedef CREATESTRUCTW CREATESTRUCT, *LPCREATESTRUCT;
4563-typedef CBT_CREATEWNDW CBT_CREATEWND, *LPCBT_CREATEWND;
4564-typedef MDICREATESTRUCTW MDICREATESTRUCT, *LPMDICREATESTRUCT;
4565-typedef MULTIKEYHELPW MULTIKEYHELP, *PMULTIKEYHELP, *LPMULTIKEYHELP;
4566-typedef MONITORINFOEXW MONITORINFOEX, *LPMONITORINFOEX;
4567-
4568-#define AppendMenu AppendMenuW
4569-#define BroadcastSystemMessage BroadcastSystemMessageW
4570-#define BroadcastSystemMessageEx BroadcastSystemMessageExW
4571-#define CallMsgFilter CallMsgFilterW
4572-#define CallWindowProc CallWindowProcW
4573-#define ChangeMenu ChangeMenuW
4574-#define CharLower CharLowerW
4575-#define CharLowerBuff CharLowerBuffW
4576-#define CharNext CharNextW
4577-#define CharPrev CharPrevW
4578-#define CharToOem CharToOemW
4579-#define CharToOemBuff CharToOemBuffW
4580-#define CharUpper CharUpperW
4581-#define CharUpperBuff CharUpperBuffW
4582-#define CopyAcceleratorTable CopyAcceleratorTableW
4583-#define CreateAcceleratorTable CreateAcceleratorTableW
4584-#define CreateDialog CreateDialogW
4585-#define CreateDialogIndirect CreateDialogIndirectW
4586-#define CreateDialogIndirectParam CreateDialogIndirectParamW
4587-#define CreateDialogParam CreateDialogParamW
4588-#define CreateMDIWindow CreateMDIWindowW
4589-#define CreateWindow CreateWindowW
4590-#define CreateWindowEx CreateWindowExW
4591-#define CreateWindowStation CreateWindowStationW
4592-#define DefDlgProc DefDlgProcW
4593-#define DefFrameProc DefFrameProcW
4594-#define DefMDIChildProc DefMDIChildProcW
4595-#define DefWindowProc DefWindowProcW
4596-#define DialogBox DialogBoxW
4597-#define DialogBoxIndirect DialogBoxIndirectW
4598-#define DialogBoxIndirectParam DialogBoxIndirectParamW
4599-#define DialogBoxParam DialogBoxParamW
4600-#define DispatchMessage DispatchMessageW
4601-#define DlgDirList DlgDirListW
4602-#define DlgDirListComboBox DlgDirListComboBoxW
4603-#define DlgDirSelectComboBoxEx DlgDirSelectComboBoxExW
4604-#define DlgDirSelectEx DlgDirSelectExW
4605-#define DrawState DrawStateW
4606-#define DrawText DrawTextW
4607-#define DrawTextEx DrawTextExW
4608-#define EnumDesktops EnumDesktopsW
4609-#define EnumProps EnumPropsW
4610-#define EnumPropsEx EnumPropsExW
4611-#define EnumWindowStations EnumWindowStationsW
4612-#define FindWindow FindWindowW
4613-#define FindWindowEx FindWindowExW
4614-#define GetClassInfo GetClassInfoW
4615-#define GetClassInfoEx GetClassInfoExW
4616-#define GetClassLong GetClassLongW
4617-#define GetClassLongPtr GetClassLongPtrW
4618-#define GetClassName GetClassNameW
4619-#define GetClipboardFormatName GetClipboardFormatNameW
4620-#define GetDlgItemText GetDlgItemTextW
4621-#define GetKeyboardLayoutName GetKeyboardLayoutNameW
4622-#define GetKeyNameText GetKeyNameTextW
4623-#define GetMenuItemInfo GetMenuItemInfoW
4624-#define GetMenuString GetMenuStringW
4625-#define GetMessage GetMessageW
4626-#define GetMonitorInfo GetMonitorInfoW
4627-#define GetProp GetPropW
4628-#define GetRawInputDeviceInfo GetRawInputDeviceInfoW
4629-#define GetTabbedTextExtent GetTabbedTextExtentW
4630-#define GetUserObjectInformation GetUserObjectInformationW
4631-#define GetWindowLong GetWindowLongW
4632-#define GetWindowLongPtr GetWindowLongPtrW
4633-#define GetWindowText GetWindowTextW
4634-#define GetWindowTextLength GetWindowTextLengthW
4635-#define GetAltTabInfo GetAltTabInfoW
4636-#define GetWindowModuleFileName GetWindowModuleFileNameW
4637-#define GrayString GrayStringW
4638-#define InsertMenu InsertMenuW
4639-#define InsertMenuItem InsertMenuItemW
4640-#define IsCharAlpha IsCharAlphaW
4641-#define IsCharAlphaNumeric IsCharAlphaNumericW
4642-#define IsCharLower IsCharLowerW
4643-#define IsCharUpper IsCharUpperW
4644-#define IsDialogMessage IsDialogMessageW
4645-#define LoadAccelerators LoadAcceleratorsW
4646-#define LoadBitmap LoadBitmapW
4647-#define LoadCursor LoadCursorW
4648-#define LoadCursorFromFile LoadCursorFromFileW
4649-#define LoadIcon LoadIconW
4650-#define LoadImage LoadImageW
4651-#define LoadKeyboardLayout LoadKeyboardLayoutW
4652-#define LoadMenu LoadMenuW
4653-#define LoadMenuIndirect LoadMenuIndirectW
4654-#define LoadString LoadStringW
4655-#define MapVirtualKey MapVirtualKeyW
4656-#define MapVirtualKeyEx MapVirtualKeyExW
4657-#define MessageBox MessageBoxW
4658-#define MessageBoxEx MessageBoxExW
4659-#define MessageBoxIndirect MessageBoxIndirectW
4660-#define ModifyMenu ModifyMenuW
4661-#define OemToChar OemToCharW
4662-#define OemToCharBuff OemToCharBuffW
4663-#define OpenDesktop OpenDesktopW
4664-#define OpenWindowStation OpenWindowStationW
4665-#define PeekMessage PeekMessageW
4666-#define PostAppMessage PostAppMessageW
4667-#define PostMessage PostMessageW
4668-#define PostThreadMessage PostThreadMessageW
4669-#define RealGetWindowClass RealGetWindowClassW
4670-#define RegisterClass RegisterClassW
4671-#define RegisterClassEx RegisterClassExW
4672-#define RegisterClipboardFormat RegisterClipboardFormatW
4673-#define RegisterDeviceNotification RegisterDeviceNotificationW
4674-#define RegisterWindowMessage RegisterWindowMessageW
4675-#define RemoveProp RemovePropW
4676-#define SendDlgItemMessage SendDlgItemMessageW
4677-#define SendMessage SendMessageW
4678-#define SendMessageCallback SendMessageCallbackW
4679-#define SendMessageTimeout SendMessageTimeoutW
4680-#define SendNotifyMessage SendNotifyMessageW
4681-#define SetClassLong SetClassLongW
4682-#define SetClassLongPtr SetClassLongPtrW
4683-#define SetDlgItemText SetDlgItemTextW
4684-#define SetMenuItemInfo SetMenuItemInfoW
4685-#define SetProp SetPropW
4686-#define SetUserObjectInformation SetUserObjectInformationW
4687-#define SetWindowLong SetWindowLongW
4688-#define SetWindowLongPtr SetWindowLongPtrW
4689-#define SetWindowsHook SetWindowsHookW
4690-#define SetWindowsHookEx SetWindowsHookExW
4691-#define SetWindowText SetWindowTextW
4692-#define SystemParametersInfo SystemParametersInfoW
4693-#define TabbedTextOut TabbedTextOutW
4694-#define TranslateAccelerator TranslateAcceleratorW
4695-#define UnregisterClass UnregisterClassW
4696-#define VkKeyScan VkKeyScanW
4697-#define VkKeyScanEx VkKeyScanExW
4698-#define WinHelp WinHelpW
4699-#define wsprintf wsprintfW
4700-#define wvsprintf wvsprintfW
4701-
4702-#ifndef NOGDI
4703-typedef ICONMETRICSW ICONMETRICS, *LPICONMETRICS;
4704-typedef NONCLIENTMETRICSW NONCLIENTMETRICS, *LPNONCLIENTMETRICS;
4705-#define ChangeDisplaySettings ChangeDisplaySettingsW
4706-#define ChangeDisplaySettingsEx ChangeDisplaySettingsExW
4707-#define CreateDesktop CreateDesktopW
4708-#define EnumDisplaySettings EnumDisplaySettingsW
4709-#define EnumDisplaySettingsEx EnumDisplaySettingsExW
4710-#define EnumDisplayDevices EnumDisplayDevicesW
4711-#endif /* NOGDI */
4712-
4713-#else /* UNICODE */
4714-#define EDITWORDBREAKPROC EDITWORDBREAKPROCA
4715-#define PROPENUMPROC PROPENUMPROCA
4716-#define PROPENUMPROCEX PROPENUMPROCEXA
4717-#define DEKSTOPENUMPROC DEKSTOPENUMPROCA
4718-#define WINSTAENUMPROC WINSTAENUMPROCA
4719-#define PROPENUMPROC PROPENUMPROCA
4720-#define PROPENUMPROCEX PROPENUMPROCEXA
4721-#define MAKEINTRESOURCE MAKEINTRESOURCEA
4722-
4723-typedef WNDCLASSA WNDCLASS, *LPWNDCLASS, *PWNDCLASS;
4724-typedef WNDCLASSEXA WNDCLASSEX, *LPWNDCLASSEX, *PWNDCLASSEX;
4725-typedef MENUITEMINFOA MENUITEMINFO, *LPMENUITEMINFO;
4726-typedef LPCMENUITEMINFOA LPCMENUITEMINFO;
4727-typedef MSGBOXPARAMSA MSGBOXPARAMS, *PMSGBOXPARAMS, *LPMSGBOXPARAMS;
4728-typedef HIGHCONTRASTA HIGHCONTRAST, *LPHIGHCONTRAST;
4729-typedef SERIALKEYSA SERIALKEYS, *LPSERIALKEYS;
4730-typedef SOUNDSENTRYA SOUNDSENTRY, *LPSOUNDSENTRY;
4731-typedef CREATESTRUCTA CREATESTRUCT, *LPCREATESTRUCT;
4732-typedef CBT_CREATEWNDA CBT_CREATEWND, *LPCBT_CREATEWND;
4733-typedef MDICREATESTRUCTA MDICREATESTRUCT, *LPMDICREATESTRUCT;
4734-typedef MULTIKEYHELPA MULTIKEYHELP, *PMULTIKEYHELP, *LPMULTIKEYHELP;
4735-typedef MONITORINFOEXA MONITORINFOEX, *LPMONITORINFOEX;
4736-#define AppendMenu AppendMenuA
4737-#define BroadcastSystemMessage BroadcastSystemMessageA
4738-#define BroadcastSystemMessageEx BroadcastSystemMessageExA
4739-#define CallMsgFilter CallMsgFilterA
4740-#define CallWindowProc CallWindowProcA
4741-#define ChangeMenu ChangeMenuA
4742-#define CharLower CharLowerA
4743-#define CharLowerBuff CharLowerBuffA
4744-#define CharNext CharNextA
4745-#define CharPrev CharPrevA
4746-#define CharToOem CharToOemA
4747-#define CharToOemBuff CharToOemBuffA
4748-#define CharUpper CharUpperA
4749-#define CharUpperBuff CharUpperBuffA
4750-#define CopyAcceleratorTable CopyAcceleratorTableA
4751-#define CreateAcceleratorTable CreateAcceleratorTableA
4752-#define CreateDialog CreateDialogA
4753-#define CreateDialogIndirect CreateDialogIndirectA
4754-#define CreateDialogIndirectParam CreateDialogIndirectParamA
4755-#define CreateDialogParam CreateDialogParamA
4756-#define CreateMDIWindow CreateMDIWindowA
4757-#define CreateWindow CreateWindowA
4758-#define CreateWindowEx CreateWindowExA
4759-#define CreateWindowStation CreateWindowStationA
4760-#define DefDlgProc DefDlgProcA
4761-#define DefFrameProc DefFrameProcA
4762-#define DefMDIChildProc DefMDIChildProcA
4763-#define DefWindowProc DefWindowProcA
4764-#define DialogBox DialogBoxA
4765-#define DialogBoxIndirect DialogBoxIndirectA
4766-#define DialogBoxIndirectParam DialogBoxIndirectParamA
4767-#define DialogBoxParam DialogBoxParamA
4768-#define DispatchMessage DispatchMessageA
4769-#define DlgDirList DlgDirListA
4770-#define DlgDirListComboBox DlgDirListComboBoxA
4771-#define DlgDirSelectComboBoxEx DlgDirSelectComboBoxExA
4772-#define DlgDirSelectEx DlgDirSelectExA
4773-#define DrawState DrawStateA
4774-#define DrawText DrawTextA
4775-#define DrawTextEx DrawTextExA
4776-#define EnumDesktops EnumDesktopsA
4777-#define EnumProps EnumPropsA
4778-#define EnumPropsEx EnumPropsExA
4779-#define EnumWindowStations EnumWindowStationsA
4780-#define FindWindow FindWindowA
4781-#define FindWindowEx FindWindowExA
4782-#define GetClassInfo GetClassInfoA
4783-#define GetClassInfoEx GetClassInfoExA
4784-#define GetClassLong GetClassLongA
4785-#define GetClassLongPtr GetClassLongPtrA
4786-#define GetClassName GetClassNameA
4787-#define GetClipboardFormatName GetClipboardFormatNameA
4788-#define GetDlgItemText GetDlgItemTextA
4789-#define GetKeyboardLayoutName GetKeyboardLayoutNameA
4790-#define GetKeyNameText GetKeyNameTextA
4791-#define GetMenuItemInfo GetMenuItemInfoA
4792-#define GetMenuString GetMenuStringA
4793-#define GetMessage GetMessageA
4794-#define GetMonitorInfo GetMonitorInfoA
4795-#define GetProp GetPropA
4796-#define GetRawInputDeviceInfo GetRawInputDeviceInfoA
4797-#define GetTabbedTextExtent GetTabbedTextExtentA
4798-#define GetUserObjectInformation GetUserObjectInformationA
4799-#define GetWindowLong GetWindowLongA
4800-#define GetWindowLongPtr GetWindowLongPtrA
4801-#define GetWindowText GetWindowTextA
4802-#define GetWindowTextLength GetWindowTextLengthA
4803-#define GetAltTabInfo GetAltTabInfoA
4804-#define GetWindowModuleFileName GetWindowModuleFileNameA
4805-#define GrayString GrayStringA
4806-#define InsertMenu InsertMenuA
4807-#define InsertMenuItem InsertMenuItemA
4808-#define IsCharAlpha IsCharAlphaA
4809-#define IsCharAlphaNumeric IsCharAlphaNumericA
4810-#define IsCharLower IsCharLowerA
4811-#define IsCharUpper IsCharUpperA
4812-#define IsDialogMessage IsDialogMessageA
4813-#define LoadAccelerators LoadAcceleratorsA
4814-#define LoadBitmap LoadBitmapA
4815-#define LoadCursor LoadCursorA
4816-#define LoadIcon LoadIconA
4817-#define LoadCursorFromFile LoadCursorFromFileA
4818-#define LoadImage LoadImageA
4819-#define LoadKeyboardLayout LoadKeyboardLayoutA
4820-#define LoadMenu LoadMenuA
4821-#define LoadMenuIndirect LoadMenuIndirectA
4822-#define LoadString LoadStringA
4823-#define MapVirtualKey MapVirtualKeyA
4824-#define MapVirtualKeyEx MapVirtualKeyExA
4825-#define MessageBox MessageBoxA
4826-#define MessageBoxEx MessageBoxExA
4827-#define MessageBoxIndirect MessageBoxIndirectA
4828-#define ModifyMenu ModifyMenuA
4829-#define OemToChar OemToCharA
4830-#define OemToCharBuff OemToCharBuffA
4831-#define OpenDesktop OpenDesktopA
4832-#define OpenWindowStation OpenWindowStationA
4833-#define PeekMessage PeekMessageA
4834-#define PostAppMessage PostAppMessageA
4835-#define PostMessage PostMessageA
4836-#define PostThreadMessage PostThreadMessageA
4837-#define RealGetWindowClass RealGetWindowClassA
4838-#define RegisterClass RegisterClassA
4839-#define RegisterClassEx RegisterClassExA
4840-#define RegisterClipboardFormat RegisterClipboardFormatA
4841-#define RegisterDeviceNotification RegisterDeviceNotificationA
4842-#define RegisterWindowMessage RegisterWindowMessageA
4843-#define RemoveProp RemovePropA
4844-#define SendDlgItemMessage SendDlgItemMessageA
4845-#define SendMessage SendMessageA
4846-#define SendMessageCallback SendMessageCallbackA
4847-#define SendMessageTimeout SendMessageTimeoutA
4848-#define SendNotifyMessage SendNotifyMessageA
4849-#define SetClassLong SetClassLongA
4850-#define SetClassLongPtr SetClassLongPtrA
4851-#define SetDlgItemText SetDlgItemTextA
4852-#define SetMenuItemInfo SetMenuItemInfoA
4853-#define SetProp SetPropA
4854-#define SetUserObjectInformation SetUserObjectInformationA
4855-#define SetWindowLong SetWindowLongA
4856-#define SetWindowLongPtr SetWindowLongPtrA
4857-#define SetWindowsHook SetWindowsHookA
4858-#define SetWindowsHookEx SetWindowsHookExA
4859-#define SetWindowText SetWindowTextA
4860-#define SystemParametersInfo SystemParametersInfoA
4861-#define TabbedTextOut TabbedTextOutA
4862-#define TranslateAccelerator TranslateAcceleratorA
4863-#define UnregisterClass UnregisterClassA
4864-#define VkKeyScan VkKeyScanA
4865-#define VkKeyScanEx VkKeyScanExA
4866-#define WinHelp WinHelpA
4867-#define wsprintf wsprintfA
4868-#define wvsprintf wvsprintfA
4869-
4870-#ifndef NOGDI
4871-typedef ICONMETRICSA ICONMETRICS, *LPICONMETRICS;
4872-typedef NONCLIENTMETRICSA NONCLIENTMETRICS, *LPNONCLIENTMETRICS;
4873-#define ChangeDisplaySettings ChangeDisplaySettingsA
4874-#define ChangeDisplaySettingsEx ChangeDisplaySettingsExA
4875-#define CreateDesktop CreateDesktopA
4876-#define EnumDisplaySettings EnumDisplaySettingsA
4877-#define EnumDisplaySettingsEx EnumDisplaySettingsExA
4878-#define EnumDisplayDevices EnumDisplayDevicesA
4879-#endif /* NOGDI */
4880-#endif /* UNICODE */
48814904 #endif /* RC_INVOKED */
48824905
48834906 _END_C_DECLS