CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
rapid7

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.

GitHub Repository: rapid7/metasploit-framework
Path: blob/master/external/source/passivex/PassiveX.h
Views: 11766
1
2
3
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
4
5
6
/* File created by MIDL compiler version 7.00.0500 */
7
/* at Wed Nov 11 00:29:10 2009
8
*/
9
/* Compiler settings for .\PassiveX.idl:
10
Oicf, W1, Zp8, env=Win32 (32b run)
11
protocol : dce , ms_ext, c_ext, robust
12
error checks: allocation ref bounds_check enum stub_data
13
VC __declspec() decoration level:
14
__declspec(uuid()), __declspec(selectany), __declspec(novtable)
15
DECLSPEC_UUID(), MIDL_INTERFACE()
16
*/
17
//@@MIDL_FILE_HEADING( )
18
19
#pragma warning( disable: 4049 ) /* more than 64k source lines */
20
21
22
/* verify that the <rpcndr.h> version is high enough to compile this file*/
23
#ifndef __REQUIRED_RPCNDR_H_VERSION__
24
#define __REQUIRED_RPCNDR_H_VERSION__ 475
25
#endif
26
27
#include "rpc.h"
28
#include "rpcndr.h"
29
30
#ifndef __RPCNDR_H_VERSION__
31
#error this stub requires an updated version of <rpcndr.h>
32
#endif // __RPCNDR_H_VERSION__
33
34
#ifndef COM_NO_WINDOWS_H
35
#include "windows.h"
36
#include "ole2.h"
37
#endif /*COM_NO_WINDOWS_H*/
38
39
#ifndef __PassiveX_h__
40
#define __PassiveX_h__
41
42
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
43
#pragma once
44
#endif
45
46
/* Forward Declarations */
47
48
#ifndef __IPassiveX_FWD_DEFINED__
49
#define __IPassiveX_FWD_DEFINED__
50
typedef interface IPassiveX IPassiveX;
51
#endif /* __IPassiveX_FWD_DEFINED__ */
52
53
54
#ifndef __PassiveXEvents_FWD_DEFINED__
55
#define __PassiveXEvents_FWD_DEFINED__
56
typedef interface PassiveXEvents PassiveXEvents;
57
#endif /* __PassiveXEvents_FWD_DEFINED__ */
58
59
60
#ifndef __PassiveX_FWD_DEFINED__
61
#define __PassiveX_FWD_DEFINED__
62
63
#ifdef __cplusplus
64
typedef class PassiveX PassiveX;
65
#else
66
typedef struct PassiveX PassiveX;
67
#endif /* __cplusplus */
68
69
#endif /* __PassiveX_FWD_DEFINED__ */
70
71
72
/* header files for imported files */
73
#include "oaidl.h"
74
#include "ocidl.h"
75
76
#ifdef __cplusplus
77
extern "C"{
78
#endif
79
80
81
/* interface __MIDL_itf_PassiveX_0000_0000 */
82
/* [local] */
83
84
85
enum PassiveXProperties
86
{ PASSIVEX_PROPERTY_HTTP_HOST = 1,
87
PASSIVEX_PROPERTY_HTTP_PORT = 2,
88
PASSIVEX_PROPERTY_HTTP_SID = 4,
89
PASSIVEX_PROPERTY_HTTP_URI_BASE = 5,
90
PASSIVEX_PROPERTY_DOWNLOAD_SECOND_STAGE = 3
91
} ;
92
93
94
extern RPC_IF_HANDLE __MIDL_itf_PassiveX_0000_0000_v0_0_c_ifspec;
95
extern RPC_IF_HANDLE __MIDL_itf_PassiveX_0000_0000_v0_0_s_ifspec;
96
97
#ifndef __IPassiveX_INTERFACE_DEFINED__
98
#define __IPassiveX_INTERFACE_DEFINED__
99
100
/* interface IPassiveX */
101
/* [dual][unique][helpstring][uuid][object] */
102
103
104
EXTERN_C const IID IID_IPassiveX;
105
106
#if defined(__cplusplus) && !defined(CINTERFACE)
107
108
MIDL_INTERFACE("1940F02F-41B0-4d92-BE34-DA55D151893A")
109
IPassiveX : public IDispatch
110
{
111
public:
112
virtual /* [id][propput] */ HRESULT STDMETHODCALLTYPE put_HttpHost(
113
/* [in] */ BSTR host) = 0;
114
115
virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_HttpHost(
116
/* [retval][out] */ BSTR *host) = 0;
117
118
virtual /* [id][propput] */ HRESULT STDMETHODCALLTYPE put_HttpSid(
119
/* [in] */ BSTR sid) = 0;
120
121
virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_HttpSid(
122
/* [retval][out] */ BSTR *sid) = 0;
123
124
virtual /* [id][propput] */ HRESULT STDMETHODCALLTYPE put_HttpUriBase(
125
/* [in] */ BSTR base) = 0;
126
127
virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_HttpUriBase(
128
/* [retval][out] */ BSTR *base) = 0;
129
130
virtual /* [id][propput] */ HRESULT STDMETHODCALLTYPE put_HttpPort(
131
/* [in] */ ULONG port) = 0;
132
133
virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_HttpPort(
134
/* [retval][out] */ ULONG *port) = 0;
135
136
virtual /* [id][propput] */ HRESULT STDMETHODCALLTYPE put_DownloadSecondStage(
137
/* [in] */ ULONG na) = 0;
138
139
virtual /* [id][propget] */ HRESULT STDMETHODCALLTYPE get_DownloadSecondStage(
140
/* [retval][out] */ ULONG *na) = 0;
141
142
};
143
144
#else /* C style interface */
145
146
typedef struct IPassiveXVtbl
147
{
148
BEGIN_INTERFACE
149
150
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
151
IPassiveX * This,
152
/* [in] */ REFIID riid,
153
/* [iid_is][out] */
154
__RPC__deref_out void **ppvObject);
155
156
ULONG ( STDMETHODCALLTYPE *AddRef )(
157
IPassiveX * This);
158
159
ULONG ( STDMETHODCALLTYPE *Release )(
160
IPassiveX * This);
161
162
HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
163
IPassiveX * This,
164
/* [out] */ UINT *pctinfo);
165
166
HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
167
IPassiveX * This,
168
/* [in] */ UINT iTInfo,
169
/* [in] */ LCID lcid,
170
/* [out] */ ITypeInfo **ppTInfo);
171
172
HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
173
IPassiveX * This,
174
/* [in] */ REFIID riid,
175
/* [size_is][in] */ LPOLESTR *rgszNames,
176
/* [range][in] */ UINT cNames,
177
/* [in] */ LCID lcid,
178
/* [size_is][out] */ DISPID *rgDispId);
179
180
/* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
181
IPassiveX * This,
182
/* [in] */ DISPID dispIdMember,
183
/* [in] */ REFIID riid,
184
/* [in] */ LCID lcid,
185
/* [in] */ WORD wFlags,
186
/* [out][in] */ DISPPARAMS *pDispParams,
187
/* [out] */ VARIANT *pVarResult,
188
/* [out] */ EXCEPINFO *pExcepInfo,
189
/* [out] */ UINT *puArgErr);
190
191
/* [id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_HttpHost )(
192
IPassiveX * This,
193
/* [in] */ BSTR host);
194
195
/* [id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_HttpHost )(
196
IPassiveX * This,
197
/* [retval][out] */ BSTR *host);
198
199
/* [id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_HttpSid )(
200
IPassiveX * This,
201
/* [in] */ BSTR sid);
202
203
/* [id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_HttpSid )(
204
IPassiveX * This,
205
/* [retval][out] */ BSTR *sid);
206
207
/* [id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_HttpUriBase )(
208
IPassiveX * This,
209
/* [in] */ BSTR base);
210
211
/* [id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_HttpUriBase )(
212
IPassiveX * This,
213
/* [retval][out] */ BSTR *base);
214
215
/* [id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_HttpPort )(
216
IPassiveX * This,
217
/* [in] */ ULONG port);
218
219
/* [id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_HttpPort )(
220
IPassiveX * This,
221
/* [retval][out] */ ULONG *port);
222
223
/* [id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_DownloadSecondStage )(
224
IPassiveX * This,
225
/* [in] */ ULONG na);
226
227
/* [id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_DownloadSecondStage )(
228
IPassiveX * This,
229
/* [retval][out] */ ULONG *na);
230
231
END_INTERFACE
232
} IPassiveXVtbl;
233
234
interface IPassiveX
235
{
236
CONST_VTBL struct IPassiveXVtbl *lpVtbl;
237
};
238
239
240
241
#ifdef COBJMACROS
242
243
244
#define IPassiveX_QueryInterface(This,riid,ppvObject) \
245
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
246
247
#define IPassiveX_AddRef(This) \
248
( (This)->lpVtbl -> AddRef(This) )
249
250
#define IPassiveX_Release(This) \
251
( (This)->lpVtbl -> Release(This) )
252
253
254
#define IPassiveX_GetTypeInfoCount(This,pctinfo) \
255
( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) )
256
257
#define IPassiveX_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
258
( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) )
259
260
#define IPassiveX_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
261
( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) )
262
263
#define IPassiveX_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
264
( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) )
265
266
267
#define IPassiveX_put_HttpHost(This,host) \
268
( (This)->lpVtbl -> put_HttpHost(This,host) )
269
270
#define IPassiveX_get_HttpHost(This,host) \
271
( (This)->lpVtbl -> get_HttpHost(This,host) )
272
273
#define IPassiveX_put_HttpSid(This,sid) \
274
( (This)->lpVtbl -> put_HttpSid(This,sid) )
275
276
#define IPassiveX_get_HttpSid(This,sid) \
277
( (This)->lpVtbl -> get_HttpSid(This,sid) )
278
279
#define IPassiveX_put_HttpUriBase(This,base) \
280
( (This)->lpVtbl -> put_HttpUriBase(This,base) )
281
282
#define IPassiveX_get_HttpUriBase(This,base) \
283
( (This)->lpVtbl -> get_HttpUriBase(This,base) )
284
285
#define IPassiveX_put_HttpPort(This,port) \
286
( (This)->lpVtbl -> put_HttpPort(This,port) )
287
288
#define IPassiveX_get_HttpPort(This,port) \
289
( (This)->lpVtbl -> get_HttpPort(This,port) )
290
291
#define IPassiveX_put_DownloadSecondStage(This,na) \
292
( (This)->lpVtbl -> put_DownloadSecondStage(This,na) )
293
294
#define IPassiveX_get_DownloadSecondStage(This,na) \
295
( (This)->lpVtbl -> get_DownloadSecondStage(This,na) )
296
297
#endif /* COBJMACROS */
298
299
300
#endif /* C style interface */
301
302
303
304
305
#endif /* __IPassiveX_INTERFACE_DEFINED__ */
306
307
308
309
#ifndef __PassiveXCOM_LIBRARY_DEFINED__
310
#define __PassiveXCOM_LIBRARY_DEFINED__
311
312
/* library PassiveXCOM */
313
/* [helpstring][version][uuid] */
314
315
316
EXTERN_C const IID LIBID_PassiveXCOM;
317
318
#ifndef __PassiveXEvents_DISPINTERFACE_DEFINED__
319
#define __PassiveXEvents_DISPINTERFACE_DEFINED__
320
321
/* dispinterface PassiveXEvents */
322
/* [helpstring][uuid] */
323
324
325
EXTERN_C const IID DIID_PassiveXEvents;
326
327
#if defined(__cplusplus) && !defined(CINTERFACE)
328
329
MIDL_INTERFACE("9A427004-996C-4d39-BF55-F7EBE0EC6249")
330
PassiveXEvents : public IDispatch
331
{
332
};
333
334
#else /* C style interface */
335
336
typedef struct PassiveXEventsVtbl
337
{
338
BEGIN_INTERFACE
339
340
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
341
PassiveXEvents * This,
342
/* [in] */ REFIID riid,
343
/* [iid_is][out] */
344
__RPC__deref_out void **ppvObject);
345
346
ULONG ( STDMETHODCALLTYPE *AddRef )(
347
PassiveXEvents * This);
348
349
ULONG ( STDMETHODCALLTYPE *Release )(
350
PassiveXEvents * This);
351
352
HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
353
PassiveXEvents * This,
354
/* [out] */ UINT *pctinfo);
355
356
HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
357
PassiveXEvents * This,
358
/* [in] */ UINT iTInfo,
359
/* [in] */ LCID lcid,
360
/* [out] */ ITypeInfo **ppTInfo);
361
362
HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
363
PassiveXEvents * This,
364
/* [in] */ REFIID riid,
365
/* [size_is][in] */ LPOLESTR *rgszNames,
366
/* [range][in] */ UINT cNames,
367
/* [in] */ LCID lcid,
368
/* [size_is][out] */ DISPID *rgDispId);
369
370
/* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
371
PassiveXEvents * This,
372
/* [in] */ DISPID dispIdMember,
373
/* [in] */ REFIID riid,
374
/* [in] */ LCID lcid,
375
/* [in] */ WORD wFlags,
376
/* [out][in] */ DISPPARAMS *pDispParams,
377
/* [out] */ VARIANT *pVarResult,
378
/* [out] */ EXCEPINFO *pExcepInfo,
379
/* [out] */ UINT *puArgErr);
380
381
END_INTERFACE
382
} PassiveXEventsVtbl;
383
384
interface PassiveXEvents
385
{
386
CONST_VTBL struct PassiveXEventsVtbl *lpVtbl;
387
};
388
389
390
391
#ifdef COBJMACROS
392
393
394
#define PassiveXEvents_QueryInterface(This,riid,ppvObject) \
395
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
396
397
#define PassiveXEvents_AddRef(This) \
398
( (This)->lpVtbl -> AddRef(This) )
399
400
#define PassiveXEvents_Release(This) \
401
( (This)->lpVtbl -> Release(This) )
402
403
404
#define PassiveXEvents_GetTypeInfoCount(This,pctinfo) \
405
( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) )
406
407
#define PassiveXEvents_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
408
( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) )
409
410
#define PassiveXEvents_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
411
( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) )
412
413
#define PassiveXEvents_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
414
( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) )
415
416
#endif /* COBJMACROS */
417
418
419
#endif /* C style interface */
420
421
422
#endif /* __PassiveXEvents_DISPINTERFACE_DEFINED__ */
423
424
425
EXTERN_C const CLSID CLSID_PassiveX;
426
427
#ifdef __cplusplus
428
429
class DECLSPEC_UUID("B3AC7307-FEAE-4e43-B2D6-161E68ABA838")
430
PassiveX;
431
#endif
432
#endif /* __PassiveXCOM_LIBRARY_DEFINED__ */
433
434
/* Additional Prototypes for ALL interfaces */
435
436
unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
437
unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
438
unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
439
void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
440
441
/* end of Additional Prototypes */
442
443
#ifdef __cplusplus
444
}
445
#endif
446
447
#endif
448
449
450
451