Added regedit unit test, a couple minor changes to regedit.
[wine] / dlls / comcat / comcat.h
1 /*
2  *      includes for comcat.dll
3  *
4  * Copyright (C) 2002 John K. Hohm
5  *
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.
10  *
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.
15  *
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
19  */
20
21 #include "windef.h"
22 #include "winbase.h"
23 #include "winuser.h"
24 #include "winreg.h"
25 #include "winerror.h"
26
27 #include "ole2.h"
28 #include "wine/obj_base.h"
29 #include "wine/obj_enumguid.h"
30 #include "wine/obj_comcat.h"
31 #include "wine/unicode.h"
32
33 /**********************************************************************
34  * Dll lifetime tracking declaration for comcat.dll
35  */
36 extern DWORD dll_ref;
37
38 /**********************************************************************
39  * ClassFactory declaration for comcat.dll
40  */
41 typedef struct
42 {
43     /* IUnknown fields */
44     ICOM_VFIELD(IClassFactory);
45     DWORD ref;
46 } ClassFactoryImpl;
47
48 extern ClassFactoryImpl COMCAT_ClassFactory;
49
50 /**********************************************************************
51  * StdComponentCategoriesMgr declaration for comcat.dll
52  */
53 typedef struct
54 {
55     /* IUnknown fields */
56     ICOM_VTABLE(IUnknown) *unkVtbl;
57     ICOM_VTABLE(ICatRegister) *regVtbl;
58     ICOM_VTABLE(ICatInformation) *infVtbl;
59     DWORD ref;
60 } ComCatMgrImpl;
61
62 extern ComCatMgrImpl COMCAT_ComCatMgr;
63 extern ICOM_VTABLE(ICatRegister) COMCAT_ICatRegister_Vtbl;
64 extern ICOM_VTABLE(ICatInformation) COMCAT_ICatInformation_Vtbl;
65
66 /**********************************************************************
67  * Global string constant declarations
68  */
69 extern const WCHAR clsid_keyname[6];