[PATCH] user32: Use public define for Dialog class atom

Dmitry Timoshkov dmitry at baikal.ru
Tue Feb 18 08:43:25 CST 2014


Nikolay Sivov <nsivov at codeweavers.com> wrote:

>  /* Built-in class names (see _Undocumented_Windows_ p.418) */
>  #define POPUPMENU_CLASS_ATOM MAKEINTATOM(32768)  /* PopupMenu */
>  #define DESKTOP_CLASS_ATOM   MAKEINTATOM(32769)  /* Desktop */
> -#define DIALOG_CLASS_ATOM    MAKEINTATOM(32770)  /* Dialog */
>  #define WINSWITCH_CLASS_ATOM MAKEINTATOM(32771)  /* WinSwitch */
>  #define ICONTITLE_CLASS_ATOM MAKEINTATOM(32772)  /* IconTitle */

This list is very handy when searching for an atom constant in the user32
code, also there is no point in breaking "grep CLASS_ATOM" in favour of
a dubious use of just one constant from a public header.

-- 
Dmitry.



More information about the wine-devel mailing list