VirtualBox

source: vbox/trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/rpcdce.h@ 29775

Last change on this file since 29775 was 25949, checked in by vboxsync, 15 years ago

crOpenGL: update to wine 1.1.36 and disable unnecessary fbo state poll

  • Property svn:eol-style set to native
File size: 22.2 KB
Line 
1/*
2 * Copyright (C) 2000 Francois Gouget
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17 */
18
19/*
20 * Sun LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
21 * other than GPL or LGPL is available it will apply instead, Sun elects to use only
22 * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
23 * a choice of LGPL license versions is made available with the language indicating
24 * that LGPLv2 or any later version may be used, or where a choice of which version
25 * of the LGPL is applied is otherwise unspecified.
26 */
27
28#ifndef __WINE_RPCDCE_H
29#define __WINE_RPCDCE_H
30
31#ifdef __cplusplus
32extern "C" {
33#endif
34
35#ifndef IN
36#define IN
37#endif
38#ifndef OUT
39#define OUT
40#endif
41#ifndef OPTIONAL
42#define OPTIONAL
43#endif
44
45#ifndef GUID_DEFINED
46#include <guiddef.h>
47#endif
48
49#ifndef UUID_DEFINED
50#define UUID_DEFINED
51typedef GUID UUID;
52#endif
53
54typedef unsigned char* RPC_CSTR;
55typedef unsigned short* RPC_WSTR;
56typedef void* RPC_AUTH_IDENTITY_HANDLE;
57typedef void* RPC_AUTHZ_HANDLE;
58typedef void* RPC_IF_HANDLE;
59typedef I_RPC_HANDLE RPC_BINDING_HANDLE;
60typedef RPC_BINDING_HANDLE handle_t;
61#define rpc_binding_handle_t RPC_BINDING_HANDLE
62#define RPC_MGR_EPV void
63
64typedef struct _RPC_BINDING_VECTOR
65{
66 ULONG Count;
67 RPC_BINDING_HANDLE BindingH[1];
68} RPC_BINDING_VECTOR;
69#define rpc_binding_vector_t RPC_BINDING_VECTOR
70
71typedef struct _UUID_VECTOR
72{
73 ULONG Count;
74 UUID *Uuid[1];
75} UUID_VECTOR;
76#define uuid_vector_t UUID_VECTOR
77
78typedef struct _RPC_IF_ID
79{
80 UUID Uuid;
81 unsigned short VersMajor;
82 unsigned short VersMinor;
83} RPC_IF_ID;
84
85typedef struct
86{
87 ULONG Count;
88 RPC_IF_ID *IfId[1];
89} RPC_IF_ID_VECTOR;
90
91typedef struct
92{
93 unsigned int Count;
94 ULONG Stats[1];
95} RPC_STATS_VECTOR;
96
97typedef I_RPC_HANDLE *RPC_EP_INQ_HANDLE;
98
99#define RPC_C_EP_ALL_ELTS 0
100#define RPC_C_EP_MATCH_BY_IF 1
101#define RPC_C_EP_MATCH_BY_OBJ 2
102#define RPC_C_EP_MATCH_BY_BOTH 3
103
104#define RPC_C_VERS_ALL 1
105#define RPC_C_VERS_COMPATIBLE 2
106#define RPC_C_VERS_EXACT 3
107#define RPC_C_VERS_MAJOR_ONLY 4
108#define RPC_C_VERS_UPTO 5
109
110#define RPC_C_BINDING_INFINITE_TIMEOUT 10
111#define RPC_C_BINDING_MIN_TIMEOUT 0
112#define RPC_C_BINDING_DEFAULT_TIMEOUT 5
113#define RPC_C_BINDING_MAX_TIMEOUT 9
114
115#define RPC_C_CANCEL_INFINITE_TIMEOUT -1
116
117#define RPC_C_LISTEN_MAX_CALLS_DEFAULT 1234
118#define RPC_C_PROTSEQ_MAX_REQS_DEFAULT 10
119
120#define RPC_PROTSEQ_TCP 0x1
121#define RPC_PROTSEQ_NMP 0x2
122#define RPC_PROTSEQ_LRPC 0x3
123#define RPC_PROTSEQ_HTTP 0x4
124
125/* RPC_POLICY EndpointFlags */
126#define RPC_C_BIND_TO_ALL_NICS 0x1
127#define RPC_C_USE_INTERNET_PORT 0x1
128#define RPC_C_USE_INTRANET_PORT 0x2
129#define RPC_C_DONT_FAIL 0x4
130
131/* RPC_POLICY EndpointFlags specific to the Falcon/RPC transport */
132#define RPC_C_MQ_TEMPORARY 0x0000
133#define RPC_C_MQ_PERMANENT 0x0001
134#define RPC_C_MQ_CLEAR_ON_OPEN 0x0002
135#define RPC_C_MQ_USE_EXISTING_SECURITY 0x0004
136#define RPC_C_MQ_AUTHN_LEVEL_NONE 0x0000
137#define RPC_C_MQ_AUTHN_LEVEL_PKT_INTEGRITY 0x0008
138#define RPC_C_MQ_AUTHN_LEVEL_PKT_PRIVACY 0x0010
139
140#define RPC_C_AUTHN_LEVEL_DEFAULT 0
141#define RPC_C_AUTHN_LEVEL_NONE 1
142#define RPC_C_AUTHN_LEVEL_CONNECT 2
143#define RPC_C_AUTHN_LEVEL_CALL 3
144#define RPC_C_AUTHN_LEVEL_PKT 4
145#define RPC_C_AUTHN_LEVEL_PKT_INTEGRITY 5
146#define RPC_C_AUTHN_LEVEL_PKT_PRIVACY 6
147
148#define RPC_C_AUTHN_NONE 0
149#define RPC_C_AUTHN_DCE_PRIVATE 1
150#define RPC_C_AUTHN_DCE_PUBLIC 2
151#define RPC_C_AUTHN_DEC_PUBLIC 4
152#define RPC_C_AUTHN_GSS_NEGOTIATE 9
153#define RPC_C_AUTHN_WINNT 10
154#define RPC_C_AUTHN_GSS_SCHANNEL 14
155#define RPC_C_AUTHN_GSS_KERBEROS 16
156#define RPC_C_AUTHN_DPA 17
157#define RPC_C_AUTHN_MSN 18
158#define RPC_C_AUTHN_DIGEST 21
159#define RPC_C_AUTHN_MQ 100
160#define RPC_C_AUTHN_DEFAULT 0xffffffff
161
162#define RPC_C_AUTHZ_NONE 0
163#define RPC_C_AUTHZ_NAME 1
164#define RPC_C_AUTHZ_DCE 2
165#define RPC_C_AUTHZ_DEFAULT 0xffffffff
166
167/* values for RPC_SECURITY_QOS*::ImpersonationType */
168#define RPC_C_IMP_LEVEL_DEFAULT 0
169#define RPC_C_IMP_LEVEL_ANONYMOUS 1
170#define RPC_C_IMP_LEVEL_IDENTIFY 2
171#define RPC_C_IMP_LEVEL_IMPERSONATE 3
172#define RPC_C_IMP_LEVEL_DELEGATE 4
173
174/* values for RPC_SECURITY_QOS*::IdentityTracking */
175#define RPC_C_QOS_IDENTITY_STATIC 0
176#define RPC_C_QOS_IDENTITY_DYNAMIC 1
177
178/* flags for RPC_SECURITY_QOS*::Capabilities */
179#define RPC_C_QOS_CAPABILITIES_DEFAULT 0x0
180#define RPC_C_QOS_CAPABILITIES_MUTUAL_AUTH 0x1
181#define RPC_C_QOS_CAPABILITIES_MAKE_FULLSIC 0x2
182#define RPC_C_QOS_CAPABILITIES_ANY_AUTHORITY 0x4
183
184/* values for RPC_SECURITY_QOS*::Version */
185#define RPC_C_SECURITY_QOS_VERSION 1
186#define RPC_C_SECURITY_QOS_VERSION_1 1
187#define RPC_C_SECURITY_QOS_VERSION_2 2
188
189/* flags for RPC_SECURITY_QOS_V2::AdditionalSecurityInfoType */
190#define RPC_C_AUTHN_INFO_TYPE_HTTP 1
191
192/* flags for RPC_HTTP_TRANSPORT_CREDENTIALS::Flags */
193#define RPC_C_HTTP_FLAG_USE_SSL 0x1
194#define RPC_C_HTTP_FLAG_USE_FIRST_AUTH_SCHEME 0x2
195
196/* values for RPC_HTTP_TRANSPORT_CREDENTIALS::AuthenticationTarget */
197#define RPC_C_HTTP_AUTHN_TARGET_SERVER 1
198#define RPC_C_HTTP_AUTHN_TARGET_PROXY 2
199
200#define RPC_C_HTTP_AUTHN_SCHEME_BASIC 0x01
201#define RPC_C_HTTP_AUTHN_SCHEME_NTLM 0x02
202#define RPC_C_HTTP_AUTHN_SCHEME_PASSPORT 0x04
203#define RPC_C_HTTP_AUTHN_SCHEME_DIGEST 0x08
204#define RPC_C_HTTP_AUTHN_SCHEME_NEGOTIATE 0x10
205
206typedef RPC_STATUS RPC_ENTRY RPC_IF_CALLBACK_FN( RPC_IF_HANDLE InterfaceUuid, void *Context );
207typedef void (__RPC_USER *RPC_AUTH_KEY_RETRIEVAL_FN)(void *, RPC_WSTR, ULONG, void **, RPC_STATUS *);
208
209typedef struct _RPC_POLICY
210{
211 unsigned int Length;
212 ULONG EndpointFlags;
213 ULONG NICFlags;
214} RPC_POLICY, *PRPC_POLICY;
215
216typedef struct _SEC_WINNT_AUTH_IDENTITY_W
217{
218 unsigned short* User;
219 ULONG UserLength;
220 unsigned short* Domain;
221 ULONG DomainLength;
222 unsigned short* Password;
223 ULONG PasswordLength;
224 ULONG Flags;
225} SEC_WINNT_AUTH_IDENTITY_W, *PSEC_WINNT_AUTH_IDENTITY_W;
226
227typedef struct _SEC_WINNT_AUTH_IDENTITY_A
228{
229 unsigned char* User;
230 ULONG UserLength;
231 unsigned char* Domain;
232 ULONG DomainLength;
233 unsigned char* Password;
234 ULONG PasswordLength;
235 ULONG Flags;
236} SEC_WINNT_AUTH_IDENTITY_A, *PSEC_WINNT_AUTH_IDENTITY_A;
237
238typedef struct _RPC_HTTP_TRANSPORT_CREDENTIALS_W
239{
240 SEC_WINNT_AUTH_IDENTITY_W *TransportCredentials;
241 ULONG Flags;
242 ULONG AuthenticationTarget;
243 ULONG NumberOfAuthnSchemes;
244 ULONG *AuthnSchemes;
245 unsigned short *ServerCertificateSubject;
246} RPC_HTTP_TRANSPORT_CREDENTIALS_W, *PRPC_HTTP_TRANSPORT_CREDENTIALS_W;
247
248typedef struct _RPC_HTTP_TRANSPORT_CREDENTIALS_A
249{
250 SEC_WINNT_AUTH_IDENTITY_A *TransportCredentials;
251 ULONG Flags;
252 ULONG AuthenticationTarget;
253 ULONG NumberOfAuthnSchemes;
254 ULONG *AuthnSchemes;
255 unsigned char *ServerCertificateSubject;
256} RPC_HTTP_TRANSPORT_CREDENTIALS_A, *PRPC_HTTP_TRANSPORT_CREDENTIALS_A;
257
258typedef struct _RPC_SECURITY_QOS {
259 ULONG Version;
260 ULONG Capabilities;
261 ULONG IdentityTracking;
262 ULONG ImpersonationType;
263} RPC_SECURITY_QOS, *PRPC_SECURITY_QOS;
264
265typedef struct _RPC_SECURITY_QOS_V2_W
266{
267 ULONG Version;
268 ULONG Capabilities;
269 ULONG IdentityTracking;
270 ULONG ImpersonationType;
271 ULONG AdditionalSecurityInfoType;
272 union
273 {
274 RPC_HTTP_TRANSPORT_CREDENTIALS_W *HttpCredentials;
275 } u;
276} RPC_SECURITY_QOS_V2_W, *PRPC_SECURITY_QOS_V2_W;
277
278typedef struct _RPC_SECURITY_QOS_V2_A
279{
280 ULONG Version;
281 ULONG Capabilities;
282 ULONG IdentityTracking;
283 ULONG ImpersonationType;
284 ULONG AdditionalSecurityInfoType;
285 union
286 {
287 RPC_HTTP_TRANSPORT_CREDENTIALS_A *HttpCredentials;
288 } u;
289} RPC_SECURITY_QOS_V2_A, *PRPC_SECURITY_QOS_V2_A;
290
291#define _SEC_WINNT_AUTH_IDENTITY WINELIB_NAME_AW(_SEC_WINNT_AUTH_IDENTITY_)
292#define SEC_WINNT_AUTH_IDENTITY WINELIB_NAME_AW(SEC_WINNT_AUTH_IDENTITY_)
293#define PSEC_WINNT_AUTH_IDENTITY WINELIB_NAME_AW(PSEC_WINNT_AUTH_IDENTITY_)
294
295#define RPC_HTTP_TRANSPORT_CREDENTIALS_ WINELIB_NAME_AW(RPC_HTTP_TRANSPORT_CREDENTIALS_)
296#define PRPC_HTTP_TRANSPORT_CREDENTIALS_ WINELIB_NAME_AW(PRPC_HTTP_TRANSPORT_CREDENTIALS_)
297#define _RPC_HTTP_TRANSPORT_CREDENTIALS_ WINELIB_NAME_AW(_RPC_HTTP_TRANSPORT_CREDENTIALS_)
298
299#define RPC_SECURITY_QOS_V2 WINELIB_NAME_AW(RPC_SECURITY_QOS_V2_)
300#define PRPC_SECURITY_QOS_V2 WINELIB_NAME_AW(PRPC_SECURITY_QOS_V2_)
301#define _RPC_SECURITY_QOS_V2 WINELIB_NAME_AW(_RPC_SECURITY_QOS_V2_)
302
303/* SEC_WINNT_AUTH Flags */
304#define SEC_WINNT_AUTH_IDENTITY_ANSI 0x1
305#define SEC_WINNT_AUTH_IDENTITY_UNICODE 0x2
306
307/* RpcServerRegisterIfEx Flags */
308#define RPC_IF_AUTOLISTEN 0x01
309#define RPC_IF_OLE 0x02
310#define RPC_IF_ALLOW_UNKNOWN_AUTHORITY 0x04
311#define RPC_IF_ALLOW_SECURE_ONLY 0x08
312#define RPC_IF_ALLOW_CALLBACKS_WITH_NO_AUTH 0x10
313#define RPC_IF_ALLOW_LOCAL_ONLY 0x20
314#define RPC_IF_SEC_NO_CACHE 0x40
315
316RPC_STATUS RPC_ENTRY DceErrorInqTextA(RPC_STATUS e, RPC_CSTR buffer);
317RPC_STATUS RPC_ENTRY DceErrorInqTextW(RPC_STATUS e, RPC_WSTR buffer);
318#define DceErrorInqText WINELIB_NAME_AW(DceErrorInqText)
319
320RPCRTAPI DECLSPEC_NORETURN void RPC_ENTRY
321 RpcRaiseException( RPC_STATUS exception );
322
323RPCRTAPI RPC_STATUS RPC_ENTRY
324 RpcBindingCopy( RPC_BINDING_HANDLE SourceBinding, RPC_BINDING_HANDLE* DestinationBinding );
325
326RPCRTAPI RPC_STATUS RPC_ENTRY
327 RpcBindingFree( RPC_BINDING_HANDLE* Binding );
328
329RPCRTAPI RPC_STATUS RPC_ENTRY
330 RpcBindingInqObject( RPC_BINDING_HANDLE Binding, UUID* ObjectUuid );
331RPCRTAPI RPC_STATUS RPC_ENTRY
332 RpcBindingInqOption( RPC_BINDING_HANDLE Binding, ULONG Option, ULONG_PTR *OptionValue );
333RPCRTAPI RPC_STATUS RPC_ENTRY
334 RpcBindingReset( RPC_BINDING_HANDLE Binding );
335RPCRTAPI RPC_STATUS RPC_ENTRY
336 RpcBindingSetObject( RPC_BINDING_HANDLE Binding, UUID* ObjectUuid );
337RPCRTAPI RPC_STATUS RPC_ENTRY
338 RpcBindingSetOption( RPC_BINDING_HANDLE Binding, ULONG Option, ULONG_PTR OptionValue );
339RPCRTAPI RPC_STATUS RPC_ENTRY
340 RpcObjectSetType( UUID* ObjUuid, UUID* TypeUuid );
341
342RPCRTAPI RPC_STATUS RPC_ENTRY
343 RpcBindingFromStringBindingA( RPC_CSTR StringBinding, RPC_BINDING_HANDLE* Binding );
344RPCRTAPI RPC_STATUS RPC_ENTRY
345 RpcBindingFromStringBindingW( RPC_WSTR StringBinding, RPC_BINDING_HANDLE* Binding );
346#define RpcBindingFromStringBinding WINELIB_NAME_AW(RpcBindingFromStringBinding)
347
348RPCRTAPI RPC_STATUS RPC_ENTRY
349 RpcBindingToStringBindingA( RPC_BINDING_HANDLE Binding, RPC_CSTR *StringBinding );
350RPCRTAPI RPC_STATUS RPC_ENTRY
351 RpcBindingToStringBindingW( RPC_BINDING_HANDLE Binding, RPC_WSTR *StringBinding );
352#define RpcBindingToStringBinding WINELIB_NAME_AW(RpcBindingToStringBinding)
353
354RPCRTAPI RPC_STATUS RPC_ENTRY
355 RpcBindingVectorFree( RPC_BINDING_VECTOR** BindingVector );
356
357RPCRTAPI RPC_STATUS RPC_ENTRY
358 RpcStringBindingComposeA( RPC_CSTR ObjUuid, RPC_CSTR Protseq, RPC_CSTR NetworkAddr,
359 RPC_CSTR Endpoint, RPC_CSTR Options, RPC_CSTR *StringBinding );
360RPCRTAPI RPC_STATUS RPC_ENTRY
361 RpcStringBindingComposeW( RPC_WSTR ObjUuid, RPC_WSTR Protseq, RPC_WSTR NetworkAddr,
362 RPC_WSTR Endpoint, RPC_WSTR Options, RPC_WSTR *StringBinding );
363#define RpcStringBindingCompose WINELIB_NAME_AW(RpcStringBindingCompose)
364
365RPCRTAPI RPC_STATUS RPC_ENTRY
366 RpcStringBindingParseA( RPC_CSTR StringBinding, RPC_CSTR *ObjUuid, RPC_CSTR *Protseq,
367 RPC_CSTR *NetworkAddr, RPC_CSTR *Endpoint, RPC_CSTR *NetworkOptions );
368RPCRTAPI RPC_STATUS RPC_ENTRY
369 RpcStringBindingParseW( RPC_WSTR StringBinding, RPC_WSTR *ObjUuid, RPC_WSTR *Protseq,
370 RPC_WSTR *NetworkAddr, RPC_WSTR *Endpoint, RPC_WSTR *NetworkOptions );
371#define RpcStringBindingParse WINELIB_NAME_AW(RpcStringBindingParse)
372
373RPCRTAPI RPC_STATUS RPC_ENTRY
374 RpcEpResolveBinding( RPC_BINDING_HANDLE Binding, RPC_IF_HANDLE IfSpec );
375
376RPCRTAPI RPC_STATUS RPC_ENTRY
377 RpcEpRegisterA( RPC_IF_HANDLE IfSpec, RPC_BINDING_VECTOR* BindingVector,
378 UUID_VECTOR* UuidVector, RPC_CSTR Annotation );
379RPCRTAPI RPC_STATUS RPC_ENTRY
380 RpcEpRegisterW( RPC_IF_HANDLE IfSpec, RPC_BINDING_VECTOR* BindingVector,
381 UUID_VECTOR* UuidVector, RPC_WSTR Annotation );
382#define RpcEpRegister WINELIB_NAME_AW(RpcEpRegister)
383
384RPCRTAPI RPC_STATUS RPC_ENTRY
385 RpcEpRegisterNoReplaceA( RPC_IF_HANDLE IfSpec, RPC_BINDING_VECTOR* BindingVector,
386 UUID_VECTOR* UuidVector, RPC_CSTR Annotation );
387RPCRTAPI RPC_STATUS RPC_ENTRY
388 RpcEpRegisterNoReplaceW( RPC_IF_HANDLE IfSpec, RPC_BINDING_VECTOR* BindingVector,
389 UUID_VECTOR* UuidVector, RPC_WSTR Annotation );
390#define RpcEpRegisterNoReplace WINELIB_NAME_AW(RpcEpRegisterNoReplace)
391
392RPCRTAPI RPC_STATUS RPC_ENTRY
393 RpcEpUnregister( RPC_IF_HANDLE IfSpec, RPC_BINDING_VECTOR* BindingVector,
394 UUID_VECTOR* UuidVector );
395
396RPCRTAPI RPC_STATUS RPC_ENTRY
397 RpcServerInqBindings( RPC_BINDING_VECTOR** BindingVector );
398
399RPCRTAPI RPC_STATUS RPC_ENTRY
400 RpcServerListen( unsigned int MinimumCallThreads, unsigned int MaxCalls, unsigned int DontWait );
401
402RPCRTAPI RPC_STATUS RPC_ENTRY
403 RpcMgmtEnableIdleCleanup( void );
404
405RPCRTAPI RPC_STATUS RPC_ENTRY RpcMgmtSetCancelTimeout(LONG);
406
407RPCRTAPI RPC_STATUS RPC_ENTRY
408 RpcMgmtWaitServerListen( void );
409
410RPCRTAPI RPC_STATUS RPC_ENTRY
411 RpcMgmtInqStats( RPC_BINDING_HANDLE Binding, RPC_STATS_VECTOR **Statistics );
412
413RPCRTAPI RPC_STATUS RPC_ENTRY
414 RpcMgmtStopServerListening( RPC_BINDING_HANDLE Binding );
415
416RPCRTAPI RPC_STATUS RPC_ENTRY
417 RpcMgmtIsServerListening(RPC_BINDING_HANDLE Binding);
418
419RPCRTAPI RPC_STATUS RPC_ENTRY
420 RpcMgmtInqIfIds( RPC_BINDING_HANDLE Binding, RPC_IF_ID_VECTOR** IfIdVector );
421
422RPCRTAPI RPC_STATUS RPC_ENTRY
423 RpcMgmtEpEltInqBegin( RPC_BINDING_HANDLE EpBinding, ULONG InquiryType, RPC_IF_ID *IfId,
424 ULONG VersOption, UUID *ObjectUuid, RPC_EP_INQ_HANDLE *InquiryContext);
425
426RPCRTAPI RPC_STATUS RPC_ENTRY
427 RpcMgmtSetComTimeout( RPC_BINDING_HANDLE Binding, unsigned int Timeout );
428
429RPCRTAPI RPC_STATUS RPC_ENTRY
430 RpcMgmtSetServerStackSize( ULONG ThreadStackSize );
431
432RPCRTAPI RPC_STATUS RPC_ENTRY
433RpcMgmtStatsVectorFree( RPC_STATS_VECTOR **StatsVector );
434
435RPCRTAPI RPC_STATUS RPC_ENTRY
436 RpcServerRegisterIf( RPC_IF_HANDLE IfSpec, UUID* MgrTypeUuid, RPC_MGR_EPV* MgrEpv );
437
438RPCRTAPI RPC_STATUS RPC_ENTRY
439 RpcServerRegisterIfEx( RPC_IF_HANDLE IfSpec, UUID* MgrTypeUuid, RPC_MGR_EPV* MgrEpv,
440 unsigned int Flags, unsigned int MaxCalls, RPC_IF_CALLBACK_FN* IfCallbackFn );
441
442RPCRTAPI RPC_STATUS RPC_ENTRY
443 RpcServerRegisterIf2( RPC_IF_HANDLE IfSpec, UUID* MgrTypeUuid, RPC_MGR_EPV* MgrEpv,
444 unsigned int Flags, unsigned int MaxCalls, unsigned int MaxRpcSize, RPC_IF_CALLBACK_FN* IfCallbackFn );
445
446RPCRTAPI RPC_STATUS RPC_ENTRY
447 RpcServerUnregisterIf( RPC_IF_HANDLE IfSpec, UUID* MgrTypeUuid, unsigned int WaitForCallsToComplete );
448
449RPCRTAPI RPC_STATUS RPC_ENTRY
450 RpcServerUnregisterIfEx( RPC_IF_HANDLE IfSpec, UUID* MgrTypeUuid, int RundownContextHandles );
451
452
453RPCRTAPI RPC_STATUS RPC_ENTRY
454 RpcServerUseProtseqA(RPC_CSTR Protseq, unsigned int MaxCalls, void *SecurityDescriptor);
455RPCRTAPI RPC_STATUS RPC_ENTRY
456 RpcServerUseProtseqW(RPC_WSTR Protseq, unsigned int MaxCalls, void *SecurityDescriptor);
457#define RpcServerUseProtseq WINELIB_NAME_AW(RpcServerUseProtseq)
458
459RPCRTAPI RPC_STATUS RPC_ENTRY
460 RpcServerUseProtseqEpA( RPC_CSTR Protseq, unsigned int MaxCalls, RPC_CSTR Endpoint, void *SecurityDescriptor );
461RPCRTAPI RPC_STATUS RPC_ENTRY
462 RpcServerUseProtseqEpW( RPC_WSTR Protseq, unsigned int MaxCalls, RPC_WSTR Endpoint, void *SecurityDescriptor );
463#define RpcServerUseProtseqEp WINELIB_NAME_AW(RpcServerUseProtseqEp)
464
465RPCRTAPI RPC_STATUS RPC_ENTRY
466 RpcServerUseProtseqEpExA( RPC_CSTR Protseq, unsigned int MaxCalls, RPC_CSTR Endpoint, void *SecurityDescriptor,
467 PRPC_POLICY Policy );
468RPCRTAPI RPC_STATUS RPC_ENTRY
469 RpcServerUseProtseqEpExW( RPC_WSTR Protseq, unsigned int MaxCalls, RPC_WSTR Endpoint, void *SecurityDescriptor,
470 PRPC_POLICY Policy );
471#define RpcServerUseProtseqEpEx WINELIB_NAME_AW(RpcServerUseProtseqEpEx)
472
473RPCRTAPI RPC_STATUS RPC_ENTRY
474 RpcServerRegisterAuthInfoA( RPC_CSTR ServerPrincName, ULONG AuthnSvc, RPC_AUTH_KEY_RETRIEVAL_FN GetKeyFn,
475 void *Arg );
476RPCRTAPI RPC_STATUS RPC_ENTRY
477 RpcServerRegisterAuthInfoW( RPC_WSTR ServerPrincName, ULONG AuthnSvc, RPC_AUTH_KEY_RETRIEVAL_FN GetKeyFn,
478 void *Arg );
479#define RpcServerRegisterAuthInfo WINELIB_NAME_AW(RpcServerRegisterAuthInfo)
480
481RPCRTAPI RPC_STATUS RPC_ENTRY
482 RpcBindingSetAuthInfoExA( RPC_BINDING_HANDLE Binding, RPC_CSTR ServerPrincName, ULONG AuthnLevel,
483 ULONG AuthnSvc, RPC_AUTH_IDENTITY_HANDLE AuthIdentity, ULONG AuthzSvr,
484 RPC_SECURITY_QOS *SecurityQos );
485
486RPCRTAPI RPC_STATUS RPC_ENTRY
487 RpcBindingSetAuthInfoExW( RPC_BINDING_HANDLE Binding, RPC_WSTR ServerPrincName, ULONG AuthnLevel,
488 ULONG AuthnSvc, RPC_AUTH_IDENTITY_HANDLE AuthIdentity, ULONG AuthzSvr,
489 RPC_SECURITY_QOS *SecurityQos );
490#define RpcBindingSetAuthInfoEx WINELIB_NAME_AW(RpcBindingSetAuthInfoEx)
491
492RPCRTAPI RPC_STATUS RPC_ENTRY
493 RpcBindingSetAuthInfoA( RPC_BINDING_HANDLE Binding, RPC_CSTR ServerPrincName, ULONG AuthnLevel,
494 ULONG AuthnSvc, RPC_AUTH_IDENTITY_HANDLE AuthIdentity, ULONG AuthzSvr );
495
496RPCRTAPI RPC_STATUS RPC_ENTRY
497 RpcBindingSetAuthInfoW( RPC_BINDING_HANDLE Binding, RPC_WSTR ServerPrincName, ULONG AuthnLevel,
498 ULONG AuthnSvc, RPC_AUTH_IDENTITY_HANDLE AuthIdentity, ULONG AuthzSvr );
499#define RpcBindingSetAuthInfo WINELIB_NAME_AW(RpcBindingSetAuthInfo)
500
501RPCRTAPI RPC_STATUS RPC_ENTRY
502 RpcBindingInqAuthInfoExA( RPC_BINDING_HANDLE Binding, RPC_CSTR * ServerPrincName, ULONG *AuthnLevel,
503 ULONG *AuthnSvc, RPC_AUTH_IDENTITY_HANDLE *AuthIdentity, ULONG *AuthzSvc,
504 ULONG RpcQosVersion, RPC_SECURITY_QOS *SecurityQOS );
505
506RPCRTAPI RPC_STATUS RPC_ENTRY
507 RpcBindingInqAuthInfoExW( RPC_BINDING_HANDLE Binding, RPC_WSTR *ServerPrincName, ULONG *AuthnLevel,
508 ULONG *AuthnSvc, RPC_AUTH_IDENTITY_HANDLE *AuthIdentity, ULONG *AuthzSvc,
509 ULONG RpcQosVersion, RPC_SECURITY_QOS *SecurityQOS );
510#define RpcBindingInqAuthInfoEx WINELIB_NAME_AW(RpcBindingInqAuthInfoEx)
511
512RPCRTAPI RPC_STATUS RPC_ENTRY
513 RpcBindingInqAuthInfoA( RPC_BINDING_HANDLE Binding, RPC_CSTR * ServerPrincName, ULONG *AuthnLevel,
514 ULONG *AuthnSvc, RPC_AUTH_IDENTITY_HANDLE *AuthIdentity, ULONG *AuthzSvc );
515
516RPCRTAPI RPC_STATUS RPC_ENTRY
517 RpcBindingInqAuthInfoW( RPC_BINDING_HANDLE Binding, RPC_WSTR *ServerPrincName, ULONG *AuthnLevel,
518 ULONG *AuthnSvc, RPC_AUTH_IDENTITY_HANDLE *AuthIdentity, ULONG *AuthzSvc );
519#define RpcBindingInqAuthInfo WINELIB_NAME_AW(RpcBindingInqAuthInfo)
520
521RPCRTAPI RPC_STATUS RPC_ENTRY
522 RpcBindingInqAuthClientA( RPC_BINDING_HANDLE ClientBinding, RPC_AUTHZ_HANDLE *Privs,
523 RPC_CSTR *ServerPrincName, ULONG *AuthnLevel, ULONG *AuthnSvc,
524 ULONG *AuthzSvc );
525
526RPCRTAPI RPC_STATUS RPC_ENTRY
527 RpcBindingInqAuthClientW( RPC_BINDING_HANDLE ClientBinding, RPC_AUTHZ_HANDLE *Privs,
528 RPC_WSTR *ServerPrincName, ULONG *AuthnLevel, ULONG *AuthnSvc,
529 ULONG *AuthzSvc );
530#define RpcBindingInqAuthClient WINELIB_NAME_AW(RpcBindingInqAuthClient)
531
532RPCRTAPI RPC_STATUS RPC_ENTRY
533 RpcBindingInqAuthClientExA( RPC_BINDING_HANDLE ClientBinding, RPC_AUTHZ_HANDLE *Privs,
534 RPC_CSTR *ServerPrincName, ULONG *AuthnLevel, ULONG *AuthnSvc,
535 ULONG *AuthzSvc, ULONG Flags );
536
537RPCRTAPI RPC_STATUS RPC_ENTRY
538 RpcBindingInqAuthClientExW( RPC_BINDING_HANDLE ClientBinding, RPC_AUTHZ_HANDLE *Privs,
539 RPC_WSTR *ServerPrincName, ULONG *AuthnLevel, ULONG *AuthnSvc,
540 ULONG *AuthzSvc, ULONG Flags );
541#define RpcBindingInqAuthClientEx WINELIB_NAME_AW(RpcBindingInqAuthClientEx)
542
543RPCRTAPI RPC_STATUS RPC_ENTRY RpcCancelThread(void*);
544RPCRTAPI RPC_STATUS RPC_ENTRY RpcCancelThreadEx(void*,LONG);
545
546RPCRTAPI RPC_STATUS RPC_ENTRY
547 RpcImpersonateClient( RPC_BINDING_HANDLE Binding );
548
549RPCRTAPI RPC_STATUS RPC_ENTRY
550 RpcNetworkIsProtseqValidA( RPC_CSTR protseq );
551RPCRTAPI RPC_STATUS RPC_ENTRY
552 RpcNetworkIsProtseqValidW( RPC_WSTR protseq );
553#define RpcNetworkIsProtseqValid WINELIB_NAME_AW(RpcNetworkIsProtseqValid)
554
555RPCRTAPI RPC_STATUS RPC_ENTRY
556 RpcRevertToSelf( void );
557RPCRTAPI RPC_STATUS RPC_ENTRY
558 RpcRevertToSelfEx( RPC_BINDING_HANDLE Binding );
559
560RPCRTAPI RPC_STATUS RPC_ENTRY
561 RpcStringFreeA(RPC_CSTR* String);
562RPCRTAPI RPC_STATUS RPC_ENTRY
563 RpcStringFreeW(RPC_WSTR* String);
564#define RpcStringFree WINELIB_NAME_AW(RpcStringFree)
565
566RPCRTAPI RPC_STATUS RPC_ENTRY
567 UuidToStringA( UUID* Uuid, RPC_CSTR* StringUuid );
568RPCRTAPI RPC_STATUS RPC_ENTRY
569 UuidToStringW( UUID* Uuid, RPC_WSTR* StringUuid );
570#define UuidToString WINELIB_NAME_AW(UuidToString)
571
572RPCRTAPI RPC_STATUS RPC_ENTRY
573 UuidFromStringA( RPC_CSTR StringUuid, UUID* Uuid );
574RPCRTAPI RPC_STATUS RPC_ENTRY
575 UuidFromStringW( RPC_WSTR StringUuid, UUID* Uuid );
576#define UuidFromString WINELIB_NAME_AW(UuidFromString)
577
578RPCRTAPI RPC_STATUS RPC_ENTRY
579 UuidCreate( UUID* Uuid );
580RPCRTAPI RPC_STATUS RPC_ENTRY
581 UuidCreateSequential( UUID* Uuid );
582RPCRTAPI RPC_STATUS RPC_ENTRY
583 UuidCreateNil( UUID* Uuid );
584RPCRTAPI signed int RPC_ENTRY
585 UuidCompare( UUID* Uuid1, UUID* Uuid2, RPC_STATUS* Status_ );
586RPCRTAPI int RPC_ENTRY
587 UuidEqual( UUID* Uuid1, UUID* Uuid2, RPC_STATUS* Status_ );
588RPCRTAPI unsigned short RPC_ENTRY
589 UuidHash(UUID* Uuid, RPC_STATUS* Status_ );
590RPCRTAPI int RPC_ENTRY
591 UuidIsNil( UUID* Uuid, RPC_STATUS* Status_ );
592
593#ifdef __cplusplus
594}
595#endif
596
597#include <rpcdcep.h>
598
599#endif /*__WINE_RPCDCE_H */
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette