1 | /* $Id: class.h,v 1.2 1999-07-04 15:34:18 sandervl Exp $ */
|
---|
2 |
|
---|
3 | /*
|
---|
4 | * Window classes definitions
|
---|
5 | *
|
---|
6 | * Copyright 1993 Alexandre Julliard
|
---|
7 | */
|
---|
8 |
|
---|
9 | #ifndef __WINE_CLASS_H
|
---|
10 | #define __WINE_CLASS_H
|
---|
11 |
|
---|
12 | #include "windef.h"
|
---|
13 | #include "winproc.h"
|
---|
14 |
|
---|
15 | #define CLASS_MAGIC ('C' | ('L' << 8) | ('A' << 16) | ('S' << 24))
|
---|
16 |
|
---|
17 | struct tagDCE;
|
---|
18 |
|
---|
19 | typedef struct tagCLASS
|
---|
20 | {
|
---|
21 | struct tagCLASS *next; /* Next class */
|
---|
22 | UINT magic; /* Magic number */
|
---|
23 | UINT cWindows; /* Count of existing windows */
|
---|
24 | UINT style; /* Class style */
|
---|
25 | HWINDOWPROC winproc; /* Window procedure */
|
---|
26 | INT cbClsExtra; /* Class extra bytes */
|
---|
27 | INT cbWndExtra; /* Window extra bytes */
|
---|
28 | LPSTR menuNameA; /* Default menu name (ASCII string) */
|
---|
29 | LPWSTR menuNameW; /* Default menu name (Unicode) */
|
---|
30 | struct tagDCE *dce; /* Class DCE (if CS_CLASSDC) */
|
---|
31 | HINSTANCE hInstance; /* Module that created the task */
|
---|
32 | HICON16 hIcon; /* Default icon */
|
---|
33 | HICON16 hIconSm; /* Default small icon */
|
---|
34 | HCURSOR16 hCursor; /* Default cursor */
|
---|
35 | HBRUSH16 hbrBackground; /* Default background */
|
---|
36 | ATOM atomName; /* Name of the class */
|
---|
37 | LPSTR classNameA; /* Class name (ASCII string) */
|
---|
38 | LPWSTR classNameW; /* Class name (Unicode) */
|
---|
39 | LONG wExtra[1]; /* Class extra bytes */
|
---|
40 | } CLASS;
|
---|
41 |
|
---|
42 | extern void CLASS_DumpClass( CLASS *Class );
|
---|
43 | extern void CLASS_WalkClasses(void);
|
---|
44 | extern void CLASS_FreeModuleClasses( HMODULE16 hModule );
|
---|
45 | extern CLASS *CLASS_FindClassByAtom( ATOM atom, HINSTANCE hinstance );
|
---|
46 |
|
---|
47 | #endif /* __WINE_CLASS_H */
|
---|