4 * Copyright 1996 Alexandre Julliard
7 #ifndef __WINE_WINUSER_H
8 #define __WINE_WINUSER_H
18 WNDPROC32 lpfnWndProc;
21 HINSTANCE32 hInstance;
24 HBRUSH32 hbrBackground;
27 } WNDCLASS32A, *LPWNDCLASS32A;
32 WNDPROC32 lpfnWndProc;
35 HINSTANCE32 hInstance;
38 HBRUSH32 hbrBackground;
40 LPCWSTR lpszClassName;
41 } WNDCLASS32W, *LPWNDCLASS32W;
48 WNDPROC16 lpfnWndProc WINE_PACKED;
54 HBRUSH16 hbrBackground;
55 SEGPTR lpszMenuName WINE_PACKED;
56 SEGPTR lpszClassName WINE_PACKED;
57 } WNDCLASS16, *LPWNDCLASS16;
65 WNDPROC32 lpfnWndProc;
68 HINSTANCE32 hInstance;
71 HBRUSH32 hbrBackground;
75 } WNDCLASSEX32A, *LPWNDCLASSEX32A;
81 WNDPROC32 lpfnWndProc;
84 HINSTANCE32 hInstance;
87 HBRUSH32 hbrBackground;
89 LPCWSTR lpszClassName;
91 } WNDCLASSEX32W, *LPWNDCLASSEX32W;
97 WNDPROC16 lpfnWndProc;
103 HBRUSH16 hbrBackground;
105 SEGPTR lpszClassName;
107 } WNDCLASSEX16, *LPWNDCLASSEX16;
109 DECL_WINELIB_TYPE_AW(WNDCLASS);
110 DECL_WINELIB_TYPE_AW(LPWNDCLASS);
111 DECL_WINELIB_TYPE_AW(WNDCLASSEX);
112 DECL_WINELIB_TYPE_AW(LPWNDCLASSEX);
114 #define CS_VREDRAW 0x0001
115 #define CS_HREDRAW 0x0002
116 #define CS_KEYCVTWINDOW 0x0004
117 #define CS_DBLCLKS 0x0008
118 #define CS_OWNDC 0x0020
119 #define CS_CLASSDC 0x0040
120 #define CS_PARENTDC 0x0080
121 #define CS_NOKEYCVT 0x0100
122 #define CS_NOCLOSE 0x0200
123 #define CS_SAVEBITS 0x0800
124 #define CS_BYTEALIGNCLIENT 0x1000
125 #define CS_BYTEALIGNWINDOW 0x2000
126 #define CS_GLOBALCLASS 0x4000
128 /* Offsets for GetClassLong() and GetClassWord() */
129 #define GCL_MENUNAME (-8)
130 #define GCW_HBRBACKGROUND (-10)
131 #define GCL_HBRBACKGROUND GCW_HBRBACKGROUND
132 #define GCW_HCURSOR (-12)
133 #define GCL_HCURSOR GCW_HCURSOR
134 #define GCW_HICON (-14)
135 #define GCL_HICON GCW_HICON
136 #define GCW_HMODULE (-16)
137 #define GCL_HMODULE GCW_HMODULE
138 #define GCW_CBWNDEXTRA (-18)
139 #define GCL_CBWNDEXTRA GCW_CBWNDEXTRA
140 #define GCW_CBCLSEXTRA (-20)
141 #define GCL_CBCLSEXTRA GCW_CBCLSEXTRA
142 #define GCL_WNDPROC (-24)
143 #define GCW_STYLE (-26)
144 #define GCL_STYLE GCW_STYLE
145 #define GCW_ATOM (-32)
146 #define GCW_HICONSM (-34)
147 #define GCL_HICONSM GCW_HICONSM
149 #endif /* __WINE_WINUSER_H */