Release 941122
[wine/multimedia.git] / include / class.h
blob07531bdd5247de588f149f77ea3b224a556e1cc3
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 #pragma pack(1)
16 /* !! Don't change this structure (see GetClassLong()) */
17 typedef struct tagCLASS
19 HCLASS hNext; /* Next class */
20 WORD wMagic; /* Magic number (must be CLASS_MAGIC) */
21 ATOM atomName; /* Name of the class */
22 HANDLE hdce; /* Class DCE (if CS_CLASSDC) */
23 WORD cWindows; /* Count of existing windows of this class */
24 WNDCLASS wc WINE_PACKED; /* Class information */
25 WORD wExtra[1]; /* Class extra bytes */
26 } CLASS;
28 #pragma pack(4)
31 HCLASS CLASS_FindClassByName( char * name, WORD hinstance, CLASS **ptr );
32 CLASS * CLASS_FindClassPtr( HCLASS hclass );
35 #endif /* CLASS_H */