-
Notifications
You must be signed in to change notification settings - Fork 214
/
Copy pathIStandardActivator_h.h
452 lines (310 loc) · 15 KB
/
IStandardActivator_h.h
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
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 8.01.0622 */
/* at Tue Jan 19 04:14:07 2038
*/
/* Compiler settings for IStandardActivator.idl:
Oicf, W1, Zp8, env=Win64 (32b run), target_arch=AMD64 8.01.0622
protocol : all , 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( ) */
/* verify that the <rpcndr.h> version is high enough to compile this file*/
#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 500
#endif
#include "rpc.h"
#include "rpcndr.h"
#ifndef __RPCNDR_H_VERSION__
#error this stub requires an updated version of <rpcndr.h>
#endif /* __RPCNDR_H_VERSION__ */
#ifndef COM_NO_WINDOWS_H
#include "windows.h"
#include "ole2.h"
#endif /*COM_NO_WINDOWS_H*/
#ifndef __IStandardActivator_h_h__
#define __IStandardActivator_h_h__
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif
/* Forward Declarations */
#ifndef __IStandardActivator_FWD_DEFINED__
#define __IStandardActivator_FWD_DEFINED__
typedef interface IStandardActivator IStandardActivator;
#endif /* __IStandardActivator_FWD_DEFINED__ */
#ifndef __ISpecialSystemProperties_FWD_DEFINED__
#define __ISpecialSystemProperties_FWD_DEFINED__
typedef interface ISpecialSystemProperties ISpecialSystemProperties;
#endif /* __ISpecialSystemProperties_FWD_DEFINED__ */
/* header files for imported files */
#include "oaidl.h"
#include "ocidl.h"
#ifdef __cplusplus
extern "C"{
#endif
#ifndef __IStandardActivator_INTERFACE_DEFINED__
#define __IStandardActivator_INTERFACE_DEFINED__
/* interface IStandardActivator */
/* [unique][uuid][local][object] */
EXTERN_C const IID IID_IStandardActivator;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("000001b8-0000-0000-C000-000000000046")
IStandardActivator : public IUnknown
{
public:
virtual HRESULT STDMETHODCALLTYPE StandardGetClassObject(
/* [in] */ REFCLSID rclsid,
/* [in] */ DWORD dwClsCtx,
/* [in] */ COSERVERINFO *pServerInfo,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void **ppv) = 0;
virtual HRESULT STDMETHODCALLTYPE StandardCreateInstance(
/* [in] */ REFCLSID Clsid,
/* [in] */ IUnknown *punkOuter,
/* [in] */ DWORD dwClsCtx,
/* [in] */ COSERVERINFO *pServerInfo,
/* [in] */ DWORD dwCount,
/* [size_is][in] */ MULTI_QI *pResults) = 0;
virtual HRESULT STDMETHODCALLTYPE StandardGetInstanceFromFile(
/* [in] */ COSERVERINFO *pServerInfo,
/* [in] */ CLSID *pclsidOverride,
/* [in] */ IUnknown *punkOuter,
/* [in] */ DWORD dwClsCtx,
/* [in] */ DWORD grfMode,
/* [in] */ OLECHAR *pwszName,
/* [in] */ DWORD dwCount,
/* [size_is][in] */ MULTI_QI *pResults) = 0;
virtual HRESULT STDMETHODCALLTYPE StandardGetInstanceFromIStorage(
/* [in] */ COSERVERINFO *pServerInfo,
/* [in] */ CLSID *pclsidOverride,
/* [in] */ IUnknown *punkOuter,
/* [in] */ DWORD dwClsCtx,
/* [in] */ IStorage *pstg,
/* [in] */ DWORD dwCount,
/* [size_is][in] */ MULTI_QI *pResults) = 0;
virtual HRESULT STDMETHODCALLTYPE Reset( void) = 0;
};
#else /* C style interface */
typedef struct IStandardActivatorVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
IStandardActivator * This,
/* [in] */ REFIID riid,
/* [annotation][iid_is][out] */
_COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
IStandardActivator * This);
ULONG ( STDMETHODCALLTYPE *Release )(
IStandardActivator * This);
HRESULT ( STDMETHODCALLTYPE *StandardGetClassObject )(
IStandardActivator * This,
/* [in] */ REFCLSID rclsid,
/* [in] */ DWORD dwClsCtx,
/* [in] */ COSERVERINFO *pServerInfo,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void **ppv);
HRESULT ( STDMETHODCALLTYPE *StandardCreateInstance )(
IStandardActivator * This,
/* [in] */ REFCLSID Clsid,
/* [in] */ IUnknown *punkOuter,
/* [in] */ DWORD dwClsCtx,
/* [in] */ COSERVERINFO *pServerInfo,
/* [in] */ DWORD dwCount,
/* [size_is][in] */ MULTI_QI *pResults);
HRESULT ( STDMETHODCALLTYPE *StandardGetInstanceFromFile )(
IStandardActivator * This,
/* [in] */ COSERVERINFO *pServerInfo,
/* [in] */ CLSID *pclsidOverride,
/* [in] */ IUnknown *punkOuter,
/* [in] */ DWORD dwClsCtx,
/* [in] */ DWORD grfMode,
/* [in] */ OLECHAR *pwszName,
/* [in] */ DWORD dwCount,
/* [size_is][in] */ MULTI_QI *pResults);
HRESULT ( STDMETHODCALLTYPE *StandardGetInstanceFromIStorage )(
IStandardActivator * This,
/* [in] */ COSERVERINFO *pServerInfo,
/* [in] */ CLSID *pclsidOverride,
/* [in] */ IUnknown *punkOuter,
/* [in] */ DWORD dwClsCtx,
/* [in] */ IStorage *pstg,
/* [in] */ DWORD dwCount,
/* [size_is][in] */ MULTI_QI *pResults);
HRESULT ( STDMETHODCALLTYPE *Reset )(
IStandardActivator * This);
END_INTERFACE
} IStandardActivatorVtbl;
interface IStandardActivator
{
CONST_VTBL struct IStandardActivatorVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define IStandardActivator_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define IStandardActivator_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define IStandardActivator_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define IStandardActivator_StandardGetClassObject(This,rclsid,dwClsCtx,pServerInfo,riid,ppv) \
( (This)->lpVtbl -> StandardGetClassObject(This,rclsid,dwClsCtx,pServerInfo,riid,ppv) )
#define IStandardActivator_StandardCreateInstance(This,Clsid,punkOuter,dwClsCtx,pServerInfo,dwCount,pResults) \
( (This)->lpVtbl -> StandardCreateInstance(This,Clsid,punkOuter,dwClsCtx,pServerInfo,dwCount,pResults) )
#define IStandardActivator_StandardGetInstanceFromFile(This,pServerInfo,pclsidOverride,punkOuter,dwClsCtx,grfMode,pwszName,dwCount,pResults) \
( (This)->lpVtbl -> StandardGetInstanceFromFile(This,pServerInfo,pclsidOverride,punkOuter,dwClsCtx,grfMode,pwszName,dwCount,pResults) )
#define IStandardActivator_StandardGetInstanceFromIStorage(This,pServerInfo,pclsidOverride,punkOuter,dwClsCtx,pstg,dwCount,pResults) \
( (This)->lpVtbl -> StandardGetInstanceFromIStorage(This,pServerInfo,pclsidOverride,punkOuter,dwClsCtx,pstg,dwCount,pResults) )
#define IStandardActivator_Reset(This) \
( (This)->lpVtbl -> Reset(This) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __IStandardActivator_INTERFACE_DEFINED__ */
#ifndef __ISpecialSystemProperties_INTERFACE_DEFINED__
#define __ISpecialSystemProperties_INTERFACE_DEFINED__
/* interface ISpecialSystemProperties */
/* [unique][uuid][local][object] */
EXTERN_C const IID IID_ISpecialSystemProperties;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("000001b9-0000-0000-C000-000000000046")
ISpecialSystemProperties : public IUnknown
{
public:
virtual HRESULT STDMETHODCALLTYPE SetSessionId(
/* [in] */ ULONG dwSessionId,
/* [in] */ BOOL bUseConsole,
/* [in] */ BOOL fRemoteThisSessionId) = 0;
virtual HRESULT STDMETHODCALLTYPE GetSessionId(
/* [out] */ ULONG *pdwSessionId,
/* [out] */ BOOL *pbUseConsole) = 0;
virtual HRESULT STDMETHODCALLTYPE GetSessionId2(
/* [out] */ ULONG *pdwSessionId,
/* [out] */ BOOL *pbUseConsole,
/* [out] */ BOOL *pfRemoteThisSessionId) = 0;
virtual HRESULT STDMETHODCALLTYPE SetClientImpersonating(
/* [in] */ BOOL fClientImpersonating) = 0;
virtual HRESULT STDMETHODCALLTYPE GetClientImpersonating(
/* [out] */ BOOL *pfClientImpersonating) = 0;
virtual HRESULT STDMETHODCALLTYPE SetPartitionId(
/* [in] */ REFGUID guidPartiton) = 0;
virtual HRESULT STDMETHODCALLTYPE GetPartitionId(
/* [out] */ GUID *pguidPartiton) = 0;
virtual HRESULT STDMETHODCALLTYPE SetProcessRequestType(
/* [in] */ DWORD dwPRT) = 0;
virtual HRESULT STDMETHODCALLTYPE GetProcessRequestType(
/* [out] */ DWORD *pdwPRT) = 0;
virtual HRESULT STDMETHODCALLTYPE SetOrigClsctx(
/* [in] */ DWORD dwClsctx) = 0;
virtual HRESULT STDMETHODCALLTYPE GetOrigClsctx(
/* [out] */ DWORD *dwClsctx) = 0;
virtual HRESULT STDMETHODCALLTYPE GetDefaultAuthenticationLevel(
/* [out] */ DWORD *pdwAuthnLevel) = 0;
virtual HRESULT STDMETHODCALLTYPE SetDefaultAuthenticationLevel(
/* [in] */ DWORD dwAuthnLevel) = 0;
};
#else /* C style interface */
typedef struct ISpecialSystemPropertiesVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
ISpecialSystemProperties * This,
/* [in] */ REFIID riid,
/* [annotation][iid_is][out] */
_COM_Outptr_ void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
ISpecialSystemProperties * This);
ULONG ( STDMETHODCALLTYPE *Release )(
ISpecialSystemProperties * This);
HRESULT ( STDMETHODCALLTYPE *SetSessionId )(
ISpecialSystemProperties * This,
/* [in] */ ULONG dwSessionId,
/* [in] */ BOOL bUseConsole,
/* [in] */ BOOL fRemoteThisSessionId);
HRESULT ( STDMETHODCALLTYPE *GetSessionId )(
ISpecialSystemProperties * This,
/* [out] */ ULONG *pdwSessionId,
/* [out] */ BOOL *pbUseConsole);
HRESULT ( STDMETHODCALLTYPE *GetSessionId2 )(
ISpecialSystemProperties * This,
/* [out] */ ULONG *pdwSessionId,
/* [out] */ BOOL *pbUseConsole,
/* [out] */ BOOL *pfRemoteThisSessionId);
HRESULT ( STDMETHODCALLTYPE *SetClientImpersonating )(
ISpecialSystemProperties * This,
/* [in] */ BOOL fClientImpersonating);
HRESULT ( STDMETHODCALLTYPE *GetClientImpersonating )(
ISpecialSystemProperties * This,
/* [out] */ BOOL *pfClientImpersonating);
HRESULT ( STDMETHODCALLTYPE *SetPartitionId )(
ISpecialSystemProperties * This,
/* [in] */ REFGUID guidPartiton);
HRESULT ( STDMETHODCALLTYPE *GetPartitionId )(
ISpecialSystemProperties * This,
/* [out] */ GUID *pguidPartiton);
HRESULT ( STDMETHODCALLTYPE *SetProcessRequestType )(
ISpecialSystemProperties * This,
/* [in] */ DWORD dwPRT);
HRESULT ( STDMETHODCALLTYPE *GetProcessRequestType )(
ISpecialSystemProperties * This,
/* [out] */ DWORD *pdwPRT);
HRESULT ( STDMETHODCALLTYPE *SetOrigClsctx )(
ISpecialSystemProperties * This,
/* [in] */ DWORD dwClsctx);
HRESULT ( STDMETHODCALLTYPE *GetOrigClsctx )(
ISpecialSystemProperties * This,
/* [out] */ DWORD *dwClsctx);
HRESULT ( STDMETHODCALLTYPE *GetDefaultAuthenticationLevel )(
ISpecialSystemProperties * This,
/* [out] */ DWORD *pdwAuthnLevel);
HRESULT ( STDMETHODCALLTYPE *SetDefaultAuthenticationLevel )(
ISpecialSystemProperties * This,
/* [in] */ DWORD dwAuthnLevel);
END_INTERFACE
} ISpecialSystemPropertiesVtbl;
interface ISpecialSystemProperties
{
CONST_VTBL struct ISpecialSystemPropertiesVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define ISpecialSystemProperties_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define ISpecialSystemProperties_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define ISpecialSystemProperties_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define ISpecialSystemProperties_SetSessionId(This,dwSessionId,bUseConsole,fRemoteThisSessionId) \
( (This)->lpVtbl -> SetSessionId(This,dwSessionId,bUseConsole,fRemoteThisSessionId) )
#define ISpecialSystemProperties_GetSessionId(This,pdwSessionId,pbUseConsole) \
( (This)->lpVtbl -> GetSessionId(This,pdwSessionId,pbUseConsole) )
#define ISpecialSystemProperties_GetSessionId2(This,pdwSessionId,pbUseConsole,pfRemoteThisSessionId) \
( (This)->lpVtbl -> GetSessionId2(This,pdwSessionId,pbUseConsole,pfRemoteThisSessionId) )
#define ISpecialSystemProperties_SetClientImpersonating(This,fClientImpersonating) \
( (This)->lpVtbl -> SetClientImpersonating(This,fClientImpersonating) )
#define ISpecialSystemProperties_GetClientImpersonating(This,pfClientImpersonating) \
( (This)->lpVtbl -> GetClientImpersonating(This,pfClientImpersonating) )
#define ISpecialSystemProperties_SetPartitionId(This,guidPartiton) \
( (This)->lpVtbl -> SetPartitionId(This,guidPartiton) )
#define ISpecialSystemProperties_GetPartitionId(This,pguidPartiton) \
( (This)->lpVtbl -> GetPartitionId(This,pguidPartiton) )
#define ISpecialSystemProperties_SetProcessRequestType(This,dwPRT) \
( (This)->lpVtbl -> SetProcessRequestType(This,dwPRT) )
#define ISpecialSystemProperties_GetProcessRequestType(This,pdwPRT) \
( (This)->lpVtbl -> GetProcessRequestType(This,pdwPRT) )
#define ISpecialSystemProperties_SetOrigClsctx(This,dwClsctx) \
( (This)->lpVtbl -> SetOrigClsctx(This,dwClsctx) )
#define ISpecialSystemProperties_GetOrigClsctx(This,dwClsctx) \
( (This)->lpVtbl -> GetOrigClsctx(This,dwClsctx) )
#define ISpecialSystemProperties_GetDefaultAuthenticationLevel(This,pdwAuthnLevel) \
( (This)->lpVtbl -> GetDefaultAuthenticationLevel(This,pdwAuthnLevel) )
#define ISpecialSystemProperties_SetDefaultAuthenticationLevel(This,dwAuthnLevel) \
( (This)->lpVtbl -> SetDefaultAuthenticationLevel(This,dwAuthnLevel) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __ISpecialSystemProperties_INTERFACE_DEFINED__ */
/* Additional Prototypes for ALL interfaces */
/* end of Additional Prototypes */
#ifdef __cplusplus
}
#endif
#endif