source: trunk/include/win/class.h@ 4

Last change on this file since 4 was 4, checked in by ktk, 26 years ago

Import

File size: 1.7 KB
Line 
1/* $Id: class.h,v 1.1 1999-05-24 20:19:09 ktk 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
17struct tagDCE;
18
19typedef 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
42extern void CLASS_DumpClass( CLASS *class );
43extern void CLASS_WalkClasses(void);
44extern void CLASS_FreeModuleClasses( HMODULE16 hModule );
45extern CLASS *CLASS_FindClassByAtom( ATOM atom, HINSTANCE hinstance );
46
47#endif /* __WINE_CLASS_H */
Note: See TracBrowser for help on using the repository browser.