Release 960225
[wine] / include / class.h
1 /*
2  * Window classes definitions
3  *
4  * Copyright 1993 Alexandre Julliard
5  */
6
7 #ifndef CLASS_H
8 #define CLASS_H
9
10 #include "windows.h"
11
12 #define CLASS_MAGIC   0x4b4e      /* 'NK' */
13
14 #ifndef WINELIB
15 #pragma pack(1)
16 #endif
17
18   /* !! Don't change this structure (see GetClassLong()) */
19 typedef struct tagCLASS
20 {
21     HCLASS       hNext;         /* Next class */
22     WORD         wMagic;        /* Magic number (must be CLASS_MAGIC) */
23     ATOM         atomName;      /* Name of the class */
24     HANDLE       hdce;          /* Class DCE (if CS_CLASSDC) */
25     WORD         cWindows;      /* Count of existing windows of this class */
26     WNDCLASS     wc WINE_PACKED;  /* Class information */
27     WORD         wExtra[1];     /* Class extra bytes */
28 } CLASS;
29
30 #ifndef WINELIB
31 #pragma pack(4)
32 #endif
33
34
35 HCLASS CLASS_FindClassByName( SEGPTR name, HINSTANCE hinstance, CLASS **ptr );
36 CLASS * CLASS_FindClassPtr( HCLASS hclass );
37
38
39 #endif  /* CLASS_H */