2 * Copyright (C) 2000 Francois Gouget
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.
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.
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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 #ifndef __RPCNDR_H_VERSION__
20 /* FIXME: What version? Perhaps something is better than nothing, however incorrect */
21 #define __RPCNDR_H_VERSION__ ( 399 )
24 #ifndef __WINE_RPCNDR_H
25 #define __WINE_RPCNDR_H
33 /* stupid #if can't handle casts... this __stupidity
34 is just a workaround for that limitation */
36 #define __NDR_CHAR_REP_MASK 0x000fL
37 #define __NDR_INT_REP_MASK 0x00f0L
38 #define __NDR_FLOAT_REP_MASK 0xff00L
40 #define __NDR_IEEE_FLOAT 0x0000L
41 #define __NDR_VAX_FLOAT 0x0100L
42 #define __NDR_IBM_FLOAT 0x0300L
44 #define __NDR_ASCII_CHAR 0x0000L
45 #define __NDR_EBCDIC_CHAR 0x0001L
47 #define __NDR_LITTLE_ENDIAN 0x0010L
48 #define __NDR_BIG_ENDIAN 0x0000L
50 /* Mac's are special */
51 #if defined(__RPC_MAC__)
52 #define __NDR_LOCAL_DATA_REPRESENTATION \
53 (__NDR_IEEE_FLOAT | __NDR_ASCII_CHAR | __NDR_BIG_ENDIAN)
55 #define __NDR_LOCAL_DATA_REPRESENTATION \
56 (__NDR_IEEE_FLOAT | __NDR_ASCII_CHAR | __NDR_LITTLE_ENDIAN)
59 #define __NDR_LOCAL_ENDIAN \
60 (__NDR_LOCAL_DATA_REPRESENTATION & __NDR_INT_REP_MASK)
62 /* for convenience, define NDR_LOCAL_IS_BIG_ENDIAN iff it is */
63 #if __NDR_LOCAL_ENDIAN == __NDR_BIG_ENDIAN
64 #define NDR_LOCAL_IS_BIG_ENDIAN
65 #elif __NDR_LOCAL_ENDIAN == __NDR_LITTLE_ENDIAN
66 #undef NDR_LOCAL_IS_BIG_ENDIAN
68 #error alien NDR_LOCAL_ENDIAN - Greg botched the defines again, please report
71 /* finally, do the casts like Microsoft */
73 #define NDR_CHAR_REP_MASK ((unsigned long) __NDR_CHAR_REP_MASK)
74 #define NDR_INT_REP_MASK ((unsigned long) __NDR_INT_REP_MASK)
75 #define NDR_FLOAT_REP_MASK ((unsigned long) __NDR_FLOAT_REP_MASK)
76 #define NDR_IEEE_FLOAT ((unsigned long) __NDR_IEEE_FLOAT)
77 #define NDR_VAX_FLOAT ((unsigned long) __NDR_VAX_FLOAT)
78 #define NDR_IBM_FLOAT ((unsigned long) __NDR_IBM_FLOAT)
79 #define NDR_ASCII_CHAR ((unsigned long) __NDR_ASCII_CHAR)
80 #define NDR_EBCDIC_CHAR ((unsigned long) __NDR_EBCDIC_CHAR)
81 #define NDR_LITTLE_ENDIAN ((unsigned long) __NDR_LITTLE_ENDIAN)
82 #define NDR_BIG_ENDIAN ((unsigned long) __NDR_BIG_ENDIAN)
83 #define NDR_LOCAL_DATA_REPRESENTATION ((unsigned long) __NDR_LOCAL_DATA_REPRESENTATION)
84 #define NDR_LOCAL_ENDIAN ((unsigned long) __NDR_LOCAL_ENDIAN)
87 #define TARGET_IS_NT50_OR_LATER 1
88 #define TARGET_IS_NT40_OR_LATER 1
89 #define TARGET_IS_NT351_OR_WIN95_OR_LATER 1
92 typedef unsigned char byte;
94 #define MIDL_uhyper unsigned __int64
95 /* 'boolean' tend to conflict, let's call it _wine_boolean */
96 typedef unsigned char _wine_boolean;
97 /* typedef _wine_boolean boolean; */
99 #define __RPC_CALLEE WINAPI
100 #define RPC_VAR_ENTRY WINAPIV
101 #define NDR_SHAREABLE static
103 #define MIDL_ascii_strlen(s) strlen(s)
104 #define MIDL_ascii_strcpy(d,s) strcpy(d,s)
105 #define MIDL_memset(d,v,n) memset(d,v,n)
106 #define midl_user_free MIDL_user_free
107 #define midl_user_allocate MIDL_user_allocate
109 #define NdrFcShort(s) (unsigned char)(s & 0xff), (unsigned char)(s >> 8)
110 #define NdrFcLong(s) (unsigned char)(s & 0xff), (unsigned char)((s & 0x0000ff00) >> 8), \
111 (unsigned char)((s & 0x00ff0000) >> 16), (unsigned char)(s >> 24)
119 #define NDRSContextValue(hContext) (&(hContext)->userContext)
120 #define cbNDRContext 20
122 typedef void (__RPC_USER *NDR_RUNDOWN)(void *context);
123 typedef void (__RPC_USER *NDR_NOTIFY_ROUTINE)(void);
124 typedef void (__RPC_USER *NDR_NOTIFY2_ROUTINE)(_wine_boolean flag);
126 #define DECLSPEC_UUID(x)
127 #define MIDL_INTERFACE(x) struct
129 struct _MIDL_STUB_MESSAGE;
130 struct _MIDL_STUB_DESC;
131 struct _FULL_PTR_XLAT_TABLES;
133 typedef void (__RPC_USER *EXPR_EVAL)(struct _MIDL_STUB_MESSAGE *);
134 typedef const unsigned char *PFORMAT_STRING;
139 unsigned long *BufferConformanceMark;
140 unsigned long *BufferVarianceMark;
141 unsigned long *MaxCountArray;
142 unsigned long *OffsetArray;
143 unsigned long *ActualCountArray;
144 } ARRAY_INFO, *PARRAY_INFO;
146 typedef struct _NDR_PIPE_DESC *PNDR_PIPE_DESC;
147 typedef struct _NDR_PIPE_MESSAGE *PNDR_PIPE_MESSAGE;
148 typedef struct _NDR_ASYNC_MESSAGE *PNDR_ASYNC_MESSAGE;
149 typedef struct _NDR_CORRELATION_INFO *PNDR_CORRELATION_INFO;
151 #include <pshpack4.h>
152 typedef struct _MIDL_STUB_MESSAGE
155 unsigned char *Buffer;
156 unsigned char *BufferStart;
157 unsigned char *BufferEnd;
158 unsigned char *BufferMark;
159 unsigned long BufferLength;
160 unsigned long MemorySize;
161 unsigned char *Memory;
164 unsigned char *AllocAllNodesMemory;
165 unsigned char *AllocAllNodesMemoryEnd;
166 int IgnoreEmbeddedPointers;
167 unsigned char *PointerBufferMark;
168 unsigned char fBufferValid;
169 unsigned char Unused;
171 unsigned long Offset;
172 unsigned long ActualCount;
173 void * (__RPC_API *pfnAllocate)(size_t);
174 void (__RPC_API *pfnFree)(void *);
175 unsigned char *StackTop;
176 unsigned char *pPresentedType;
177 unsigned char *pTransmitType;
178 handle_t SavedHandle;
179 const struct _MIDL_STUB_DESC *StubDesc;
180 struct _FULL_PTR_XLAT_TABLES *FullPtrXlatTables;
181 unsigned long FullPtrRefId;
182 unsigned long ulUnused1;
184 int fDontCallFreeInst:1;
187 int fHasExtensions:1;
188 int fHasNewCorrDesc:1;
190 unsigned long dwDestContext;
192 NDR_SCONTEXT *SavedContextHandles;
194 struct IRpcChannelBuffer *pRpcChannelBuffer;
195 PARRAY_INFO pArrayInfo;
196 unsigned long *SizePtrCountArray;
197 unsigned long *SizePtrOffsetArray;
198 unsigned long *SizePtrLengthArray;
200 unsigned long dwStubPhase;
201 PNDR_PIPE_DESC pPipeDesc;
202 PNDR_ASYNC_MESSAGE pAsyncMsg;
203 PNDR_CORRELATION_INFO pCorrInfo;
204 unsigned char *pCorrMemory;
206 ULONG_PTR w2kReserved[5];
207 } MIDL_STUB_MESSAGE, *PMIDL_STUB_MESSAGE;
210 typedef struct _GENERIC_BINDING_ROUTINE_PAIR GENERIC_BINDING_ROUTINE_PAIR, *PGENERIC_BINDING_ROUTINE_PAIR;
212 typedef struct __GENERIC_BINDING_INFO GENERIC_BINDING_INFO, *PGENERIC_BINDING_INFO;
214 typedef void (__RPC_USER *XMIT_HELPER_ROUTINE)(PMIDL_STUB_MESSAGE);
216 typedef struct _XMIT_ROUTINE_QUINTUPLE
218 XMIT_HELPER_ROUTINE pfnTranslateToXmit;
219 XMIT_HELPER_ROUTINE pfnTranslateFromXmit;
220 XMIT_HELPER_ROUTINE pfnFreeXmit;
221 XMIT_HELPER_ROUTINE pfnFreeInst;
222 } XMIT_ROUTINE_QUINTUPLE, *PXMIT_ROUTINE_QUINTUPLE;
224 typedef unsigned long (__RPC_USER *USER_MARSHAL_SIZING_ROUTINE)(unsigned long *, unsigned long, void *);
225 typedef unsigned char * (__RPC_USER *USER_MARSHAL_MARSHALLING_ROUTINE)(unsigned long *, unsigned char *, void *);
226 typedef unsigned char * (__RPC_USER *USER_MARSHAL_UNMARSHALLING_ROUTINE)(unsigned long *, unsigned char *, void *);
227 typedef void (__RPC_USER *USER_MARSHAL_FREEING_ROUTINE)(unsigned long *, void *);
229 typedef struct _USER_MARSHAL_ROUTINE_QUADRUPLE
231 USER_MARSHAL_SIZING_ROUTINE pfnBufferSize;
232 USER_MARSHAL_MARSHALLING_ROUTINE pfnMarshall;
233 USER_MARSHAL_UNMARSHALLING_ROUTINE pfnUnmarshall;
234 USER_MARSHAL_FREEING_ROUTINE pfnFree;
235 } USER_MARSHAL_ROUTINE_QUADRUPLE;
237 typedef struct _MALLOC_FREE_STRUCT
239 void * (__RPC_USER *pfnAllocate)(size_t);
240 void (__RPC_USER *pfnFree)(void *);
241 } MALLOC_FREE_STRUCT;
243 typedef struct _COMM_FAULT_OFFSETS
247 } COMM_FAULT_OFFSETS;
249 typedef struct _MIDL_STUB_DESC
251 void *RpcInterfaceInformation;
252 void * (__RPC_API *pfnAllocate)(size_t);
253 void (__RPC_API *pfnFree)(void *);
255 handle_t *pAutoHandle;
256 handle_t *pPrimitiveHandle;
257 PGENERIC_BINDING_INFO pGenericBindingInfo;
258 } IMPLICIT_HANDLE_INFO;
259 const NDR_RUNDOWN *apfnNdrRundownRoutines;
260 const GENERIC_BINDING_ROUTINE_PAIR *aGenericBindingRoutinePairs;
261 const EXPR_EVAL *apfnExprEval;
262 const XMIT_ROUTINE_QUINTUPLE *aXmitQuintuple;
263 const unsigned char *pFormatTypes;
265 unsigned long Version;
266 MALLOC_FREE_STRUCT *pMallocFreeStruct;
268 const COMM_FAULT_OFFSETS *CommFaultOffsets;
269 const USER_MARSHAL_ROUTINE_QUADRUPLE *aUserMarshalQuadruple;
270 const NDR_NOTIFY_ROUTINE *NotifyRoutineTable;
276 typedef const MIDL_STUB_DESC *PMIDL_STUB_DESC;
278 typedef struct _MIDL_FORMAT_STRING
281 #if defined(__GNUC__)
282 unsigned char Format[0];
284 unsigned char Format[1];
286 } MIDL_FORMAT_STRING;
288 typedef void (__RPC_API *STUB_THUNK)( PMIDL_STUB_MESSAGE );
290 typedef long (__RPC_API *SERVER_ROUTINE)();
292 typedef struct _MIDL_SERVER_INFO_
294 PMIDL_STUB_DESC pStubDesc;
295 const SERVER_ROUTINE *DispatchTable;
296 PFORMAT_STRING ProcString;
297 const unsigned short *FmtStringOffset;
298 const STUB_THUNK *ThunkTable;
299 PFORMAT_STRING LocalFormatTypes;
300 PFORMAT_STRING LocalProcString;
301 const unsigned short *LocalFmtStringOffset;
302 } MIDL_SERVER_INFO, *PMIDL_SERVER_INFO;
304 typedef struct _MIDL_STUBLESS_PROXY_INFO
306 PMIDL_STUB_DESC pStubDesc;
307 PFORMAT_STRING ProcFormatString;
308 const unsigned short *FormatStringOffset;
309 PFORMAT_STRING LocalFormatTypes;
310 PFORMAT_STRING LocalProcStrings;
311 const unsigned short *LocalFmtStringOffset;
312 } MIDL_STUBLESS_PROXY_INFO, *PMIDL_STUBLESS_PROXY_INFO;
314 typedef union _CLIENT_CALL_RETURN
318 } CLIENT_CALL_RETURN;
324 STUB_CALL_SERVER_NO_HRESULT
340 typedef struct _FULL_PTR_TO_REFID_ELEMENT {
341 struct _FULL_PTR_TO_REFID_ELEMENT *Next;
345 } FULL_PTR_TO_REFID_ELEMENT, *PFULL_PTR_TO_REFID_ELEMENT;
347 /* Full pointer translation tables */
348 typedef struct _FULL_PTR_XLAT_TABLES {
351 unsigned char *StateTable;
352 unsigned long NumberOfEntries;
356 PFULL_PTR_TO_REFID_ELEMENT *XlatTable;
357 unsigned long NumberOfBuckets;
358 unsigned long HashMask;
361 unsigned long NextRefId;
363 } FULL_PTR_XLAT_TABLES, *PFULL_PTR_XLAT_TABLES;
365 struct IRpcStubBuffer;
367 typedef unsigned long error_status_t;
368 typedef void * NDR_CCONTEXT;
370 typedef struct _SCONTEXT_QUEUE {
371 unsigned long NumberOfObjects;
372 NDR_SCONTEXT *ArrayOfObjects;
373 } SCONTEXT_QUEUE, *PSCONTEXT_QUEUE;
375 RPCRTAPI RPC_BINDING_HANDLE RPC_ENTRY
376 NDRCContextBinding( IN NDR_CCONTEXT CContext );
378 RPCRTAPI void RPC_ENTRY
379 NDRCContextMarshall( IN NDR_CCONTEXT CContext, OUT void *pBuff );
381 RPCRTAPI void RPC_ENTRY
382 NDRCContextUnmarshall( OUT NDR_CCONTEXT *pCContext, IN RPC_BINDING_HANDLE hBinding,
383 IN void *pBuff, IN unsigned long DataRepresentation );
385 RPCRTAPI void RPC_ENTRY
386 NDRSContextMarshall( IN NDR_SCONTEXT CContext, OUT void *pBuff, IN NDR_RUNDOWN userRunDownIn );
388 RPCRTAPI NDR_SCONTEXT RPC_ENTRY
389 NDRSContextUnmarshall( IN void *pBuff, IN unsigned long DataRepresentation );
391 RPCRTAPI void RPC_ENTRY
392 NDRSContextMarshallEx( IN RPC_BINDING_HANDLE BindingHandle, IN NDR_SCONTEXT CContext,
393 OUT void *pBuff, IN NDR_RUNDOWN userRunDownIn );
395 RPCRTAPI void RPC_ENTRY
396 NDRSContextMarshall2( IN RPC_BINDING_HANDLE BindingHandle, IN NDR_SCONTEXT CContext,
397 OUT void *pBuff, IN NDR_RUNDOWN userRunDownIn, IN void * CtxGuard,
398 IN unsigned long Flags );
400 RPCRTAPI NDR_SCONTEXT RPC_ENTRY
401 NDRSContextUnmarshallEx( IN RPC_BINDING_HANDLE BindingHandle, IN void *pBuff,
402 IN unsigned long DataRepresentation );
404 RPCRTAPI NDR_SCONTEXT RPC_ENTRY
405 NDRSContextUnmarshall2( IN RPC_BINDING_HANDLE BindingHandle, IN void *pBuff,
406 IN unsigned long DataRepresentation, IN void *CtxGuard,
407 IN unsigned long Flags );
409 RPCRTAPI void RPC_ENTRY
410 RpcSsDestroyClientContext( IN void **ContextHandle );
412 RPCRTAPI void RPC_ENTRY
413 NdrSimpleTypeMarshall( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, unsigned char FormatChar );
414 RPCRTAPI void RPC_ENTRY
415 NdrSimpleTypeUnmarshall( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, unsigned char FormatChar );
417 /* while MS declares each prototype separately, I prefer to use macros for this kind of thing instead */
418 #define SIMPLE_TYPE_MARSHAL(type) \
419 RPCRTAPI unsigned char* RPC_ENTRY \
420 Ndr##type##Marshall( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, PFORMAT_STRING pFormat ); \
421 RPCRTAPI unsigned char* RPC_ENTRY \
422 Ndr##type##Unmarshall( PMIDL_STUB_MESSAGE pStubMsg, unsigned char** ppMemory, PFORMAT_STRING pFormat, unsigned char fMustAlloc ); \
423 RPCRTAPI void RPC_ENTRY \
424 Ndr##type##BufferSize( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, PFORMAT_STRING pFormat ); \
425 RPCRTAPI unsigned long RPC_ENTRY \
426 Ndr##type##MemorySize( PMIDL_STUB_MESSAGE pStubMsg, PFORMAT_STRING pFormat );
428 #define TYPE_MARSHAL(type) \
429 SIMPLE_TYPE_MARSHAL(type) \
430 RPCRTAPI void RPC_ENTRY \
431 Ndr##type##Free( PMIDL_STUB_MESSAGE pStubMsg, unsigned char* pMemory, PFORMAT_STRING pFormat );
433 TYPE_MARSHAL(Pointer)
434 TYPE_MARSHAL(SimpleStruct)
435 TYPE_MARSHAL(ConformantStruct)
436 TYPE_MARSHAL(ConformantVaryingStruct)
437 TYPE_MARSHAL(ComplexStruct)
438 TYPE_MARSHAL(FixedArray)
439 TYPE_MARSHAL(ConformantArray)
440 TYPE_MARSHAL(ConformantVaryingArray)
441 TYPE_MARSHAL(VaryingArray)
442 TYPE_MARSHAL(ComplexArray)
443 TYPE_MARSHAL(EncapsulatedUnion)
444 TYPE_MARSHAL(NonEncapsulatedUnion)
445 TYPE_MARSHAL(ByteCountPointer)
446 TYPE_MARSHAL(XmitOrRepAs)
447 TYPE_MARSHAL(UserMarshal)
448 TYPE_MARSHAL(InterfacePointer)
450 SIMPLE_TYPE_MARSHAL(ConformantString)
451 SIMPLE_TYPE_MARSHAL(NonConformantString)
454 #undef SIMPLE_TYPE_MARSHAL
456 RPCRTAPI void RPC_ENTRY
457 NdrConvert2( PMIDL_STUB_MESSAGE pStubMsg, PFORMAT_STRING pFormat, long NumberParams );
458 RPCRTAPI void RPC_ENTRY
459 NdrConvert( PMIDL_STUB_MESSAGE pStubMsg, PFORMAT_STRING pFormat );
461 /* Note: this should return a CLIENT_CALL_RETURN, but calling convention for
462 * returning structures/unions is different between Windows and gcc on i386. */
463 LONG_PTR RPC_VAR_ENTRY
464 NdrClientCall2( PMIDL_STUB_DESC pStubDescriptor, PFORMAT_STRING pFormat, ... );
465 LONG_PTR RPC_VAR_ENTRY
466 NdrClientCall( PMIDL_STUB_DESC pStubDescriptor, PFORMAT_STRING pFormat, ... );
468 RPCRTAPI void RPC_ENTRY
469 NdrServerCall2( PRPC_MESSAGE pRpcMsg );
470 RPCRTAPI void RPC_ENTRY
471 NdrServerCall( PRPC_MESSAGE pRpcMsg );
473 RPCRTAPI long RPC_ENTRY
474 NdrStubCall2( struct IRpcStubBuffer* pThis, struct IRpcChannelBuffer* pChannel, PRPC_MESSAGE pRpcMsg, LPDWORD pdwStubPhase );
475 RPCRTAPI long RPC_ENTRY
476 NdrStubCall( struct IRpcStubBuffer* pThis, struct IRpcChannelBuffer* pChannel, PRPC_MESSAGE pRpcMsg, LPDWORD pdwStubPhase );
478 RPCRTAPI void* RPC_ENTRY
479 NdrAllocate( PMIDL_STUB_MESSAGE pStubMsg, size_t Len );
481 RPCRTAPI void RPC_ENTRY
482 NdrClearOutParameters( PMIDL_STUB_MESSAGE pStubMsg, PFORMAT_STRING pFormat, void *ArgAddr );
484 RPCRTAPI void* RPC_ENTRY
485 NdrOleAllocate( size_t Size );
486 RPCRTAPI void RPC_ENTRY
487 NdrOleFree( void* NodeToFree );
489 RPCRTAPI void RPC_ENTRY
490 NdrClientInitializeNew( PRPC_MESSAGE pRpcMessage, PMIDL_STUB_MESSAGE pStubMsg,
491 PMIDL_STUB_DESC pStubDesc, unsigned int ProcNum );
492 RPCRTAPI unsigned char* RPC_ENTRY
493 NdrServerInitializeNew( PRPC_MESSAGE pRpcMsg, PMIDL_STUB_MESSAGE pStubMsg, PMIDL_STUB_DESC pStubDesc );
494 RPCRTAPI unsigned char* RPC_ENTRY
495 NdrGetBuffer( MIDL_STUB_MESSAGE *stubmsg, unsigned long buflen, RPC_BINDING_HANDLE handle );
496 RPCRTAPI void RPC_ENTRY
497 NdrFreeBuffer( MIDL_STUB_MESSAGE *pStubMsg );
498 RPCRTAPI unsigned char* RPC_ENTRY
499 NdrSendReceive( MIDL_STUB_MESSAGE *stubmsg, unsigned char *buffer );
501 RPCRTAPI unsigned char * RPC_ENTRY
502 NdrNsGetBuffer( PMIDL_STUB_MESSAGE pStubMsg, unsigned long BufferLength, RPC_BINDING_HANDLE Handle );
503 RPCRTAPI unsigned char * RPC_ENTRY
504 NdrNsSendReceive( PMIDL_STUB_MESSAGE pStubMsg, unsigned char *pBufferEnd, RPC_BINDING_HANDLE *pAutoHandle );
506 RPCRTAPI PFULL_PTR_XLAT_TABLES RPC_ENTRY
507 NdrFullPointerXlatInit( unsigned long NumberOfPointers, XLAT_SIDE XlatSide );
508 RPCRTAPI void RPC_ENTRY
509 NdrFullPointerXlatFree( PFULL_PTR_XLAT_TABLES pXlatTables );
510 RPCRTAPI int RPC_ENTRY
511 NdrFullPointerQueryPointer( PFULL_PTR_XLAT_TABLES pXlatTables, void *pPointer,
512 unsigned char QueryType, unsigned long *pRefId );
513 RPCRTAPI int RPC_ENTRY
514 NdrFullPointerQueryRefId( PFULL_PTR_XLAT_TABLES pXlatTables, unsigned long RefId,
515 unsigned char QueryType, void **ppPointer );
516 RPCRTAPI void RPC_ENTRY
517 NdrFullPointerInsertRefId( PFULL_PTR_XLAT_TABLES pXlatTables, unsigned long RefId, void *pPointer );
518 RPCRTAPI int RPC_ENTRY
519 NdrFullPointerFree( PFULL_PTR_XLAT_TABLES pXlatTables, void *Pointer );
521 RPCRTAPI void RPC_ENTRY
522 NdrRpcSsEnableAllocate( PMIDL_STUB_MESSAGE pMessage );
523 RPCRTAPI void RPC_ENTRY
524 NdrRpcSsDisableAllocate( PMIDL_STUB_MESSAGE pMessage );
525 RPCRTAPI void RPC_ENTRY
526 NdrRpcSmSetClientToOsf( PMIDL_STUB_MESSAGE pMessage );
527 RPCRTAPI void * RPC_ENTRY
528 NdrRpcSmClientAllocate( IN size_t Size );
529 RPCRTAPI void RPC_ENTRY
530 NdrRpcSmClientFree( IN void *NodeToFree );
531 RPCRTAPI void * RPC_ENTRY
532 NdrRpcSsDefaultAllocate( IN size_t Size );
533 RPCRTAPI void RPC_ENTRY
534 NdrRpcSsDefaultFree( IN void *NodeToFree );
539 #endif /*__WINE_RPCNDR_H */