source: Daodan/MinGW/include/rpcdce.h@ 1165

Last change on this file since 1165 was 1046, checked in by alloc, 8 years ago

Daodan: Added Windows MinGW and build batch file

File size: 21.4 KB
Line 
1#ifndef _RPCDCE_H
2#define _RPCDCE_H
3#if __GNUC__ >= 3
4#pragma GCC system_header
5#endif
6
7#ifdef __cplusplus
8extern "C" {
9#endif
10#include <basetyps.h>
11
12#ifndef _NO_W32_PSEUDO_MODIFIERS
13#define IN
14#define OUT
15#ifndef OPTIONAL
16#define OPTIONAL
17#endif
18#endif
19
20#define uuid_t UUID
21#define rpc_binding_handle_t RPC_BINDING_HANDLE
22#define rpc_binding_vector_t RPC_BINDING_VECTOR
23#define uuid_vector_t UUID_VECTOR
24#define RPC_C_BINDING_INFINITE_TIMEOUT 10
25#define RPC_C_BINDING_MIN_TIMEOUT 0
26#define RPC_C_BINDING_DEFAULT_TIMEOUT 5
27#define RPC_C_BINDING_MAX_TIMEOUT 9
28#define RPC_C_CANCEL_INFINITE_TIMEOUT (-1)
29#define RPC_C_LISTEN_MAX_CALLS_DEFAULT 1234
30#define RPC_C_PROTSEQ_MAX_REQS_DEFAULT 10
31#define RPC_C_BIND_TO_ALL_NICS 1
32#define RPC_C_USE_INTERNET_PORT 1
33#define RPC_C_USE_INTRANET_PORT 2
34#define RPC_MGR_EPV void
35#define RPC_C_STATS_CALLS_IN 0
36#define RPC_C_STATS_CALLS_OUT 1
37#define RPC_C_STATS_PKTS_IN 2
38#define RPC_C_STATS_PKTS_OUT 3
39#define RPC_IF_AUTOLISTEN 0x0001
40#define RPC_IF_OLE 2
41#define RPC_C_MGMT_INQ_IF_IDS 0
42#define RPC_C_MGMT_INQ_PRINC_NAME 1
43#define RPC_C_MGMT_INQ_STATS 2
44#define RPC_C_MGMT_IS_SERVER_LISTEN 3
45#define RPC_C_MGMT_STOP_SERVER_LISTEN 4
46#define RPC_C_EP_ALL_ELTS 0
47#define RPC_C_EP_MATCH_BY_IF 1
48#define RPC_C_EP_MATCH_BY_OBJ 2
49#define RPC_C_EP_MATCH_BY_BOTH 3
50#define RPC_C_VERS_ALL 1
51#define RPC_C_VERS_COMPATIBLE 2
52#define RPC_C_VERS_EXACT 3
53#define RPC_C_VERS_MAJOR_ONLY 4
54#define RPC_C_VERS_UPTO 5
55#define DCE_C_ERROR_STRING_LEN 256
56#define RPC_C_PARM_MAX_PACKET_LENGTH 1
57#define RPC_C_PARM_BUFFER_LENGTH 2
58#define RPC_C_AUTHN_LEVEL_DEFAULT 0
59#define RPC_C_AUTHN_LEVEL_NONE 1
60#define RPC_C_AUTHN_LEVEL_CONNECT 2
61#define RPC_C_AUTHN_LEVEL_CALL 3
62#define RPC_C_AUTHN_LEVEL_PKT 4
63#define RPC_C_AUTHN_LEVEL_PKT_INTEGRITY 5
64#define RPC_C_AUTHN_LEVEL_PKT_PRIVACY 6
65#define RPC_C_IMP_LEVEL_ANONYMOUS 1
66#define RPC_C_IMP_LEVEL_IDENTIFY 2
67#define RPC_C_IMP_LEVEL_IMPERSONATE 3
68#define RPC_C_IMP_LEVEL_DELEGATE 4
69#define RPC_C_QOS_IDENTITY_STATIC 0
70#define RPC_C_QOS_IDENTITY_DYNAMIC 1
71#define RPC_C_QOS_CAPABILITIES_DEFAULT 0
72#define RPC_C_QOS_CAPABILITIES_MUTUAL_AUTH 1
73#define RPC_C_PROTECT_LEVEL_DEFAULT(RPC_C_AUTHN_LEVEL_DEFAULT)
74#define RPC_C_PROTECT_LEVEL_NONE(RPC_C_AUTHN_LEVEL_NONE)
75#define RPC_C_PROTECT_LEVEL_CONNECT(RPC_C_AUTHN_LEVEL_CONNECT)
76#define RPC_C_PROTECT_LEVEL_CALL(RPC_C_AUTHN_LEVEL_CALL)
77#define RPC_C_PROTECT_LEVEL_PKT(RPC_C_AUTHN_LEVEL_PKT)
78#define RPC_C_PROTECT_LEVEL_PKT_INTEGRITY(RPC_C_AUTHN_LEVEL_PKT_INTEGRITY)
79#define RPC_C_PROTECT_LEVEL_PKT_PRIVACY(RPC_C_AUTHN_LEVEL_PKT_PRIVACY)
80#define RPC_C_AUTHN_NONE 0
81#define RPC_C_AUTHN_DCE_PRIVATE 1
82#define RPC_C_AUTHN_DCE_PUBLIC 2
83#define RPC_C_AUTHN_DEC_PUBLIC 4
84#define RPC_C_AUTHN_WINNT 10
85#define RPC_C_AUTHN_DEFAULT 0xFFFFFFFF
86#define RPC_C_SECURITY_QOS_VERSION L
87#define SEC_WINNT_AUTH_IDENTITY_ANSI 0x1
88#define SEC_WINNT_AUTH_IDENTITY_UNICODE 0x2
89#define RPC_C_AUTHZ_NONE 0
90#define RPC_C_AUTHZ_NAME 1
91#define RPC_C_AUTHZ_DCE 2
92#define RPC_C_AUTHZ_DEFAULT 0xFFFFFFFF
93
94typedef I_RPC_HANDLE RPC_BINDING_HANDLE;
95typedef RPC_BINDING_HANDLE handle_t;
96typedef struct _RPC_BINDING_VECTOR {
97 unsigned long Count;
98 RPC_BINDING_HANDLE BindingH[1];
99} RPC_BINDING_VECTOR;
100typedef struct _UUID_VECTOR {
101 unsigned long Count;
102 UUID *Uuid[1];
103} UUID_VECTOR;
104typedef void *RPC_IF_HANDLE;
105typedef struct _RPC_IF_ID {
106 UUID Uuid;
107 unsigned short VersMajor;
108 unsigned short VersMinor;
109} RPC_IF_ID;
110typedef struct _RPC_POLICY {
111 unsigned int Length ;
112 unsigned long EndpointFlags ;
113 unsigned long NICFlags ;
114} RPC_POLICY,*PRPC_POLICY ;
115typedef void __RPC_USER RPC_OBJECT_INQ_FN(UUID*,UUID*,RPC_STATUS*);
116typedef RPC_STATUS RPC_IF_CALLBACK_FN(RPC_IF_HANDLE,void*);
117typedef struct {
118 unsigned int Count;
119 unsigned long Stats[1];
120} RPC_STATS_VECTOR;
121typedef struct {
122 unsigned long Count;
123 RPC_IF_ID*IfId[1];
124} RPC_IF_ID_VECTOR;
125typedef void *RPC_AUTH_IDENTITY_HANDLE;
126typedef void *RPC_AUTHZ_HANDLE;
127typedef struct _RPC_SECURITY_QOS {
128 unsigned long Version;
129 unsigned long Capabilities;
130 unsigned long IdentityTracking;
131 unsigned long ImpersonationType;
132} RPC_SECURITY_QOS,*PRPC_SECURITY_QOS;
133typedef struct _SEC_WINNT_AUTH_IDENTITY_W {
134 unsigned short *User;
135 unsigned long UserLength;
136 unsigned short *Domain;
137 unsigned long DomainLength;
138 unsigned short *Password;
139 unsigned long PasswordLength;
140 unsigned long Flags;
141} SEC_WINNT_AUTH_IDENTITY_W,*PSEC_WINNT_AUTH_IDENTITY_W;
142typedef struct _SEC_WINNT_AUTH_IDENTITY_A {
143 unsigned char *User;
144 unsigned long UserLength;
145 unsigned char *Domain;
146 unsigned long DomainLength;
147 unsigned char *Password;
148 unsigned long PasswordLength;
149 unsigned long Flags;
150} SEC_WINNT_AUTH_IDENTITY_A,*PSEC_WINNT_AUTH_IDENTITY_A;
151typedef struct {
152 unsigned char *UserName;
153 unsigned char *ComputerName;
154 unsigned short Privilege;
155 unsigned long AuthFlags;
156} RPC_CLIENT_INFORMATION1,* PRPC_CLIENT_INFORMATION1;
157typedef I_RPC_HANDLE *RPC_EP_INQ_HANDLE;
158typedef int(__RPC_API *RPC_MGMT_AUTHORIZATION_FN)(RPC_BINDING_HANDLE,unsigned long,RPC_STATUS*);
159
160#ifdef RPC_UNICODE_SUPPORTED
161typedef struct _RPC_PROTSEQ_VECTORA {
162 unsigned int Count;
163 unsigned char*Protseq[1];
164} RPC_PROTSEQ_VECTORA;
165typedef struct _RPC_PROTSEQ_VECTORW {
166 unsigned int Count;
167 unsigned short*Protseq[1];
168} RPC_PROTSEQ_VECTORW;
169RPC_STATUS RPC_ENTRY RpcBindingFromStringBindingA(unsigned char *,RPC_BINDING_HANDLE *);
170RPC_STATUS RPC_ENTRY RpcBindingFromStringBindingW(unsigned short *,RPC_BINDING_HANDLE *);
171RPC_STATUS RPC_ENTRY RpcBindingToStringBindingA(RPC_BINDING_HANDLE,unsigned char**);
172RPC_STATUS RPC_ENTRY RpcBindingToStringBindingW(RPC_BINDING_HANDLE,unsigned short**);
173RPC_STATUS RPC_ENTRY RpcStringBindingComposeA(unsigned char *,unsigned char *,unsigned char *,unsigned char *,unsigned char *,unsigned char **);
174RPC_STATUS RPC_ENTRY RpcStringBindingComposeW(unsigned short *,unsigned short *,unsigned short *,unsigned short *,unsigned short *,unsigned short **);
175RPC_STATUS RPC_ENTRY RpcStringBindingParseA(unsigned char *,unsigned char **,unsigned char **,unsigned char **,unsigned char **,unsigned char **);
176RPC_STATUS RPC_ENTRY RpcStringBindingParseW(unsigned short *,unsigned short **,unsigned short **,unsigned short **,unsigned short **,unsigned short **);
177RPC_STATUS RPC_ENTRY RpcStringFreeA(unsigned char**);
178RPC_STATUS RPC_ENTRY RpcStringFreeW(unsigned short**);
179RPC_STATUS RPC_ENTRY RpcNetworkIsProtseqValidA(unsigned char*);
180RPC_STATUS RPC_ENTRY RpcNetworkIsProtseqValidW(unsigned short*);
181RPC_STATUS RPC_ENTRY RpcNetworkInqProtseqsA(RPC_PROTSEQ_VECTORA**);
182RPC_STATUS RPC_ENTRY RpcNetworkInqProtseqsW(RPC_PROTSEQ_VECTORW**);
183RPC_STATUS RPC_ENTRY RpcProtseqVectorFreeA(RPC_PROTSEQ_VECTORA**);
184RPC_STATUS RPC_ENTRY RpcProtseqVectorFreeW(RPC_PROTSEQ_VECTORW**);
185RPC_STATUS RPC_ENTRY RpcServerUseProtseqA(unsigned char*,unsigned int,void*);
186RPC_STATUS RPC_ENTRY RpcServerUseProtseqW(unsigned short*,unsigned int,void*);
187RPC_STATUS RPC_ENTRY RpcServerUseProtseqExA(unsigned char*,unsigned int MaxCalls,void*,PRPC_POLICY);
188RPC_STATUS RPC_ENTRY RpcServerUseProtseqExW(unsigned short*,unsigned int,void*,PRPC_POLICY);
189RPC_STATUS RPC_ENTRY RpcServerUseProtseqEpA(unsigned char*,unsigned int,unsigned char*,void*);
190RPC_STATUS RPC_ENTRY RpcServerUseProtseqEpExA(unsigned char*,unsigned int,unsigned char*,void*,PRPC_POLICY);
191RPC_STATUS RPC_ENTRY RpcServerUseProtseqEpW(unsigned short*,unsigned int,unsigned short*,void*);
192RPC_STATUS RPC_ENTRY RpcServerUseProtseqEpExW(unsigned short*,unsigned int,unsigned short*,void*,PRPC_POLICY);
193RPC_STATUS RPC_ENTRY RpcServerUseProtseqIfA(unsigned char*,unsigned int,RPC_IF_HANDLE,void*);
194RPC_STATUS RPC_ENTRY RpcServerUseProtseqIfExA(unsigned char*,unsigned int,RPC_IF_HANDLE,void*,PRPC_POLICY);
195RPC_STATUS RPC_ENTRY RpcServerUseProtseqIfW(unsigned short*,unsigned int,RPC_IF_HANDLE,void*);
196RPC_STATUS RPC_ENTRY RpcServerUseProtseqIfExW(unsigned short*,unsigned int,RPC_IF_HANDLE,void*,PRPC_POLICY);
197RPC_STATUS RPC_ENTRY RpcMgmtInqServerPrincNameA(RPC_BINDING_HANDLE,unsigned long,unsigned char**);
198RPC_STATUS RPC_ENTRY RpcMgmtInqServerPrincNameW(RPC_BINDING_HANDLE,unsigned long,unsigned short**);
199RPC_STATUS RPC_ENTRY RpcServerInqDefaultPrincNameA(unsigned long,unsigned char**);
200RPC_STATUS RPC_ENTRY RpcServerInqDefaultPrincNameW(unsigned long,unsigned short**);
201RPC_STATUS RPC_ENTRY RpcNsBindingInqEntryNameA(RPC_BINDING_HANDLE,unsigned long,unsigned char**);
202RPC_STATUS RPC_ENTRY RpcNsBindingInqEntryNameW(RPC_BINDING_HANDLE,unsigned long,unsigned short**);
203RPC_STATUS RPC_ENTRY RpcBindingInqAuthClientA(RPC_BINDING_HANDLE,RPC_AUTHZ_HANDLE *,unsigned char**,unsigned long*,unsigned long*,unsigned long*);
204RPC_STATUS RPC_ENTRY RpcBindingInqAuthClientW(RPC_BINDING_HANDLE,RPC_AUTHZ_HANDLE *,unsigned short**,unsigned long*,unsigned long*,unsigned long*);
205RPC_STATUS RPC_ENTRY RpcBindingInqAuthInfoA(RPC_BINDING_HANDLE,unsigned char**,unsigned long*,unsigned long*,RPC_AUTH_IDENTITY_HANDLE*,unsigned long*);
206RPC_STATUS RPC_ENTRY RpcBindingInqAuthInfoW(RPC_BINDING_HANDLE,unsigned short**,unsigned long*,unsigned long*,RPC_AUTH_IDENTITY_HANDLE*,unsigned long*);
207RPC_STATUS RPC_ENTRY RpcBindingSetAuthInfoA(RPC_BINDING_HANDLE,unsigned char*,unsigned long,unsigned long,RPC_AUTH_IDENTITY_HANDLE,unsigned long);
208RPC_STATUS RPC_ENTRY RpcBindingSetAuthInfoExA(RPC_BINDING_HANDLE,unsigned char*,unsigned long,unsigned long,RPC_AUTH_IDENTITY_HANDLE,unsigned long,RPC_SECURITY_QOS*);
209RPC_STATUS RPC_ENTRY RpcBindingSetAuthInfoW(RPC_BINDING_HANDLE,unsigned short*,unsigned long,unsigned long,RPC_AUTH_IDENTITY_HANDLE,unsigned long);
210RPC_STATUS RPC_ENTRY RpcBindingSetAuthInfoExW(RPC_BINDING_HANDLE,unsigned short*,unsigned long,unsigned long,RPC_AUTH_IDENTITY_HANDLE,unsigned long,RPC_SECURITY_QOS*);
211RPC_STATUS RPC_ENTRY RpcBindingInqAuthInfoExA(RPC_BINDING_HANDLE,unsigned char**,unsigned long*,unsigned long*,RPC_AUTH_IDENTITY_HANDLE*,unsigned long*,unsigned long,RPC_SECURITY_QOS*);
212RPC_STATUS RPC_ENTRY RpcBindingInqAuthInfoExW(RPC_BINDING_HANDLE,unsigned short ** , unsigned long *, unsigned long *, RPC_AUTH_IDENTITY_HANDLE *, unsigned long *, unsigned long , RPC_SECURITY_QOS *);
213typedef void(__RPC_USER *RPC_AUTH_KEY_RETRIEVAL_FN)(void*,unsigned short*,unsigned long,void**,RPC_STATUS*);
214RPC_STATUS RPC_ENTRY RpcServerRegisterAuthInfoA(unsigned char*,unsigned long,RPC_AUTH_KEY_RETRIEVAL_FN,void*);
215RPC_STATUS RPC_ENTRY RpcServerRegisterAuthInfoW(unsigned short*,unsigned long,RPC_AUTH_KEY_RETRIEVAL_FN,void*);
216RPC_STATUS RPC_ENTRY UuidToStringA(UUID*,unsigned char**);
217RPC_STATUS RPC_ENTRY UuidFromStringA(unsigned char*,UUID*);
218RPC_STATUS RPC_ENTRY UuidToStringW(UUID*,unsigned short**);
219RPC_STATUS RPC_ENTRY UuidFromStringW(unsigned short*,UUID*);
220RPC_STATUS RPC_ENTRY RpcEpRegisterNoReplaceA(RPC_IF_HANDLE,RPC_BINDING_VECTOR*,UUID_VECTOR*,unsigned char*);
221RPC_STATUS RPC_ENTRY RpcEpRegisterNoReplaceW(RPC_IF_HANDLE,RPC_BINDING_VECTOR*, UUID_VECTOR*,unsigned short*);
222RPC_STATUS RPC_ENTRY RpcEpRegisterA(RPC_IF_HANDLE,RPC_BINDING_VECTOR*,UUID_VECTOR*,unsigned char*);
223RPC_STATUS RPC_ENTRY RpcEpRegisterW(RPC_IF_HANDLE,RPC_BINDING_VECTOR*,UUID_VECTOR*,unsigned short*);
224RPC_STATUS RPC_ENTRY DceErrorInqTextA(RPC_STATUS,unsigned char*);
225RPC_STATUS RPC_ENTRY DceErrorInqTextW(RPC_STATUS,unsigned short*);
226RPC_STATUS RPC_ENTRY RpcMgmtEpEltInqNextA(RPC_EP_INQ_HANDLE,RPC_IF_ID*,RPC_BINDING_HANDLE*,UUID*,unsigned char**);
227RPC_STATUS RPC_ENTRY RpcMgmtEpEltInqNextW(RPC_EP_INQ_HANDLE,RPC_IF_ID*,RPC_BINDING_HANDLE*,UUID*,unsigned short**);
228#ifdef UNICODE
229#define RPC_PROTSEQ_VECTOR RPC_PROTSEQ_VECTORW
230#define SEC_WINNT_AUTH_IDENTITY SEC_WINNT_AUTH_IDENTITY_W
231#define PSEC_WINNT_AUTH_IDENTITY PSEC_WINNT_AUTH_IDENTITY_W
232#define _SEC_WINNT_AUTH_IDENTITY _SEC_WINNT_AUTH_IDENTITY_W
233#define RpcMgmtEpEltInqNext RpcMgmtEpEltInqNextW
234#define RpcBindingFromStringBinding RpcBindingFromStringBindingW
235#define RpcBindingToStringBinding RpcBindingToStringBindingW
236#define RpcStringBindingCompose RpcStringBindingComposeW
237#define RpcStringBindingParse RpcStringBindingParseW
238#define RpcStringFree RpcStringFreeW
239#define RpcNetworkIsProtseqValid RpcNetworkIsProtseqValidW
240#define RpcNetworkInqProtseqs RpcNetworkInqProtseqsW
241#define RpcProtseqVectorFree RpcProtseqVectorFreeW
242#define RpcServerUseProtseq RpcServerUseProtseqW
243#define RpcServerUseProtseqEx RpcServerUseProtseqExW
244#define RpcServerUseProtseqEp RpcServerUseProtseqEpW
245#define RpcServerUseProtseqEpEx RpcServerUseProtseqEpExW
246#define RpcServerUseProtseqIf RpcServerUseProtseqIfW
247#define RpcServerUseProtseqIfEx RpcServerUseProtseqIfExW
248#define RpcMgmtInqServerPrincName RpcMgmtInqServerPrincNameW
249#define RpcServerInqDefaultPrincName RpcServerInqDefaultPrincNameW
250#define RpcNsBindingInqEntryName RpcNsBindingInqEntryNameW
251#define RpcBindingInqAuthClient RpcBindingInqAuthClientW
252#define RpcBindingInqAuthInfo RpcBindingInqAuthInfoW
253#define RpcBindingSetAuthInfo RpcBindingSetAuthInfoW
254#define RpcServerRegisterAuthInfo RpcServerRegisterAuthInfoW
255#define RpcBindingInqAuthInfoEx RpcBindingInqAuthInfoExW
256#define RpcBindingSetAuthInfoEx RpcBindingSetAuthInfoExW
257#define UuidFromString UuidFromStringW
258#define UuidToString UuidToStringW
259#define RpcEpRegisterNoReplace RpcEpRegisterNoReplaceW
260#define RpcEpRegister RpcEpRegisterW
261#define DceErrorInqText DceErrorInqTextW
262#else /* UNICODE */
263#define RPC_PROTSEQ_VECTOR RPC_PROTSEQ_VECTORA
264#define SEC_WINNT_AUTH_IDENTITY SEC_WINNT_AUTH_IDENTITY_A
265#define PSEC_WINNT_AUTH_IDENTITY PSEC_WINNT_AUTH_IDENTITY_A
266#define _SEC_WINNT_AUTH_IDENTITY _SEC_WINNT_AUTH_IDENTITY_A
267#define RpcMgmtEpEltInqNext RpcMgmtEpEltInqNextA
268#define RpcBindingFromStringBinding RpcBindingFromStringBindingA
269#define RpcBindingToStringBinding RpcBindingToStringBindingA
270#define RpcStringBindingCompose RpcStringBindingComposeA
271#define RpcStringBindingParse RpcStringBindingParseA
272#define RpcStringFree RpcStringFreeA
273#define RpcNetworkIsProtseqValid RpcNetworkIsProtseqValidA
274#define RpcNetworkInqProtseqs RpcNetworkInqProtseqsA
275#define RpcProtseqVectorFree RpcProtseqVectorFreeA
276#define RpcServerUseProtseq RpcServerUseProtseqA
277#define RpcServerUseProtseqEx RpcServerUseProtseqExA
278#define RpcServerUseProtseqEp RpcServerUseProtseqEpA
279#define RpcServerUseProtseqEpEx RpcServerUseProtseqEpExA
280#define RpcServerUseProtseqIf RpcServerUseProtseqIfA
281#define RpcServerUseProtseqIfEx RpcServerUseProtseqIfExA
282#define RpcMgmtInqServerPrincName RpcMgmtInqServerPrincNameA
283#define RpcServerInqDefaultPrincName RpcServerInqDefaultPrincNameA
284#define RpcNsBindingInqEntryName RpcNsBindingInqEntryNameA
285#define RpcBindingInqAuthClient RpcBindingInqAuthClientA
286#define RpcBindingInqAuthInfo RpcBindingInqAuthInfoA
287#define RpcBindingSetAuthInfo RpcBindingSetAuthInfoA
288#define RpcServerRegisterAuthInfo RpcServerRegisterAuthInfoA
289#define RpcBindingInqAuthInfoEx RpcBindingInqAuthInfoExA
290#define RpcBindingSetAuthInfoEx RpcBindingSetAuthInfoExA
291#define UuidFromString UuidFromStringA
292#define UuidToString UuidToStringA
293#define RpcEpRegisterNoReplace RpcEpRegisterNoReplaceA
294#define RpcEpRegister RpcEpRegisterA
295#define DceErrorInqText DceErrorInqTextA
296#endif /* UNICODE */
297#else /* RPC_UNICODE_SUPPORTED */
298typedef struct _RPC_PROTSEQ_VECTOR {
299 unsigned int Count;
300 unsigned char* Protseq[1];
301} RPC_PROTSEQ_VECTOR;
302RPC_STATUS RPC_ENTRY RpcBindingFromStringBinding(unsigned char *,RPC_BINDING_HANDLE *);
303RPC_STATUS RPC_ENTRY RpcBindingToStringBinding(RPC_BINDING_HANDLE,unsigned char **);
304RPC_STATUS RPC_ENTRY RpcStringBindingCompose(unsigned char *,unsigned char *,unsigned char *,unsigned char *,unsigned char *,unsigned char **);
305RPC_STATUS RPC_ENTRY RpcStringBindingParse(unsigned char *,unsigned char **,unsigned char **,unsigned char **,unsigned char **,unsigned char **);
306RPC_STATUS RPC_ENTRY RpcStringFree(unsigned char**);
307RPC_STATUS RPC_ENTRY RpcNetworkIsProtseqValid(unsigned char*);
308RPC_STATUS RPC_ENTRY RpcNetworkInqProtseqs(RPC_PROTSEQ_VECTOR **);
309RPC_STATUS RPC_ENTRY RpcServerInqBindings(RPC_BINDING_VECTOR **);
310RPC_STATUS RPC_ENTRY RpcServerUseProtseq(unsigned char*,unsigned int,void*);
311RPC_STATUS RPC_ENTRY RpcServerUseProtseqEx(unsigned char*,unsigned int,void*,PRPC_POLICY);
312RPC_STATUS RPC_ENTRY RpcServerUseProtseqEp(unsigned char*,unsigned int,unsigned char*,void*);
313RPC_STATUS RPC_ENTRY RpcServerUseProtseqEpEx(unsigned char*,unsigned int,unsigned char*,void*,PRPC_POLICY);
314RPC_STATUS RPC_ENTRY RpcServerUseProtseqIf(unsigned char*,unsigned int,RPC_IF_HANDLE,void*);
315RPC_STATUS RPC_ENTRY RpcServerUseProtseqIfEx(unsigned char*,unsigned int,RPC_IF_HANDLE,void*,PRPC_POLICY);
316RPC_STATUS RPC_ENTRY RpcMgmtInqServerPrincName(RPC_BINDING_HANDLE,unsigned long,unsigned char**);
317RPC_STATUS RPC_ENTRY RpcServerInqDefaultPrincName(unsigned long,unsigned char**);
318RPC_STATUS RPC_ENTRY RpcNsBindingInqEntryName(RPC_BINDING_HANDLE,unsigned long,unsigned char**);
319RPC_STATUS RPC_ENTRY RpcBindingInqAuthClient(RPC_BINDING_HANDLE,RPC_AUTHZ_HANDLE*,unsigned char**,unsigned long*,unsigned long*,unsigned long*);
320RPC_STATUS RPC_ENTRY RpcBindingInqAuthInfo(RPC_BINDING_HANDLE,unsigned char **,unsigned long *,unsigned long *,RPC_AUTH_IDENTITY_HANDLE *,unsigned long *);
321RPC_STATUS RPC_ENTRY RpcBindingSetAuthInfo(RPC_BINDING_HANDLE,unsigned char *,unsigned long,unsigned long,RPC_AUTH_IDENTITY_HANDLE,unsigned long);
322typedef void(__RPC_USER *RPC_AUTH_KEY_RETRIEVAL_FN)(void*,unsigned char*,unsigned long,void**,RPC_STATUS*);
323RPC_STATUS RPC_ENTRY RpcServerRegisterAuthInfo(unsigned char*,unsigned long,RPC_AUTH_KEY_RETRIEVAL_FN,void*);
324RPC_STATUS RPC_ENTRY UuidToString(UUID*,unsigned char**);
325RPC_STATUS RPC_ENTRY UuidFromString(unsigned char*,UUID*);
326RPC_STATUS RPC_ENTRY RpcEpRegisterNoReplace(RPC_IF_HANDLE,RPC_BINDING_VECTOR*,UUID_VECTOR*,unsigned char*);
327RPC_STATUS RPC_ENTRY RpcEpRegister(RPC_IF_HANDLE,RPC_BINDING_VECTOR*,UUID_VECTOR*,unsigned char*);
328RPC_STATUS RPC_ENTRY DceErrorInqText(RPC_STATUS,unsigned char*);
329RPC_STATUS RPC_ENTRY RpcMgmtEpEltInqNext(RPC_EP_INQ_HANDLE,RPC_IF_ID *,RPC_BINDING_HANDLE *,unsigned char **);
330#endif /* RPC_UNICODE_SUPPORTED */
331
332RPC_STATUS RPC_ENTRY RpcBindingCopy(RPC_BINDING_HANDLE,RPC_BINDING_HANDLE*);
333RPC_STATUS RPC_ENTRY RpcBindingFree(RPC_BINDING_HANDLE*);
334RPC_STATUS RPC_ENTRY RpcBindingInqObject(RPC_BINDING_HANDLE,UUID *);
335RPC_STATUS RPC_ENTRY RpcBindingReset(RPC_BINDING_HANDLE);
336RPC_STATUS RPC_ENTRY RpcBindingSetObject(RPC_BINDING_HANDLE,UUID *);
337RPC_STATUS RPC_ENTRY RpcMgmtInqDefaultProtectLevel(unsigned long,unsigned long *);
338RPC_STATUS RPC_ENTRY RpcBindingVectorFree(RPC_BINDING_VECTOR **);
339RPC_STATUS RPC_ENTRY RpcIfInqId(RPC_IF_HANDLE,RPC_IF_ID *);
340RPC_STATUS RPC_ENTRY RpcMgmtInqComTimeout(RPC_BINDING_HANDLE,unsigned int*);
341RPC_STATUS RPC_ENTRY RpcMgmtSetComTimeout(RPC_BINDING_HANDLE,unsigned int);
342RPC_STATUS RPC_ENTRY RpcMgmtSetCancelTimeout(long Timeout);
343RPC_STATUS RPC_ENTRY RpcObjectInqType(UUID *,UUID *);
344RPC_STATUS RPC_ENTRY RpcObjectSetInqFn(RPC_OBJECT_INQ_FN *);
345RPC_STATUS RPC_ENTRY RpcObjectSetType(UUID *,UUID *);
346RPC_STATUS RPC_ENTRY RpcProtseqVectorFree(RPC_PROTSEQ_VECTOR **);
347RPC_STATUS RPC_ENTRY RpcServerInqIf(RPC_IF_HANDLE,UUID*,RPC_MGR_EPV**);
348RPC_STATUS RPC_ENTRY RpcServerListen(unsigned int,unsigned int,unsigned int);
349RPC_STATUS RPC_ENTRY RpcServerRegisterIf(RPC_IF_HANDLE,UUID*,RPC_MGR_EPV*);
350RPC_STATUS RPC_ENTRY RpcServerRegisterIfEx(RPC_IF_HANDLE,UUID*,RPC_MGR_EPV*,unsigned int,unsigned int,RPC_IF_CALLBACK_FN*);
351RPC_STATUS RPC_ENTRY RpcServerRegisterIf2(RPC_IF_HANDLE,UUID*,RPC_MGR_EPV*,unsigned int,unsigned int,unsigned int,RPC_IF_CALLBACK_FN*);
352RPC_STATUS RPC_ENTRY RpcServerUnregisterIf(RPC_IF_HANDLE,UUID*,unsigned int);
353RPC_STATUS RPC_ENTRY RpcServerUseAllProtseqs(unsigned int,void*);
354RPC_STATUS RPC_ENTRY RpcServerUseAllProtseqsEx(unsigned int,void*,PRPC_POLICY);
355RPC_STATUS RPC_ENTRY RpcServerUseAllProtseqsIf(unsigned int,RPC_IF_HANDLE,void*);
356RPC_STATUS RPC_ENTRY RpcServerUseAllProtseqsIfEx(unsigned int,RPC_IF_HANDLE,void*,PRPC_POLICY);
357RPC_STATUS RPC_ENTRY RpcMgmtStatsVectorFree(RPC_STATS_VECTOR**);
358RPC_STATUS RPC_ENTRY RpcMgmtInqStats(RPC_BINDING_HANDLE,RPC_STATS_VECTOR**);
359RPC_STATUS RPC_ENTRY RpcMgmtIsServerListening(RPC_BINDING_HANDLE);
360RPC_STATUS RPC_ENTRY RpcMgmtStopServerListening(RPC_BINDING_HANDLE);
361RPC_STATUS RPC_ENTRY RpcMgmtWaitServerListen(void);
362RPC_STATUS RPC_ENTRY RpcMgmtSetServerStackSize(unsigned long);
363void RPC_ENTRY RpcSsDontSerializeContext(void);
364RPC_STATUS RPC_ENTRY RpcMgmtEnableIdleCleanup(void);
365RPC_STATUS RPC_ENTRY RpcMgmtInqIfIds(RPC_BINDING_HANDLE,RPC_IF_ID_VECTOR**);
366RPC_STATUS RPC_ENTRY RpcIfIdVectorFree(RPC_IF_ID_VECTOR**);
367RPC_STATUS RPC_ENTRY RpcEpResolveBinding(RPC_BINDING_HANDLE,RPC_IF_HANDLE);
368RPC_STATUS RPC_ENTRY RpcBindingServerFromClient(RPC_BINDING_HANDLE,RPC_BINDING_HANDLE*);
369DECLSPEC_NORETURN void RPC_ENTRY RpcRaiseException(RPC_STATUS);
370RPC_STATUS RPC_ENTRY RpcTestCancel(void);
371RPC_STATUS RPC_ENTRY RpcCancelThread(void*);
372RPC_STATUS RPC_ENTRY UuidCreate(UUID*);
373signed int RPC_ENTRY UuidCompare(UUID*,UUID*, RPC_STATUS*);
374RPC_STATUS RPC_ENTRY UuidCreateNil(UUID*);
375int RPC_ENTRY UuidEqual(UUID*,UUID*, RPC_STATUS*);
376unsigned short RPC_ENTRY UuidHash(UUID*,RPC_STATUS*);
377int RPC_ENTRY UuidIsNil(UUID*,RPC_STATUS*);
378RPC_STATUS RPC_ENTRY RpcEpUnregister(RPC_IF_HANDLE,RPC_BINDING_VECTOR*,UUID_VECTOR*);
379RPC_STATUS RPC_ENTRY RpcMgmtEpEltInqBegin(RPC_BINDING_HANDLE,unsigned long,RPC_IF_ID*,unsigned long,UUID*,RPC_EP_INQ_HANDLE*);
380RPC_STATUS RPC_ENTRY RpcMgmtEpEltInqDone(RPC_EP_INQ_HANDLE*);
381RPC_STATUS RPC_ENTRY RpcMgmtEpUnregister(RPC_BINDING_HANDLE,RPC_IF_ID*,RPC_BINDING_HANDLE,UUID*);
382RPC_STATUS RPC_ENTRY RpcMgmtSetAuthorizationFn(RPC_MGMT_AUTHORIZATION_FN);
383RPC_STATUS RPC_ENTRY RpcMgmtInqParameter(unsigned int,unsigned long*);
384RPC_STATUS RPC_ENTRY RpcMgmtSetParameter(unsigned int,unsigned long);
385RPC_STATUS RPC_ENTRY RpcMgmtBindingInqParameter(RPC_BINDING_HANDLE,unsigned int,unsigned long*);
386RPC_STATUS RPC_ENTRY RpcMgmtBindingSetParameter(RPC_BINDING_HANDLE,unsigned int,unsigned long);
387
388#if _WIN32_WINNT >= 0x0500
389RPC_STATUS RPC_ENTRY UuidCreateSequential(UUID*);
390#endif
391
392#include <rpcdcep.h>
393#ifdef __cplusplus
394}
395#endif
396#endif
Note: See TracBrowser for help on using the repository browser.