comdlg32: Initialize CommDlgExtendedError() return value for file dialogs.
[wine/multimedia.git] / dlls / comcat / comcat_private.h
blob4002dfd0c962a1f896048586a7af3bb16a0d37ee
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
25 #include "windef.h"
26 #include "winbase.h"
27 #include "winuser.h"
28 #include "winreg.h"
29 #include "winerror.h"
31 #include "ole2.h"
32 #include "comcat.h"
33 #include "wine/unicode.h"
35 #define ICOM_THIS_MULTI(impl,field,iface) impl* const This=(impl*)((char*)(iface) - offsetof(impl,field))
37 /**********************************************************************
38 * Dll lifetime tracking declaration for comcat.dll
40 extern LONG dll_ref;
42 /**********************************************************************
43 * ClassFactory declaration for comcat.dll
45 typedef struct
47 /* IUnknown fields */
48 const IClassFactoryVtbl *lpVtbl;
49 LONG ref;
50 } ClassFactoryImpl;
52 extern ClassFactoryImpl COMCAT_ClassFactory;
54 /**********************************************************************
55 * StdComponentCategoriesMgr declaration for comcat.dll
57 typedef struct
59 /* IUnknown fields */
60 const IUnknownVtbl *unkVtbl;
61 const ICatRegisterVtbl *regVtbl;
62 const ICatInformationVtbl *infVtbl;
63 LONG ref;
64 } ComCatMgrImpl;
66 extern ComCatMgrImpl COMCAT_ComCatMgr;
67 extern const ICatRegisterVtbl COMCAT_ICatRegister_Vtbl;
68 extern const ICatInformationVtbl COMCAT_ICatInformation_Vtbl;
70 /**********************************************************************
71 * Global string constant declarations
73 extern const WCHAR clsid_keyname[6];