widl: Generate helper macros for WinRT implementation.
[wine/zf.git] / dlls / wshom.ocx / wshom_private.h
bloba10cf2683a3a7dd5709fda832e1d113b32a25d5c
1 /*
2 * Copyright 2011 Jacek Caban for CodeWeavers
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #include <stdarg.h>
21 #define COBJMACROS
23 #include "windef.h"
24 #include "winbase.h"
25 #include "ole2.h"
26 #include "olectl.h"
28 /* typelibs */
29 typedef enum tid_t {
30 NULL_tid,
31 IWshCollection_tid,
32 IWshEnvironment_tid,
33 IWshExec_tid,
34 IWshShell3_tid,
35 IWshShortcut_tid,
36 LAST_tid
37 } tid_t;
39 HRESULT get_typeinfo(tid_t tid, ITypeInfo **typeinfo) DECLSPEC_HIDDEN;
41 struct provideclassinfo {
42 IProvideClassInfo IProvideClassInfo_iface;
43 IUnknown *outer;
44 const GUID *guid;
47 extern void init_classinfo(const GUID *guid, IUnknown *outer, struct provideclassinfo *classinfo) DECLSPEC_HIDDEN;
49 HRESULT WINAPI WshShellFactory_CreateInstance(IClassFactory*,IUnknown*,REFIID,void**) DECLSPEC_HIDDEN;