2011-09-20 11:55:34 +02:00
|
|
|
/*
|
|
|
|
* Copyright 2011 Jacek Caban for CodeWeavers
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <stdarg.h>
|
|
|
|
|
|
|
|
#define COBJMACROS
|
|
|
|
|
|
|
|
#include "windef.h"
|
|
|
|
#include "winbase.h"
|
|
|
|
#include "ole2.h"
|
2017-01-24 22:50:36 +01:00
|
|
|
#include "olectl.h"
|
2011-09-20 11:55:34 +02:00
|
|
|
|
2011-12-29 10:16:22 +01:00
|
|
|
/* typelibs */
|
|
|
|
typedef enum tid_t {
|
|
|
|
NULL_tid,
|
2011-12-30 14:13:40 +01:00
|
|
|
IWshCollection_tid,
|
2014-04-17 11:49:46 +02:00
|
|
|
IWshEnvironment_tid,
|
2015-03-09 18:09:00 +01:00
|
|
|
IWshExec_tid,
|
2014-04-17 11:49:46 +02:00
|
|
|
IWshShell3_tid,
|
2012-01-02 13:09:52 +01:00
|
|
|
IWshShortcut_tid,
|
2011-12-29 10:16:22 +01:00
|
|
|
LAST_tid
|
|
|
|
} tid_t;
|
|
|
|
|
2012-01-02 21:57:47 +01:00
|
|
|
HRESULT get_typeinfo(tid_t tid, ITypeInfo **typeinfo) DECLSPEC_HIDDEN;
|
2011-12-29 10:16:22 +01:00
|
|
|
|
2017-01-24 22:50:36 +01:00
|
|
|
struct provideclassinfo {
|
|
|
|
IProvideClassInfo IProvideClassInfo_iface;
|
|
|
|
IUnknown *outer;
|
|
|
|
const GUID *guid;
|
|
|
|
};
|
|
|
|
|
|
|
|
extern void init_classinfo(const GUID *guid, IUnknown *outer, struct provideclassinfo *classinfo) DECLSPEC_HIDDEN;
|
|
|
|
|
2011-09-20 11:55:34 +02:00
|
|
|
HRESULT WINAPI WshShellFactory_CreateInstance(IClassFactory*,IUnknown*,REFIID,void**) DECLSPEC_HIDDEN;
|