-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathzShellExt_p.c
271 lines (210 loc) · 6.55 KB
/
zShellExt_p.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
/* this ALWAYS GENERATED file contains the proxy stub code */
/* File created by MIDL compiler version 8.00.0603 */
/* at Sun Jun 08 09:29:48 2014
*/
/* Compiler settings for zShellExt.idl:
Oicf, W1, Zp8, env=Win64 (32b run), target_arch=AMD64 8.00.0603
protocol : dce , ms_ext, c_ext, robust
error checks: allocation ref bounds_check enum stub_data
VC __declspec() decoration level:
__declspec(uuid()), __declspec(selectany), __declspec(novtable)
DECLSPEC_UUID(), MIDL_INTERFACE()
*/
/* @@MIDL_FILE_HEADING( ) */
#if defined(_M_AMD64)
#pragma warning( disable: 4049 ) /* more than 64k source lines */
#if _MSC_VER >= 1200
#pragma warning(push)
#endif
#pragma warning( disable: 4211 ) /* redefine extern to static */
#pragma warning( disable: 4232 ) /* dllimport identity*/
#pragma warning( disable: 4024 ) /* array to pointer mapping*/
#pragma warning( disable: 4152 ) /* function/data pointer conversion in expression */
#define USE_STUBLESS_PROXY
/* verify that the <rpcproxy.h> version is high enough to compile this file*/
#ifndef __REDQ_RPCPROXY_H_VERSION__
#define __REQUIRED_RPCPROXY_H_VERSION__ 475
#endif
#include "rpcproxy.h"
#ifndef __RPCPROXY_H_VERSION__
#error this stub requires an updated version of <rpcproxy.h>
#endif /* __RPCPROXY_H_VERSION__ */
#include "zShellExt_i.h"
#define TYPE_FORMAT_STRING_SIZE 3
#define PROC_FORMAT_STRING_SIZE 1
#define EXPR_FORMAT_STRING_SIZE 1
#define TRANSMIT_AS_TABLE_SIZE 0
#define WIRE_MARSHAL_TABLE_SIZE 0
typedef struct _zShellExt_MIDL_TYPE_FORMAT_STRING
{
short Pad;
unsigned char Format[ TYPE_FORMAT_STRING_SIZE ];
} zShellExt_MIDL_TYPE_FORMAT_STRING;
typedef struct _zShellExt_MIDL_PROC_FORMAT_STRING
{
short Pad;
unsigned char Format[ PROC_FORMAT_STRING_SIZE ];
} zShellExt_MIDL_PROC_FORMAT_STRING;
typedef struct _zShellExt_MIDL_EXPR_FORMAT_STRING
{
long Pad;
unsigned char Format[ EXPR_FORMAT_STRING_SIZE ];
} zShellExt_MIDL_EXPR_FORMAT_STRING;
static const RPC_SYNTAX_IDENTIFIER _RpcTransferSyntax =
{{0x8A885D04,0x1CEB,0x11C9,{0x9F,0xE8,0x08,0x00,0x2B,0x10,0x48,0x60}},{2,0}};
extern const zShellExt_MIDL_TYPE_FORMAT_STRING zShellExt__MIDL_TypeFormatString;
extern const zShellExt_MIDL_PROC_FORMAT_STRING zShellExt__MIDL_ProcFormatString;
extern const zShellExt_MIDL_EXPR_FORMAT_STRING zShellExt__MIDL_ExprFormatString;
extern const MIDL_STUB_DESC Object_StubDesc;
extern const MIDL_SERVER_INFO IShellExt_ServerInfo;
extern const MIDL_STUBLESS_PROXY_INFO IShellExt_ProxyInfo;
#if !defined(__RPC_WIN64__)
#error Invalid build platform for this stub.
#endif
static const zShellExt_MIDL_PROC_FORMAT_STRING zShellExt__MIDL_ProcFormatString =
{
0,
{
0x0
}
};
static const zShellExt_MIDL_TYPE_FORMAT_STRING zShellExt__MIDL_TypeFormatString =
{
0,
{
NdrFcShort( 0x0 ), /* 0 */
0x0
}
};
/* Object interface: IUnknown, ver. 0.0,
GUID={0x00000000,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
/* Object interface: IDispatch, ver. 0.0,
GUID={0x00020400,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
/* Object interface: IShellExt, ver. 0.0,
GUID={0xC6C5A941,0x067F,0x495E,{0xA6,0x03,0x64,0xC7,0x39,0x4C,0xDA,0x69}} */
#pragma code_seg(".orpc")
static const unsigned short IShellExt_FormatStringOffsetTable[] =
{
(unsigned short) -1,
(unsigned short) -1,
(unsigned short) -1,
(unsigned short) -1,
0
};
static const MIDL_STUBLESS_PROXY_INFO IShellExt_ProxyInfo =
{
&Object_StubDesc,
zShellExt__MIDL_ProcFormatString.Format,
&IShellExt_FormatStringOffsetTable[-3],
0,
0,
0
};
static const MIDL_SERVER_INFO IShellExt_ServerInfo =
{
&Object_StubDesc,
0,
zShellExt__MIDL_ProcFormatString.Format,
&IShellExt_FormatStringOffsetTable[-3],
0,
0,
0,
0};
CINTERFACE_PROXY_VTABLE(7) _IShellExtProxyVtbl =
{
0,
&IID_IShellExt,
IUnknown_QueryInterface_Proxy,
IUnknown_AddRef_Proxy,
IUnknown_Release_Proxy ,
0 /* IDispatch::GetTypeInfoCount */ ,
0 /* IDispatch::GetTypeInfo */ ,
0 /* IDispatch::GetIDsOfNames */ ,
0 /* IDispatch_Invoke_Proxy */
};
static const PRPC_STUB_FUNCTION IShellExt_table[] =
{
STUB_FORWARDING_FUNCTION,
STUB_FORWARDING_FUNCTION,
STUB_FORWARDING_FUNCTION,
STUB_FORWARDING_FUNCTION
};
CInterfaceStubVtbl _IShellExtStubVtbl =
{
&IID_IShellExt,
&IShellExt_ServerInfo,
7,
&IShellExt_table[-3],
CStdStubBuffer_DELEGATING_METHODS
};
static const MIDL_STUB_DESC Object_StubDesc =
{
0,
NdrOleAllocate,
NdrOleFree,
0,
0,
0,
0,
0,
zShellExt__MIDL_TypeFormatString.Format,
1, /* -error bounds_check flag */
0x50002, /* Ndr library version */
0,
0x800025b, /* MIDL Version 8.0.603 */
0,
0,
0, /* notify & notify_flag routine table */
0x1, /* MIDL flag */
0, /* cs routines */
0, /* proxy/server info */
0
};
const CInterfaceProxyVtbl * const _zShellExt_ProxyVtblList[] =
{
( CInterfaceProxyVtbl *) &_IShellExtProxyVtbl,
0
};
const CInterfaceStubVtbl * const _zShellExt_StubVtblList[] =
{
( CInterfaceStubVtbl *) &_IShellExtStubVtbl,
0
};
PCInterfaceName const _zShellExt_InterfaceNamesList[] =
{
"IShellExt",
0
};
const IID * const _zShellExt_BaseIIDList[] =
{
&IID_IDispatch,
0
};
#define _zShellExt_CHECK_IID(n) IID_GENERIC_CHECK_IID( _zShellExt, pIID, n)
int __stdcall _zShellExt_IID_Lookup( const IID * pIID, int * pIndex )
{
if(!_zShellExt_CHECK_IID(0))
{
*pIndex = 0;
return 1;
}
return 0;
}
const ExtendedProxyFileInfo zShellExt_ProxyFileInfo =
{
(PCInterfaceProxyVtblList *) & _zShellExt_ProxyVtblList,
(PCInterfaceStubVtblList *) & _zShellExt_StubVtblList,
(const PCInterfaceName * ) & _zShellExt_InterfaceNamesList,
(const IID ** ) & _zShellExt_BaseIIDList,
& _zShellExt_IID_Lookup,
1,
2,
0, /* table of [async_uuid] interfaces */
0, /* Filler1 */
0, /* Filler2 */
0 /* Filler3 */
};
#if _MSC_VER >= 1200
#pragma warning(pop)
#endif
#endif /* defined(_M_AMD64)*/