4 #pragma GCC system_header
12 #ifndef _NO_W32_PSEUDO_MODIFIERS
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
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
94 typedef I_RPC_HANDLE RPC_BINDING_HANDLE
;
95 typedef RPC_BINDING_HANDLE handle_t
;
96 typedef struct _RPC_BINDING_VECTOR
{
98 RPC_BINDING_HANDLE BindingH
[1];
100 typedef struct _UUID_VECTOR
{
104 typedef void *RPC_IF_HANDLE
;
105 typedef struct _RPC_IF_ID
{
107 unsigned short VersMajor
;
108 unsigned short VersMinor
;
110 typedef struct _RPC_POLICY
{
111 unsigned int Length
;
112 unsigned long EndpointFlags
;
113 unsigned long NICFlags
;
114 } RPC_POLICY
,*PRPC_POLICY
;
115 typedef void __RPC_USER
RPC_OBJECT_INQ_FN(UUID
*,UUID
*,RPC_STATUS
*);
116 typedef RPC_STATUS
RPC_IF_CALLBACK_FN(RPC_IF_HANDLE
,void*);
119 unsigned long Stats
[1];
125 typedef void *RPC_AUTH_IDENTITY_HANDLE
;
126 typedef void *RPC_AUTHZ_HANDLE
;
127 typedef 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
;
133 typedef 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
;
141 } SEC_WINNT_AUTH_IDENTITY_W
,*PSEC_WINNT_AUTH_IDENTITY_W
;
142 typedef struct _SEC_WINNT_AUTH_IDENTITY_A
{
144 unsigned long UserLength
;
145 unsigned char *Domain
;
146 unsigned long DomainLength
;
147 unsigned char *Password
;
148 unsigned long PasswordLength
;
150 } SEC_WINNT_AUTH_IDENTITY_A
,*PSEC_WINNT_AUTH_IDENTITY_A
;
152 unsigned char *UserName
;
153 unsigned char *ComputerName
;
154 unsigned short Privilege
;
155 unsigned long AuthFlags
;
156 } RPC_CLIENT_INFORMATION1
,* PRPC_CLIENT_INFORMATION1
;
157 typedef I_RPC_HANDLE
*RPC_EP_INQ_HANDLE
;
158 typedef int(__RPC_API
*RPC_MGMT_AUTHORIZATION_FN
)(RPC_BINDING_HANDLE
,unsigned long,RPC_STATUS
*);
160 #ifdef RPC_UNICODE_SUPPORTED
161 typedef struct _RPC_PROTSEQ_VECTORA
{
163 unsigned char*Protseq
[1];
164 } RPC_PROTSEQ_VECTORA
;
165 typedef struct _RPC_PROTSEQ_VECTORW
{
167 unsigned short*Protseq
[1];
168 } RPC_PROTSEQ_VECTORW
;
169 RPC_STATUS RPC_ENTRY
RpcBindingFromStringBindingA(unsigned char *,RPC_BINDING_HANDLE
*);
170 RPC_STATUS RPC_ENTRY
RpcBindingFromStringBindingW(unsigned short *,RPC_BINDING_HANDLE
*);
171 RPC_STATUS RPC_ENTRY
RpcBindingToStringBindingA(RPC_BINDING_HANDLE
,unsigned char**);
172 RPC_STATUS RPC_ENTRY
RpcBindingToStringBindingW(RPC_BINDING_HANDLE
,unsigned short**);
173 RPC_STATUS RPC_ENTRY
RpcStringBindingComposeA(unsigned char *,unsigned char *,unsigned char *,unsigned char *,unsigned char *,unsigned char **);
174 RPC_STATUS RPC_ENTRY
RpcStringBindingComposeW(unsigned short *,unsigned short *,unsigned short *,unsigned short *,unsigned short *,unsigned short **);
175 RPC_STATUS RPC_ENTRY
RpcStringBindingParseA(unsigned char *,unsigned char **,unsigned char **,unsigned char **,unsigned char **,unsigned char **);
176 RPC_STATUS RPC_ENTRY
RpcStringBindingParseW(unsigned short *,unsigned short **,unsigned short **,unsigned short **,unsigned short **,unsigned short **);
177 RPC_STATUS RPC_ENTRY
RpcStringFreeA(unsigned char**);
178 RPC_STATUS RPC_ENTRY
RpcStringFreeW(unsigned short**);
179 RPC_STATUS RPC_ENTRY
RpcNetworkIsProtseqValidA(unsigned char*);
180 RPC_STATUS RPC_ENTRY
RpcNetworkIsProtseqValidW(unsigned short*);
181 RPC_STATUS RPC_ENTRY
RpcNetworkInqProtseqsA(RPC_PROTSEQ_VECTORA
**);
182 RPC_STATUS RPC_ENTRY
RpcNetworkInqProtseqsW(RPC_PROTSEQ_VECTORW
**);
183 RPC_STATUS RPC_ENTRY
RpcProtseqVectorFreeA(RPC_PROTSEQ_VECTORA
**);
184 RPC_STATUS RPC_ENTRY
RpcProtseqVectorFreeW(RPC_PROTSEQ_VECTORW
**);
185 RPC_STATUS RPC_ENTRY
RpcServerUseProtseqA(unsigned char*,unsigned int,void*);
186 RPC_STATUS RPC_ENTRY
RpcServerUseProtseqW(unsigned short*,unsigned int,void*);
187 RPC_STATUS RPC_ENTRY
RpcServerUseProtseqExA(unsigned char*,unsigned int MaxCalls
,void*,PRPC_POLICY
);
188 RPC_STATUS RPC_ENTRY
RpcServerUseProtseqExW(unsigned short*,unsigned int,void*,PRPC_POLICY
);
189 RPC_STATUS RPC_ENTRY
RpcServerUseProtseqEpA(unsigned char*,unsigned int,unsigned char*,void*);
190 RPC_STATUS RPC_ENTRY
RpcServerUseProtseqEpExA(unsigned char*,unsigned int,unsigned char*,void*,PRPC_POLICY
);
191 RPC_STATUS RPC_ENTRY
RpcServerUseProtseqEpW(unsigned short*,unsigned int,unsigned short*,void*);
192 RPC_STATUS RPC_ENTRY
RpcServerUseProtseqEpExW(unsigned short*,unsigned int,unsigned short*,void*,PRPC_POLICY
);
193 RPC_STATUS RPC_ENTRY
RpcServerUseProtseqIfA(unsigned char*,unsigned int,RPC_IF_HANDLE
,void*);
194 RPC_STATUS RPC_ENTRY
RpcServerUseProtseqIfExA(unsigned char*,unsigned int,RPC_IF_HANDLE
,void*,PRPC_POLICY
);
195 RPC_STATUS RPC_ENTRY
RpcServerUseProtseqIfW(unsigned short*,unsigned int,RPC_IF_HANDLE
,void*);
196 RPC_STATUS RPC_ENTRY
RpcServerUseProtseqIfExW(unsigned short*,unsigned int,RPC_IF_HANDLE
,void*,PRPC_POLICY
);
197 RPC_STATUS RPC_ENTRY
RpcMgmtInqServerPrincNameA(RPC_BINDING_HANDLE
,unsigned long,unsigned char**);
198 RPC_STATUS RPC_ENTRY
RpcMgmtInqServerPrincNameW(RPC_BINDING_HANDLE
,unsigned long,unsigned short**);
199 RPC_STATUS RPC_ENTRY
RpcServerInqDefaultPrincNameA(unsigned long,unsigned char**);
200 RPC_STATUS RPC_ENTRY
RpcServerInqDefaultPrincNameW(unsigned long,unsigned short**);
201 RPC_STATUS RPC_ENTRY
RpcNsBindingInqEntryNameA(RPC_BINDING_HANDLE
,unsigned long,unsigned char**);
202 RPC_STATUS RPC_ENTRY
RpcNsBindingInqEntryNameW(RPC_BINDING_HANDLE
,unsigned long,unsigned short**);
203 RPC_STATUS RPC_ENTRY
RpcBindingInqAuthClientA(RPC_BINDING_HANDLE
,RPC_AUTHZ_HANDLE
*,unsigned char**,unsigned long*,unsigned long*,unsigned long*);
204 RPC_STATUS RPC_ENTRY
RpcBindingInqAuthClientW(RPC_BINDING_HANDLE
,RPC_AUTHZ_HANDLE
*,unsigned short**,unsigned long*,unsigned long*,unsigned long*);
205 RPC_STATUS RPC_ENTRY
RpcBindingInqAuthInfoA(RPC_BINDING_HANDLE
,unsigned char**,unsigned long*,unsigned long*,RPC_AUTH_IDENTITY_HANDLE
*,unsigned long*);
206 RPC_STATUS RPC_ENTRY
RpcBindingInqAuthInfoW(RPC_BINDING_HANDLE
,unsigned short**,unsigned long*,unsigned long*,RPC_AUTH_IDENTITY_HANDLE
*,unsigned long*);
207 RPC_STATUS RPC_ENTRY
RpcBindingSetAuthInfoA(RPC_BINDING_HANDLE
,unsigned char*,unsigned long,unsigned long,RPC_AUTH_IDENTITY_HANDLE
,unsigned long);
208 RPC_STATUS RPC_ENTRY
RpcBindingSetAuthInfoExA(RPC_BINDING_HANDLE
,unsigned char*,unsigned long,unsigned long,RPC_AUTH_IDENTITY_HANDLE
,unsigned long,RPC_SECURITY_QOS
*);
209 RPC_STATUS RPC_ENTRY
RpcBindingSetAuthInfoW(RPC_BINDING_HANDLE
,unsigned short*,unsigned long,unsigned long,RPC_AUTH_IDENTITY_HANDLE
,unsigned long);
210 RPC_STATUS RPC_ENTRY
RpcBindingSetAuthInfoExW(RPC_BINDING_HANDLE
,unsigned short*,unsigned long,unsigned long,RPC_AUTH_IDENTITY_HANDLE
,unsigned long,RPC_SECURITY_QOS
*);
211 RPC_STATUS RPC_ENTRY
RpcBindingInqAuthInfoExA(RPC_BINDING_HANDLE
,unsigned char**,unsigned long*,unsigned long*,RPC_AUTH_IDENTITY_HANDLE
*,unsigned long*,unsigned long,RPC_SECURITY_QOS
*);
212 RPC_STATUS RPC_ENTRY
RpcBindingInqAuthInfoExW(RPC_BINDING_HANDLE
,unsigned short ** , unsigned long *, unsigned long *, RPC_AUTH_IDENTITY_HANDLE
*, unsigned long *, unsigned long , RPC_SECURITY_QOS
*);
213 typedef void(__RPC_USER
*RPC_AUTH_KEY_RETRIEVAL_FN
)(void*,unsigned short*,unsigned long,void**,RPC_STATUS
*);
214 RPC_STATUS RPC_ENTRY
RpcServerRegisterAuthInfoA(unsigned char*,unsigned long,RPC_AUTH_KEY_RETRIEVAL_FN
,void*);
215 RPC_STATUS RPC_ENTRY
RpcServerRegisterAuthInfoW(unsigned short*,unsigned long,RPC_AUTH_KEY_RETRIEVAL_FN
,void*);
216 RPC_STATUS RPC_ENTRY
UuidToStringA(UUID
*,unsigned char**);
217 RPC_STATUS RPC_ENTRY
UuidFromStringA(unsigned char*,UUID
*);
218 RPC_STATUS RPC_ENTRY
UuidToStringW(UUID
*,unsigned short**);
219 RPC_STATUS RPC_ENTRY
UuidFromStringW(unsigned short*,UUID
*);
220 RPC_STATUS RPC_ENTRY
RpcEpRegisterNoReplaceA(RPC_IF_HANDLE
,RPC_BINDING_VECTOR
*,UUID_VECTOR
*,unsigned char*);
221 RPC_STATUS RPC_ENTRY
RpcEpRegisterNoReplaceW(RPC_IF_HANDLE
,RPC_BINDING_VECTOR
*, UUID_VECTOR
*,unsigned short*);
222 RPC_STATUS RPC_ENTRY
RpcEpRegisterA(RPC_IF_HANDLE
,RPC_BINDING_VECTOR
*,UUID_VECTOR
*,unsigned char*);
223 RPC_STATUS RPC_ENTRY
RpcEpRegisterW(RPC_IF_HANDLE
,RPC_BINDING_VECTOR
*,UUID_VECTOR
*,unsigned short*);
224 RPC_STATUS RPC_ENTRY
DceErrorInqTextA(RPC_STATUS
,unsigned char*);
225 RPC_STATUS RPC_ENTRY
DceErrorInqTextW(RPC_STATUS
,unsigned short*);
226 RPC_STATUS RPC_ENTRY
RpcMgmtEpEltInqNextA(RPC_EP_INQ_HANDLE
,RPC_IF_ID
*,RPC_BINDING_HANDLE
*,UUID
*,unsigned char**);
227 RPC_STATUS RPC_ENTRY
RpcMgmtEpEltInqNextW(RPC_EP_INQ_HANDLE
,RPC_IF_ID
*,RPC_BINDING_HANDLE
*,UUID
*,unsigned short**);
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
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
297 #else /* RPC_UNICODE_SUPPORTED */
298 typedef struct _RPC_PROTSEQ_VECTOR
{
300 unsigned char* Protseq
[1];
301 } RPC_PROTSEQ_VECTOR
;
302 RPC_STATUS RPC_ENTRY
RpcBindingFromStringBinding(unsigned char *,RPC_BINDING_HANDLE
*);
303 RPC_STATUS RPC_ENTRY
RpcBindingToStringBinding(RPC_BINDING_HANDLE
,unsigned char **);
304 RPC_STATUS RPC_ENTRY
RpcStringBindingCompose(unsigned char *,unsigned char *,unsigned char *,unsigned char *,unsigned char *,unsigned char **);
305 RPC_STATUS RPC_ENTRY
RpcStringBindingParse(unsigned char *,unsigned char **,unsigned char **,unsigned char **,unsigned char **,unsigned char **);
306 RPC_STATUS RPC_ENTRY
RpcStringFree(unsigned char**);
307 RPC_STATUS RPC_ENTRY
RpcNetworkIsProtseqValid(unsigned char*);
308 RPC_STATUS RPC_ENTRY
RpcNetworkInqProtseqs(RPC_PROTSEQ_VECTOR
**);
309 RPC_STATUS RPC_ENTRY
RpcServerInqBindings(RPC_BINDING_VECTOR
**);
310 RPC_STATUS RPC_ENTRY
RpcServerUseProtseq(unsigned char*,unsigned int,void*);
311 RPC_STATUS RPC_ENTRY
RpcServerUseProtseqEx(unsigned char*,unsigned int,void*,PRPC_POLICY
);
312 RPC_STATUS RPC_ENTRY
RpcServerUseProtseqEp(unsigned char*,unsigned int,unsigned char*,void*);
313 RPC_STATUS RPC_ENTRY
RpcServerUseProtseqEpEx(unsigned char*,unsigned int,unsigned char*,void*,PRPC_POLICY
);
314 RPC_STATUS RPC_ENTRY
RpcServerUseProtseqIf(unsigned char*,unsigned int,RPC_IF_HANDLE
,void*);
315 RPC_STATUS RPC_ENTRY
RpcServerUseProtseqIfEx(unsigned char*,unsigned int,RPC_IF_HANDLE
,void*,PRPC_POLICY
);
316 RPC_STATUS RPC_ENTRY
RpcMgmtInqServerPrincName(RPC_BINDING_HANDLE
,unsigned long,unsigned char**);
317 RPC_STATUS RPC_ENTRY
RpcServerInqDefaultPrincName(unsigned long,unsigned char**);
318 RPC_STATUS RPC_ENTRY
RpcNsBindingInqEntryName(RPC_BINDING_HANDLE
,unsigned long,unsigned char**);
319 RPC_STATUS RPC_ENTRY
RpcBindingInqAuthClient(RPC_BINDING_HANDLE
,RPC_AUTHZ_HANDLE
*,unsigned char**,unsigned long*,unsigned long*,unsigned long*);
320 RPC_STATUS RPC_ENTRY
RpcBindingInqAuthInfo(RPC_BINDING_HANDLE
,unsigned char **,unsigned long *,unsigned long *,RPC_AUTH_IDENTITY_HANDLE
*,unsigned long *);
321 RPC_STATUS RPC_ENTRY
RpcBindingSetAuthInfo(RPC_BINDING_HANDLE
,unsigned char *,unsigned long,unsigned long,RPC_AUTH_IDENTITY_HANDLE
,unsigned long);
322 typedef void(__RPC_USER
*RPC_AUTH_KEY_RETRIEVAL_FN
)(void*,unsigned char*,unsigned long,void**,RPC_STATUS
*);
323 RPC_STATUS RPC_ENTRY
RpcServerRegisterAuthInfo(unsigned char*,unsigned long,RPC_AUTH_KEY_RETRIEVAL_FN
,void*);
324 RPC_STATUS RPC_ENTRY
UuidToString(UUID
*,unsigned char**);
325 RPC_STATUS RPC_ENTRY
UuidFromString(unsigned char*,UUID
*);
326 RPC_STATUS RPC_ENTRY
RpcEpRegisterNoReplace(RPC_IF_HANDLE
,RPC_BINDING_VECTOR
*,UUID_VECTOR
*,unsigned char*);
327 RPC_STATUS RPC_ENTRY
RpcEpRegister(RPC_IF_HANDLE
,RPC_BINDING_VECTOR
*,UUID_VECTOR
*,unsigned char*);
328 RPC_STATUS RPC_ENTRY
DceErrorInqText(RPC_STATUS
,unsigned char*);
329 RPC_STATUS RPC_ENTRY
RpcMgmtEpEltInqNext(RPC_EP_INQ_HANDLE
,RPC_IF_ID
*,RPC_BINDING_HANDLE
*,unsigned char **);
330 #endif /* RPC_UNICODE_SUPPORTED */
332 RPC_STATUS RPC_ENTRY
RpcBindingCopy(RPC_BINDING_HANDLE
,RPC_BINDING_HANDLE
*);
333 RPC_STATUS RPC_ENTRY
RpcBindingFree(RPC_BINDING_HANDLE
*);
334 RPC_STATUS RPC_ENTRY
RpcBindingInqObject(RPC_BINDING_HANDLE
,UUID
*);
335 RPC_STATUS RPC_ENTRY
RpcBindingReset(RPC_BINDING_HANDLE
);
336 RPC_STATUS RPC_ENTRY
RpcBindingSetObject(RPC_BINDING_HANDLE
,UUID
*);
337 RPC_STATUS RPC_ENTRY
RpcMgmtInqDefaultProtectLevel(unsigned long,unsigned long *);
338 RPC_STATUS RPC_ENTRY
RpcBindingVectorFree(RPC_BINDING_VECTOR
**);
339 RPC_STATUS RPC_ENTRY
RpcIfInqId(RPC_IF_HANDLE
,RPC_IF_ID
*);
340 RPC_STATUS RPC_ENTRY
RpcMgmtInqComTimeout(RPC_BINDING_HANDLE
,unsigned int*);
341 RPC_STATUS RPC_ENTRY
RpcMgmtSetComTimeout(RPC_BINDING_HANDLE
,unsigned int);
342 RPC_STATUS RPC_ENTRY
RpcMgmtSetCancelTimeout(long Timeout
);
343 RPC_STATUS RPC_ENTRY
RpcObjectInqType(UUID
*,UUID
*);
344 RPC_STATUS RPC_ENTRY
RpcObjectSetInqFn(RPC_OBJECT_INQ_FN
*);
345 RPC_STATUS RPC_ENTRY
RpcObjectSetType(UUID
*,UUID
*);
346 RPC_STATUS RPC_ENTRY
RpcProtseqVectorFree(RPC_PROTSEQ_VECTOR
**);
347 RPC_STATUS RPC_ENTRY
RpcServerInqIf(RPC_IF_HANDLE
,UUID
*,RPC_MGR_EPV
**);
348 RPC_STATUS RPC_ENTRY
RpcServerListen(unsigned int,unsigned int,unsigned int);
349 RPC_STATUS RPC_ENTRY
RpcServerRegisterIf(RPC_IF_HANDLE
,UUID
*,RPC_MGR_EPV
*);
350 RPC_STATUS RPC_ENTRY
RpcServerRegisterIfEx(RPC_IF_HANDLE
,UUID
*,RPC_MGR_EPV
*,unsigned int,unsigned int,RPC_IF_CALLBACK_FN
*);
351 RPC_STATUS RPC_ENTRY
RpcServerRegisterIf2(RPC_IF_HANDLE
,UUID
*,RPC_MGR_EPV
*,unsigned int,unsigned int,unsigned int,RPC_IF_CALLBACK_FN
*);
352 RPC_STATUS RPC_ENTRY
RpcServerUnregisterIf(RPC_IF_HANDLE
,UUID
*,unsigned int);
353 RPC_STATUS RPC_ENTRY
RpcServerUseAllProtseqs(unsigned int,void*);
354 RPC_STATUS RPC_ENTRY
RpcServerUseAllProtseqsEx(unsigned int,void*,PRPC_POLICY
);
355 RPC_STATUS RPC_ENTRY
RpcServerUseAllProtseqsIf(unsigned int,RPC_IF_HANDLE
,void*);
356 RPC_STATUS RPC_ENTRY
RpcServerUseAllProtseqsIfEx(unsigned int,RPC_IF_HANDLE
,void*,PRPC_POLICY
);
357 RPC_STATUS RPC_ENTRY
RpcMgmtStatsVectorFree(RPC_STATS_VECTOR
**);
358 RPC_STATUS RPC_ENTRY
RpcMgmtInqStats(RPC_BINDING_HANDLE
,RPC_STATS_VECTOR
**);
359 RPC_STATUS RPC_ENTRY
RpcMgmtIsServerListening(RPC_BINDING_HANDLE
);
360 RPC_STATUS RPC_ENTRY
RpcMgmtStopServerListening(RPC_BINDING_HANDLE
);
361 RPC_STATUS RPC_ENTRY
RpcMgmtWaitServerListen(void);
362 RPC_STATUS RPC_ENTRY
RpcMgmtSetServerStackSize(unsigned long);
363 void RPC_ENTRY
RpcSsDontSerializeContext(void);
364 RPC_STATUS RPC_ENTRY
RpcMgmtEnableIdleCleanup(void);
365 RPC_STATUS RPC_ENTRY
RpcMgmtInqIfIds(RPC_BINDING_HANDLE
,RPC_IF_ID_VECTOR
**);
366 RPC_STATUS RPC_ENTRY
RpcIfIdVectorFree(RPC_IF_ID_VECTOR
**);
367 RPC_STATUS RPC_ENTRY
RpcEpResolveBinding(RPC_BINDING_HANDLE
,RPC_IF_HANDLE
);
368 RPC_STATUS RPC_ENTRY
RpcBindingServerFromClient(RPC_BINDING_HANDLE
,RPC_BINDING_HANDLE
*);
369 DECLSPEC_NORETURN
void RPC_ENTRY
RpcRaiseException(RPC_STATUS
);
370 RPC_STATUS RPC_ENTRY
RpcTestCancel(void);
371 RPC_STATUS RPC_ENTRY
RpcCancelThread(void*);
372 RPC_STATUS RPC_ENTRY
UuidCreate(UUID
*);
373 signed int RPC_ENTRY
UuidCompare(UUID
*,UUID
*, RPC_STATUS
*);
374 RPC_STATUS RPC_ENTRY
UuidCreateNil(UUID
*);
375 int RPC_ENTRY
UuidEqual(UUID
*,UUID
*, RPC_STATUS
*);
376 unsigned short RPC_ENTRY
UuidHash(UUID
*,RPC_STATUS
*);
377 int RPC_ENTRY
UuidIsNil(UUID
*,RPC_STATUS
*);
378 RPC_STATUS RPC_ENTRY
RpcEpUnregister(RPC_IF_HANDLE
,RPC_BINDING_VECTOR
*,UUID_VECTOR
*);
379 RPC_STATUS RPC_ENTRY
RpcMgmtEpEltInqBegin(RPC_BINDING_HANDLE
,unsigned long,RPC_IF_ID
*,unsigned long,UUID
*,RPC_EP_INQ_HANDLE
*);
380 RPC_STATUS RPC_ENTRY
RpcMgmtEpEltInqDone(RPC_EP_INQ_HANDLE
*);
381 RPC_STATUS RPC_ENTRY
RpcMgmtEpUnregister(RPC_BINDING_HANDLE
,RPC_IF_ID
*,RPC_BINDING_HANDLE
,UUID
*);
382 RPC_STATUS RPC_ENTRY
RpcMgmtSetAuthorizationFn(RPC_MGMT_AUTHORIZATION_FN
);
383 RPC_STATUS RPC_ENTRY
RpcMgmtInqParameter(unsigned int,unsigned long*);
384 RPC_STATUS RPC_ENTRY
RpcMgmtSetParameter(unsigned int,unsigned long);
385 RPC_STATUS RPC_ENTRY
RpcMgmtBindingInqParameter(RPC_BINDING_HANDLE
,unsigned int,unsigned long*);
386 RPC_STATUS RPC_ENTRY
RpcMgmtBindingSetParameter(RPC_BINDING_HANDLE
,unsigned int,unsigned long);
388 #if _WIN32_WINNT >= 0x0500
389 RPC_STATUS RPC_ENTRY
UuidCreateSequential(UUID
*);