Implement A_SHA* functions present in Windows XP and later systems.
[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., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
19  */
20
21 #define COM_NO_WINDOWS_H
22 #include <stdarg.h>
23
24 #include "windef.h"
25 #include "winbase.h"
26 #include "winuser.h"
27 #include "winreg.h"
28 #include "winerror.h"
29
30 #include "ole2.h"
31 #include "comcat.h"
32 #include "wine/unicode.h"
33
34 #define ICOM_THIS_MULTI(impl,field,iface) impl* const This=(impl*)((char*)(iface) - offsetof(impl,field))
35
36 /**********************************************************************
37  * Dll lifetime tracking declaration for comcat.dll
38  */
39 extern DWORD dll_ref;
40
41 /**********************************************************************
42  * ClassFactory declaration for comcat.dll
43  */
44 typedef struct
45 {
46     /* IUnknown fields */
47     IClassFactoryVtbl *lpVtbl;
48     DWORD ref;
49 } ClassFactoryImpl;
50
51 extern ClassFactoryImpl COMCAT_ClassFactory;
52
53 /**********************************************************************
54  * StdComponentCategoriesMgr declaration for comcat.dll
55  */
56 typedef struct
57 {
58     /* IUnknown fields */
59     IUnknownVtbl *unkVtbl;
60     ICatRegisterVtbl *regVtbl;
61     ICatInformationVtbl *infVtbl;
62     DWORD ref;
63 } ComCatMgrImpl;
64
65 extern ComCatMgrImpl COMCAT_ComCatMgr;
66 extern ICatRegisterVtbl COMCAT_ICatRegister_Vtbl;
67 extern ICatInformationVtbl COMCAT_ICatInformation_Vtbl;
68
69 /**********************************************************************
70  * Global string constant declarations
71  */
72 extern const WCHAR clsid_keyname[6];