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 | #ifndef __RPCNDR_H_VERSION__
|
---|
20 | #define __RPCNDR_H_VERSION__ ( 500 )
|
---|
21 | #endif
|
---|
22 |
|
---|
23 | #ifndef __WINE_RPCNDR_H
|
---|
24 | #define __WINE_RPCNDR_H
|
---|
25 |
|
---|
26 | #include <basetsd.h>
|
---|
27 | #include <rpcsal.h>
|
---|
28 |
|
---|
29 | #ifdef __cplusplus
|
---|
30 | extern "C" {
|
---|
31 | #endif
|
---|
32 |
|
---|
33 | #undef CONST_VTBL
|
---|
34 | #ifdef CONST_VTABLE
|
---|
35 | # define CONST_VTBL const
|
---|
36 | #else
|
---|
37 | # define CONST_VTBL
|
---|
38 | #endif
|
---|
39 |
|
---|
40 | #ifdef __cplusplus
|
---|
41 | #define EXTERN_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
|
---|
42 | EXTERN_C const GUID DECLSPEC_SELECTANY name DECLSPEC_HIDDEN; \
|
---|
43 | EXTERN_C const GUID DECLSPEC_SELECTANY name = \
|
---|
44 | { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } }
|
---|
45 | #else
|
---|
46 | #define EXTERN_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
|
---|
47 | const GUID DECLSPEC_SELECTANY name DECLSPEC_HIDDEN; \
|
---|
48 | const GUID DECLSPEC_SELECTANY name = \
|
---|
49 | { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } }
|
---|
50 | #endif
|
---|
51 |
|
---|
52 | /* stupid #if can't handle casts... this __stupidity
|
---|
53 | is just a workaround for that limitation */
|
---|
54 |
|
---|
55 | #define __NDR_CHAR_REP_MASK 0x000f
|
---|
56 | #define __NDR_INT_REP_MASK 0x00f0
|
---|
57 | #define __NDR_FLOAT_REP_MASK 0xff00
|
---|
58 |
|
---|
59 | #define __NDR_IEEE_FLOAT 0x0000
|
---|
60 | #define __NDR_VAX_FLOAT 0x0100
|
---|
61 | #define __NDR_IBM_FLOAT 0x0300
|
---|
62 |
|
---|
63 | #define __NDR_ASCII_CHAR 0x0000
|
---|
64 | #define __NDR_EBCDIC_CHAR 0x0001
|
---|
65 |
|
---|
66 | #define __NDR_LITTLE_ENDIAN 0x0010
|
---|
67 | #define __NDR_BIG_ENDIAN 0x0000
|
---|
68 |
|
---|
69 | /* Mac's are special */
|
---|
70 | #if defined(__RPC_MAC__)
|
---|
71 | # define __NDR_LOCAL_DATA_REPRESENTATION \
|
---|
72 | (__NDR_IEEE_FLOAT | __NDR_ASCII_CHAR | __NDR_BIG_ENDIAN)
|
---|
73 | #else
|
---|
74 | # define __NDR_LOCAL_DATA_REPRESENTATION \
|
---|
75 | (__NDR_IEEE_FLOAT | __NDR_ASCII_CHAR | __NDR_LITTLE_ENDIAN)
|
---|
76 | #endif
|
---|
77 |
|
---|
78 | #define __NDR_LOCAL_ENDIAN \
|
---|
79 | (__NDR_LOCAL_DATA_REPRESENTATION & __NDR_INT_REP_MASK)
|
---|
80 |
|
---|
81 | /* for convenience, define NDR_LOCAL_IS_BIG_ENDIAN iff it is */
|
---|
82 | #if __NDR_LOCAL_ENDIAN == __NDR_BIG_ENDIAN
|
---|
83 | # define NDR_LOCAL_IS_BIG_ENDIAN
|
---|
84 | #elif __NDR_LOCAL_ENDIAN == __NDR_LITTLE_ENDIAN
|
---|
85 | # undef NDR_LOCAL_IS_BIG_ENDIAN
|
---|
86 | #else
|
---|
87 | # error alien NDR_LOCAL_ENDIAN - Greg botched the defines again, please report
|
---|
88 | #endif
|
---|
89 |
|
---|
90 | /* finally, do the casts like Microsoft */
|
---|
91 |
|
---|
92 | #define NDR_CHAR_REP_MASK ((ULONG) __NDR_CHAR_REP_MASK)
|
---|
93 | #define NDR_INT_REP_MASK ((ULONG) __NDR_INT_REP_MASK)
|
---|
94 | #define NDR_FLOAT_REP_MASK ((ULONG) __NDR_FLOAT_REP_MASK)
|
---|
95 | #define NDR_IEEE_FLOAT ((ULONG) __NDR_IEEE_FLOAT)
|
---|
96 | #define NDR_VAX_FLOAT ((ULONG) __NDR_VAX_FLOAT)
|
---|
97 | #define NDR_IBM_FLOAT ((ULONG) __NDR_IBM_FLOAT)
|
---|
98 | #define NDR_ASCII_CHAR ((ULONG) __NDR_ASCII_CHAR)
|
---|
99 | #define NDR_EBCDIC_CHAR ((ULONG) __NDR_EBCDIC_CHAR)
|
---|
100 | #define NDR_LITTLE_ENDIAN ((ULONG) __NDR_LITTLE_ENDIAN)
|
---|
101 | #define NDR_BIG_ENDIAN ((ULONG) __NDR_BIG_ENDIAN)
|
---|
102 | #define NDR_LOCAL_DATA_REPRESENTATION ((ULONG) __NDR_LOCAL_DATA_REPRESENTATION)
|
---|
103 | #define NDR_LOCAL_ENDIAN ((ULONG) __NDR_LOCAL_ENDIAN)
|
---|
104 |
|
---|
105 |
|
---|
106 | #define TARGET_IS_NT50_OR_LATER 1
|
---|
107 | #define TARGET_IS_NT40_OR_LATER 1
|
---|
108 | #define TARGET_IS_NT351_OR_WIN95_OR_LATER 1
|
---|
109 |
|
---|
110 | #define small char
|
---|
111 | typedef unsigned char byte;
|
---|
112 | typedef INT64 hyper;
|
---|
113 | typedef UINT64 MIDL_uhyper;
|
---|
114 | typedef unsigned char boolean;
|
---|
115 |
|
---|
116 | #define __RPC_CALLEE WINAPI
|
---|
117 | #define RPC_VAR_ENTRY __cdecl
|
---|
118 | #define NDR_SHAREABLE static
|
---|
119 |
|
---|
120 | #define MIDL_ascii_strlen(s) strlen(s)
|
---|
121 | #define MIDL_ascii_strcpy(d,s) strcpy(d,s)
|
---|
122 | #define MIDL_memset(d,v,n) memset(d,v,n)
|
---|
123 | #define midl_user_free MIDL_user_free
|
---|
124 | #define midl_user_allocate MIDL_user_allocate
|
---|
125 |
|
---|
126 | void * __RPC_USER MIDL_user_allocate(SIZE_T);
|
---|
127 | void __RPC_USER MIDL_user_free(void *);
|
---|
128 |
|
---|
129 | #define NdrFcShort(s) (unsigned char)(s & 0xff), (unsigned char)(s >> 8)
|
---|
130 | #define NdrFcLong(s) (unsigned char)(s & 0xff), (unsigned char)((s & 0x0000ff00) >> 8), \
|
---|
131 | (unsigned char)((s & 0x00ff0000) >> 16), (unsigned char)(s >> 24)
|
---|
132 |
|
---|
133 | #define RPC_BAD_STUB_DATA_EXCEPTION_FILTER \
|
---|
134 | ((RpcExceptionCode() == STATUS_ACCESS_VIOLATION) || \
|
---|
135 | (RpcExceptionCode() == STATUS_DATATYPE_MISALIGNMENT) || \
|
---|
136 | (RpcExceptionCode() == RPC_X_BAD_STUB_DATA) || \
|
---|
137 | (RpcExceptionCode() == RPC_S_INVALID_BOUND))
|
---|
138 |
|
---|
139 | typedef struct
|
---|
140 | {
|
---|
141 | void *pad[2];
|
---|
142 | void *userContext;
|
---|
143 | } *NDR_SCONTEXT;
|
---|
144 |
|
---|
145 | #define NDRSContextValue(hContext) (&(hContext)->userContext)
|
---|
146 | #define cbNDRContext 20
|
---|
147 |
|
---|
148 | typedef void (__RPC_USER *NDR_RUNDOWN)(void *context);
|
---|
149 | typedef void (__RPC_USER *NDR_NOTIFY_ROUTINE)(void);
|
---|
150 | typedef void (__RPC_USER *NDR_NOTIFY2_ROUTINE)(boolean flag);
|
---|
151 |
|
---|
152 | #define DECLSPEC_UUID(x)
|
---|
153 | #define MIDL_INTERFACE(x) struct
|
---|
154 |
|
---|
155 | struct _MIDL_STUB_MESSAGE;
|
---|
156 | struct _MIDL_STUB_DESC;
|
---|
157 | struct _FULL_PTR_XLAT_TABLES;
|
---|
158 | struct NDR_ALLOC_ALL_NODES_CONTEXT;
|
---|
159 | struct NDR_POINTER_QUEUE_STATE;
|
---|
160 |
|
---|
161 | typedef unsigned char *RPC_BUFPTR;
|
---|
162 | typedef ULONG RPC_LENGTH;
|
---|
163 | typedef void (__RPC_USER *EXPR_EVAL)(struct _MIDL_STUB_MESSAGE *);
|
---|
164 | typedef const unsigned char *PFORMAT_STRING;
|
---|
165 |
|
---|
166 | typedef struct
|
---|
167 | {
|
---|
168 | LONG Dimension;
|
---|
169 | ULONG *BufferConformanceMark;
|
---|
170 | ULONG *BufferVarianceMark;
|
---|
171 | ULONG *MaxCountArray;
|
---|
172 | ULONG *OffsetArray;
|
---|
173 | ULONG *ActualCountArray;
|
---|
174 | } ARRAY_INFO, *PARRAY_INFO;
|
---|
175 |
|
---|
176 | typedef struct
|
---|
177 | {
|
---|
178 | ULONG WireCodeset;
|
---|
179 | ULONG DesiredReceivingCodeset;
|
---|
180 | void *CSArrayInfo;
|
---|
181 | } CS_STUB_INFO;
|
---|
182 |
|
---|
183 | typedef struct _NDR_PIPE_DESC *PNDR_PIPE_DESC;
|
---|
184 | typedef struct _NDR_PIPE_MESSAGE *PNDR_PIPE_MESSAGE;
|
---|
185 | typedef struct _NDR_ASYNC_MESSAGE *PNDR_ASYNC_MESSAGE;
|
---|
186 | typedef struct _NDR_CORRELATION_INFO *PNDR_CORRELATION_INFO;
|
---|
187 |
|
---|
188 | typedef struct _MIDL_STUB_MESSAGE
|
---|
189 | {
|
---|
190 | PRPC_MESSAGE RpcMsg;
|
---|
191 | unsigned char *Buffer;
|
---|
192 | unsigned char *BufferStart;
|
---|
193 | unsigned char *BufferEnd;
|
---|
194 | unsigned char *BufferMark;
|
---|
195 | ULONG BufferLength;
|
---|
196 | ULONG MemorySize;
|
---|
197 | unsigned char *Memory;
|
---|
198 | unsigned char IsClient;
|
---|
199 | unsigned char Pad;
|
---|
200 | unsigned short uFlags2;
|
---|
201 | int ReuseBuffer;
|
---|
202 | struct NDR_ALLOC_ALL_NODES_CONTEXT *pAllocAllNodesContext;
|
---|
203 | struct NDR_POINTER_QUEUE_STATE *pPointerQueueState;
|
---|
204 | int IgnoreEmbeddedPointers;
|
---|
205 | unsigned char *PointerBufferMark;
|
---|
206 | unsigned char CorrDespIncrement;
|
---|
207 | unsigned char uFlags;
|
---|
208 | unsigned short UniquePtrCount;
|
---|
209 | ULONG_PTR MaxCount;
|
---|
210 | ULONG Offset;
|
---|
211 | ULONG ActualCount;
|
---|
212 | void * (__WINE_ALLOC_SIZE(1) __RPC_API *pfnAllocate)(SIZE_T);
|
---|
213 | void (__RPC_API *pfnFree)(void *);
|
---|
214 | unsigned char *StackTop;
|
---|
215 | unsigned char *pPresentedType;
|
---|
216 | unsigned char *pTransmitType;
|
---|
217 | handle_t SavedHandle;
|
---|
218 | const struct _MIDL_STUB_DESC *StubDesc;
|
---|
219 | struct _FULL_PTR_XLAT_TABLES *FullPtrXlatTables;
|
---|
220 | ULONG FullPtrRefId;
|
---|
221 | ULONG PointerLength;
|
---|
222 | unsigned int fInDontFree:1;
|
---|
223 | unsigned int fDontCallFreeInst:1;
|
---|
224 | unsigned int fInOnlyParam:1;
|
---|
225 | unsigned int fHasReturn:1;
|
---|
226 | unsigned int fHasExtensions:1;
|
---|
227 | unsigned int fHasNewCorrDesc:1;
|
---|
228 | unsigned int fIsIn:1;
|
---|
229 | unsigned int fIsOut:1;
|
---|
230 | unsigned int fIsOicf:1;
|
---|
231 | unsigned int fBufferValid:1;
|
---|
232 | unsigned int fHasMemoryValidateCallback:1;
|
---|
233 | unsigned int fInFree:1;
|
---|
234 | unsigned int fNeedMCCP:1;
|
---|
235 | int fUnused:3;
|
---|
236 | int fUnused2:16;
|
---|
237 | DWORD dwDestContext;
|
---|
238 | void *pvDestContext;
|
---|
239 | NDR_SCONTEXT *SavedContextHandles;
|
---|
240 | LONG ParamNumber;
|
---|
241 | struct IRpcChannelBuffer *pRpcChannelBuffer;
|
---|
242 | PARRAY_INFO pArrayInfo;
|
---|
243 | ULONG *SizePtrCountArray;
|
---|
244 | ULONG *SizePtrOffsetArray;
|
---|
245 | ULONG *SizePtrLengthArray;
|
---|
246 | void *pArgQueue;
|
---|
247 | DWORD dwStubPhase;
|
---|
248 | void *LowStackMark;
|
---|
249 | PNDR_ASYNC_MESSAGE pAsyncMsg;
|
---|
250 | PNDR_CORRELATION_INFO pCorrInfo;
|
---|
251 | unsigned char *pCorrMemory;
|
---|
252 | void *pMemoryList;
|
---|
253 | CS_STUB_INFO *pCSInfo;
|
---|
254 | unsigned char *ConformanceMark;
|
---|
255 | unsigned char *VarianceMark;
|
---|
256 | INT_PTR Unused; /* BackingStoreLowMark on IA64 */
|
---|
257 | struct _NDR_PROC_CONTEXT *pContext;
|
---|
258 | void* ContextHandleHash;
|
---|
259 | void* pUserMarshalList;
|
---|
260 | INT_PTR Reserved51_3;
|
---|
261 | INT_PTR Reserved51_4;
|
---|
262 | INT_PTR Reserved51_5;
|
---|
263 | } MIDL_STUB_MESSAGE, *PMIDL_STUB_MESSAGE;
|
---|
264 |
|
---|
265 | typedef void * (__RPC_API * GENERIC_BINDING_ROUTINE)(void *);
|
---|
266 | typedef void (__RPC_API * GENERIC_UNBIND_ROUTINE)(void *, unsigned char *);
|
---|
267 |
|
---|
268 | typedef struct _GENERIC_BINDING_ROUTINE_PAIR
|
---|
269 | {
|
---|
270 | GENERIC_BINDING_ROUTINE pfnBind;
|
---|
271 | GENERIC_UNBIND_ROUTINE pfnUnbind;
|
---|
272 | } GENERIC_BINDING_ROUTINE_PAIR, *PGENERIC_BINDING_ROUTINE_PAIR;
|
---|
273 |
|
---|
274 | typedef struct __GENERIC_BINDING_INFO
|
---|
275 | {
|
---|
276 | void *pObj;
|
---|
277 | unsigned int Size;
|
---|
278 | GENERIC_BINDING_ROUTINE pfnBind;
|
---|
279 | GENERIC_UNBIND_ROUTINE pfnUnbind;
|
---|
280 | } GENERIC_BINDING_INFO, *PGENERIC_BINDING_INFO;
|
---|
281 |
|
---|
282 | typedef void (__RPC_USER *XMIT_HELPER_ROUTINE)(PMIDL_STUB_MESSAGE);
|
---|
283 |
|
---|
284 | typedef struct _XMIT_ROUTINE_QUINTUPLE
|
---|
285 | {
|
---|
286 | XMIT_HELPER_ROUTINE pfnTranslateToXmit;
|
---|
287 | XMIT_HELPER_ROUTINE pfnTranslateFromXmit;
|
---|
288 | XMIT_HELPER_ROUTINE pfnFreeXmit;
|
---|
289 | XMIT_HELPER_ROUTINE pfnFreeInst;
|
---|
290 | } XMIT_ROUTINE_QUINTUPLE, *PXMIT_ROUTINE_QUINTUPLE;
|
---|
291 |
|
---|
292 | typedef ULONG (__RPC_USER *USER_MARSHAL_SIZING_ROUTINE)(ULONG *, ULONG, void *);
|
---|
293 | typedef unsigned char * (__RPC_USER *USER_MARSHAL_MARSHALLING_ROUTINE)(ULONG *, unsigned char *, void *);
|
---|
294 | typedef unsigned char * (__RPC_USER *USER_MARSHAL_UNMARSHALLING_ROUTINE)(ULONG *, unsigned char *, void *);
|
---|
295 | typedef void (__RPC_USER *USER_MARSHAL_FREEING_ROUTINE)(ULONG *, void *);
|
---|
296 |
|
---|
297 | typedef struct _USER_MARSHAL_ROUTINE_QUADRUPLE
|
---|
298 | {
|
---|
299 | USER_MARSHAL_SIZING_ROUTINE pfnBufferSize;
|
---|
300 | USER_MARSHAL_MARSHALLING_ROUTINE pfnMarshall;
|
---|
301 | USER_MARSHAL_UNMARSHALLING_ROUTINE pfnUnmarshall;
|
---|
302 | USER_MARSHAL_FREEING_ROUTINE pfnFree;
|
---|
303 | } USER_MARSHAL_ROUTINE_QUADRUPLE;
|
---|
304 |
|
---|
305 | /* 'USRC' */
|
---|
306 | #define USER_MARSHAL_CB_SIGNATURE \
|
---|
307 | ( ( (DWORD)'U' << 24 ) | ( (DWORD)'S' << 16 ) | \
|
---|
308 | ( (DWORD)'R' << 8 ) | ( (DWORD)'C' ) )
|
---|
309 |
|
---|
310 | typedef enum
|
---|
311 | {
|
---|
312 | USER_MARSHAL_CB_BUFFER_SIZE,
|
---|
313 | USER_MARSHAL_CB_MARSHALL,
|
---|
314 | USER_MARSHAL_CB_UNMARSHALL,
|
---|
315 | USER_MARSHAL_CB_FREE
|
---|
316 | } USER_MARSHAL_CB_TYPE;
|
---|
317 |
|
---|
318 | typedef struct _USER_MARSHAL_CB
|
---|
319 | {
|
---|
320 | ULONG Flags;
|
---|
321 | PMIDL_STUB_MESSAGE pStubMsg;
|
---|
322 | PFORMAT_STRING pReserve;
|
---|
323 | ULONG Signature;
|
---|
324 | USER_MARSHAL_CB_TYPE CBType;
|
---|
325 | PFORMAT_STRING pFormat;
|
---|
326 | PFORMAT_STRING pTypeFormat;
|
---|
327 | } USER_MARSHAL_CB;
|
---|
328 |
|
---|
329 | #define USER_CALL_CTXT_MASK(f) ((f) & 0x00ff)
|
---|
330 | #define USER_CALL_AUX_MASK(f) ((f) & 0xff00)
|
---|
331 | #define GET_USER_DATA_REP(f) HIWORD(f)
|
---|
332 |
|
---|
333 | #define USER_CALL_IS_ASYNC 0x0100
|
---|
334 | #define USER_CALL_NEW_CORRELATION_DESC 0x0200
|
---|
335 |
|
---|
336 | typedef struct _MALLOC_FREE_STRUCT
|
---|
337 | {
|
---|
338 | void * (__WINE_ALLOC_SIZE(1) __RPC_USER *pfnAllocate)(SIZE_T);
|
---|
339 | void (__RPC_USER *pfnFree)(void *);
|
---|
340 | } MALLOC_FREE_STRUCT;
|
---|
341 |
|
---|
342 | typedef struct _COMM_FAULT_OFFSETS
|
---|
343 | {
|
---|
344 | short CommOffset;
|
---|
345 | short FaultOffset;
|
---|
346 | } COMM_FAULT_OFFSETS;
|
---|
347 |
|
---|
348 | typedef struct _MIDL_STUB_DESC
|
---|
349 | {
|
---|
350 | void *RpcInterfaceInformation;
|
---|
351 | void * (__WINE_ALLOC_SIZE(1) __RPC_API *pfnAllocate)(SIZE_T);
|
---|
352 | void (__RPC_API *pfnFree)(void *);
|
---|
353 | union {
|
---|
354 | handle_t *pAutoHandle;
|
---|
355 | handle_t *pPrimitiveHandle;
|
---|
356 | PGENERIC_BINDING_INFO pGenericBindingInfo;
|
---|
357 | } IMPLICIT_HANDLE_INFO;
|
---|
358 | const NDR_RUNDOWN *apfnNdrRundownRoutines;
|
---|
359 | const GENERIC_BINDING_ROUTINE_PAIR *aGenericBindingRoutinePairs;
|
---|
360 | const EXPR_EVAL *apfnExprEval;
|
---|
361 | const XMIT_ROUTINE_QUINTUPLE *aXmitQuintuple;
|
---|
362 | const unsigned char *pFormatTypes;
|
---|
363 | int fCheckBounds;
|
---|
364 | ULONG Version;
|
---|
365 | MALLOC_FREE_STRUCT *pMallocFreeStruct;
|
---|
366 | LONG MIDLVersion;
|
---|
367 | const COMM_FAULT_OFFSETS *CommFaultOffsets;
|
---|
368 | const USER_MARSHAL_ROUTINE_QUADRUPLE *aUserMarshalQuadruple;
|
---|
369 | const NDR_NOTIFY_ROUTINE *NotifyRoutineTable;
|
---|
370 | ULONG_PTR mFlags;
|
---|
371 | ULONG_PTR Reserved3;
|
---|
372 | ULONG_PTR Reserved4;
|
---|
373 | ULONG_PTR Reserved5;
|
---|
374 | } MIDL_STUB_DESC;
|
---|
375 | typedef const MIDL_STUB_DESC *PMIDL_STUB_DESC;
|
---|
376 |
|
---|
377 | typedef struct _MIDL_FORMAT_STRING
|
---|
378 | {
|
---|
379 | short Pad;
|
---|
380 | #if defined(__GNUC__)
|
---|
381 | unsigned char Format[0];
|
---|
382 | #else
|
---|
383 | unsigned char Format[1];
|
---|
384 | #endif
|
---|
385 | } MIDL_FORMAT_STRING;
|
---|
386 |
|
---|
387 | typedef struct _MIDL_SYNTAX_INFO
|
---|
388 | {
|
---|
389 | RPC_SYNTAX_IDENTIFIER TransferSyntax;
|
---|
390 | RPC_DISPATCH_TABLE* DispatchTable;
|
---|
391 | PFORMAT_STRING ProcString;
|
---|
392 | const unsigned short* FmtStringOffset;
|
---|
393 | PFORMAT_STRING TypeString;
|
---|
394 | const void* aUserMarshalQuadruple;
|
---|
395 | ULONG_PTR pReserved1;
|
---|
396 | ULONG_PTR pReserved2;
|
---|
397 | } MIDL_SYNTAX_INFO, *PMIDL_SYNTAX_INFO;
|
---|
398 |
|
---|
399 | typedef void (__RPC_API *STUB_THUNK)( PMIDL_STUB_MESSAGE );
|
---|
400 |
|
---|
401 | #ifdef WINE_STRICT_PROTOTYPES
|
---|
402 | typedef LONG (__RPC_API *SERVER_ROUTINE)(void);
|
---|
403 | #else
|
---|
404 | typedef LONG (__RPC_API *SERVER_ROUTINE)();
|
---|
405 | #endif
|
---|
406 |
|
---|
407 | typedef struct _MIDL_SERVER_INFO_
|
---|
408 | {
|
---|
409 | PMIDL_STUB_DESC pStubDesc;
|
---|
410 | const SERVER_ROUTINE *DispatchTable;
|
---|
411 | PFORMAT_STRING ProcString;
|
---|
412 | const unsigned short *FmtStringOffset;
|
---|
413 | const STUB_THUNK *ThunkTable;
|
---|
414 | PRPC_SYNTAX_IDENTIFIER pTransferSyntax;
|
---|
415 | ULONG_PTR nCount;
|
---|
416 | PMIDL_SYNTAX_INFO pSyntaxInfo;
|
---|
417 | } MIDL_SERVER_INFO, *PMIDL_SERVER_INFO;
|
---|
418 |
|
---|
419 | typedef struct _MIDL_STUBLESS_PROXY_INFO
|
---|
420 | {
|
---|
421 | PMIDL_STUB_DESC pStubDesc;
|
---|
422 | PFORMAT_STRING ProcFormatString;
|
---|
423 | const unsigned short *FormatStringOffset;
|
---|
424 | PRPC_SYNTAX_IDENTIFIER pTransferSyntax;
|
---|
425 | ULONG_PTR nCount;
|
---|
426 | PMIDL_SYNTAX_INFO pSyntaxInfo;
|
---|
427 | } MIDL_STUBLESS_PROXY_INFO, *PMIDL_STUBLESS_PROXY_INFO;
|
---|
428 |
|
---|
429 |
|
---|
430 | #if defined(__i386__) && !defined(__MSC_VER) && !defined(__MINGW32__) && !defined(__CYGWIN__)
|
---|
431 | /* Calling convention for returning structures/unions is different between Windows and gcc on i386 */
|
---|
432 | typedef LONG_PTR CLIENT_CALL_RETURN;
|
---|
433 | #else
|
---|
434 | typedef union _CLIENT_CALL_RETURN
|
---|
435 | {
|
---|
436 | void *Pointer;
|
---|
437 | LONG_PTR Simple;
|
---|
438 | } CLIENT_CALL_RETURN;
|
---|
439 | #endif
|
---|
440 |
|
---|
441 | typedef enum {
|
---|
442 | STUB_UNMARSHAL,
|
---|
443 | STUB_CALL_SERVER,
|
---|
444 | STUB_MARSHAL,
|
---|
445 | STUB_CALL_SERVER_NO_HRESULT
|
---|
446 | } STUB_PHASE;
|
---|
447 |
|
---|
448 | typedef enum {
|
---|
449 | PROXY_CALCSIZE,
|
---|
450 | PROXY_GETBUFFER,
|
---|
451 | PROXY_MARSHAL,
|
---|
452 | PROXY_SENDRECEIVE,
|
---|
453 | PROXY_UNMARSHAL
|
---|
454 | } PROXY_PHASE;
|
---|
455 |
|
---|
456 | typedef enum {
|
---|
457 | XLAT_SERVER = 1,
|
---|
458 | XLAT_CLIENT
|
---|
459 | } XLAT_SIDE;
|
---|
460 |
|
---|
461 | typedef struct _FULL_PTR_TO_REFID_ELEMENT {
|
---|
462 | struct _FULL_PTR_TO_REFID_ELEMENT *Next;
|
---|
463 | void *Pointer;
|
---|
464 | ULONG RefId;
|
---|
465 | unsigned char State;
|
---|
466 | } FULL_PTR_TO_REFID_ELEMENT, *PFULL_PTR_TO_REFID_ELEMENT;
|
---|
467 |
|
---|
468 | /* Full pointer translation tables */
|
---|
469 | typedef struct _FULL_PTR_XLAT_TABLES {
|
---|
470 | struct {
|
---|
471 | void **XlatTable;
|
---|
472 | unsigned char *StateTable;
|
---|
473 | ULONG NumberOfEntries;
|
---|
474 | } RefIdToPointer;
|
---|
475 |
|
---|
476 | struct {
|
---|
477 | PFULL_PTR_TO_REFID_ELEMENT *XlatTable;
|
---|
478 | ULONG NumberOfBuckets;
|
---|
479 | ULONG HashMask;
|
---|
480 | } PointerToRefId;
|
---|
481 |
|
---|
482 | ULONG NextRefId;
|
---|
483 | XLAT_SIDE XlatSide;
|
---|
484 | } FULL_PTR_XLAT_TABLES, *PFULL_PTR_XLAT_TABLES;
|
---|
485 |
|
---|
486 | struct IRpcStubBuffer;
|
---|
487 |
|
---|
488 | typedef ULONG error_status_t;
|
---|
489 | typedef void * NDR_CCONTEXT;
|
---|
490 |
|
---|
491 | typedef struct _SCONTEXT_QUEUE {
|
---|
492 | ULONG NumberOfObjects;
|
---|
493 | NDR_SCONTEXT *ArrayOfObjects;
|
---|
494 | } SCONTEXT_QUEUE, *PSCONTEXT_QUEUE;
|
---|
495 |
|
---|
496 | typedef struct _NDR_USER_MARSHAL_INFO_LEVEL1
|
---|
497 | {
|
---|
498 | void *Buffer;
|
---|
499 | ULONG BufferSize;
|
---|
500 | void * (__WINE_ALLOC_SIZE(1) __RPC_API *pfnAllocate)(SIZE_T);
|
---|
501 | void (__RPC_API *pfnFree)(void *);
|
---|
502 | struct IRpcChannelBuffer *pRpcChannelBuffer;
|
---|
503 | ULONG_PTR Reserved[5];
|
---|
504 | } NDR_USER_MARSHAL_INFO_LEVEL1;
|
---|
505 |
|
---|
506 | typedef struct _NDR_USER_MARSHAL_INFO
|
---|
507 | {
|
---|
508 | ULONG InformationLevel;
|
---|
509 | union
|
---|
510 | {
|
---|
511 | NDR_USER_MARSHAL_INFO_LEVEL1 Level1;
|
---|
512 | } DUMMYUNIONNAME1;
|
---|
513 | } NDR_USER_MARSHAL_INFO;
|
---|
514 |
|
---|
515 | /* Context Handles */
|
---|
516 |
|
---|
517 | RPCRTAPI RPC_BINDING_HANDLE RPC_ENTRY
|
---|
518 | NDRCContextBinding( NDR_CCONTEXT CContext );
|
---|
519 |
|
---|
520 | RPCRTAPI void RPC_ENTRY
|
---|
521 | NDRCContextMarshall( NDR_CCONTEXT CContext, void *pBuff );
|
---|
522 |
|
---|
523 | RPCRTAPI void RPC_ENTRY
|
---|
524 | NDRCContextUnmarshall( NDR_CCONTEXT *pCContext, RPC_BINDING_HANDLE hBinding,
|
---|
525 | void *pBuff, ULONG DataRepresentation );
|
---|
526 |
|
---|
527 | RPCRTAPI void RPC_ENTRY
|
---|
528 | NDRSContextMarshall( NDR_SCONTEXT CContext, void *pBuff, NDR_RUNDOWN userRunDownIn );
|
---|
529 |
|
---|
530 | RPCRTAPI NDR_SCONTEXT RPC_ENTRY
|
---|
531 | NDRSContextUnmarshall( void *pBuff, ULONG DataRepresentation );
|
---|
532 |
|
---|
533 | RPCRTAPI void RPC_ENTRY
|
---|
534 | NDRSContextMarshallEx( RPC_BINDING_HANDLE BindingHandle, NDR_SCONTEXT CContext,
|
---|
535 | void *pBuff, NDR_RUNDOWN userRunDownIn );
|
---|
536 |
|
---|
537 | RPCRTAPI void RPC_ENTRY
|
---|
538 | NDRSContextMarshall2( RPC_BINDING_HANDLE BindingHandle, NDR_SCONTEXT CContext,
|
---|
539 | void *pBuff, NDR_RUNDOWN userRunDownIn, void * CtxGuard,
|
---|
540 | ULONG Flags );
|
---|
541 |
|
---|
542 | RPCRTAPI NDR_SCONTEXT RPC_ENTRY
|
---|
543 | NDRSContextUnmarshallEx( RPC_BINDING_HANDLE BindingHandle, void *pBuff,
|
---|
544 | ULONG DataRepresentation );
|
---|
545 |
|
---|
546 | RPCRTAPI NDR_SCONTEXT RPC_ENTRY
|
---|
547 | NDRSContextUnmarshall2( RPC_BINDING_HANDLE BindingHandle, void *pBuff,
|
---|
548 | ULONG DataRepresentation, void *CtxGuard,
|
---|
549 | ULONG Flags );
|
---|
550 |
|
---|
551 | RPCRTAPI void RPC_ENTRY
|
---|
552 | NdrClientContextMarshall ( PMIDL_STUB_MESSAGE pStubMsg, NDR_CCONTEXT ContextHandle, int fCheck );
|
---|
553 |
|
---|
554 | RPCRTAPI void RPC_ENTRY
|
---|
555 | NdrClientContextUnmarshall( PMIDL_STUB_MESSAGE pStubMsg, NDR_CCONTEXT* pContextHandle,
|
---|
556 | RPC_BINDING_HANDLE BindHandle );
|
---|
557 |
|
---|
558 | RPCRTAPI void RPC_ENTRY
|
---|
559 | NdrServerContextMarshall ( PMIDL_STUB_MESSAGE pStubMsg, NDR_SCONTEXT ContextHandle, NDR_RUNDOWN RundownRoutine );
|
---|
560 |
|
---|
561 | RPCRTAPI NDR_SCONTEXT RPC_ENTRY
|
---|
562 | NdrServerContextUnmarshall( PMIDL_STUB_MESSAGE pStubMsg );
|
---|
563 |
|
---|
564 | RPCRTAPI void RPC_ENTRY
|
---|
565 | NdrContextHandleSize( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, PFORMAT_STRING pFormat );
|
---|
566 |
|
---|
567 | RPCRTAPI NDR_SCONTEXT RPC_ENTRY
|
---|
568 | NdrContextHandleInitialize( PMIDL_STUB_MESSAGE pStubMsg, PFORMAT_STRING pFormat );
|
---|
569 |
|
---|
570 | RPCRTAPI void RPC_ENTRY
|
---|
571 | NdrServerContextNewMarshall( PMIDL_STUB_MESSAGE pStubMsg, NDR_SCONTEXT ContextHandle,
|
---|
572 | NDR_RUNDOWN RundownRoutine, PFORMAT_STRING pFormat );
|
---|
573 |
|
---|
574 | RPCRTAPI NDR_SCONTEXT RPC_ENTRY
|
---|
575 | NdrServerContextNewUnmarshall( PMIDL_STUB_MESSAGE pStubMsg, PFORMAT_STRING pFormat );
|
---|
576 |
|
---|
577 | RPCRTAPI RPC_STATUS RPC_ENTRY
|
---|
578 | RpcSmDestroyClientContext( void **ContextHandle );
|
---|
579 |
|
---|
580 | RPCRTAPI void RPC_ENTRY
|
---|
581 | RpcSsDestroyClientContext( void **ContextHandle );
|
---|
582 |
|
---|
583 | RPCRTAPI void RPC_ENTRY
|
---|
584 | NdrSimpleTypeMarshall( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, unsigned char FormatChar );
|
---|
585 | RPCRTAPI void RPC_ENTRY
|
---|
586 | NdrSimpleTypeUnmarshall( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, unsigned char FormatChar );
|
---|
587 |
|
---|
588 | RPCRTAPI unsigned char* RPC_ENTRY
|
---|
589 | NdrByteCountPointerMarshall( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, PFORMAT_STRING pFormat );
|
---|
590 | RPCRTAPI unsigned char* RPC_ENTRY
|
---|
591 | NdrByteCountPointerUnmarshall( PMIDL_STUB_MESSAGE pStubMsg, unsigned char** ppMemory, PFORMAT_STRING pFormat, unsigned char fMustAlloc );
|
---|
592 | RPCRTAPI void RPC_ENTRY
|
---|
593 | NdrByteCountPointerBufferSize( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, PFORMAT_STRING pFormat );
|
---|
594 | RPCRTAPI void RPC_ENTRY
|
---|
595 | NdrByteCountPointerFree( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, PFORMAT_STRING pFormat );
|
---|
596 |
|
---|
597 | RPCRTAPI unsigned char* RPC_ENTRY
|
---|
598 | NdrRangeUnmarshall( PMIDL_STUB_MESSAGE pStubMsg, unsigned char** ppMemory, PFORMAT_STRING pFormat, unsigned char fMustAlloc );
|
---|
599 |
|
---|
600 | /* while MS declares each prototype separately, I prefer to use macros for this kind of thing instead */
|
---|
601 | #define SIMPLE_TYPE_MARSHAL(type) \
|
---|
602 | RPCRTAPI unsigned char* RPC_ENTRY \
|
---|
603 | Ndr##type##Marshall( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, PFORMAT_STRING pFormat ); \
|
---|
604 | RPCRTAPI unsigned char* RPC_ENTRY \
|
---|
605 | Ndr##type##Unmarshall( PMIDL_STUB_MESSAGE pStubMsg, unsigned char** ppMemory, PFORMAT_STRING pFormat, unsigned char fMustAlloc ); \
|
---|
606 | RPCRTAPI void RPC_ENTRY \
|
---|
607 | Ndr##type##BufferSize( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, PFORMAT_STRING pFormat ); \
|
---|
608 | RPCRTAPI ULONG RPC_ENTRY \
|
---|
609 | Ndr##type##MemorySize( PMIDL_STUB_MESSAGE pStubMsg, PFORMAT_STRING pFormat );
|
---|
610 |
|
---|
611 | #define TYPE_MARSHAL(type) \
|
---|
612 | SIMPLE_TYPE_MARSHAL(type) \
|
---|
613 | RPCRTAPI void RPC_ENTRY \
|
---|
614 | Ndr##type##Free( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, PFORMAT_STRING pFormat );
|
---|
615 |
|
---|
616 | TYPE_MARSHAL(Pointer)
|
---|
617 | TYPE_MARSHAL(SimpleStruct)
|
---|
618 | TYPE_MARSHAL(ConformantStruct)
|
---|
619 | TYPE_MARSHAL(ConformantVaryingStruct)
|
---|
620 | TYPE_MARSHAL(ComplexStruct)
|
---|
621 | TYPE_MARSHAL(FixedArray)
|
---|
622 | TYPE_MARSHAL(ConformantArray)
|
---|
623 | TYPE_MARSHAL(ConformantVaryingArray)
|
---|
624 | TYPE_MARSHAL(VaryingArray)
|
---|
625 | TYPE_MARSHAL(ComplexArray)
|
---|
626 | TYPE_MARSHAL(EncapsulatedUnion)
|
---|
627 | TYPE_MARSHAL(NonEncapsulatedUnion)
|
---|
628 | TYPE_MARSHAL(XmitOrRepAs)
|
---|
629 | TYPE_MARSHAL(UserMarshal)
|
---|
630 | TYPE_MARSHAL(InterfacePointer)
|
---|
631 |
|
---|
632 | SIMPLE_TYPE_MARSHAL(ConformantString)
|
---|
633 | SIMPLE_TYPE_MARSHAL(NonConformantString)
|
---|
634 |
|
---|
635 | #undef TYPE_MARSHAL
|
---|
636 | #undef SIMPLE_TYPE_MARSHAL
|
---|
637 |
|
---|
638 | RPCRTAPI void RPC_ENTRY
|
---|
639 | NdrCorrelationInitialize( PMIDL_STUB_MESSAGE pStubMsg, void *pMemory, ULONG CacheSize, ULONG flags );
|
---|
640 | RPCRTAPI void RPC_ENTRY
|
---|
641 | NdrCorrelationPass( PMIDL_STUB_MESSAGE pStubMsg );
|
---|
642 | RPCRTAPI void RPC_ENTRY
|
---|
643 | NdrCorrelationFree( PMIDL_STUB_MESSAGE pStubMsg );
|
---|
644 |
|
---|
645 | RPCRTAPI void RPC_ENTRY
|
---|
646 | NdrConvert2( PMIDL_STUB_MESSAGE pStubMsg, PFORMAT_STRING pFormat, LONG NumberParams );
|
---|
647 | RPCRTAPI void RPC_ENTRY
|
---|
648 | NdrConvert( PMIDL_STUB_MESSAGE pStubMsg, PFORMAT_STRING pFormat );
|
---|
649 |
|
---|
650 | #define USER_MARSHAL_FC_BYTE 1
|
---|
651 | #define USER_MARSHAL_FC_CHAR 2
|
---|
652 | #define USER_MARSHAL_FC_SMALL 3
|
---|
653 | #define USER_MARSHAL_FC_USMALL 4
|
---|
654 | #define USER_MARSHAL_FC_WCHAR 5
|
---|
655 | #define USER_MARSHAL_FC_SHORT 6
|
---|
656 | #define USER_MARSHAL_FC_USHORT 7
|
---|
657 | #define USER_MARSHAL_FC_LONG 8
|
---|
658 | #define USER_MARSHAL_FC_ULONG 9
|
---|
659 | #define USER_MARSHAL_FC_FLOAT 10
|
---|
660 | #define USER_MARSHAL_FC_HYPER 11
|
---|
661 | #define USER_MARSHAL_FC_DOUBLE 12
|
---|
662 |
|
---|
663 | RPCRTAPI unsigned char* RPC_ENTRY
|
---|
664 | NdrUserMarshalSimpleTypeConvert( ULONG *pFlags, unsigned char *pBuffer, unsigned char FormatChar );
|
---|
665 |
|
---|
666 | CLIENT_CALL_RETURN RPC_VAR_ENTRY
|
---|
667 | NdrClientCall2( PMIDL_STUB_DESC pStubDescriptor, PFORMAT_STRING pFormat, ... );
|
---|
668 | CLIENT_CALL_RETURN RPC_VAR_ENTRY
|
---|
669 | NdrClientCall( PMIDL_STUB_DESC pStubDescriptor, PFORMAT_STRING pFormat, ... );
|
---|
670 | CLIENT_CALL_RETURN RPC_VAR_ENTRY
|
---|
671 | NdrAsyncClientCall( PMIDL_STUB_DESC pStubDescriptor, PFORMAT_STRING pFormat, ... );
|
---|
672 | CLIENT_CALL_RETURN RPC_VAR_ENTRY
|
---|
673 | NdrDcomAsyncClientCall( PMIDL_STUB_DESC pStubDescriptor, PFORMAT_STRING pFormat, ... );
|
---|
674 |
|
---|
675 | RPCRTAPI void RPC_ENTRY
|
---|
676 | NdrServerCall2( PRPC_MESSAGE pRpcMsg );
|
---|
677 | RPCRTAPI void RPC_ENTRY
|
---|
678 | NdrServerCall( PRPC_MESSAGE pRpcMsg );
|
---|
679 | RPCRTAPI void RPC_ENTRY
|
---|
680 | NdrAsyncServerCall( PRPC_MESSAGE pRpcMsg );
|
---|
681 |
|
---|
682 | RPCRTAPI LONG RPC_ENTRY
|
---|
683 | NdrStubCall2( struct IRpcStubBuffer* pThis, struct IRpcChannelBuffer* pChannel, PRPC_MESSAGE pRpcMsg, DWORD * pdwStubPhase );
|
---|
684 | RPCRTAPI LONG RPC_ENTRY
|
---|
685 | NdrStubCall( struct IRpcStubBuffer* pThis, struct IRpcChannelBuffer* pChannel, PRPC_MESSAGE pRpcMsg, DWORD * pdwStubPhase );
|
---|
686 | RPCRTAPI LONG RPC_ENTRY
|
---|
687 | NdrAsyncStubCall( struct IRpcStubBuffer* pThis, struct IRpcChannelBuffer* pChannel, PRPC_MESSAGE pRpcMsg, DWORD * pdwStubPhase );
|
---|
688 | RPCRTAPI LONG RPC_ENTRY
|
---|
689 | NdrDcomAsyncStubCall( struct IRpcStubBuffer* pThis, struct IRpcChannelBuffer* pChannel, PRPC_MESSAGE pRpcMsg, DWORD * pdwStubPhase );
|
---|
690 |
|
---|
691 | RPCRTAPI void* RPC_ENTRY
|
---|
692 | NdrAllocate( PMIDL_STUB_MESSAGE pStubMsg, SIZE_T Len ) __WINE_ALLOC_SIZE(2);
|
---|
693 |
|
---|
694 | RPCRTAPI void RPC_ENTRY
|
---|
695 | NdrClearOutParameters( PMIDL_STUB_MESSAGE pStubMsg, PFORMAT_STRING pFormat, void *ArgAddr );
|
---|
696 |
|
---|
697 | RPCRTAPI RPC_STATUS RPC_ENTRY
|
---|
698 | NdrMapCommAndFaultStatus( PMIDL_STUB_MESSAGE pStubMsg, ULONG *pCommStatus,
|
---|
699 | ULONG *pFaultStatus, RPC_STATUS Status_ );
|
---|
700 |
|
---|
701 | RPCRTAPI void* RPC_ENTRY
|
---|
702 | NdrOleAllocate( SIZE_T Size ) __WINE_ALLOC_SIZE(1);
|
---|
703 | RPCRTAPI void RPC_ENTRY
|
---|
704 | NdrOleFree( void* NodeToFree );
|
---|
705 |
|
---|
706 | RPCRTAPI void RPC_ENTRY
|
---|
707 | NdrClientInitialize( PRPC_MESSAGE pRpcMessage, PMIDL_STUB_MESSAGE pStubMsg,
|
---|
708 | PMIDL_STUB_DESC pStubDesc, unsigned int ProcNum );
|
---|
709 | RPCRTAPI void RPC_ENTRY
|
---|
710 | NdrClientInitializeNew( PRPC_MESSAGE pRpcMessage, PMIDL_STUB_MESSAGE pStubMsg,
|
---|
711 | PMIDL_STUB_DESC pStubDesc, unsigned int ProcNum );
|
---|
712 | RPCRTAPI unsigned char* RPC_ENTRY
|
---|
713 | NdrServerInitialize( PRPC_MESSAGE pRpcMsg, PMIDL_STUB_MESSAGE pStubMsg, PMIDL_STUB_DESC pStubDesc );
|
---|
714 | RPCRTAPI unsigned char* RPC_ENTRY
|
---|
715 | NdrServerInitializeNew( PRPC_MESSAGE pRpcMsg, PMIDL_STUB_MESSAGE pStubMsg, PMIDL_STUB_DESC pStubDesc );
|
---|
716 | RPCRTAPI unsigned char* RPC_ENTRY
|
---|
717 | NdrServerInitializeUnmarshall( PMIDL_STUB_MESSAGE pStubMsg, PMIDL_STUB_DESC pStubDesc, PRPC_MESSAGE pRpcMsg );
|
---|
718 | RPCRTAPI void RPC_ENTRY
|
---|
719 | NdrServerInitializeMarshall( PRPC_MESSAGE pRpcMsg, PMIDL_STUB_MESSAGE pStubMsg );
|
---|
720 | RPCRTAPI void RPC_ENTRY
|
---|
721 | NdrServerMarshall( struct IRpcStubBuffer *pThis, struct IRpcChannelBuffer *pChannel, PMIDL_STUB_MESSAGE pStubMsg, PFORMAT_STRING pFormat );
|
---|
722 | RPCRTAPI void RPC_ENTRY
|
---|
723 | NdrServerUnmarshall( struct IRpcChannelBuffer *pChannel, PRPC_MESSAGE pRpcMsg,
|
---|
724 | PMIDL_STUB_MESSAGE pStubMsg, PMIDL_STUB_DESC pStubDesc,
|
---|
725 | PFORMAT_STRING pFormat, void *pParamList );
|
---|
726 | RPCRTAPI unsigned char* RPC_ENTRY
|
---|
727 | NdrGetBuffer( PMIDL_STUB_MESSAGE stubmsg, ULONG buflen, RPC_BINDING_HANDLE handle );
|
---|
728 | RPCRTAPI void RPC_ENTRY
|
---|
729 | NdrFreeBuffer( PMIDL_STUB_MESSAGE pStubMsg );
|
---|
730 | RPCRTAPI unsigned char* RPC_ENTRY
|
---|
731 | NdrSendReceive( PMIDL_STUB_MESSAGE stubmsg, unsigned char *buffer );
|
---|
732 |
|
---|
733 | RPCRTAPI unsigned char * RPC_ENTRY
|
---|
734 | NdrNsGetBuffer( PMIDL_STUB_MESSAGE pStubMsg, ULONG BufferLength, RPC_BINDING_HANDLE Handle );
|
---|
735 | RPCRTAPI unsigned char * RPC_ENTRY
|
---|
736 | NdrNsSendReceive( PMIDL_STUB_MESSAGE pStubMsg, unsigned char *pBufferEnd, RPC_BINDING_HANDLE *pAutoHandle );
|
---|
737 |
|
---|
738 | RPCRTAPI RPC_STATUS RPC_ENTRY
|
---|
739 | NdrGetDcomProtocolVersion( PMIDL_STUB_MESSAGE pStubMsg, RPC_VERSION *pVersion );
|
---|
740 |
|
---|
741 | RPCRTAPI PFULL_PTR_XLAT_TABLES RPC_ENTRY
|
---|
742 | NdrFullPointerXlatInit( ULONG NumberOfPointers, XLAT_SIDE XlatSide );
|
---|
743 | RPCRTAPI void RPC_ENTRY
|
---|
744 | NdrFullPointerXlatFree( PFULL_PTR_XLAT_TABLES pXlatTables );
|
---|
745 | RPCRTAPI int RPC_ENTRY
|
---|
746 | NdrFullPointerQueryPointer( PFULL_PTR_XLAT_TABLES pXlatTables, void *pPointer,
|
---|
747 | unsigned char QueryType, ULONG *pRefId );
|
---|
748 | RPCRTAPI int RPC_ENTRY
|
---|
749 | NdrFullPointerQueryRefId( PFULL_PTR_XLAT_TABLES pXlatTables, ULONG RefId,
|
---|
750 | unsigned char QueryType, void **ppPointer );
|
---|
751 | RPCRTAPI void RPC_ENTRY
|
---|
752 | NdrFullPointerInsertRefId( PFULL_PTR_XLAT_TABLES pXlatTables, ULONG RefId, void *pPointer );
|
---|
753 | RPCRTAPI int RPC_ENTRY
|
---|
754 | NdrFullPointerFree( PFULL_PTR_XLAT_TABLES pXlatTables, void *Pointer );
|
---|
755 |
|
---|
756 | RPCRTAPI void RPC_ENTRY
|
---|
757 | NdrRpcSsEnableAllocate( PMIDL_STUB_MESSAGE pMessage );
|
---|
758 | RPCRTAPI void RPC_ENTRY
|
---|
759 | NdrRpcSsDisableAllocate( PMIDL_STUB_MESSAGE pMessage );
|
---|
760 | RPCRTAPI void RPC_ENTRY
|
---|
761 | NdrRpcSmSetClientToOsf( PMIDL_STUB_MESSAGE pMessage );
|
---|
762 | RPCRTAPI void * RPC_ENTRY
|
---|
763 | NdrRpcSmClientAllocate( SIZE_T Size ) __WINE_ALLOC_SIZE(1);
|
---|
764 | RPCRTAPI void RPC_ENTRY
|
---|
765 | NdrRpcSmClientFree( void *NodeToFree );
|
---|
766 | RPCRTAPI void * RPC_ENTRY
|
---|
767 | NdrRpcSsDefaultAllocate( SIZE_T Size ) __WINE_ALLOC_SIZE(1);
|
---|
768 | RPCRTAPI void RPC_ENTRY
|
---|
769 | NdrRpcSsDefaultFree( void *NodeToFree );
|
---|
770 |
|
---|
771 | RPCRTAPI RPC_STATUS RPC_ENTRY
|
---|
772 | NdrGetUserMarshalInfo( ULONG *pFlags, ULONG InformationLevel, NDR_USER_MARSHAL_INFO *pMarshalInfo );
|
---|
773 |
|
---|
774 | #ifdef __cplusplus
|
---|
775 | }
|
---|
776 | #endif
|
---|
777 | #endif /*__WINE_RPCNDR_H */
|
---|