Replace calloc() by HeapAlloc().
[wine.git] / include / dce.h
blobbdbbee0b442052a1b94f1d24530a4ade667d2c47
1 /*
2 * USER DCE definitions
4 * Copyright 1993 Alexandre Julliard
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 #ifndef __WINE_DCE_H
22 #define __WINE_DCE_H
24 #include <windef.h>
26 /* internal DCX flags */
27 #define DCX_DCEEMPTY 0x00000800
28 #define DCX_DCEBUSY 0x00001000
29 #define DCX_DCEDIRTY 0x00002000
30 #define DCX_WINDOWPAINT 0x00020000
32 typedef enum
34 DCE_CACHE_DC, /* This is a cached DC (allocated by USER) */
35 DCE_CLASS_DC, /* This is a class DC (style CS_CLASSDC) */
36 DCE_WINDOW_DC /* This is a window DC (style CS_OWNDC) */
37 } DCE_TYPE;
39 struct tagDCE;
41 extern struct tagDCE *DCE_AllocDCE( HWND hWnd, DCE_TYPE type );
42 extern void DCE_FreeDCE( struct tagDCE *dce );
43 extern void DCE_FreeWindowDCE( HWND );
44 extern BOOL DCE_InvalidateDCE( HWND, const RECT* );
46 #endif /* __WINE_DCE_H */