:pserver:cvsanon@mok.lvcm.com:/CVS/ReactOS reactos
[reactos.git] / subsys / win32k / eng / handle.h
1 /*
2  * COPYRIGHT:         See COPYING in the top level directory
3  * PROJECT:           ReactOS kernel
4  * PURPOSE:           Manage GDI Handle definitions
5  * FILE:              subsys/win32k/eng/handle.h
6  * PROGRAMER:         Jason Filby
7  * REVISION HISTORY:
8  *                 29/8/1999: Created
9  */
10 #ifndef __ENG_HANDLE_H
11 #define __ENG_HANDLE_H
12
13 #include "objects.h"
14 #include <include/object.h>
15
16 typedef struct _GDI_HANDLE {
17   PENGOBJ               pEngObj;
18 } GDI_HANDLE, *PGDI_HANDLE;
19
20 #define INVALID_HANDLE  0
21 #define MAX_GDI_HANDLES 4096
22
23 GDI_HANDLE GDIHandles[MAX_GDI_HANDLES];
24
25 #define ValidEngHandle( x )  (!( (x) == INVALID_HANDLE ))
26
27 #endif