Release 950606
[wine/multimedia.git] / include / class.h
blob5c99d1d2802246288d3f3850ec3e7e3360ba2e5d
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 0x4b4e /* 'NK' */
14 #ifndef WINELIB
15 #pragma pack(1)
16 #endif
18 /* !! Don't change this structure (see GetClassLong()) */
19 typedef struct tagCLASS
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;
30 #ifndef WINELIB
31 #pragma pack(4)
32 #endif
35 HCLASS CLASS_FindClassByName( char * name, WORD hinstance, CLASS **ptr );
36 CLASS * CLASS_FindClassPtr( HCLASS hclass );
39 #endif /* CLASS_H */