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