Release 960506
[wine/multimedia.git] / include / class.h
blobf110089818a687d3c4cfe8fcdc0435804c8603e9
1 /*
2 * Window classes definitions
4 * Copyright 1993 Alexandre Julliard
5 */
7 #ifndef CLASS_H
8 #define CLASS_H
10 #include "windows.h"
12 #define CLASS_MAGIC ('C' | ('L' << 8) | ('A' << 16) | ('S' << 24))
14 typedef struct tagCLASS
16 struct tagCLASS *next; /* Next class */
17 UINT32 magic; /* Magic number */
18 UINT32 cWindows; /* Count of existing windows */
19 UINT32 style; /* Class style */
20 WNDPROC16 lpfnWndProc; /* 16-bit window procedure */
21 INT32 cbClsExtra; /* Class extra bytes */
22 INT32 cbWndExtra; /* Window extra bytes */
23 SEGPTR lpszMenuName; /* Default menu name */
24 HANDLE16 hInstance; /* Module that created the task */
25 HICON16 hIcon; /* Default icon */
26 HCURSOR16 hCursor; /* Default cursor */
27 HBRUSH16 hbrBackground; /* Default background */
28 ATOM atomName; /* Name of the class */
29 HANDLE16 hdce; /* Class DCE (if CS_CLASSDC) */
30 WORD wExtra[1]; /* Class extra bytes */
31 } CLASS;
33 extern void CLASS_DumpClass( CLASS *class );
34 extern void CLASS_WalkClasses(void);
35 extern void CLASS_FreeModuleClasses( HMODULE hModule );
36 extern CLASS * CLASS_FindClassByName( SEGPTR name, HINSTANCE hinstance );
38 #endif /* CLASS_H */