ReactOS 0.4.17-dev-966-gf06eace
wshom_private.h
Go to the documentation of this file.
1/*
2 * Copyright 2011 Jacek Caban for CodeWeavers
3 *
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.
8 *
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.
13 *
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
17 */
18
19#pragma once
20
21#include <stdarg.h>
22
23#define COBJMACROS
24
25#include "windef.h"
26#include "winbase.h"
27#include "ole2.h"
28#include "olectl.h"
29
30/* typelibs */
31typedef enum tid_t {
41
43
44struct provideclassinfo {
47 const GUID *guid;
48};
49
50extern void init_classinfo(const GUID *guid, IUnknown *outer, struct provideclassinfo *classinfo);
52
OLECHAR * BSTR
Definition: compat.h:2293
GUID guid
Definition: version.c:147
tid_t
Definition: ieframe.h:311
static TfClientId tid
static IUnknown * outer
Definition: compobj.c:82
short WCHAR
Definition: pedump.c:58
#define REFIID
Definition: guiddef.h:118
Definition: name.c:39
IUnknown * outer
const GUID * guid
IProvideClassInfo IProvideClassInfo_iface
Definition: pdh_main.c:64
#define WINAPI
Definition: msvc.h:6
HRESULT WINAPI WshShellFactory_CreateInstance(IClassFactory *, IUnknown *, REFIID, void **)
Definition: shell.c:1916
void init_classinfo(const GUID *guid, IUnknown *outer, struct provideclassinfo *classinfo)
Definition: scrrun.c:230
HRESULT get_env_var(const WCHAR *name, BSTR *value)
Definition: shell.c:546
tid_t
Definition: wshom_private.h:31
@ IWshEnvironment_tid
Definition: wshom_private.h:34
@ IWshShortcut_tid
Definition: wshom_private.h:37
@ IWshExec_tid
Definition: wshom_private.h:35
@ LAST_tid
Definition: wshom_private.h:39
@ IWshShell3_tid
Definition: wshom_private.h:36
@ NULL_tid
Definition: wshom_private.h:32
@ IWshNetwork2_tid
Definition: wshom_private.h:38
@ IWshCollection_tid
Definition: wshom_private.h:33
HRESULT get_typeinfo(tid_t tid, ITypeInfo **typeinfo)
Definition: ieframe_main.c:61
HRESULT WINAPI WshNetworkFactory_CreateInstance(IClassFactory *, IUnknown *, REFIID, void **)
Definition: network.c:287