wintrust: Use path in WIN_TRUST_SUBJECT_FILE structure rather than assuming a path...
[wine] / dlls / comcat / comcat_private.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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19  */
20
21 #include <stdarg.h>
22
23 #define COBJMACROS
24
25 #include "windef.h"
26 #include "winbase.h"
27 #include "winuser.h"
28 #include "winreg.h"
29 #include "winerror.h"
30
31 #include "ole2.h"
32 #include "comcat.h"
33 #include "wine/unicode.h"
34
35 #define ICOM_THIS_MULTI(impl,field,iface) impl* const This=(impl*)((char*)(iface) - offsetof(impl,field))
36
37 /**********************************************************************
38  * Dll lifetime tracking declaration for comcat.dll
39  */
40 extern LONG dll_ref;
41
42 /**********************************************************************
43  * ClassFactory declaration for comcat.dll
44  */
45 typedef struct
46 {
47     /* IUnknown fields */
48     const IClassFactoryVtbl *lpVtbl;
49     LONG ref;
50 } ClassFactoryImpl;
51
52 extern ClassFactoryImpl COMCAT_ClassFactory;
53
54 /**********************************************************************
55  * StdComponentCategoriesMgr declaration for comcat.dll
56  */
57 typedef struct
58 {
59     /* IUnknown fields */
60     const IUnknownVtbl *unkVtbl;
61     const ICatRegisterVtbl *regVtbl;
62     const ICatInformationVtbl *infVtbl;
63     LONG ref;
64 } ComCatMgrImpl;
65
66 extern ComCatMgrImpl COMCAT_ComCatMgr;
67 extern const ICatRegisterVtbl COMCAT_ICatRegister_Vtbl;
68 extern const ICatInformationVtbl COMCAT_ICatInformation_Vtbl;
69
70 /**********************************************************************
71  * Global string constant declarations
72  */
73 extern const WCHAR clsid_keyname[6];