shdocvw: Install Mozilla control silently.
[wine/multimedia.git] / dlls / comcat / comcat_private.h
blobcf39fa8f7c68abbec2b8600cda2db526f7d055c5
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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 #include <stdarg.h>
23 #define COBJMACROS
24 #define COM_NO_WINDOWS_H
26 #include "windef.h"
27 #include "winbase.h"
28 #include "winuser.h"
29 #include "winreg.h"
30 #include "winerror.h"
32 #include "ole2.h"
33 #include "comcat.h"
34 #include "wine/unicode.h"
36 #define ICOM_THIS_MULTI(impl,field,iface) impl* const This=(impl*)((char*)(iface) - offsetof(impl,field))
38 /**********************************************************************
39 * Dll lifetime tracking declaration for comcat.dll
41 extern LONG dll_ref;
43 /**********************************************************************
44 * ClassFactory declaration for comcat.dll
46 typedef struct
48 /* IUnknown fields */
49 const IClassFactoryVtbl *lpVtbl;
50 LONG ref;
51 } ClassFactoryImpl;
53 extern ClassFactoryImpl COMCAT_ClassFactory;
55 /**********************************************************************
56 * StdComponentCategoriesMgr declaration for comcat.dll
58 typedef struct
60 /* IUnknown fields */
61 const IUnknownVtbl *unkVtbl;
62 const ICatRegisterVtbl *regVtbl;
63 const ICatInformationVtbl *infVtbl;
64 LONG ref;
65 } ComCatMgrImpl;
67 extern const ComCatMgrImpl COMCAT_ComCatMgr;
68 extern const ICatRegisterVtbl COMCAT_ICatRegister_Vtbl;
69 extern const ICatInformationVtbl COMCAT_ICatInformation_Vtbl;
71 /**********************************************************************
72 * Global string constant declarations
74 extern const WCHAR clsid_keyname[6];