summaryrefslogtreecommitdiffstats
path: root/private/utils/wizards/addusrw/rpcpub.h
blob: fd831750c9524502cd1f39963a361f35be92093c (plain) (blame)
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
/* this ALWAYS GENERATED file contains the definitions for the interfaces */


/* File created by MIDL compiler version 2.00.0102 */
/* at Thu Apr 11 09:26:39 1996
 */
//@@MIDL_FILE_HEADING(  )
#include "rpc.h"
#include "rpcndr.h"

#ifndef __rpcpub_h__
#define __rpcpub_h__

#ifdef __cplusplus
extern "C"{
#endif 

/* Forward Declarations */ 

void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
void __RPC_USER MIDL_user_free( void __RPC_FAR * ); 

#ifndef __TriggerPublicRPC_INTERFACE_DEFINED__
#define __TriggerPublicRPC_INTERFACE_DEFINED__

/****************************************
 * Generated header for interface: TriggerPublicRPC
 * at Thu Apr 11 09:26:39 1996
 * using MIDL 2.00.0102
 ****************************************/
/* [auto_handle][unique][version][uuid] */ 


#ifndef RPC_COMMON_IDL
#define RPC_COMMON_IDL
#define		szTriggerRPCProtocol		TEXT("ncacn_np")
#define		szTriggerRPCSecurity		TEXT("Security=impersonation dynamic true")
			/* size is 4 */
typedef long RPC_BOOL;

			/* size is 1 */
typedef small RPC_BYTE;

			/* size is 4 */
typedef long RPC_INT;

			/* size is 4 */
typedef long RPC_SC;

			/* size is 4 */
typedef long RPC_EC;

			/* size is 4 */
typedef long RPC_DWORD;

			/* size is 2 */
typedef wchar_t RPC_CHAR;

			/* size is 4 */
typedef /* [string] */ RPC_CHAR __RPC_FAR *RPC_SZ;

			/* size is 16 */
typedef struct  __MIDL_TriggerPublicRPC_0001
    {
    short rgwSystemTime[ 8 ];
    }	RPC_SYSTEMTIME;

			/* size is 172 */
typedef struct  __MIDL_TriggerPublicRPC_0002
    {
    RPC_BYTE rgbTzi[ 172 ];
    }	RPC_TIME_ZONE_INFORMATION;

			/* size is 28 */
typedef struct  __MIDL_TriggerPublicRPC_0003
    {
    long rgdwServiceStatus[ 7 ];
    }	RPC_SERVICE_STATUS;

#define		ecOK						0		// no error
#define		ecGeneralFailure			50001	// a failure occurred that caused proxy generation to stop
#define		ecSomeProxiesFailed			50002	// some proxies failed to get generated
#define		ecTargetNotValid			50003	// supplied target address not valid
#define		ecTargetNotUnique			50004	// supplied target address not unique
#define		ecProxyDLLNotImplemented	50005	// not implemented yet
#define		ecProxyDLLOOM				50006	// memory allocation error
#define		ecProxyDLLError				50007	// general error
#define		ecProxyDLLProtocol			50008	// protocol error
#define		ecProxyDLLSyntax			50009	// syntax error
#define		ecProxyDLLEOF				50010   // end of file
#define		ecProxyDLLSoftware			50011	// error in software
#define		ecProxyDLLConfig			50012	// configuration error
#define		ecProxyDLLContention		50013	// contention error
#define		ecProxyDLLNotFound			50014	// not found
#define		ecProxyDLLDiskSpace			50015	// out of disk space
#define		ecProxyDLLException			50016	// exception thrown
#define		ecProxyDLLDefault			50017	// unknown error
#define		ecProxyNotValid				50018	// supplied proxy not valid
#define		ecProxyNotUnique			50019	// supplied proxy not unique or unable to generate a unique proxy
#define		ecProxyDuplicate			50020	// a primary proxy of the same type was also supplied
			/* size is 16 */
typedef struct  _PROXYNODE
    {
    struct _PROXYNODE __RPC_FAR *pnodeNext;
    RPC_SZ wszProxy;
    RPC_EC ec;
    RPC_SZ wszDN;
    }	PROXYNODE;

			/* size is 4 */
typedef struct _PROXYNODE __RPC_FAR *PPROXYNODE;

			/* size is 48 */
typedef struct  _PROXYINFO
    {
    RPC_BOOL fContinueOnError;
    RPC_BOOL fIgnoreOldSecondaries;
    RPC_SZ wszDN;
    RPC_SZ wszNickName;
    RPC_SZ wszCommonName;
    RPC_SZ wszDisplayName;
    RPC_SZ wszSurName;
    RPC_SZ wszGivenName;
    RPC_SZ wszInitials;
    RPC_SZ wszTargetAddress;
    PROXYNODE __RPC_FAR *pPNVerifyProxy;
    PROXYNODE __RPC_FAR *pPNExcludeProxy;
    }	PROXYINFO;

			/* size is 4 */
typedef struct _PROXYINFO __RPC_FAR *PPROXYINFO;

			/* size is 8 */
typedef struct  _PROXYLIST
    {
    PROXYNODE __RPC_FAR *__RPC_FAR *ppPNProxy;
    PROXYNODE __RPC_FAR *__RPC_FAR *ppPNFailedProxyType;
    }	PROXYLIST;

			/* size is 4 */
typedef struct _PROXYLIST __RPC_FAR *PPROXYLIST;

			/* size is 192 */
typedef struct  __MIDL_TriggerPublicRPC_0004
    {
    RPC_SYSTEMTIME st;
    RPC_TIME_ZONE_INFORMATION tzi;
    RPC_DWORD dwReturn;
    }	RemoteSystemTimeInfo;

			/* size is 48 */
typedef struct  _RemoteServiceStatus
    {
    RPC_SC sc;
    RPC_SZ szShortName;
    RPC_SZ szDisplayName;
    RPC_SZ szVersion;
    RPC_SERVICE_STATUS ss;
    struct _RemoteServiceStatus __RPC_FAR *prssNext;
    }	RemoteServiceStatus;

#define		rmsSuspendRepair	0x0001
#define		rmsSuspendNotif		0x0002
			/* size is 24 */
typedef struct  _RemoteMaintenanceStatus
    {
    RPC_DWORD dwStatus;
    RPC_SYSTEMTIME st;
    RPC_SZ szUser;
    }	RemoteMaintenanceStatus;

			/* size is 12 */
typedef struct  _BackupListNode
    {
    struct _BackupListNode __RPC_FAR *pnodeNext;
    struct _BackupListNode __RPC_FAR *pnodeChildren;
    RPC_SZ szName;
    }	BackupListNode;

			/* size is 44 */
typedef struct  _DistributedLockOwner
    {
    RPC_CHAR rgchComputer[ 17 ];
    RPC_DWORD dwPID;
    RPC_DWORD dwTID;
    }	DistributedLockOwner;

#define	DLR_NO_WAIT		0x00000001
#define	cchMaxLockName	17
			/* size is 84 */
typedef struct  _DistributedLockRequest
    {
    RPC_CHAR rgchLockName[ 17 ];
    RPC_DWORD dwFlags;
    DistributedLockOwner dlo;
    }	DistributedLockRequest;

			/* size is 48 */
typedef struct  _DistributedLockReply
    {
    RPC_BOOL fGranted;
    DistributedLockOwner dlo;
    }	DistributedLockReply;

#endif  // #ifndef RPC_COMMON_IDL
			/* size is 4 */
RPC_SC __cdecl ScNetworkTimingTest( 
    /* [in] */ handle_t h,
    /* [in] */ long cbSend,
    /* [size_is][in] */ small __RPC_FAR rgbSend[  ],
    /* [in] */ long cbReceive,
    /* [size_is][out] */ small __RPC_FAR rgbReceive[  ]);

			/* size is 4 */
RPC_SC __cdecl ScRunRID( 
    /* [in] */ handle_t h);

			/* size is 4 */
RPC_SC __cdecl ScRunRIDEx( 
    /* [in] */ handle_t h,
    /* [in] */ RPC_BOOL fProxySpace,
    /* [in] */ RPC_BOOL fGwart);

			/* size is 4 */
RPC_SC __cdecl ScRunDRACheck( 
    /* [in] */ handle_t h,
    RPC_DWORD dw);

#define		BPTAdd			1
#define		BPTRemove		2
#define		BPTUpdate		3
			/* size is 4 */
RPC_SC __cdecl ScBulkCreateProxy( 
    /* [in] */ handle_t h,
    /* [in] */ RPC_SZ szHeader,
    /* [in] */ RPC_DWORD dwOptions);

			/* size is 4 */
RPC_SC __cdecl ScBulkCreateMultiProxy( 
    /* [in] */ handle_t h,
    /* [in] */ RPC_INT cszHeader,
    /* [size_is][in] */ RPC_SZ __RPC_FAR rgszRecipients[  ],
    /* [in] */ RPC_DWORD dwOptions);

			/* size is 4 */
RPC_SC __cdecl ScBulkUpdateMultiProxy( 
    /* [in] */ handle_t h,
    /* [in] */ RPC_INT cszSiteAddress,
    /* [size_is][in] */ RPC_SZ __RPC_FAR rgszOldSiteAddress[  ],
    /* [size_is][in] */ RPC_SZ __RPC_FAR rgszNewSiteAddress[  ],
    /* [in] */ RPC_BOOL fSaveSiteAddress);

			/* size is 4 */
RPC_SC __cdecl ScGetBulkProxyStatus( 
    /* [in] */ handle_t h,
    /* [out] */ RPC_SYSTEMTIME __RPC_FAR *pstTimeStart,
    /* [out] */ RPC_DWORD __RPC_FAR *pdwTimeStart,
    /* [out] */ RPC_DWORD __RPC_FAR *pdwTimeCur,
    /* [out] */ RPC_INT __RPC_FAR *piRecipients,
    /* [out] */ RPC_INT __RPC_FAR *pcRecipients);

			/* size is 4 */
RPC_SC __cdecl ScBulkProxyHalt( 
    /* [in] */ handle_t h,
    /* [in] */ RPC_BOOL fWaitForShutdown);

			/* size is 4 */
RPC_EC __cdecl EcGetProxies( 
    /* [in] */ handle_t h,
    /* [in] */ PPROXYINFO pProxyInfo,
    /* [out][in] */ PPROXYLIST pProxyList);

			/* size is 4 */
RPC_SC __cdecl ScIsProxyUnique( 
    /* [in] */ handle_t h,
    /* [in] */ RPC_SZ szProxy,
    /* [out] */ RPC_BOOL __RPC_FAR *pfUnique,
    /* [out] */ RPC_SZ __RPC_FAR *pszOwner);

			/* size is 4 */
RPC_SC __cdecl ScProxyValidate( 
    /* [in] */ handle_t h,
    /* [in] */ RPC_SZ szProxy,
    /* [out] */ RPC_BOOL __RPC_FAR *pfValid,
    /* [out] */ RPC_SZ __RPC_FAR *pszProxyCorrected);

			/* size is 4 */
RPC_SC __cdecl ScSiteProxyValidate( 
    /* [in] */ handle_t h,
    /* [in] */ RPC_SZ szSiteProxy,
    /* [out] */ RPC_BOOL __RPC_FAR *pfValid,
    /* [out] */ RPC_SZ __RPC_FAR *pszSiteProxyCorrected);

			/* size is 4 */
RPC_SC __cdecl ScProxyReset( 
    /* [in] */ handle_t h,
    /* [in] */ RPC_BOOL fWaitUntilCompleted);

#define		scNoError			0
#define		scInvalidData		1
#define		scCannotLogData		2
			/* size is 4 */
RPC_SC __cdecl ScSaveTrackingData( 
    /* [in] */ handle_t h,
    /* [in] */ RPC_INT cb,
    /* [size_is][in] */ RPC_BYTE __RPC_FAR pb[  ],
    /* [in] */ RPC_DWORD dwFlags);

#define		tevtMessageTransferIn		0
#define		tevtReportTransferIn		2
#define		tevtMessageSubmission		4
#define		tevtMessageTransferOut		7
#define		tevtReportTransferOut		8
#define		tevtMessageDelivery			9
#define		tevtReportDelivery			10
#define		tevtStartAssocByMTSUser		18
#define		tevtReleaseAssocByMTSUser	23
#define		tevtDLExpansion				26
#define		tevtRedirection				28
#define		tevtRerouting				29
#define		tevtDowngrading				31
#define		tevtReportAbsorption		33
#define		tevtReportGenerated			34
#define		tevtUnroutableReportDiscard	43
#define		tevtMessageLocalDelivery		1000
#define		tevtMessageBackboneTransferIn	1001
#define		tevtMessageBackboneTransferOut	1002
#define		tevtMessageGatewayTransferOut	1003
#define		tevtMessageGatewayTransferIn	1004
#define		tevtReportGatewayTransferIn		1005
#define		tevtReportGatewayTransferOut	1006
#define		tevtReportGatewayGenerated		1007
#define		tevtUserMin		2000
			/* size is 60 */
typedef struct  __MIDL_TriggerPublicRPC_0005
    {
    RPC_INT nEventType;
    RPC_SYSTEMTIME stEvent;
    RPC_SZ szGatewayName;
    RPC_SZ szPartner;
    RPC_SZ szMTSID;
    RPC_SZ szRemoteID;
    RPC_SZ szOriginator;
    RPC_INT nPriority;
    RPC_INT nLength;
    RPC_INT nSeconds;
    RPC_INT nCost;
    RPC_SZ szSubjectID;
    }	RPC_GATEWAY_TRACK_INFORMATION;

			/* size is 4 */
RPC_SC __cdecl ScSaveGatewayTrackingData( 
    /* [in] */ handle_t h,
    /* [in] */ RPC_GATEWAY_TRACK_INFORMATION __RPC_FAR *pgti,
    /* [in] */ RPC_INT cszRecipients,
    /* [size_is][in] */ RPC_SZ __RPC_FAR rgszRecipients[  ]);



extern RPC_IF_HANDLE TriggerPublicRPC_ClientIfHandle;
extern RPC_IF_HANDLE TriggerPublicRPC_ServerIfHandle;
#endif /* __TriggerPublicRPC_INTERFACE_DEFINED__ */

/****************************************
 * Generated header for interface: __MIDL__intf_0001
 * at Thu Apr 11 09:26:39 1996
 * using MIDL 2.00.0102
 ****************************************/
/* [local] */ 


#define		szTrackReportRecipientInfoDelivered	L("\t0")
#define		szTrackReportRecipientInfoNonDelivered	L("\t1")


extern RPC_IF_HANDLE __MIDL__intf_0001_ClientIfHandle;
extern RPC_IF_HANDLE __MIDL__intf_0001_ServerIfHandle;

/* Additional Prototypes for ALL interfaces */

/* end of Additional Prototypes */

#ifdef __cplusplus
}
#endif

#endif