ReactOS
0.4.16-dev-197-g92996da
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 */
31
typedef
enum
tid_t
{
32
NULL_tid
,
33
IWshCollection_tid
,
34
IWshEnvironment_tid
,
35
IWshExec_tid
,
36
IWshShell3_tid
,
37
IWshShortcut_tid
,
38
LAST_tid
39
}
tid_t
;
40
41
HRESULT
get_typeinfo
(
tid_t
tid
,
ITypeInfo
**
typeinfo
)
DECLSPEC_HIDDEN
;
42
43
struct
provideclassinfo
{
44
IProvideClassInfo
IProvideClassInfo_iface
;
45
IUnknown
*
outer
;
46
const
GUID
*
guid
;
47
};
48
49
extern
void
init_classinfo
(
const
GUID
*
guid
,
IUnknown
*outer,
struct
provideclassinfo
*
classinfo
)
DECLSPEC_HIDDEN
;
50
51
HRESULT
WINAPI
WshShellFactory_CreateInstance
(
IClassFactory
*,
IUnknown
*,
REFIID
,
void
**)
DECLSPEC_HIDDEN
;
classinfo
classinfo
Definition:
clsfactory.c:43
DECLSPEC_HIDDEN
#define DECLSPEC_HIDDEN
Definition:
precomp.h:8
tid_t
tid_t
Definition:
ieframe.h:311
GUID
Definition:
shobjidl.idl:2988
HRESULT
Definition:
mshtmhst.idl:286
IClassFactory
Definition:
unknwn.idl:69
IProvideClassInfo
Definition:
ocidl.idl:537
ITypeInfo
Definition:
oaidl.idl:718
IUnknown
Definition:
unknwn.idl:39
guid
const GUID * guid
Definition:
metadataquery.c:687
tid
static TfClientId tid
Definition:
inputprocessor.c:40
ole2.h
olectl.h
REFIID
#define REFIID
Definition:
guiddef.h:118
provideclassinfo
Definition:
scrrun_private.h:41
provideclassinfo::outer
IUnknown * outer
Definition:
scrrun_private.h:43
provideclassinfo::guid
const GUID * guid
Definition:
scrrun_private.h:44
provideclassinfo::IProvideClassInfo_iface
IProvideClassInfo IProvideClassInfo_iface
Definition:
scrrun_private.h:42
typeinfo
Definition:
internal.h:124
winbase.h
windef.h
WINAPI
#define WINAPI
Definition:
msvc.h:6
tid_t
tid_t
Definition:
wshom_private.h:31
IWshEnvironment_tid
@ IWshEnvironment_tid
Definition:
wshom_private.h:34
IWshShortcut_tid
@ IWshShortcut_tid
Definition:
wshom_private.h:37
IWshExec_tid
@ IWshExec_tid
Definition:
wshom_private.h:35
LAST_tid
@ LAST_tid
Definition:
wshom_private.h:38
IWshShell3_tid
@ IWshShell3_tid
Definition:
wshom_private.h:36
NULL_tid
@ NULL_tid
Definition:
wshom_private.h:32
IWshCollection_tid
@ IWshCollection_tid
Definition:
wshom_private.h:33
get_typeinfo
HRESULT get_typeinfo(tid_t tid, ITypeInfo **typeinfo) DECLSPEC_HIDDEN
Definition:
ieframe_main.c:61
init_classinfo
void init_classinfo(const GUID *guid, IUnknown *outer, struct provideclassinfo *classinfo) DECLSPEC_HIDDEN
Definition:
scrrun.c:232
WshShellFactory_CreateInstance
HRESULT WINAPI WshShellFactory_CreateInstance(IClassFactory *, IUnknown *, REFIID, void **) DECLSPEC_HIDDEN
Definition:
shell.c:1825
dll
win32
wshom.ocx
wshom_private.h
Generated on Wed Oct 30 2024 06:05:12 for ReactOS by
1.9.6