Added function table to GDI objects for better encapsulation.
[wine.git] / dlls / comcat / comcat.h
blobc9c56cce6d623c34b964527acaa943ebcf34756b
1 /*
2 * includes for comcat.dll
4 * Copyright (C) 2002 John K. Hohm
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 #include "windef.h"
22 #include "winbase.h"
23 #include "winreg.h"
24 #include "winerror.h"
26 #include "ole2.h"
27 #include "wine/obj_base.h"
28 #include "wine/obj_enumguid.h"
29 #include "wine/obj_comcat.h"
31 /**********************************************************************
32 * Dll lifetime tracking declaration for comcat.dll
34 extern DWORD dll_ref;
36 /**********************************************************************
37 * ClassFactory declaration for comcat.dll
39 typedef struct
41 /* IUnknown fields */
42 ICOM_VFIELD(IClassFactory);
43 DWORD ref;
44 } ClassFactoryImpl;
46 extern ClassFactoryImpl COMCAT_ClassFactory;
48 /**********************************************************************
49 * StdComponentCategoriesMgr declaration for comcat.dll
51 typedef struct
53 /* IUnknown fields */
54 ICOM_VTABLE(IUnknown) *unkVtbl;
55 ICOM_VTABLE(ICatRegister) *regVtbl;
56 ICOM_VTABLE(ICatInformation) *infVtbl;
57 DWORD ref;
58 } ComCatMgrImpl;
60 extern ComCatMgrImpl COMCAT_ComCatMgr;
61 extern ICOM_VTABLE(ICatRegister) COMCAT_ICatRegister_Vtbl;
62 extern ICOM_VTABLE(ICatInformation) COMCAT_ICatInformation_Vtbl;