Get rid of HEAP_strdupWtoA calls.
[wine/multimedia.git] / dlls / comcat / comcat_private.h
blob204e04f9fe0ec9a052a781d1f312eb4d62a5eb1f
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 <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 DWORD dll_ref;
43 /**********************************************************************
44 * ClassFactory declaration for comcat.dll
46 typedef struct
48 /* IUnknown fields */
49 IClassFactoryVtbl *lpVtbl;
50 DWORD ref;
51 } ClassFactoryImpl;
53 extern ClassFactoryImpl COMCAT_ClassFactory;
55 /**********************************************************************
56 * StdComponentCategoriesMgr declaration for comcat.dll
58 typedef struct
60 /* IUnknown fields */
61 IUnknownVtbl *unkVtbl;
62 ICatRegisterVtbl *regVtbl;
63 ICatInformationVtbl *infVtbl;
64 DWORD ref;
65 } ComCatMgrImpl;
67 extern ComCatMgrImpl COMCAT_ComCatMgr;
68 extern ICatRegisterVtbl COMCAT_ICatRegister_Vtbl;
69 extern ICatInformationVtbl COMCAT_ICatInformation_Vtbl;
71 /**********************************************************************
72 * Global string constant declarations
74 extern const WCHAR clsid_keyname[6];