1 |
|
---|
2 | #ifndef __ODIN_RPCDCE_H__
|
---|
3 | #define __ODIN_RPCDCE_H__
|
---|
4 |
|
---|
5 | #ifdef __cplusplus
|
---|
6 | extern "C" {
|
---|
7 | #endif
|
---|
8 |
|
---|
9 | #define IN
|
---|
10 | #define OUT
|
---|
11 | #define OPTIONAL
|
---|
12 |
|
---|
13 | # define __RPC_FAR
|
---|
14 | # define __RPC_API
|
---|
15 | # define __RPC_USER
|
---|
16 | # define __RPC_STUB
|
---|
17 | # define RPC_ENTRY WIN32API
|
---|
18 |
|
---|
19 | #define DECLSPEC_IMPORT extern
|
---|
20 | #define RPCRTAPI DECLSPEC_IMPORT
|
---|
21 | #define RPCNSAPI DECLSPEC_IMPORT
|
---|
22 |
|
---|
23 |
|
---|
24 |
|
---|
25 | /*typedef char small;*/
|
---|
26 | /*typedef unsigned char byte;*/
|
---|
27 | /*typedef unsigned char boolean;*/
|
---|
28 | typedef void * I_RPC_HANDLE;
|
---|
29 | typedef long RPC_STATUS;
|
---|
30 | typedef HANDLE RPC_BINDING_HANDLE;
|
---|
31 | #define rpc_binding_handle_t RPC_BINDING_HANDLE
|
---|
32 |
|
---|
33 | #ifndef GUID_DEFINED
|
---|
34 | #define GUID_DEFINED
|
---|
35 | typedef struct _GUID
|
---|
36 | {
|
---|
37 | unsigned long Data1;
|
---|
38 | unsigned short Data2;
|
---|
39 | unsigned short Data3;
|
---|
40 | unsigned char Data4[8];
|
---|
41 | } GUID;
|
---|
42 | #endif /* GUID_DEFINED */
|
---|
43 |
|
---|
44 | #ifndef UUID_DEFINED
|
---|
45 | #define UUID_DEFINED
|
---|
46 | typedef GUID UUID;
|
---|
47 | #ifndef uuid_t
|
---|
48 | #define uuid_t UUID
|
---|
49 | #endif
|
---|
50 | #endif
|
---|
51 |
|
---|
52 | typedef struct _RPC_BINDING_VECTOR
|
---|
53 | {
|
---|
54 | unsigned long Count;
|
---|
55 | RPC_BINDING_HANDLE BindingH[1];
|
---|
56 | } RPC_BINDING_VECTOR;
|
---|
57 | #ifndef rpc_binding_vector_t
|
---|
58 | #define rpc_binding_vector_t RPC_BINDING_VECTOR
|
---|
59 | #endif
|
---|
60 |
|
---|
61 | typedef struct _UUID_VECTOR
|
---|
62 | {
|
---|
63 | unsigned long Count;
|
---|
64 | UUID *Uuid[1];
|
---|
65 | } UUID_VECTOR;
|
---|
66 | #ifndef uuid_vector_t
|
---|
67 | #define uuid_vector_t UUID_VECTOR
|
---|
68 | #endif
|
---|
69 |
|
---|
70 | typedef void __RPC_FAR * RPC_IF_HANDLE;
|
---|
71 |
|
---|
72 | #ifndef IFID_DEFINED
|
---|
73 | #define IFID_DEFINED
|
---|
74 | typedef struct _RPC_IF_ID
|
---|
75 | {
|
---|
76 | UUID Uuid;
|
---|
77 | unsigned short VersMajor;
|
---|
78 | unsigned short VersMinor;
|
---|
79 | } RPC_IF_ID;
|
---|
80 | #endif
|
---|
81 |
|
---|
82 | #define RPC_C_BINDING_INFINITE_TIMEOUT 10
|
---|
83 | #define RPC_C_BINDING_MIN_TIMEOUT 0
|
---|
84 | #define RPC_C_BINDING_DEFAULT_TIMEOUT 5
|
---|
85 | #define RPC_C_BINDING_MAX_TIMEOUT 9
|
---|
86 |
|
---|
87 | #define RPC_C_CANCEL_INFINITE_TIMEOUT -1
|
---|
88 |
|
---|
89 | #define RPC_C_LISTEN_MAX_CALLS_DEFAULT 1234
|
---|
90 | #define RPC_C_PROTSEQ_MAX_REQS_DEFAULT 10
|
---|
91 |
|
---|
92 | // RPC_POLICY EndpointFlags.
|
---|
93 | #define RPC_C_BIND_TO_ALL_NICS 1
|
---|
94 | #define RPC_C_USE_INTERNET_PORT 1
|
---|
95 | #define RPC_C_USE_INTRANET_PORT 2
|
---|
96 |
|
---|
97 | // RPC_POLICY EndpointFlags specific to the Falcon/RPC transport:
|
---|
98 | #define RPC_C_MQ_TEMPORARY 0x0000
|
---|
99 | #define RPC_C_MQ_PERMANENT 0x0001
|
---|
100 | #define RPC_C_MQ_CLEAR_ON_OPEN 0x0002
|
---|
101 | #define RPC_C_MQ_USE_EXISTING_SECURITY 0x0004
|
---|
102 | #define RPC_C_MQ_AUTHN_LEVEL_NONE 0x0000
|
---|
103 | #define RPC_C_MQ_AUTHN_LEVEL_PKT_INTEGRITY 0x0008
|
---|
104 | #define RPC_C_MQ_AUTHN_LEVEL_PKT_PRIVACY 0x0010
|
---|
105 |
|
---|
106 | // Client: RpcBindingSetOption() values for the Falcon/RPC transport:
|
---|
107 | #define RPC_C_OPT_MQ_DELIVERY 1
|
---|
108 | #define RPC_C_OPT_MQ_PRIORITY 2
|
---|
109 | #define RPC_C_OPT_MQ_JOURNAL 3
|
---|
110 | #define RPC_C_OPT_MQ_ACKNOWLEDGE 4
|
---|
111 | #define RPC_C_OPT_MQ_AUTHN_SERVICE 5
|
---|
112 | #define RPC_C_OPT_MQ_AUTHN_LEVEL 6
|
---|
113 | #define RPC_C_OPT_MQ_TIME_TO_REACH_QUEUE 7
|
---|
114 | #define RPC_C_OPT_MQ_TIME_TO_BE_RECEIVED 8
|
---|
115 | #define RPC_C_OPT_BINDING_NONCAUSAL 9
|
---|
116 | #define RPC_C_OPT_MAX_OPTIONS 10
|
---|
117 |
|
---|
118 | #define RPC_C_MQ_EXPRESS 0 // Client: RPC_C_MQ_DELIVERY.
|
---|
119 | #define RPC_C_MQ_RECOVERABLE 1
|
---|
120 |
|
---|
121 | #define RPC_C_MQ_JOURNAL_NONE 0 // Client: RPC_C_MQ_JOURNAL.
|
---|
122 | #define RPC_C_MQ_JOURNAL_DEADLETTER 1
|
---|
123 | #define RPC_C_MQ_JOURNAL_ALWAYS 2
|
---|
124 |
|
---|
125 |
|
---|
126 | #ifdef RPC_UNICODE_SUPPORTED
|
---|
127 | typedef struct _RPC_PROTSEQ_VECTORA
|
---|
128 | {
|
---|
129 | unsigned int Count;
|
---|
130 | unsigned char __RPC_FAR * Protseq[1];
|
---|
131 | } RPC_PROTSEQ_VECTORA;
|
---|
132 |
|
---|
133 | typedef struct _RPC_PROTSEQ_VECTORW
|
---|
134 | {
|
---|
135 | unsigned int Count;
|
---|
136 | unsigned short __RPC_FAR * Protseq[1];
|
---|
137 | } RPC_PROTSEQ_VECTORW;
|
---|
138 |
|
---|
139 | #ifdef UNICODE
|
---|
140 | #define RPC_PROTSEQ_VECTOR RPC_PROTSEQ_VECTORW
|
---|
141 | #else /* UNICODE */
|
---|
142 | #define RPC_PROTSEQ_VECTOR RPC_PROTSEQ_VECTORA
|
---|
143 | #endif /* UNICODE */
|
---|
144 |
|
---|
145 | #else /* RPC_UNICODE_SUPPORTED */
|
---|
146 |
|
---|
147 | typedef struct _RPC_PROTSEQ_VECTOR
|
---|
148 | {
|
---|
149 | unsigned int Count;
|
---|
150 | unsigned char __RPC_FAR * Protseq[1];
|
---|
151 | } RPC_PROTSEQ_VECTOR;
|
---|
152 |
|
---|
153 | #endif /* RPC_UNICODE_SUPPORTED */
|
---|
154 | typedef struct _RPC_POLICY {
|
---|
155 | unsigned int Length ;
|
---|
156 | unsigned long EndpointFlags ;
|
---|
157 | unsigned long NICFlags ;
|
---|
158 | } RPC_POLICY, __RPC_FAR *PRPC_POLICY ;
|
---|
159 |
|
---|
160 | typedef void __RPC_USER
|
---|
161 | RPC_OBJECT_INQ_FN (
|
---|
162 | IN UUID __RPC_FAR * ObjectUuid,
|
---|
163 | OUT UUID __RPC_FAR * TypeUuid,
|
---|
164 | OUT RPC_STATUS __RPC_FAR * Status
|
---|
165 | );
|
---|
166 |
|
---|
167 | typedef RPC_STATUS RPC_ENTRY
|
---|
168 | RPC_IF_CALLBACK_FN (
|
---|
169 | IN RPC_IF_HANDLE InterfaceUuid,
|
---|
170 | IN void *Context
|
---|
171 | ) ;
|
---|
172 |
|
---|
173 | #define RPC_MGR_EPV void
|
---|
174 |
|
---|
175 | typedef struct
|
---|
176 | {
|
---|
177 | unsigned int Count;
|
---|
178 | unsigned long Stats[1];
|
---|
179 | } RPC_STATS_VECTOR;
|
---|
180 |
|
---|
181 | #define RPC_C_STATS_CALLS_IN 0
|
---|
182 | #define RPC_C_STATS_CALLS_OUT 1
|
---|
183 | #define RPC_C_STATS_PKTS_IN 2
|
---|
184 | #define RPC_C_STATS_PKTS_OUT 3
|
---|
185 |
|
---|
186 | typedef struct
|
---|
187 | {
|
---|
188 | unsigned long Count;
|
---|
189 | RPC_IF_ID __RPC_FAR * IfId[1];
|
---|
190 | } RPC_IF_ID_VECTOR;
|
---|
191 |
|
---|
192 | /* client */
|
---|
193 | RPCRTAPI
|
---|
194 | RPC_STATUS
|
---|
195 | RPC_ENTRY
|
---|
196 | RpcBindingCopy (
|
---|
197 | IN RPC_BINDING_HANDLE SourceBinding,
|
---|
198 | OUT RPC_BINDING_HANDLE __RPC_FAR * DestinationBinding
|
---|
199 | );
|
---|
200 |
|
---|
201 | /* client */
|
---|
202 | RPCRTAPI
|
---|
203 | RPC_STATUS
|
---|
204 | RPC_ENTRY
|
---|
205 | RpcBindingFree (
|
---|
206 | IN OUT RPC_BINDING_HANDLE __RPC_FAR * Binding
|
---|
207 | );
|
---|
208 |
|
---|
209 | /* client */
|
---|
210 | RPCRTAPI
|
---|
211 | RPC_STATUS
|
---|
212 | RPC_ENTRY
|
---|
213 | RpcBindingSetOption( IN RPC_BINDING_HANDLE hBinding,
|
---|
214 | IN unsigned long option,
|
---|
215 | IN unsigned long optionValue );
|
---|
216 |
|
---|
217 | /* client */
|
---|
218 | RPCRTAPI
|
---|
219 | RPC_STATUS
|
---|
220 | RPC_ENTRY
|
---|
221 | RpcBindingInqOption( IN RPC_BINDING_HANDLE hBinding,
|
---|
222 | IN unsigned long option,
|
---|
223 | OUT unsigned long *pOptionValue );
|
---|
224 |
|
---|
225 | /* client */
|
---|
226 |
|
---|
227 | #ifdef RPC_UNICODE_SUPPORTED
|
---|
228 |
|
---|
229 | RPCRTAPI
|
---|
230 | RPC_STATUS
|
---|
231 | RPC_ENTRY
|
---|
232 | RpcBindingFromStringBindingA (
|
---|
233 | IN unsigned char __RPC_FAR * StringBinding,
|
---|
234 | OUT RPC_BINDING_HANDLE __RPC_FAR * Binding
|
---|
235 | );
|
---|
236 |
|
---|
237 | RPCRTAPI
|
---|
238 | RPC_STATUS
|
---|
239 | RPC_ENTRY
|
---|
240 | RpcBindingFromStringBindingW (
|
---|
241 | IN unsigned short __RPC_FAR * StringBinding,
|
---|
242 | OUT RPC_BINDING_HANDLE __RPC_FAR * Binding
|
---|
243 | );
|
---|
244 |
|
---|
245 | #ifdef UNICODE
|
---|
246 | #define RpcBindingFromStringBinding RpcBindingFromStringBindingW
|
---|
247 | #else /* UNICODE */
|
---|
248 | #define RpcBindingFromStringBinding RpcBindingFromStringBindingA
|
---|
249 | #endif /* UNICODE */
|
---|
250 |
|
---|
251 | #else /* RPC_UNICODE_SUPPORTED */
|
---|
252 |
|
---|
253 | RPCRTAPI
|
---|
254 | RPC_STATUS
|
---|
255 | RPC_ENTRY
|
---|
256 | RpcBindingFromStringBinding (
|
---|
257 | IN unsigned char __RPC_FAR * StringBinding,
|
---|
258 | OUT RPC_BINDING_HANDLE __RPC_FAR * Binding
|
---|
259 | );
|
---|
260 |
|
---|
261 | #endif /* RPC_UNICODE_SUPPORTED */
|
---|
262 |
|
---|
263 | /* client/server */
|
---|
264 | RPCRTAPI
|
---|
265 | RPC_STATUS
|
---|
266 | RPC_ENTRY
|
---|
267 | RpcBindingInqObject (
|
---|
268 | IN RPC_BINDING_HANDLE Binding,
|
---|
269 | OUT UUID __RPC_FAR * ObjectUuid
|
---|
270 | );
|
---|
271 |
|
---|
272 | /* client */
|
---|
273 | RPCRTAPI
|
---|
274 | RPC_STATUS
|
---|
275 | RPC_ENTRY
|
---|
276 | RpcBindingReset (
|
---|
277 | IN RPC_BINDING_HANDLE Binding
|
---|
278 | );
|
---|
279 |
|
---|
280 | /* RpcBindingServerFromClient : UNSUPPORTED */
|
---|
281 | /* RpcBindingSetAuthInfo */
|
---|
282 |
|
---|
283 | /* client */
|
---|
284 | RPCRTAPI
|
---|
285 | RPC_STATUS
|
---|
286 | RPC_ENTRY
|
---|
287 | RpcBindingSetObject (
|
---|
288 | IN RPC_BINDING_HANDLE Binding,
|
---|
289 | IN UUID __RPC_FAR * ObjectUuid
|
---|
290 | );
|
---|
291 |
|
---|
292 | /* client/server */
|
---|
293 | RPCRTAPI
|
---|
294 | RPC_STATUS
|
---|
295 | RPC_ENTRY
|
---|
296 | RpcMgmtInqDefaultProtectLevel(
|
---|
297 | IN unsigned long AuthnSvc,
|
---|
298 | OUT unsigned long __RPC_FAR *AuthnLevel
|
---|
299 | );
|
---|
300 |
|
---|
301 | /* client/server */
|
---|
302 |
|
---|
303 | #ifdef RPC_UNICODE_SUPPORTED
|
---|
304 |
|
---|
305 | RPCRTAPI
|
---|
306 | RPC_STATUS
|
---|
307 | RPC_ENTRY
|
---|
308 | RpcBindingToStringBindingA (
|
---|
309 | IN RPC_BINDING_HANDLE Binding,
|
---|
310 | OUT unsigned char __RPC_FAR * __RPC_FAR * StringBinding
|
---|
311 | );
|
---|
312 |
|
---|
313 | RPCRTAPI
|
---|
314 | RPC_STATUS
|
---|
315 | RPC_ENTRY
|
---|
316 | RpcBindingToStringBindingW (
|
---|
317 | IN RPC_BINDING_HANDLE Binding,
|
---|
318 | OUT unsigned short __RPC_FAR * __RPC_FAR * StringBinding
|
---|
319 | );
|
---|
320 |
|
---|
321 | #ifdef UNICODE
|
---|
322 | #define RpcBindingToStringBinding RpcBindingToStringBindingW
|
---|
323 | #else /* UNICODE */
|
---|
324 | #define RpcBindingToStringBinding RpcBindingToStringBindingA
|
---|
325 | #endif /* UNICODE */
|
---|
326 |
|
---|
327 | #else /* RPC_UNICODE_SUPPORTED */
|
---|
328 |
|
---|
329 | RPCRTAPI
|
---|
330 | RPC_STATUS
|
---|
331 | RPC_ENTRY
|
---|
332 | RpcBindingToStringBinding (
|
---|
333 | IN RPC_BINDING_HANDLE Binding,
|
---|
334 | OUT unsigned char __RPC_FAR * __RPC_FAR * StringBinding
|
---|
335 | );
|
---|
336 |
|
---|
337 | #endif /* RPC_UNICODE_SUPPORTED */
|
---|
338 |
|
---|
339 | /* client/server */
|
---|
340 | RPCRTAPI
|
---|
341 | RPC_STATUS
|
---|
342 | RPC_ENTRY
|
---|
343 | RpcBindingVectorFree (
|
---|
344 | IN OUT RPC_BINDING_VECTOR __RPC_FAR * __RPC_FAR * BindingVector
|
---|
345 | );
|
---|
346 |
|
---|
347 | /* client/server */
|
---|
348 |
|
---|
349 | #ifdef RPC_UNICODE_SUPPORTED
|
---|
350 |
|
---|
351 | RPCRTAPI
|
---|
352 | RPC_STATUS
|
---|
353 | RPC_ENTRY
|
---|
354 | RpcStringBindingComposeA (
|
---|
355 | IN unsigned char __RPC_FAR * ObjUuid OPTIONAL,
|
---|
356 | IN unsigned char __RPC_FAR * Protseq OPTIONAL,
|
---|
357 | IN unsigned char __RPC_FAR * NetworkAddr OPTIONAL,
|
---|
358 | IN unsigned char __RPC_FAR * Endpoint OPTIONAL,
|
---|
359 | IN unsigned char __RPC_FAR * Options OPTIONAL,
|
---|
360 | OUT unsigned char __RPC_FAR * __RPC_FAR * StringBinding OPTIONAL
|
---|
361 | );
|
---|
362 |
|
---|
363 | RPCRTAPI
|
---|
364 | RPC_STATUS
|
---|
365 | RPC_ENTRY
|
---|
366 | RpcStringBindingComposeW (
|
---|
367 | IN unsigned short __RPC_FAR * ObjUuid OPTIONAL,
|
---|
368 | IN unsigned short __RPC_FAR * Protseq OPTIONAL,
|
---|
369 | IN unsigned short __RPC_FAR * NetworkAddr OPTIONAL,
|
---|
370 | IN unsigned short __RPC_FAR * Endpoint OPTIONAL,
|
---|
371 | IN unsigned short __RPC_FAR * Options OPTIONAL,
|
---|
372 | OUT unsigned short __RPC_FAR * __RPC_FAR * StringBinding OPTIONAL
|
---|
373 | );
|
---|
374 |
|
---|
375 | #ifdef UNICODE
|
---|
376 | #define RpcStringBindingCompose RpcStringBindingComposeW
|
---|
377 | #else /* UNICODE */
|
---|
378 | #define RpcStringBindingCompose RpcStringBindingComposeA
|
---|
379 | #endif /* UNICODE */
|
---|
380 |
|
---|
381 | #else /* RPC_UNICODE_SUPPORTED */
|
---|
382 |
|
---|
383 | RPCRTAPI
|
---|
384 | RPC_STATUS
|
---|
385 | RPC_ENTRY
|
---|
386 | RpcStringBindingCompose (
|
---|
387 | IN unsigned char __RPC_FAR * ObjUuid OPTIONAL,
|
---|
388 | IN unsigned char __RPC_FAR * Protseq OPTIONAL,
|
---|
389 | IN unsigned char __RPC_FAR * NetworkAddr OPTIONAL,
|
---|
390 | IN unsigned char __RPC_FAR * Endpoint OPTIONAL,
|
---|
391 | IN unsigned char __RPC_FAR * Options OPTIONAL,
|
---|
392 | OUT unsigned char __RPC_FAR * __RPC_FAR * StringBinding OPTIONAL
|
---|
393 | );
|
---|
394 |
|
---|
395 | #endif /* RPC_UNICODE_SUPPORTED */
|
---|
396 |
|
---|
397 | /* client/server */
|
---|
398 |
|
---|
399 | #ifdef RPC_UNICODE_SUPPORTED
|
---|
400 |
|
---|
401 | RPCRTAPI
|
---|
402 | RPC_STATUS
|
---|
403 | RPC_ENTRY
|
---|
404 | RpcStringBindingParseA (
|
---|
405 | IN unsigned char __RPC_FAR * StringBinding,
|
---|
406 | OUT unsigned char __RPC_FAR * __RPC_FAR * ObjUuid OPTIONAL,
|
---|
407 | OUT unsigned char __RPC_FAR * __RPC_FAR * Protseq OPTIONAL,
|
---|
408 | OUT unsigned char __RPC_FAR * __RPC_FAR * NetworkAddr OPTIONAL,
|
---|
409 | OUT unsigned char __RPC_FAR * __RPC_FAR * Endpoint OPTIONAL,
|
---|
410 | OUT unsigned char __RPC_FAR * __RPC_FAR * NetworkOptions OPTIONAL
|
---|
411 | );
|
---|
412 |
|
---|
413 | RPCRTAPI
|
---|
414 | RPC_STATUS
|
---|
415 | RPC_ENTRY
|
---|
416 | RpcStringBindingParseW (
|
---|
417 | IN unsigned short __RPC_FAR * StringBinding,
|
---|
418 | OUT unsigned short __RPC_FAR * __RPC_FAR * ObjUuid OPTIONAL,
|
---|
419 | OUT unsigned short __RPC_FAR * __RPC_FAR * Protseq OPTIONAL,
|
---|
420 | OUT unsigned short __RPC_FAR * __RPC_FAR * NetworkAddr OPTIONAL,
|
---|
421 | OUT unsigned short __RPC_FAR * __RPC_FAR * Endpoint OPTIONAL,
|
---|
422 | OUT unsigned short __RPC_FAR * __RPC_FAR * NetworkOptions OPTIONAL
|
---|
423 | );
|
---|
424 |
|
---|
425 | #ifdef UNICODE
|
---|
426 | #define RpcStringBindingParse RpcStringBindingParseW
|
---|
427 | #else /* UNICODE */
|
---|
428 | #define RpcStringBindingParse RpcStringBindingParseA
|
---|
429 | #endif /* UNICODE */
|
---|
430 |
|
---|
431 | #else /* RPC_UNICODE_SUPPORTED */
|
---|
432 |
|
---|
433 | RPCRTAPI
|
---|
434 | RPC_STATUS
|
---|
435 | RPC_ENTRY
|
---|
436 | RpcStringBindingParse (
|
---|
437 | IN unsigned char __RPC_FAR * StringBinding,
|
---|
438 | OUT unsigned char __RPC_FAR * __RPC_FAR * ObjUuid OPTIONAL,
|
---|
439 | OUT unsigned char __RPC_FAR * __RPC_FAR * Protseq OPTIONAL,
|
---|
440 | OUT unsigned char __RPC_FAR * __RPC_FAR * NetworkAddr OPTIONAL,
|
---|
441 | OUT unsigned char __RPC_FAR * __RPC_FAR * Endpoint OPTIONAL,
|
---|
442 | OUT unsigned char __RPC_FAR * __RPC_FAR * NetworkOptions OPTIONAL
|
---|
443 | );
|
---|
444 |
|
---|
445 | #endif /* RPC_UNICODE_SUPPORTED */
|
---|
446 |
|
---|
447 | /* client/server */
|
---|
448 |
|
---|
449 | #ifdef RPC_UNICODE_SUPPORTED
|
---|
450 |
|
---|
451 | RPCRTAPI
|
---|
452 | RPC_STATUS
|
---|
453 | RPC_ENTRY
|
---|
454 | RpcStringFreeA (
|
---|
455 | IN OUT unsigned char __RPC_FAR * __RPC_FAR * String
|
---|
456 | );
|
---|
457 |
|
---|
458 | RPCRTAPI
|
---|
459 | RPC_STATUS
|
---|
460 | RPC_ENTRY
|
---|
461 | RpcStringFreeW (
|
---|
462 | IN OUT unsigned short __RPC_FAR * __RPC_FAR * String
|
---|
463 | );
|
---|
464 |
|
---|
465 | #ifdef UNICODE
|
---|
466 | #define RpcStringFree RpcStringFreeW
|
---|
467 | #else /* UNICODE */
|
---|
468 | #define RpcStringFree RpcStringFreeA
|
---|
469 | #endif /* UNICODE */
|
---|
470 |
|
---|
471 | #else /* RPC_UNICODE_SUPPORTED */
|
---|
472 |
|
---|
473 | RPCRTAPI
|
---|
474 | RPC_STATUS
|
---|
475 | RPC_ENTRY
|
---|
476 | RpcStringFree (
|
---|
477 | IN OUT unsigned char __RPC_FAR * __RPC_FAR * String
|
---|
478 | );
|
---|
479 |
|
---|
480 | #endif /* RPC_UNICODE_SUPPORTED */
|
---|
481 |
|
---|
482 | /* client/server */
|
---|
483 | RPCRTAPI
|
---|
484 | RPC_STATUS
|
---|
485 | RPC_ENTRY
|
---|
486 | RpcIfInqId (
|
---|
487 | IN RPC_IF_HANDLE RpcIfHandle,
|
---|
488 | OUT RPC_IF_ID __RPC_FAR * RpcIfId
|
---|
489 | );
|
---|
490 |
|
---|
491 | /* client/server */
|
---|
492 |
|
---|
493 | #ifdef RPC_UNICODE_SUPPORTED
|
---|
494 |
|
---|
495 | RPCRTAPI
|
---|
496 | RPC_STATUS
|
---|
497 | RPC_ENTRY
|
---|
498 | RpcNetworkIsProtseqValidA (
|
---|
499 | IN unsigned char __RPC_FAR * Protseq
|
---|
500 | );
|
---|
501 |
|
---|
502 | RPCRTAPI
|
---|
503 | RPC_STATUS
|
---|
504 | RPC_ENTRY
|
---|
505 | RpcNetworkIsProtseqValidW (
|
---|
506 | IN unsigned short __RPC_FAR * Protseq
|
---|
507 | );
|
---|
508 |
|
---|
509 | #ifdef UNICODE
|
---|
510 | #define RpcNetworkIsProtseqValid RpcNetworkIsProtseqValidW
|
---|
511 | #else /* UNICODE */
|
---|
512 | #define RpcNetworkIsProtseqValid RpcNetworkIsProtseqValidA
|
---|
513 | #endif /* UNICODE */
|
---|
514 |
|
---|
515 | #else /* RPC_UNICODE_SUPPORTED */
|
---|
516 |
|
---|
517 | RPCRTAPI
|
---|
518 | RPC_STATUS
|
---|
519 | RPC_ENTRY
|
---|
520 | RpcNetworkIsProtseqValid (
|
---|
521 | IN unsigned char __RPC_FAR * Protseq
|
---|
522 | );
|
---|
523 |
|
---|
524 | #endif /* RPC_UNICODE_SUPPORTED */
|
---|
525 |
|
---|
526 | /* client */
|
---|
527 | RPCRTAPI
|
---|
528 | RPC_STATUS
|
---|
529 | RPC_ENTRY
|
---|
530 | RpcMgmtInqComTimeout (
|
---|
531 | IN RPC_BINDING_HANDLE Binding,
|
---|
532 | OUT unsigned int __RPC_FAR * Timeout
|
---|
533 | );
|
---|
534 |
|
---|
535 | /* client */
|
---|
536 | RPCRTAPI
|
---|
537 | RPC_STATUS
|
---|
538 | RPC_ENTRY
|
---|
539 | RpcMgmtSetComTimeout (
|
---|
540 | IN RPC_BINDING_HANDLE Binding,
|
---|
541 | IN unsigned int Timeout
|
---|
542 | );
|
---|
543 |
|
---|
544 | /* client */
|
---|
545 | RPCRTAPI
|
---|
546 | RPC_STATUS
|
---|
547 | RPC_ENTRY
|
---|
548 | RpcMgmtSetCancelTimeout(
|
---|
549 | long Timeout
|
---|
550 | );
|
---|
551 |
|
---|
552 |
|
---|
553 | /* server */
|
---|
554 |
|
---|
555 | #ifdef RPC_UNICODE_SUPPORTED
|
---|
556 |
|
---|
557 | RPCRTAPI
|
---|
558 | RPC_STATUS
|
---|
559 | RPC_ENTRY
|
---|
560 | RpcNetworkInqProtseqsA (
|
---|
561 | OUT RPC_PROTSEQ_VECTORA __RPC_FAR * __RPC_FAR * ProtseqVector
|
---|
562 | );
|
---|
563 |
|
---|
564 | RPCRTAPI
|
---|
565 | RPC_STATUS
|
---|
566 | RPC_ENTRY
|
---|
567 | RpcNetworkInqProtseqsW (
|
---|
568 | OUT RPC_PROTSEQ_VECTORW __RPC_FAR * __RPC_FAR * ProtseqVector
|
---|
569 | );
|
---|
570 |
|
---|
571 | #ifdef UNICODE
|
---|
572 | #define RpcNetworkInqProtseqs RpcNetworkInqProtseqsW
|
---|
573 | #else /* UNICODE */
|
---|
574 | #define RpcNetworkInqProtseqs RpcNetworkInqProtseqsA
|
---|
575 | #endif /* UNICODE */
|
---|
576 |
|
---|
577 | #else /* RPC_UNICODE_SUPPORTED */
|
---|
578 |
|
---|
579 | RPCRTAPI
|
---|
580 | RPC_STATUS
|
---|
581 | RPC_ENTRY
|
---|
582 | RpcNetworkInqProtseqs (
|
---|
583 | OUT RPC_PROTSEQ_VECTOR __RPC_FAR * __RPC_FAR * ProtseqVector
|
---|
584 | );
|
---|
585 |
|
---|
586 | #endif /* RPC_UNICODE_SUPPORTED */
|
---|
587 |
|
---|
588 | /* server */
|
---|
589 | RPCRTAPI
|
---|
590 | RPC_STATUS
|
---|
591 | RPC_ENTRY
|
---|
592 | RpcObjectInqType (
|
---|
593 | IN UUID __RPC_FAR * ObjUuid,
|
---|
594 | OUT UUID __RPC_FAR * TypeUuid OPTIONAL
|
---|
595 | );
|
---|
596 |
|
---|
597 | /* server */
|
---|
598 | RPCRTAPI
|
---|
599 | RPC_STATUS
|
---|
600 | RPC_ENTRY
|
---|
601 | RpcObjectSetInqFn (
|
---|
602 | IN RPC_OBJECT_INQ_FN __RPC_FAR * InquiryFn
|
---|
603 | );
|
---|
604 |
|
---|
605 | /* server */
|
---|
606 | RPCRTAPI
|
---|
607 | RPC_STATUS
|
---|
608 | RPC_ENTRY
|
---|
609 | RpcObjectSetType (
|
---|
610 | IN UUID __RPC_FAR * ObjUuid,
|
---|
611 | IN UUID __RPC_FAR * TypeUuid OPTIONAL
|
---|
612 | );
|
---|
613 |
|
---|
614 | /* server */
|
---|
615 |
|
---|
616 | #ifdef RPC_UNICODE_SUPPORTED
|
---|
617 |
|
---|
618 | RPCRTAPI
|
---|
619 | RPC_STATUS
|
---|
620 | RPC_ENTRY
|
---|
621 | RpcProtseqVectorFreeA (
|
---|
622 | IN OUT RPC_PROTSEQ_VECTORA __RPC_FAR * __RPC_FAR * ProtseqVector
|
---|
623 | );
|
---|
624 |
|
---|
625 | RPCRTAPI
|
---|
626 | RPC_STATUS
|
---|
627 | RPC_ENTRY
|
---|
628 | RpcProtseqVectorFreeW (
|
---|
629 | IN OUT RPC_PROTSEQ_VECTORW __RPC_FAR * __RPC_FAR * ProtseqVector
|
---|
630 | );
|
---|
631 |
|
---|
632 | #ifdef UNICODE
|
---|
633 | #define RpcProtseqVectorFree RpcProtseqVectorFreeW
|
---|
634 | #else /* UNICODE */
|
---|
635 | #define RpcProtseqVectorFree RpcProtseqVectorFreeA
|
---|
636 | #endif /* UNICODE */
|
---|
637 |
|
---|
638 | #else /* RPC_UNICODE_SUPPORTED */
|
---|
639 |
|
---|
640 | RPCRTAPI
|
---|
641 | RPC_STATUS
|
---|
642 | RPC_ENTRY
|
---|
643 | RpcProtseqVectorFree (
|
---|
644 | IN OUT RPC_PROTSEQ_VECTOR __RPC_FAR * __RPC_FAR * ProtseqVector
|
---|
645 | );
|
---|
646 |
|
---|
647 | #endif /* RPC_UNICODE_SUPPORTED */
|
---|
648 |
|
---|
649 | /* server */
|
---|
650 | RPCRTAPI
|
---|
651 | RPC_STATUS
|
---|
652 | RPC_ENTRY
|
---|
653 | RpcServerInqBindings (
|
---|
654 | OUT RPC_BINDING_VECTOR __RPC_FAR * __RPC_FAR * BindingVector
|
---|
655 | );
|
---|
656 |
|
---|
657 | /* server */
|
---|
658 | RPCRTAPI
|
---|
659 | RPC_STATUS
|
---|
660 | RPC_ENTRY
|
---|
661 | RpcServerInqIf (
|
---|
662 | IN RPC_IF_HANDLE IfSpec,
|
---|
663 | IN UUID __RPC_FAR * MgrTypeUuid, OPTIONAL
|
---|
664 | OUT RPC_MGR_EPV __RPC_FAR * __RPC_FAR * MgrEpv
|
---|
665 | );
|
---|
666 |
|
---|
667 | /* server */
|
---|
668 | RPCRTAPI
|
---|
669 | RPC_STATUS
|
---|
670 | RPC_ENTRY
|
---|
671 | RpcServerListen (
|
---|
672 | IN unsigned int MinimumCallThreads,
|
---|
673 | IN unsigned int MaxCalls,
|
---|
674 | IN unsigned int DontWait
|
---|
675 | );
|
---|
676 |
|
---|
677 | /* server */
|
---|
678 | RPCRTAPI
|
---|
679 | RPC_STATUS
|
---|
680 | RPC_ENTRY
|
---|
681 | RpcServerRegisterIf (
|
---|
682 | IN RPC_IF_HANDLE IfSpec,
|
---|
683 | IN UUID __RPC_FAR * MgrTypeUuid OPTIONAL,
|
---|
684 | IN RPC_MGR_EPV __RPC_FAR * MgrEpv OPTIONAL
|
---|
685 | );
|
---|
686 |
|
---|
687 | /* server */
|
---|
688 | RPCRTAPI
|
---|
689 | RPC_STATUS
|
---|
690 | RPC_ENTRY
|
---|
691 | RpcServerRegisterIfEx (
|
---|
692 | IN RPC_IF_HANDLE IfSpec,
|
---|
693 | IN UUID __RPC_FAR * MgrTypeUuid,
|
---|
694 | IN RPC_MGR_EPV __RPC_FAR * MgrEpv,
|
---|
695 | IN unsigned int Flags,
|
---|
696 | IN unsigned int MaxCalls,
|
---|
697 | IN RPC_IF_CALLBACK_FN __RPC_FAR *IfCallback
|
---|
698 | );
|
---|
699 |
|
---|
700 | /* server */
|
---|
701 | RPCRTAPI
|
---|
702 | RPC_STATUS
|
---|
703 | RPC_ENTRY
|
---|
704 | RpcServerUnregisterIf (
|
---|
705 | IN RPC_IF_HANDLE IfSpec,
|
---|
706 | IN UUID __RPC_FAR * MgrTypeUuid, OPTIONAL
|
---|
707 | IN unsigned int WaitForCallsToComplete
|
---|
708 | );
|
---|
709 |
|
---|
710 | /* server */
|
---|
711 | RPCRTAPI
|
---|
712 | RPC_STATUS
|
---|
713 | RPC_ENTRY
|
---|
714 | RpcServerUseAllProtseqs (
|
---|
715 | IN unsigned int MaxCalls,
|
---|
716 | IN void __RPC_FAR * SecurityDescriptor OPTIONAL
|
---|
717 | );
|
---|
718 |
|
---|
719 | /* server */
|
---|
720 | RPCRTAPI
|
---|
721 | RPC_STATUS
|
---|
722 | RPC_ENTRY
|
---|
723 | RpcServerUseAllProtseqsEx (
|
---|
724 | IN unsigned int MaxCalls,
|
---|
725 | IN void __RPC_FAR * SecurityDescriptor,
|
---|
726 | IN PRPC_POLICY Policy
|
---|
727 | );
|
---|
728 |
|
---|
729 | /* server */
|
---|
730 | RPCRTAPI
|
---|
731 | RPC_STATUS
|
---|
732 | RPC_ENTRY
|
---|
733 | RpcServerUseAllProtseqsIf (
|
---|
734 | IN unsigned int MaxCalls,
|
---|
735 | IN RPC_IF_HANDLE IfSpec,
|
---|
736 | IN void __RPC_FAR * SecurityDescriptor OPTIONAL
|
---|
737 | );
|
---|
738 |
|
---|
739 | /* server */
|
---|
740 | RPCRTAPI
|
---|
741 | RPC_STATUS
|
---|
742 | RPC_ENTRY
|
---|
743 | RpcServerUseAllProtseqsIfEx (
|
---|
744 | IN unsigned int MaxCalls,
|
---|
745 | IN RPC_IF_HANDLE IfSpec,
|
---|
746 | IN void __RPC_FAR * SecurityDescriptor,
|
---|
747 | IN PRPC_POLICY Policy
|
---|
748 | );
|
---|
749 |
|
---|
750 |
|
---|
751 | /* server */
|
---|
752 |
|
---|
753 | #ifdef RPC_UNICODE_SUPPORTED
|
---|
754 |
|
---|
755 | RPCRTAPI
|
---|
756 | RPC_STATUS
|
---|
757 | RPC_ENTRY
|
---|
758 | RpcServerUseProtseqA (
|
---|
759 | IN unsigned char __RPC_FAR * Protseq,
|
---|
760 | IN unsigned int MaxCalls,
|
---|
761 | IN void __RPC_FAR * SecurityDescriptor OPTIONAL
|
---|
762 | );
|
---|
763 |
|
---|
764 | RPCRTAPI
|
---|
765 | RPC_STATUS
|
---|
766 | RPC_ENTRY
|
---|
767 | RpcServerUseProtseqExA (
|
---|
768 | IN unsigned char __RPC_FAR * Protseq,
|
---|
769 | IN unsigned int MaxCalls,
|
---|
770 | IN void __RPC_FAR * SecurityDescriptor,
|
---|
771 | IN PRPC_POLICY Policy
|
---|
772 | );
|
---|
773 |
|
---|
774 | RPCRTAPI
|
---|
775 | RPC_STATUS
|
---|
776 | RPC_ENTRY
|
---|
777 | RpcServerUseProtseqW (
|
---|
778 | IN unsigned short __RPC_FAR * Protseq,
|
---|
779 | IN unsigned int MaxCalls,
|
---|
780 | IN void __RPC_FAR * SecurityDescriptor OPTIONAL
|
---|
781 | );
|
---|
782 |
|
---|
783 | RPCRTAPI
|
---|
784 | RPC_STATUS
|
---|
785 | RPC_ENTRY
|
---|
786 | RpcServerUseProtseqExW (
|
---|
787 | IN unsigned short __RPC_FAR * Protseq,
|
---|
788 | IN unsigned int MaxCalls,
|
---|
789 | IN void __RPC_FAR * SecurityDescriptor,
|
---|
790 | IN PRPC_POLICY Policy
|
---|
791 | );
|
---|
792 |
|
---|
793 | #ifdef UNICODE
|
---|
794 | #define RpcServerUseProtseq RpcServerUseProtseqW
|
---|
795 | #define RpcServerUseProtseqEx RpcServerUseProtseqExW
|
---|
796 | #else /* UNICODE */
|
---|
797 | #define RpcServerUseProtseq RpcServerUseProtseqA
|
---|
798 | #define RpcServerUseProtseqEx RpcServerUseProtseqExA
|
---|
799 | #endif /* UNICODE */
|
---|
800 |
|
---|
801 | #else /* RPC_UNICODE_SUPPORTED */
|
---|
802 |
|
---|
803 | RPCRTAPI
|
---|
804 | RPC_STATUS
|
---|
805 | RPC_ENTRY
|
---|
806 | RpcServerUseProtseq (
|
---|
807 | IN unsigned char __RPC_FAR * Protseq,
|
---|
808 | IN unsigned int MaxCalls,
|
---|
809 | IN void __RPC_FAR * SecurityDescriptor OPTIONAL
|
---|
810 | );
|
---|
811 |
|
---|
812 | RPCRTAPI
|
---|
813 | RPC_STATUS
|
---|
814 | RPC_ENTRY
|
---|
815 | RpcServerUseProtseqEx (
|
---|
816 | IN unsigned char __RPC_FAR * Protseq,
|
---|
817 | IN unsigned int MaxCalls,
|
---|
818 | IN void __RPC_FAR * SecurityDescriptor,
|
---|
819 | IN PRPC_POLICY Policy
|
---|
820 | );
|
---|
821 |
|
---|
822 | #endif /* RPC_UNICODE_SUPPORTED */
|
---|
823 |
|
---|
824 | /* server */
|
---|
825 |
|
---|
826 | #ifdef RPC_UNICODE_SUPPORTED
|
---|
827 |
|
---|
828 | RPCRTAPI
|
---|
829 | RPC_STATUS
|
---|
830 | RPC_ENTRY
|
---|
831 | RpcServerUseProtseqEpA (
|
---|
832 | IN unsigned char __RPC_FAR * Protseq,
|
---|
833 | IN unsigned int MaxCalls,
|
---|
834 | IN unsigned char __RPC_FAR * Endpoint,
|
---|
835 | IN void __RPC_FAR * SecurityDescriptor OPTIONAL
|
---|
836 | );
|
---|
837 |
|
---|
838 | RPCRTAPI
|
---|
839 | RPC_STATUS
|
---|
840 | RPC_ENTRY
|
---|
841 | RpcServerUseProtseqEpExA (
|
---|
842 | IN unsigned char __RPC_FAR * Protseq,
|
---|
843 | IN unsigned int MaxCalls,
|
---|
844 | IN unsigned char __RPC_FAR * Endpoint,
|
---|
845 | IN void __RPC_FAR * SecurityDescriptor,
|
---|
846 | IN PRPC_POLICY Policy
|
---|
847 | );
|
---|
848 |
|
---|
849 | RPCRTAPI
|
---|
850 | RPC_STATUS
|
---|
851 | RPC_ENTRY
|
---|
852 | RpcServerUseProtseqEpW (
|
---|
853 | IN unsigned short __RPC_FAR * Protseq,
|
---|
854 | IN unsigned int MaxCalls,
|
---|
855 | IN unsigned short __RPC_FAR * Endpoint,
|
---|
856 | IN void __RPC_FAR * SecurityDescriptor OPTIONAL
|
---|
857 | );
|
---|
858 |
|
---|
859 | RPCRTAPI
|
---|
860 | RPC_STATUS
|
---|
861 | RPC_ENTRY
|
---|
862 | RpcServerUseProtseqEpExW (
|
---|
863 | IN unsigned short __RPC_FAR * Protseq,
|
---|
864 | IN unsigned int MaxCalls,
|
---|
865 | IN unsigned short __RPC_FAR * Endpoint,
|
---|
866 | IN void __RPC_FAR * SecurityDescriptor,
|
---|
867 | IN PRPC_POLICY Policy
|
---|
868 | );
|
---|
869 |
|
---|
870 | #ifdef UNICODE
|
---|
871 | #define RpcServerUseProtseqEp RpcServerUseProtseqEpW
|
---|
872 | #define RpcServerUseProtseqEpEx RpcServerUseProtseqEpExW
|
---|
873 | #else /* UNICODE */
|
---|
874 | #define RpcServerUseProtseqEp RpcServerUseProtseqEpA
|
---|
875 | #define RpcServerUseProtseqEpEx RpcServerUseProtseqEpExA
|
---|
876 | #endif /* UNICODE */
|
---|
877 |
|
---|
878 | #else /* RPC_UNICODE_SUPPORTED */
|
---|
879 |
|
---|
880 | RPCRTAPI
|
---|
881 | RPC_STATUS
|
---|
882 | RPC_ENTRY
|
---|
883 | RpcServerUseProtseqEp (
|
---|
884 | IN unsigned char __RPC_FAR * Protseq,
|
---|
885 | IN unsigned int MaxCalls,
|
---|
886 | IN unsigned char __RPC_FAR * Endpoint,
|
---|
887 | IN void __RPC_FAR * SecurityDescriptor OPTIONAL
|
---|
888 | );
|
---|
889 |
|
---|
890 | RPCRTAPI
|
---|
891 | RPC_STATUS
|
---|
892 | RPC_ENTRY
|
---|
893 | RpcServerUseProtseqEpEx (
|
---|
894 | IN unsigned char __RPC_FAR * Protseq,
|
---|
895 | IN unsigned int MaxCalls,
|
---|
896 | IN unsigned char __RPC_FAR * Endpoint,
|
---|
897 | IN void __RPC_FAR * SecurityDescriptor,
|
---|
898 | IN PRPC_POLICY Policy
|
---|
899 | );
|
---|
900 |
|
---|
901 | #endif /* RPC_UNICODE_SUPPORTED */
|
---|
902 |
|
---|
903 | /* server */
|
---|
904 |
|
---|
905 | #ifdef RPC_UNICODE_SUPPORTED
|
---|
906 |
|
---|
907 | RPCRTAPI
|
---|
908 | RPC_STATUS
|
---|
909 | RPC_ENTRY
|
---|
910 | RpcServerUseProtseqIfA (
|
---|
911 | IN unsigned char __RPC_FAR * Protseq,
|
---|
912 | IN unsigned int MaxCalls,
|
---|
913 | IN RPC_IF_HANDLE IfSpec,
|
---|
914 | IN void __RPC_FAR * SecurityDescriptor OPTIONAL
|
---|
915 | );
|
---|
916 |
|
---|
917 | RPCRTAPI
|
---|
918 | RPC_STATUS
|
---|
919 | RPC_ENTRY
|
---|
920 | RpcServerUseProtseqIfExA (
|
---|
921 | IN unsigned char __RPC_FAR * Protseq,
|
---|
922 | IN unsigned int MaxCalls,
|
---|
923 | IN RPC_IF_HANDLE IfSpec,
|
---|
924 | IN void __RPC_FAR * SecurityDescriptor,
|
---|
925 | IN PRPC_POLICY Policy
|
---|
926 | );
|
---|
927 |
|
---|
928 | RPCRTAPI
|
---|
929 | RPC_STATUS
|
---|
930 | RPC_ENTRY
|
---|
931 | RpcServerUseProtseqIfW (
|
---|
932 | IN unsigned short __RPC_FAR * Protseq,
|
---|
933 | IN unsigned int MaxCalls,
|
---|
934 | IN RPC_IF_HANDLE IfSpec,
|
---|
935 | IN void __RPC_FAR * SecurityDescriptor OPTIONAL
|
---|
936 | );
|
---|
937 |
|
---|
938 | RPCRTAPI
|
---|
939 | RPC_STATUS
|
---|
940 | RPC_ENTRY
|
---|
941 | RpcServerUseProtseqIfExW (
|
---|
942 | IN unsigned short __RPC_FAR * Protseq,
|
---|
943 | IN unsigned int MaxCalls,
|
---|
944 | IN RPC_IF_HANDLE IfSpec,
|
---|
945 | IN void __RPC_FAR * SecurityDescriptor,
|
---|
946 | IN PRPC_POLICY Policy
|
---|
947 | );
|
---|
948 |
|
---|
949 | #ifdef UNICODE
|
---|
950 | #define RpcServerUseProtseqIf RpcServerUseProtseqIfW
|
---|
951 | #define RpcServerUseProtseqIfEx RpcServerUseProtseqIfExW
|
---|
952 | #else /* UNICODE */
|
---|
953 | #define RpcServerUseProtseqIf RpcServerUseProtseqIfA
|
---|
954 | #define RpcServerUseProtseqIfEx RpcServerUseProtseqIfExA
|
---|
955 | #endif /* UNICODE */
|
---|
956 |
|
---|
957 | #else /* RPC_UNICODE_SUPPORTED */
|
---|
958 |
|
---|
959 | RPCRTAPI
|
---|
960 | RPC_STATUS
|
---|
961 | RPC_ENTRY
|
---|
962 | RpcServerUseProtseqIf (
|
---|
963 | IN unsigned char __RPC_FAR * Protseq,
|
---|
964 | IN unsigned int MaxCalls,
|
---|
965 | IN RPC_IF_HANDLE IfSpec,
|
---|
966 | IN void __RPC_FAR * SecurityDescriptor OPTIONAL
|
---|
967 | );
|
---|
968 |
|
---|
969 | RPCRTAPI
|
---|
970 | RPC_STATUS
|
---|
971 | RPC_ENTRY
|
---|
972 | RpcServerUseProtseqIfEx (
|
---|
973 | IN unsigned char __RPC_FAR * Protseq,
|
---|
974 | IN unsigned int MaxCalls,
|
---|
975 | IN RPC_IF_HANDLE IfSpec,
|
---|
976 | IN void __RPC_FAR * SecurityDescriptor,
|
---|
977 | IN PRPC_POLICY Policy
|
---|
978 | );
|
---|
979 |
|
---|
980 | #endif /* RPC_UNICODE_SUPPORTED */
|
---|
981 |
|
---|
982 | /* server */
|
---|
983 | RPCRTAPI
|
---|
984 | RPC_STATUS
|
---|
985 | RPC_ENTRY
|
---|
986 | RpcMgmtStatsVectorFree (
|
---|
987 | IN RPC_STATS_VECTOR ** StatsVector
|
---|
988 | );
|
---|
989 |
|
---|
990 | /* server */
|
---|
991 | RPCRTAPI
|
---|
992 | RPC_STATUS
|
---|
993 | RPC_ENTRY
|
---|
994 | RpcMgmtInqStats (
|
---|
995 | IN RPC_BINDING_HANDLE Binding,
|
---|
996 | OUT RPC_STATS_VECTOR ** Statistics
|
---|
997 | );
|
---|
998 |
|
---|
999 | /* server */
|
---|
1000 | RPCRTAPI
|
---|
1001 | RPC_STATUS
|
---|
1002 | RPC_ENTRY
|
---|
1003 | RpcMgmtIsServerListening (
|
---|
1004 | IN RPC_BINDING_HANDLE Binding
|
---|
1005 | );
|
---|
1006 |
|
---|
1007 | /* server */
|
---|
1008 | RPCRTAPI
|
---|
1009 | RPC_STATUS
|
---|
1010 | RPC_ENTRY
|
---|
1011 | RpcMgmtStopServerListening (
|
---|
1012 | IN RPC_BINDING_HANDLE Binding
|
---|
1013 | );
|
---|
1014 |
|
---|
1015 | /* server */
|
---|
1016 | RPCRTAPI
|
---|
1017 | RPC_STATUS
|
---|
1018 | RPC_ENTRY
|
---|
1019 | RpcMgmtWaitServerListen (
|
---|
1020 | void
|
---|
1021 | );
|
---|
1022 |
|
---|
1023 | /* server */
|
---|
1024 | RPCRTAPI
|
---|
1025 | RPC_STATUS
|
---|
1026 | RPC_ENTRY
|
---|
1027 | RpcMgmtSetServerStackSize (
|
---|
1028 | IN unsigned long ThreadStackSize
|
---|
1029 | );
|
---|
1030 |
|
---|
1031 | /* server */
|
---|
1032 | RPCRTAPI
|
---|
1033 | void
|
---|
1034 | RPC_ENTRY
|
---|
1035 | RpcSsDontSerializeContext (
|
---|
1036 | void
|
---|
1037 | );
|
---|
1038 |
|
---|
1039 | /* client */
|
---|
1040 | RPCRTAPI
|
---|
1041 | RPC_STATUS
|
---|
1042 | RPC_ENTRY
|
---|
1043 | RpcMgmtEnableIdleCleanup (
|
---|
1044 | void
|
---|
1045 | );
|
---|
1046 |
|
---|
1047 | RPCRTAPI
|
---|
1048 | RPC_STATUS
|
---|
1049 | RPC_ENTRY
|
---|
1050 | RpcMgmtInqIfIds (
|
---|
1051 | IN RPC_BINDING_HANDLE Binding,
|
---|
1052 | OUT RPC_IF_ID_VECTOR __RPC_FAR * __RPC_FAR * IfIdVector
|
---|
1053 | );
|
---|
1054 |
|
---|
1055 | RPCRTAPI
|
---|
1056 | RPC_STATUS
|
---|
1057 | RPC_ENTRY
|
---|
1058 | RpcIfIdVectorFree (
|
---|
1059 | IN OUT RPC_IF_ID_VECTOR __RPC_FAR * __RPC_FAR * IfIdVector
|
---|
1060 | );
|
---|
1061 |
|
---|
1062 | #ifdef RPC_UNICODE_SUPPORTED
|
---|
1063 |
|
---|
1064 | RPCRTAPI
|
---|
1065 | RPC_STATUS
|
---|
1066 | RPC_ENTRY
|
---|
1067 | RpcMgmtInqServerPrincNameA (
|
---|
1068 | IN RPC_BINDING_HANDLE Binding,
|
---|
1069 | IN unsigned long AuthnSvc,
|
---|
1070 | OUT unsigned char __RPC_FAR * __RPC_FAR * ServerPrincName
|
---|
1071 | );
|
---|
1072 |
|
---|
1073 | RPCRTAPI
|
---|
1074 | RPC_STATUS
|
---|
1075 | RPC_ENTRY
|
---|
1076 | RpcMgmtInqServerPrincNameW (
|
---|
1077 | IN RPC_BINDING_HANDLE Binding,
|
---|
1078 | IN unsigned long AuthnSvc,
|
---|
1079 | OUT unsigned short __RPC_FAR * __RPC_FAR * ServerPrincName
|
---|
1080 | );
|
---|
1081 |
|
---|
1082 | #ifdef UNICODE
|
---|
1083 | #define RpcMgmtInqServerPrincName RpcMgmtInqServerPrincNameW
|
---|
1084 | #else /* UNICODE */
|
---|
1085 | #define RpcMgmtInqServerPrincName RpcMgmtInqServerPrincNameA
|
---|
1086 | #endif /* UNICODE */
|
---|
1087 |
|
---|
1088 | #else /* RPC_UNICODE_SUPPORTED */
|
---|
1089 |
|
---|
1090 | RPCRTAPI
|
---|
1091 | RPC_STATUS
|
---|
1092 | RPC_ENTRY
|
---|
1093 | RpcMgmtInqServerPrincName (
|
---|
1094 | IN RPC_BINDING_HANDLE Binding,
|
---|
1095 | IN unsigned long AuthnSvc,
|
---|
1096 | OUT unsigned char __RPC_FAR * __RPC_FAR * ServerPrincName
|
---|
1097 | );
|
---|
1098 |
|
---|
1099 | #endif /* RPC_UNICODE_SUPPORTED */
|
---|
1100 |
|
---|
1101 | #ifdef RPC_UNICODE_SUPPORTED
|
---|
1102 |
|
---|
1103 | RPCRTAPI
|
---|
1104 | RPC_STATUS
|
---|
1105 | RPC_ENTRY
|
---|
1106 | RpcServerInqDefaultPrincNameA (
|
---|
1107 | IN unsigned long AuthnSvc,
|
---|
1108 | OUT unsigned char __RPC_FAR * __RPC_FAR * PrincName
|
---|
1109 | );
|
---|
1110 |
|
---|
1111 | RPCRTAPI
|
---|
1112 | RPC_STATUS
|
---|
1113 | RPC_ENTRY
|
---|
1114 | RpcServerInqDefaultPrincNameW (
|
---|
1115 | IN unsigned long AuthnSvc,
|
---|
1116 | OUT unsigned short __RPC_FAR * __RPC_FAR * PrincName
|
---|
1117 | );
|
---|
1118 |
|
---|
1119 | #ifdef UNICODE
|
---|
1120 | #define RpcServerInqDefaultPrincName RpcServerInqDefaultPrincNameW
|
---|
1121 | #else /* UNICODE */
|
---|
1122 | #define RpcServerInqDefaultPrincName RpcServerInqDefaultPrincNameA
|
---|
1123 | #endif /* UNICODE */
|
---|
1124 |
|
---|
1125 | #else /* RPC_UNICODE_SUPPORTED */
|
---|
1126 |
|
---|
1127 | RPCRTAPI
|
---|
1128 | RPC_STATUS
|
---|
1129 | RPC_ENTRY
|
---|
1130 | RpcServerInqDefaultPrincName (
|
---|
1131 | IN unsigned long AuthnSvc,
|
---|
1132 | OUT unsigned char __RPC_FAR * __RPC_FAR * PrincName
|
---|
1133 | );
|
---|
1134 |
|
---|
1135 | #endif /* RPC_UNICODE_SUPPORTED */
|
---|
1136 |
|
---|
1137 | /* client */
|
---|
1138 | RPCRTAPI
|
---|
1139 | RPC_STATUS
|
---|
1140 | RPC_ENTRY
|
---|
1141 | RpcEpResolveBinding (
|
---|
1142 | IN RPC_BINDING_HANDLE Binding,
|
---|
1143 | IN RPC_IF_HANDLE IfSpec
|
---|
1144 | );
|
---|
1145 |
|
---|
1146 | /* client */
|
---|
1147 |
|
---|
1148 | #ifdef RPC_UNICODE_SUPPORTED
|
---|
1149 |
|
---|
1150 | RPCRTAPI
|
---|
1151 | RPC_STATUS
|
---|
1152 | RPC_ENTRY
|
---|
1153 | RpcNsBindingInqEntryNameA (
|
---|
1154 | IN RPC_BINDING_HANDLE Binding,
|
---|
1155 | IN unsigned long EntryNameSyntax,
|
---|
1156 | OUT unsigned char __RPC_FAR * __RPC_FAR * EntryName
|
---|
1157 | );
|
---|
1158 |
|
---|
1159 | RPCRTAPI
|
---|
1160 | RPC_STATUS
|
---|
1161 | RPC_ENTRY
|
---|
1162 | RpcNsBindingInqEntryNameW (
|
---|
1163 | IN RPC_BINDING_HANDLE Binding,
|
---|
1164 | IN unsigned long EntryNameSyntax,
|
---|
1165 | OUT unsigned short __RPC_FAR * __RPC_FAR * EntryName
|
---|
1166 | );
|
---|
1167 |
|
---|
1168 | #ifdef UNICODE
|
---|
1169 | #define RpcNsBindingInqEntryName RpcNsBindingInqEntryNameW
|
---|
1170 | #else /* UNICODE */
|
---|
1171 | #define RpcNsBindingInqEntryName RpcNsBindingInqEntryNameA
|
---|
1172 | #endif /* UNICODE */
|
---|
1173 |
|
---|
1174 | #else /* RPC_UNICODE_SUPPORTED */
|
---|
1175 |
|
---|
1176 | RPCRTAPI
|
---|
1177 | RPC_STATUS
|
---|
1178 | RPC_ENTRY
|
---|
1179 | RpcNsBindingInqEntryName (
|
---|
1180 | IN RPC_BINDING_HANDLE Binding,
|
---|
1181 | IN unsigned long EntryNameSyntax,
|
---|
1182 | OUT unsigned char __RPC_FAR * __RPC_FAR * EntryName
|
---|
1183 | );
|
---|
1184 |
|
---|
1185 | #endif /* RPC_UNICODE_SUPPORTED */
|
---|
1186 |
|
---|
1187 | typedef void __RPC_FAR * RPC_AUTH_IDENTITY_HANDLE;
|
---|
1188 | typedef void __RPC_FAR * RPC_AUTHZ_HANDLE;
|
---|
1189 |
|
---|
1190 | #define RPC_C_AUTHN_LEVEL_DEFAULT 0
|
---|
1191 | #define RPC_C_AUTHN_LEVEL_NONE 1
|
---|
1192 | #define RPC_C_AUTHN_LEVEL_CONNECT 2
|
---|
1193 | #define RPC_C_AUTHN_LEVEL_CALL 3
|
---|
1194 | #define RPC_C_AUTHN_LEVEL_PKT 4
|
---|
1195 | #define RPC_C_AUTHN_LEVEL_PKT_INTEGRITY 5
|
---|
1196 | #define RPC_C_AUTHN_LEVEL_PKT_PRIVACY 6
|
---|
1197 |
|
---|
1198 | #define RPC_C_IMP_LEVEL_ANONYMOUS 1
|
---|
1199 | #define RPC_C_IMP_LEVEL_IDENTIFY 2
|
---|
1200 | #define RPC_C_IMP_LEVEL_IMPERSONATE 3
|
---|
1201 | #define RPC_C_IMP_LEVEL_DELEGATE 4
|
---|
1202 |
|
---|
1203 | #define RPC_C_QOS_IDENTITY_STATIC 0
|
---|
1204 | #define RPC_C_QOS_IDENTITY_DYNAMIC 1
|
---|
1205 |
|
---|
1206 | #define RPC_C_QOS_CAPABILITIES_DEFAULT 0
|
---|
1207 | #define RPC_C_QOS_CAPABILITIES_MUTUAL_AUTH 1
|
---|
1208 |
|
---|
1209 | #define RPC_C_PROTECT_LEVEL_DEFAULT (RPC_C_AUTHN_LEVEL_DEFAULT)
|
---|
1210 | #define RPC_C_PROTECT_LEVEL_NONE (RPC_C_AUTHN_LEVEL_NONE)
|
---|
1211 | #define RPC_C_PROTECT_LEVEL_CONNECT (RPC_C_AUTHN_LEVEL_CONNECT)
|
---|
1212 | #define RPC_C_PROTECT_LEVEL_CALL (RPC_C_AUTHN_LEVEL_CALL)
|
---|
1213 | #define RPC_C_PROTECT_LEVEL_PKT (RPC_C_AUTHN_LEVEL_PKT)
|
---|
1214 | #define RPC_C_PROTECT_LEVEL_PKT_INTEGRITY (RPC_C_AUTHN_LEVEL_PKT_INTEGRITY)
|
---|
1215 | #define RPC_C_PROTECT_LEVEL_PKT_PRIVACY (RPC_C_AUTHN_LEVEL_PKT_PRIVACY)
|
---|
1216 |
|
---|
1217 | #define RPC_C_AUTHN_NONE 0
|
---|
1218 | #define RPC_C_AUTHN_DCE_PRIVATE 1
|
---|
1219 | #define RPC_C_AUTHN_DCE_PUBLIC 2
|
---|
1220 | #define RPC_C_AUTHN_DEC_PUBLIC 4
|
---|
1221 | #define RPC_C_AUTHN_WINNT 10
|
---|
1222 | #define RPC_C_AUTHN_DPA 16
|
---|
1223 | #define RPC_C_AUTHN_MSN 17
|
---|
1224 | #define RPC_C_AUTHN_GSS_KERBEROS 18
|
---|
1225 | #define RPC_C_AUTHN_MQ 100
|
---|
1226 | #define RPC_C_AUTHN_DEFAULT 0xFFFFFFFFL
|
---|
1227 |
|
---|
1228 | #define RPC_C_SECURITY_QOS_VERSION 1L
|
---|
1229 |
|
---|
1230 | typedef struct _RPC_SECURITY_QOS {
|
---|
1231 | unsigned long Version;
|
---|
1232 | unsigned long Capabilities;
|
---|
1233 | unsigned long IdentityTracking;
|
---|
1234 | unsigned long ImpersonationType;
|
---|
1235 | } RPC_SECURITY_QOS, *PRPC_SECURITY_QOS;
|
---|
1236 |
|
---|
1237 | #if defined(__RPC_DOS__) || defined(__RPC_WIN16__)
|
---|
1238 | typedef struct _SEC_WINNT_AUTH_IDENTITY
|
---|
1239 | {
|
---|
1240 | char __RPC_FAR *User;
|
---|
1241 | char __RPC_FAR *Domain;
|
---|
1242 | char __RPC_FAR *Password;
|
---|
1243 | } SEC_WINNT_AUTH_IDENTITY;
|
---|
1244 | #else
|
---|
1245 |
|
---|
1246 |
|
---|
1247 | #define SEC_WINNT_AUTH_IDENTITY_ANSI 0x1
|
---|
1248 | #define SEC_WINNT_AUTH_IDENTITY_UNICODE 0x2
|
---|
1249 |
|
---|
1250 | typedef struct _SEC_WINNT_AUTH_IDENTITY_W {
|
---|
1251 | unsigned short __RPC_FAR *User;
|
---|
1252 | unsigned long UserLength;
|
---|
1253 | unsigned short __RPC_FAR *Domain;
|
---|
1254 | unsigned long DomainLength;
|
---|
1255 | unsigned short __RPC_FAR *Password;
|
---|
1256 | unsigned long PasswordLength;
|
---|
1257 | unsigned long Flags;
|
---|
1258 | } SEC_WINNT_AUTH_IDENTITY_W, *PSEC_WINNT_AUTH_IDENTITY_W;
|
---|
1259 |
|
---|
1260 | typedef struct _SEC_WINNT_AUTH_IDENTITY_A {
|
---|
1261 | unsigned char __RPC_FAR *User;
|
---|
1262 | unsigned long UserLength;
|
---|
1263 | unsigned char __RPC_FAR *Domain;
|
---|
1264 | unsigned long DomainLength;
|
---|
1265 | unsigned char __RPC_FAR *Password;
|
---|
1266 | unsigned long PasswordLength;
|
---|
1267 | unsigned long Flags;
|
---|
1268 | } SEC_WINNT_AUTH_IDENTITY_A, *PSEC_WINNT_AUTH_IDENTITY_A;
|
---|
1269 |
|
---|
1270 |
|
---|
1271 | #ifdef UNICODE
|
---|
1272 | #define SEC_WINNT_AUTH_IDENTITY SEC_WINNT_AUTH_IDENTITY_W
|
---|
1273 | #define PSEC_WINNT_AUTH_IDENTITY PSEC_WINNT_AUTH_IDENTITY_W
|
---|
1274 | #define _SEC_WINNT_AUTH_IDENTITY _SEC_WINNT_AUTH_IDENTITY_W
|
---|
1275 | #else // UNICODE
|
---|
1276 | #define SEC_WINNT_AUTH_IDENTITY SEC_WINNT_AUTH_IDENTITY_A
|
---|
1277 | #define PSEC_WINNT_AUTH_IDENTITY PSEC_WINNT_AUTH_IDENTITY_A
|
---|
1278 | #define _SEC_WINNT_AUTH_IDENTITY _SEC_WINNT_AUTH_IDENTITY_A
|
---|
1279 | #endif // UNICODE
|
---|
1280 | #endif // defined(__RPC_DOS__) || defined(__RPC_WIN16__)
|
---|
1281 |
|
---|
1282 | #define RPC_C_AUTHZ_NONE 0
|
---|
1283 | #define RPC_C_AUTHZ_NAME 1
|
---|
1284 | #define RPC_C_AUTHZ_DCE 2
|
---|
1285 |
|
---|
1286 | #ifdef RPC_UNICODE_SUPPORTED
|
---|
1287 |
|
---|
1288 | RPCRTAPI
|
---|
1289 | RPC_STATUS
|
---|
1290 | RPC_ENTRY
|
---|
1291 | RpcBindingInqAuthClientA (
|
---|
1292 | IN RPC_BINDING_HANDLE ClientBinding, OPTIONAL
|
---|
1293 | OUT RPC_AUTHZ_HANDLE __RPC_FAR * Privs,
|
---|
1294 | OUT unsigned char __RPC_FAR * __RPC_FAR * ServerPrincName, OPTIONAL
|
---|
1295 | OUT unsigned long __RPC_FAR * AuthnLevel, OPTIONAL
|
---|
1296 | OUT unsigned long __RPC_FAR * AuthnSvc, OPTIONAL
|
---|
1297 | OUT unsigned long __RPC_FAR * AuthzSvc OPTIONAL
|
---|
1298 | );
|
---|
1299 |
|
---|
1300 | RPCRTAPI
|
---|
1301 | RPC_STATUS
|
---|
1302 | RPC_ENTRY
|
---|
1303 | RpcBindingInqAuthClientW (
|
---|
1304 | IN RPC_BINDING_HANDLE ClientBinding, OPTIONAL
|
---|
1305 | OUT RPC_AUTHZ_HANDLE __RPC_FAR * Privs,
|
---|
1306 | OUT unsigned short __RPC_FAR * __RPC_FAR * ServerPrincName, OPTIONAL
|
---|
1307 | OUT unsigned long __RPC_FAR * AuthnLevel, OPTIONAL
|
---|
1308 | OUT unsigned long __RPC_FAR * AuthnSvc, OPTIONAL
|
---|
1309 | OUT unsigned long __RPC_FAR * AuthzSvc OPTIONAL
|
---|
1310 | );
|
---|
1311 |
|
---|
1312 | RPCRTAPI
|
---|
1313 | RPC_STATUS
|
---|
1314 | RPC_ENTRY
|
---|
1315 | RpcBindingInqAuthInfoA (
|
---|
1316 | IN RPC_BINDING_HANDLE Binding,
|
---|
1317 | OUT unsigned char __RPC_FAR * __RPC_FAR * ServerPrincName, OPTIONAL
|
---|
1318 | OUT unsigned long __RPC_FAR * AuthnLevel, OPTIONAL
|
---|
1319 | OUT unsigned long __RPC_FAR * AuthnSvc, OPTIONAL
|
---|
1320 | OUT RPC_AUTH_IDENTITY_HANDLE __RPC_FAR * AuthIdentity, OPTIONAL
|
---|
1321 | OUT unsigned long __RPC_FAR * AuthzSvc OPTIONAL
|
---|
1322 | );
|
---|
1323 |
|
---|
1324 | RPCRTAPI
|
---|
1325 | RPC_STATUS
|
---|
1326 | RPC_ENTRY
|
---|
1327 | RpcBindingInqAuthInfoW (
|
---|
1328 | IN RPC_BINDING_HANDLE Binding,
|
---|
1329 | OUT unsigned short __RPC_FAR * __RPC_FAR * ServerPrincName, OPTIONAL
|
---|
1330 | OUT unsigned long __RPC_FAR * AuthnLevel, OPTIONAL
|
---|
1331 | OUT unsigned long __RPC_FAR * AuthnSvc, OPTIONAL
|
---|
1332 | OUT RPC_AUTH_IDENTITY_HANDLE __RPC_FAR * AuthIdentity, OPTIONAL
|
---|
1333 | OUT unsigned long __RPC_FAR * AuthzSvc OPTIONAL
|
---|
1334 | );
|
---|
1335 |
|
---|
1336 | RPCRTAPI
|
---|
1337 | RPC_STATUS
|
---|
1338 | RPC_ENTRY
|
---|
1339 | RpcBindingSetAuthInfoA (
|
---|
1340 | IN RPC_BINDING_HANDLE Binding,
|
---|
1341 | IN unsigned char __RPC_FAR * ServerPrincName,
|
---|
1342 | IN unsigned long AuthnLevel,
|
---|
1343 | IN unsigned long AuthnSvc,
|
---|
1344 | IN RPC_AUTH_IDENTITY_HANDLE AuthIdentity, OPTIONAL
|
---|
1345 | IN unsigned long AuthzSvc
|
---|
1346 | );
|
---|
1347 |
|
---|
1348 | RPCRTAPI
|
---|
1349 | RPC_STATUS
|
---|
1350 | RPC_ENTRY
|
---|
1351 | RpcBindingSetAuthInfoExA (
|
---|
1352 | IN RPC_BINDING_HANDLE Binding,
|
---|
1353 | IN unsigned char __RPC_FAR * ServerPrincName,
|
---|
1354 | IN unsigned long AuthnLevel,
|
---|
1355 | IN unsigned long AuthnSvc,
|
---|
1356 | IN RPC_AUTH_IDENTITY_HANDLE AuthIdentity, OPTIONAL
|
---|
1357 | IN unsigned long AuthzSvc,
|
---|
1358 | IN RPC_SECURITY_QOS *SecurityQos OPTIONAL
|
---|
1359 | );
|
---|
1360 |
|
---|
1361 | RPCRTAPI
|
---|
1362 | RPC_STATUS
|
---|
1363 | RPC_ENTRY
|
---|
1364 | RpcBindingSetAuthInfoW (
|
---|
1365 | IN RPC_BINDING_HANDLE Binding,
|
---|
1366 | IN unsigned short __RPC_FAR * ServerPrincName,
|
---|
1367 | IN unsigned long AuthnLevel,
|
---|
1368 | IN unsigned long AuthnSvc,
|
---|
1369 | IN RPC_AUTH_IDENTITY_HANDLE AuthIdentity, OPTIONAL
|
---|
1370 | IN unsigned long AuthzSvc
|
---|
1371 | );
|
---|
1372 |
|
---|
1373 | RPCRTAPI
|
---|
1374 | RPC_STATUS
|
---|
1375 | RPC_ENTRY
|
---|
1376 | RpcBindingSetAuthInfoExW (
|
---|
1377 | IN RPC_BINDING_HANDLE Binding,
|
---|
1378 | IN unsigned short __RPC_FAR * ServerPrincName,
|
---|
1379 | IN unsigned long AuthnLevel,
|
---|
1380 | IN unsigned long AuthnSvc,
|
---|
1381 | IN RPC_AUTH_IDENTITY_HANDLE AuthIdentity, OPTIONAL
|
---|
1382 | IN unsigned long AuthzSvc, OPTIONAL
|
---|
1383 | IN RPC_SECURITY_QOS *SecurityQOS
|
---|
1384 | );
|
---|
1385 |
|
---|
1386 | RPCRTAPI
|
---|
1387 | RPC_STATUS
|
---|
1388 | RPC_ENTRY
|
---|
1389 | RpcBindingInqAuthInfoExA (
|
---|
1390 | IN RPC_BINDING_HANDLE Binding,
|
---|
1391 | OUT unsigned char __RPC_FAR * __RPC_FAR * ServerPrincName, OPTIONAL
|
---|
1392 | OUT unsigned long __RPC_FAR * AuthnLevel, OPTIONAL
|
---|
1393 | OUT unsigned long __RPC_FAR * AuthnSvc, OPTIONAL
|
---|
1394 | OUT RPC_AUTH_IDENTITY_HANDLE __RPC_FAR * AuthIdentity, OPTIONAL
|
---|
1395 | OUT unsigned long __RPC_FAR * AuthzSvc, OPTIONAL
|
---|
1396 | IN unsigned long RpcQosVersion,
|
---|
1397 | OUT RPC_SECURITY_QOS *SecurityQOS
|
---|
1398 | );
|
---|
1399 |
|
---|
1400 | RPCRTAPI
|
---|
1401 | RPC_STATUS
|
---|
1402 | RPC_ENTRY
|
---|
1403 | RpcBindingInqAuthInfoExW (
|
---|
1404 | IN RPC_BINDING_HANDLE Binding,
|
---|
1405 | OUT unsigned short __RPC_FAR * __RPC_FAR * ServerPrincName, OPTIONAL
|
---|
1406 | OUT unsigned long __RPC_FAR * AuthnLevel, OPTIONAL
|
---|
1407 | OUT unsigned long __RPC_FAR * AuthnSvc, OPTIONAL
|
---|
1408 | OUT RPC_AUTH_IDENTITY_HANDLE __RPC_FAR * AuthIdentity, OPTIONAL
|
---|
1409 | OUT unsigned long __RPC_FAR * AuthzSvc OPTIONAL,
|
---|
1410 | IN unsigned long RpcQosVersion,
|
---|
1411 | OUT RPC_SECURITY_QOS *SecurityQOS
|
---|
1412 | );
|
---|
1413 |
|
---|
1414 | typedef void
|
---|
1415 | (__RPC_USER * RPC_AUTH_KEY_RETRIEVAL_FN) (
|
---|
1416 | IN void __RPC_FAR * Arg,
|
---|
1417 | IN unsigned short __RPC_FAR * ServerPrincName,
|
---|
1418 | IN unsigned long KeyVer,
|
---|
1419 | OUT void __RPC_FAR * __RPC_FAR * Key,
|
---|
1420 | OUT RPC_STATUS __RPC_FAR * Status
|
---|
1421 | );
|
---|
1422 |
|
---|
1423 | RPCRTAPI
|
---|
1424 | RPC_STATUS
|
---|
1425 | RPC_ENTRY
|
---|
1426 | RpcServerRegisterAuthInfoA (
|
---|
1427 | IN unsigned char __RPC_FAR * ServerPrincName,
|
---|
1428 | IN unsigned long AuthnSvc,
|
---|
1429 | IN RPC_AUTH_KEY_RETRIEVAL_FN GetKeyFn OPTIONAL,
|
---|
1430 | IN void __RPC_FAR * Arg OPTIONAL
|
---|
1431 | );
|
---|
1432 |
|
---|
1433 | RPCRTAPI
|
---|
1434 | RPC_STATUS
|
---|
1435 | RPC_ENTRY
|
---|
1436 | RpcServerRegisterAuthInfoW (
|
---|
1437 | IN unsigned short __RPC_FAR * ServerPrincName,
|
---|
1438 | IN unsigned long AuthnSvc,
|
---|
1439 | IN RPC_AUTH_KEY_RETRIEVAL_FN GetKeyFn OPTIONAL,
|
---|
1440 | IN void __RPC_FAR * Arg OPTIONAL
|
---|
1441 | );
|
---|
1442 |
|
---|
1443 | #ifdef UNICODE
|
---|
1444 | #define RpcBindingInqAuthClient RpcBindingInqAuthClientW
|
---|
1445 | #define RpcBindingInqAuthInfo RpcBindingInqAuthInfoW
|
---|
1446 | #define RpcBindingSetAuthInfo RpcBindingSetAuthInfoW
|
---|
1447 | #define RpcServerRegisterAuthInfo RpcServerRegisterAuthInfoW
|
---|
1448 | #define RpcBindingInqAuthInfoEx RpcBindingInqAuthInfoExW
|
---|
1449 | #define RpcBindingSetAuthInfoEx RpcBindingSetAuthInfoExW
|
---|
1450 | #else /* UNICODE */
|
---|
1451 | #define RpcBindingInqAuthClient RpcBindingInqAuthClientA
|
---|
1452 | #define RpcBindingInqAuthInfo RpcBindingInqAuthInfoA
|
---|
1453 | #define RpcBindingSetAuthInfo RpcBindingSetAuthInfoA
|
---|
1454 | #define RpcServerRegisterAuthInfo RpcServerRegisterAuthInfoA
|
---|
1455 | #define RpcBindingInqAuthInfoEx RpcBindingInqAuthInfoExA
|
---|
1456 | #define RpcBindingSetAuthInfoEx RpcBindingSetAuthInfoExA
|
---|
1457 | #endif /* UNICODE */
|
---|
1458 |
|
---|
1459 | #else /* RPC_UNICODE_SUPPORTED */
|
---|
1460 |
|
---|
1461 | RPCRTAPI
|
---|
1462 | RPC_STATUS
|
---|
1463 | RPC_ENTRY
|
---|
1464 | RpcBindingInqAuthClient (
|
---|
1465 | IN RPC_BINDING_HANDLE ClientBinding, OPTIONAL
|
---|
1466 | OUT RPC_AUTHZ_HANDLE __RPC_FAR * Privs,
|
---|
1467 | OUT unsigned char __RPC_FAR * __RPC_FAR * ServerPrincName, OPTIONAL
|
---|
1468 | OUT unsigned long __RPC_FAR * AuthnLevel, OPTIONAL
|
---|
1469 | OUT unsigned long __RPC_FAR * AuthnSvc, OPTIONAL
|
---|
1470 | OUT unsigned long __RPC_FAR * AuthzSvc OPTIONAL
|
---|
1471 | );
|
---|
1472 |
|
---|
1473 | RPCRTAPI
|
---|
1474 | RPC_STATUS
|
---|
1475 | RPC_ENTRY
|
---|
1476 | RpcBindingInqAuthInfo (
|
---|
1477 | IN RPC_BINDING_HANDLE Binding,
|
---|
1478 | OUT unsigned char __RPC_FAR * __RPC_FAR * ServerPrincName, OPTIONAL
|
---|
1479 | OUT unsigned long __RPC_FAR * AuthnLevel, OPTIONAL
|
---|
1480 | OUT unsigned long __RPC_FAR * AuthnSvc, OPTIONAL
|
---|
1481 | OUT RPC_AUTH_IDENTITY_HANDLE __RPC_FAR * AuthIdentity, OPTIONAL
|
---|
1482 | OUT unsigned long __RPC_FAR * AuthzSvc OPTIONAL
|
---|
1483 | );
|
---|
1484 |
|
---|
1485 | RPCRTAPI
|
---|
1486 | RPC_STATUS
|
---|
1487 | RPC_ENTRY
|
---|
1488 | RpcBindingSetAuthInfo (
|
---|
1489 | IN RPC_BINDING_HANDLE Binding,
|
---|
1490 | IN unsigned char __RPC_FAR * ServerPrincName,
|
---|
1491 | IN unsigned long AuthnLevel,
|
---|
1492 | IN unsigned long AuthnSvc,
|
---|
1493 | IN RPC_AUTH_IDENTITY_HANDLE AuthIdentity, OPTIONAL
|
---|
1494 | IN unsigned long AuthzSvc
|
---|
1495 | );
|
---|
1496 |
|
---|
1497 | typedef void
|
---|
1498 | (__RPC_USER * RPC_AUTH_KEY_RETRIEVAL_FN) (
|
---|
1499 | IN void __RPC_FAR * Arg,
|
---|
1500 | IN unsigned char __RPC_FAR * ServerPrincName,
|
---|
1501 | IN unsigned long KeyVer,
|
---|
1502 | OUT void __RPC_FAR * __RPC_FAR * Key,
|
---|
1503 | OUT RPC_STATUS __RPC_FAR * Status
|
---|
1504 | );
|
---|
1505 |
|
---|
1506 | RPCRTAPI
|
---|
1507 | RPC_STATUS
|
---|
1508 | RPC_ENTRY
|
---|
1509 | RpcServerRegisterAuthInfo (
|
---|
1510 | IN unsigned char __RPC_FAR * ServerPrincName,
|
---|
1511 | IN unsigned long AuthnSvc,
|
---|
1512 | IN RPC_AUTH_KEY_RETRIEVAL_FN GetKeyFn OPTIONAL,
|
---|
1513 | IN void __RPC_FAR * Arg OPTIONAL
|
---|
1514 | );
|
---|
1515 |
|
---|
1516 | #endif /* RPC_UNICODE_SUPPORTED */
|
---|
1517 |
|
---|
1518 | typedef struct {
|
---|
1519 | unsigned char __RPC_FAR * UserName;
|
---|
1520 | unsigned char __RPC_FAR * ComputerName;
|
---|
1521 | unsigned short Privilege;
|
---|
1522 | unsigned long AuthFlags;
|
---|
1523 | } RPC_CLIENT_INFORMATION1, __RPC_FAR * PRPC_CLIENT_INFORMATION1;
|
---|
1524 |
|
---|
1525 | RPCRTAPI
|
---|
1526 | RPC_STATUS
|
---|
1527 | RPC_ENTRY
|
---|
1528 | RpcBindingServerFromClient (
|
---|
1529 | IN RPC_BINDING_HANDLE ClientBinding,
|
---|
1530 | OUT RPC_BINDING_HANDLE __RPC_FAR * ServerBinding
|
---|
1531 | );
|
---|
1532 |
|
---|
1533 | RPCRTAPI
|
---|
1534 | void
|
---|
1535 | RPC_ENTRY
|
---|
1536 | RpcRaiseException (
|
---|
1537 | IN RPC_STATUS exception
|
---|
1538 | );
|
---|
1539 |
|
---|
1540 | RPCRTAPI
|
---|
1541 | RPC_STATUS
|
---|
1542 | RPC_ENTRY
|
---|
1543 | RpcTestCancel(
|
---|
1544 | );
|
---|
1545 |
|
---|
1546 | RPCRTAPI
|
---|
1547 | RPC_STATUS
|
---|
1548 | RPC_ENTRY
|
---|
1549 | RpcServerTestCancel (
|
---|
1550 | IN RPC_BINDING_HANDLE BindingHandle OPTIONAL
|
---|
1551 | );
|
---|
1552 |
|
---|
1553 | RPCRTAPI
|
---|
1554 | RPC_STATUS
|
---|
1555 | RPC_ENTRY
|
---|
1556 | RpcCancelThread(
|
---|
1557 | IN void * Thread
|
---|
1558 | );
|
---|
1559 |
|
---|
1560 | /* client/server */
|
---|
1561 | RPCRTAPI
|
---|
1562 | RPC_STATUS
|
---|
1563 | RPC_ENTRY
|
---|
1564 | UuidCreate (
|
---|
1565 | OUT UUID __RPC_FAR * Uuid
|
---|
1566 | );
|
---|
1567 |
|
---|
1568 | #ifdef RPC_UNICODE_SUPPORTED
|
---|
1569 |
|
---|
1570 | /* client/server */
|
---|
1571 | RPCRTAPI
|
---|
1572 | RPC_STATUS
|
---|
1573 | RPC_ENTRY
|
---|
1574 | UuidToStringA (
|
---|
1575 | IN UUID __RPC_FAR * Uuid,
|
---|
1576 | OUT unsigned char __RPC_FAR * __RPC_FAR * StringUuid
|
---|
1577 | );
|
---|
1578 |
|
---|
1579 | /* client/server */
|
---|
1580 | RPCRTAPI
|
---|
1581 | RPC_STATUS
|
---|
1582 | RPC_ENTRY
|
---|
1583 | UuidFromStringA (
|
---|
1584 | IN unsigned char __RPC_FAR * StringUuid,
|
---|
1585 | OUT UUID __RPC_FAR * Uuid
|
---|
1586 | );
|
---|
1587 |
|
---|
1588 | /* client/server */
|
---|
1589 | RPCRTAPI
|
---|
1590 | RPC_STATUS
|
---|
1591 | RPC_ENTRY
|
---|
1592 | UuidToStringW (
|
---|
1593 | IN UUID __RPC_FAR * Uuid,
|
---|
1594 | OUT unsigned short __RPC_FAR * __RPC_FAR * StringUuid
|
---|
1595 | );
|
---|
1596 |
|
---|
1597 | /* client/server */
|
---|
1598 | RPCRTAPI
|
---|
1599 | RPC_STATUS
|
---|
1600 | RPC_ENTRY
|
---|
1601 | UuidFromStringW (
|
---|
1602 | IN unsigned short __RPC_FAR * StringUuid,
|
---|
1603 | OUT UUID __RPC_FAR * Uuid
|
---|
1604 | );
|
---|
1605 |
|
---|
1606 | #ifdef UNICODE
|
---|
1607 | #define UuidFromString UuidFromStringW
|
---|
1608 | #define UuidToString UuidToStringW
|
---|
1609 | #else /* UNICODE */
|
---|
1610 | #define UuidFromString UuidFromStringA
|
---|
1611 | #define UuidToString UuidToStringA
|
---|
1612 | #endif /* UNICODE */
|
---|
1613 |
|
---|
1614 | #else /* RPC_UNICODE_SUPPORTED */
|
---|
1615 |
|
---|
1616 | /* client/server */
|
---|
1617 | RPCRTAPI
|
---|
1618 | RPC_STATUS
|
---|
1619 | RPC_ENTRY
|
---|
1620 | UuidToString (
|
---|
1621 | IN UUID __RPC_FAR * Uuid,
|
---|
1622 | OUT unsigned char __RPC_FAR * __RPC_FAR * StringUuid
|
---|
1623 | );
|
---|
1624 |
|
---|
1625 | /* client/server */
|
---|
1626 | RPCRTAPI
|
---|
1627 | RPC_STATUS
|
---|
1628 | RPC_ENTRY
|
---|
1629 | UuidFromString (
|
---|
1630 | IN unsigned char __RPC_FAR * StringUuid,
|
---|
1631 | OUT UUID __RPC_FAR * Uuid
|
---|
1632 | );
|
---|
1633 |
|
---|
1634 | #endif /* RPC_UNICODE_SUPPORTED */
|
---|
1635 |
|
---|
1636 | RPCRTAPI
|
---|
1637 | signed int
|
---|
1638 | RPC_ENTRY
|
---|
1639 | UuidCompare (
|
---|
1640 | IN UUID __RPC_FAR * Uuid1,
|
---|
1641 | IN UUID __RPC_FAR * Uuid2,
|
---|
1642 | OUT RPC_STATUS __RPC_FAR * Status
|
---|
1643 | );
|
---|
1644 |
|
---|
1645 | RPCRTAPI
|
---|
1646 | RPC_STATUS
|
---|
1647 | RPC_ENTRY
|
---|
1648 | UuidCreateNil (
|
---|
1649 | OUT UUID __RPC_FAR * NilUuid
|
---|
1650 | );
|
---|
1651 |
|
---|
1652 | RPCRTAPI
|
---|
1653 | int
|
---|
1654 | RPC_ENTRY
|
---|
1655 | UuidEqual (
|
---|
1656 | IN UUID __RPC_FAR * Uuid1,
|
---|
1657 | IN UUID __RPC_FAR * Uuid2,
|
---|
1658 | OUT RPC_STATUS __RPC_FAR * Status
|
---|
1659 | );
|
---|
1660 |
|
---|
1661 | RPCRTAPI
|
---|
1662 | unsigned short
|
---|
1663 | RPC_ENTRY
|
---|
1664 | UuidHash (
|
---|
1665 | IN UUID __RPC_FAR * Uuid,
|
---|
1666 | OUT RPC_STATUS __RPC_FAR * Status
|
---|
1667 | );
|
---|
1668 |
|
---|
1669 | RPCRTAPI
|
---|
1670 | int
|
---|
1671 | RPC_ENTRY
|
---|
1672 | UuidIsNil (
|
---|
1673 | IN UUID __RPC_FAR * Uuid,
|
---|
1674 | OUT RPC_STATUS __RPC_FAR * Status
|
---|
1675 | );
|
---|
1676 |
|
---|
1677 | #ifdef RPC_UNICODE_SUPPORTED
|
---|
1678 |
|
---|
1679 | RPCRTAPI
|
---|
1680 | RPC_STATUS
|
---|
1681 | RPC_ENTRY
|
---|
1682 | RpcEpRegisterNoReplaceA (
|
---|
1683 | IN RPC_IF_HANDLE IfSpec,
|
---|
1684 | IN RPC_BINDING_VECTOR * BindingVector,
|
---|
1685 | IN UUID_VECTOR * UuidVector OPTIONAL,
|
---|
1686 | IN unsigned char * Annotation
|
---|
1687 | );
|
---|
1688 |
|
---|
1689 | RPCRTAPI
|
---|
1690 | RPC_STATUS
|
---|
1691 | RPC_ENTRY
|
---|
1692 | RpcEpRegisterNoReplaceW (
|
---|
1693 | IN RPC_IF_HANDLE IfSpec,
|
---|
1694 | IN RPC_BINDING_VECTOR * BindingVector,
|
---|
1695 | IN UUID_VECTOR * UuidVector OPTIONAL,
|
---|
1696 | IN unsigned short * Annotation
|
---|
1697 | );
|
---|
1698 |
|
---|
1699 | RPCRTAPI
|
---|
1700 | RPC_STATUS
|
---|
1701 | RPC_ENTRY
|
---|
1702 | RpcEpRegisterA (
|
---|
1703 | IN RPC_IF_HANDLE IfSpec,
|
---|
1704 | IN RPC_BINDING_VECTOR * BindingVector,
|
---|
1705 | IN UUID_VECTOR * UuidVector OPTIONAL,
|
---|
1706 | IN unsigned char * Annotation
|
---|
1707 | );
|
---|
1708 |
|
---|
1709 | RPCRTAPI
|
---|
1710 | RPC_STATUS
|
---|
1711 | RPC_ENTRY
|
---|
1712 | RpcEpRegisterW (
|
---|
1713 | IN RPC_IF_HANDLE IfSpec,
|
---|
1714 | IN RPC_BINDING_VECTOR * BindingVector,
|
---|
1715 | IN UUID_VECTOR * UuidVector OPTIONAL,
|
---|
1716 | IN unsigned short * Annotation
|
---|
1717 | );
|
---|
1718 |
|
---|
1719 | #ifdef UNICODE
|
---|
1720 | #define RpcEpRegisterNoReplace RpcEpRegisterNoReplaceW
|
---|
1721 | #define RpcEpRegister RpcEpRegisterW
|
---|
1722 | #else /* UNICODE */
|
---|
1723 | #define RpcEpRegisterNoReplace RpcEpRegisterNoReplaceA
|
---|
1724 | #define RpcEpRegister RpcEpRegisterA
|
---|
1725 | #endif /* UNICODE */
|
---|
1726 |
|
---|
1727 | #else /* RPC_UNICODE_SUPPORTED */
|
---|
1728 |
|
---|
1729 | RPCRTAPI
|
---|
1730 | RPC_STATUS
|
---|
1731 | RPC_ENTRY
|
---|
1732 | RpcEpRegisterNoReplace (
|
---|
1733 | IN RPC_IF_HANDLE IfSpec,
|
---|
1734 | IN RPC_BINDING_VECTOR * BindingVector,
|
---|
1735 | IN UUID_VECTOR * UuidVector OPTIONAL,
|
---|
1736 | IN unsigned char * Annotation
|
---|
1737 | );
|
---|
1738 |
|
---|
1739 | RPCRTAPI
|
---|
1740 | RPC_STATUS
|
---|
1741 | RPC_ENTRY
|
---|
1742 | RpcEpRegister (
|
---|
1743 | IN RPC_IF_HANDLE IfSpec,
|
---|
1744 | IN RPC_BINDING_VECTOR * BindingVector,
|
---|
1745 | IN UUID_VECTOR * UuidVector OPTIONAL,
|
---|
1746 | IN unsigned char * Annotation
|
---|
1747 | );
|
---|
1748 |
|
---|
1749 | #endif /* RPC_UNICODE_SUPPORTED */
|
---|
1750 |
|
---|
1751 |
|
---|
1752 | RPCRTAPI
|
---|
1753 | RPC_STATUS
|
---|
1754 | RPC_ENTRY
|
---|
1755 | RpcEpUnregister(
|
---|
1756 | IN RPC_IF_HANDLE IfSpec,
|
---|
1757 | IN RPC_BINDING_VECTOR * BindingVector,
|
---|
1758 | IN UUID_VECTOR * UuidVector
|
---|
1759 | );
|
---|
1760 |
|
---|
1761 | #ifdef RPC_UNICODE_SUPPORTED
|
---|
1762 |
|
---|
1763 | RPCRTAPI
|
---|
1764 | RPC_STATUS
|
---|
1765 | RPC_ENTRY
|
---|
1766 | DceErrorInqTextA (
|
---|
1767 | IN RPC_STATUS RpcStatus,
|
---|
1768 | OUT unsigned char __RPC_FAR * ErrorText
|
---|
1769 | );
|
---|
1770 |
|
---|
1771 | RPCRTAPI
|
---|
1772 | RPC_STATUS
|
---|
1773 | RPC_ENTRY
|
---|
1774 | DceErrorInqTextW (
|
---|
1775 | IN RPC_STATUS RpcStatus,
|
---|
1776 | OUT unsigned short __RPC_FAR * ErrorText
|
---|
1777 | );
|
---|
1778 |
|
---|
1779 | #ifdef UNICODE
|
---|
1780 | #define DceErrorInqText DceErrorInqTextW
|
---|
1781 | #else /* UNICODE */
|
---|
1782 | #define DceErrorInqText DceErrorInqTextA
|
---|
1783 | #endif /* UNICODE */
|
---|
1784 |
|
---|
1785 | #else /* RPC_UNICODE_SUPPORTED */
|
---|
1786 |
|
---|
1787 | RPCRTAPI
|
---|
1788 | RPC_STATUS
|
---|
1789 | RPC_ENTRY
|
---|
1790 | DceErrorInqText (
|
---|
1791 | IN RPC_STATUS RpcStatus,
|
---|
1792 | OUT unsigned char __RPC_FAR * ErrorText
|
---|
1793 | );
|
---|
1794 |
|
---|
1795 | #endif /* RPC_UNICODE_SUPPORTED */
|
---|
1796 |
|
---|
1797 | #define DCE_C_ERROR_STRING_LEN 256
|
---|
1798 |
|
---|
1799 | typedef I_RPC_HANDLE * RPC_EP_INQ_HANDLE;
|
---|
1800 |
|
---|
1801 | #define RPC_C_EP_ALL_ELTS 0
|
---|
1802 | #define RPC_C_EP_MATCH_BY_IF 1
|
---|
1803 | #define RPC_C_EP_MATCH_BY_OBJ 2
|
---|
1804 | #define RPC_C_EP_MATCH_BY_BOTH 3
|
---|
1805 |
|
---|
1806 | #define RPC_C_VERS_ALL 1
|
---|
1807 | #define RPC_C_VERS_COMPATIBLE 2
|
---|
1808 | #define RPC_C_VERS_EXACT 3
|
---|
1809 | #define RPC_C_VERS_MAJOR_ONLY 4
|
---|
1810 | #define RPC_C_VERS_UPTO 5
|
---|
1811 |
|
---|
1812 | RPCRTAPI
|
---|
1813 | RPC_STATUS
|
---|
1814 | RPC_ENTRY
|
---|
1815 | RpcMgmtEpEltInqBegin (
|
---|
1816 | IN RPC_BINDING_HANDLE EpBinding OPTIONAL,
|
---|
1817 | IN unsigned long InquiryType,
|
---|
1818 | IN RPC_IF_ID __RPC_FAR * IfId OPTIONAL,
|
---|
1819 | IN unsigned long VersOption OPTIONAL,
|
---|
1820 | IN UUID __RPC_FAR * ObjectUuid OPTIONAL,
|
---|
1821 | OUT RPC_EP_INQ_HANDLE __RPC_FAR * InquiryContext
|
---|
1822 | );
|
---|
1823 |
|
---|
1824 | RPCRTAPI
|
---|
1825 | RPC_STATUS
|
---|
1826 | RPC_ENTRY
|
---|
1827 | RpcMgmtEpEltInqDone (
|
---|
1828 | IN OUT RPC_EP_INQ_HANDLE __RPC_FAR * InquiryContext
|
---|
1829 | );
|
---|
1830 |
|
---|
1831 | #ifdef RPC_UNICODE_SUPPORTED
|
---|
1832 |
|
---|
1833 | RPCRTAPI
|
---|
1834 | RPC_STATUS
|
---|
1835 | RPC_ENTRY
|
---|
1836 | RpcMgmtEpEltInqNextA (
|
---|
1837 | IN RPC_EP_INQ_HANDLE InquiryContext,
|
---|
1838 | OUT RPC_IF_ID __RPC_FAR * IfId,
|
---|
1839 | OUT RPC_BINDING_HANDLE __RPC_FAR * Binding OPTIONAL,
|
---|
1840 | OUT UUID __RPC_FAR * ObjectUuid OPTIONAL,
|
---|
1841 | OUT unsigned char __RPC_FAR * __RPC_FAR * Annotation OPTIONAL
|
---|
1842 | );
|
---|
1843 |
|
---|
1844 | RPCRTAPI
|
---|
1845 | RPC_STATUS
|
---|
1846 | RPC_ENTRY
|
---|
1847 | RpcMgmtEpEltInqNextW (
|
---|
1848 | IN RPC_EP_INQ_HANDLE InquiryContext,
|
---|
1849 | OUT RPC_IF_ID __RPC_FAR * IfId,
|
---|
1850 | OUT RPC_BINDING_HANDLE __RPC_FAR * Binding OPTIONAL,
|
---|
1851 | OUT UUID __RPC_FAR * ObjectUuid OPTIONAL,
|
---|
1852 | OUT unsigned short __RPC_FAR * __RPC_FAR * Annotation OPTIONAL
|
---|
1853 | );
|
---|
1854 |
|
---|
1855 | #ifdef UNICODE
|
---|
1856 | #define RpcMgmtEpEltInqNext RpcMgmtEpEltInqNextW
|
---|
1857 | #else /* UNICODE */
|
---|
1858 | #define RpcMgmtEpEltInqNext RpcMgmtEpEltInqNextA
|
---|
1859 | #endif /* UNICODE */
|
---|
1860 |
|
---|
1861 | #else /* RPC_UNICODE_SUPPORTED */
|
---|
1862 |
|
---|
1863 | RPCRTAPI
|
---|
1864 | RPC_STATUS
|
---|
1865 | RPC_ENTRY
|
---|
1866 | RpcMgmtEpEltInqNext (
|
---|
1867 | IN RPC_EP_INQ_HANDLE InquiryContext,
|
---|
1868 | OUT RPC_IF_ID __RPC_FAR * IfId,
|
---|
1869 | OUT RPC_BINDING_HANDLE __RPC_FAR * Binding OPTIONAL,
|
---|
1870 | OUT unsigned char __RPC_FAR * __RPC_FAR * Annotation OPTIONAL
|
---|
1871 | );
|
---|
1872 |
|
---|
1873 | #endif /* RPC_UNICODE_SUPPORTED */
|
---|
1874 |
|
---|
1875 | RPCRTAPI
|
---|
1876 | RPC_STATUS
|
---|
1877 | RPC_ENTRY
|
---|
1878 | RpcMgmtEpUnregister (
|
---|
1879 | IN RPC_BINDING_HANDLE EpBinding OPTIONAL,
|
---|
1880 | IN RPC_IF_ID __RPC_FAR * IfId,
|
---|
1881 | IN RPC_BINDING_HANDLE Binding,
|
---|
1882 | IN UUID __RPC_FAR * ObjectUuid OPTIONAL
|
---|
1883 | );
|
---|
1884 |
|
---|
1885 | typedef int
|
---|
1886 | (__RPC_API * RPC_MGMT_AUTHORIZATION_FN) (
|
---|
1887 | IN RPC_BINDING_HANDLE ClientBinding,
|
---|
1888 | IN unsigned long RequestedMgmtOperation,
|
---|
1889 | OUT RPC_STATUS __RPC_FAR * Status
|
---|
1890 | );
|
---|
1891 |
|
---|
1892 | #define RPC_C_MGMT_INQ_IF_IDS 0
|
---|
1893 | #define RPC_C_MGMT_INQ_PRINC_NAME 1
|
---|
1894 | #define RPC_C_MGMT_INQ_STATS 2
|
---|
1895 | #define RPC_C_MGMT_IS_SERVER_LISTEN 3
|
---|
1896 | #define RPC_C_MGMT_STOP_SERVER_LISTEN 4
|
---|
1897 |
|
---|
1898 | RPCRTAPI
|
---|
1899 | RPC_STATUS
|
---|
1900 | RPC_ENTRY
|
---|
1901 | RpcMgmtSetAuthorizationFn (
|
---|
1902 | IN RPC_MGMT_AUTHORIZATION_FN AuthorizationFn
|
---|
1903 | );
|
---|
1904 |
|
---|
1905 |
|
---|
1906 | #define RPC_C_PARM_MAX_PACKET_LENGTH 1
|
---|
1907 | #define RPC_C_PARM_BUFFER_LENGTH 2
|
---|
1908 |
|
---|
1909 | RPCRTAPI
|
---|
1910 | RPC_STATUS
|
---|
1911 | RPC_ENTRY
|
---|
1912 | RpcMgmtInqParameter (
|
---|
1913 | IN unsigned Parameter,
|
---|
1914 | IN unsigned long __RPC_FAR * Value
|
---|
1915 | );
|
---|
1916 |
|
---|
1917 | RPCRTAPI
|
---|
1918 | RPC_STATUS
|
---|
1919 | RPC_ENTRY
|
---|
1920 | RpcMgmtSetParameter (
|
---|
1921 | IN unsigned Parameter,
|
---|
1922 | IN unsigned long Value
|
---|
1923 | );
|
---|
1924 |
|
---|
1925 | RPCRTAPI
|
---|
1926 | RPC_STATUS
|
---|
1927 | RPC_ENTRY
|
---|
1928 | RpcMgmtBindingInqParameter (
|
---|
1929 | IN RPC_BINDING_HANDLE Handle,
|
---|
1930 | IN unsigned Parameter,
|
---|
1931 | IN unsigned long __RPC_FAR * Value
|
---|
1932 | );
|
---|
1933 |
|
---|
1934 | RPCRTAPI
|
---|
1935 | RPC_STATUS
|
---|
1936 | RPC_ENTRY
|
---|
1937 | RpcMgmtBindingSetParameter (
|
---|
1938 | IN RPC_BINDING_HANDLE Handle,
|
---|
1939 | IN unsigned Parameter,
|
---|
1940 | IN unsigned long Value
|
---|
1941 | );
|
---|
1942 |
|
---|
1943 | #define RPC_IF_AUTOLISTEN 0x0001
|
---|
1944 | #define RPC_IF_OLE 0x0002
|
---|
1945 |
|
---|
1946 | //#include <rpcdcep.h>
|
---|
1947 |
|
---|
1948 | #define RPC_S_OK ERROR_SUCCESS
|
---|
1949 | #define RPC_S_INVALID_ARG ERROR_INVALID_PARAMETER
|
---|
1950 | #define RPC_S_OUT_OF_MEMORY ERROR_OUTOFMEMORY
|
---|
1951 | #define RPC_S_OUT_OF_THREADS ERROR_MAX_THRDS_REACHED
|
---|
1952 | #define RPC_S_INVALID_LEVEL ERROR_INVALID_PARAMETER
|
---|
1953 | #define RPC_S_BUFFER_TOO_SMALL ERROR_INSUFFICIENT_BUFFER
|
---|
1954 | #define RPC_S_INVALID_SECURITY_DESC ERROR_INVALID_SECURITY_DESCR
|
---|
1955 | #define RPC_S_ACCESS_DENIED ERROR_ACCESS_DENIED
|
---|
1956 | #define RPC_S_SERVER_OUT_OF_MEMORY ERROR_NOT_ENOUGH_SERVER_MEMORY
|
---|
1957 | #define RPC_S_ASYNC_CALL_PENDING ERROR_IO_PENDING
|
---|
1958 |
|
---|
1959 | #define RPC_X_NO_MEMORY RPC_S_OUT_OF_MEMORY
|
---|
1960 | #define RPC_X_INVALID_BOUND RPC_S_INVALID_BOUND
|
---|
1961 | #define RPC_X_INVALID_TAG RPC_S_INVALID_TAG
|
---|
1962 | #define RPC_X_ENUM_VALUE_TOO_LARGE RPC_X_ENUM_VALUE_OUT_OF_RANGE
|
---|
1963 | #define RPC_X_SS_CONTEXT_MISMATCH ERROR_INVALID_HANDLE
|
---|
1964 | #define RPC_X_INVALID_BUFFER ERROR_INVALID_USER_BUFFER
|
---|
1965 | #define RPC_X_PIPE_APP_MEMORY ERROR_OUTOFMEMORY
|
---|
1966 | #define RPC_X_INVALID_PIPE_OPERATION RPC_X_WRONG_PIPE_ORDER
|
---|
1967 |
|
---|
1968 | #ifdef __cplusplus
|
---|
1969 | }
|
---|
1970 | #endif
|
---|
1971 |
|
---|
1972 | #endif /* __ODIN_RPCDCE_H__ */
|
---|