2011-09-20 09:55:34 +00: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 21:50:36 +00:00
|
|
|
#include "olectl.h"
|
2011-09-20 09:55:34 +00:00
|
|
|
|
2011-12-29 09:16:22 +00:00
|
|
|
/* typelibs */
|
|
|
|
typedef enum tid_t {
|
|
|
|
NULL_tid,
|
2011-12-30 13:13:40 +00:00
|
|
|
IWshCollection_tid,
|
2014-04-17 09:49:46 +00:00
|
|
|
IWshEnvironment_tid,
|
2015-03-09 17:09:00 +00:00
|
|
|
IWshExec_tid,
|
2014-04-17 09:49:46 +00:00
|
|
|
IWshShell3_tid,
|
2012-01-02 12:09:52 +00:00
|
|
|
IWshShortcut_tid,
|
2011-12-29 09:16:22 +00:00
|
|
|
LAST_tid
|
|
|
|
} tid_t;
|
|
|
|
|
2012-01-02 20:57:47 +00:00
|
|
|
HRESULT get_typeinfo(tid_t tid, ITypeInfo **typeinfo) DECLSPEC_HIDDEN;
|
2011-12-29 09:16:22 +00:00
|
|
|
|
2017-01-24 21:50:36 +00: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 09:55:34 +00:00
|
|
|
HRESULT WINAPI WshShellFactory_CreateInstance(IClassFactory*,IUnknown*,REFIID,void**) DECLSPEC_HIDDEN;
|