Export (0) Print
Expand All

MIDL_STUB_MESSAGE structure

The MIDL_STUB_MESSAGE structure is generated by MIDL and contains the current status of the RPC stub. Applications are not to modify the MIDL_STUB_MESSAGE structure directly.

Syntax


typedef struct _MIDL_STUB_MESSAGE {
  PRPC_MESSAGE                       RpcMsg;
  unsigned char                      *Buffer;
  unsigned char                      *BufferStart;
  unsigned char                      *BufferEnd;
  unsigned char                      *BufferMark;
  unsigned long                      BufferLength;
  unsigned long                      MemorySize;
  unsigned char                      *Memory;
  int                                IsClient;
  int                                ReuseBuffer;
  struct NDR_ALLOC_ALL_NODES_CONTEXT  *pAllocAllNodesContext;
  struct NDR_POINTER_QUEUE_STATE  *pPointerQueueState;
  int                                IgnoreEmbeddedPointers;
  unsigned char                      *PointerBufferMark;
  unsigned char                      fBufferValid;
  unsigned char                      uFlags;
  unsigned short                     Unused2;
  ULONG_PTR                          MaxCount;
  unsigned long                      Offset;
  unsigned long                      ActualCount;
  void*                              (__RPC_API *pfnAllocate)(size_t);
  void                               (__RPC_API *pfnFree)(void*);
  unsigned char                      *StackTop;
  unsigned char                      *pPresentedType;
  unsigned char                      *pTransmitType;
  handle_t                           SavedHandle;
  const struct _MIDL_STUB_DESC       *StubDesc;
  struct _FULL_PTR_XLAT_TABLES  *FullPtrXlatTables;
  unsigned long                      FullPtrRefId;
  unsigned long                      PointerLength;
  int                                fInDontFree  :1;
  int                                fDontCallFreeInst  :1;
  int                                fInOnlyParam  :1;
  int                                fHasReturn  :1;
  int                                fHasExtensions  :1;
  int                                fHasNewCorrDesc  :1;
  int                                fUnused  :10;
  int                                fUnused2  :16;
  unsigned long                      dwDestContext;
  void                               *pvDestContext;
  NDR_SCONTEXT                       *SavedContextHandles;
  long                               ParamNumber;
  struct IRpcChannelBuffer  *pRpcChannelBuffer;
  PARRAY_INFO                        pArrayInfo;
  unsigned long                      *SizePtrCountArray;
  unsigned long                      *SizePtrOffsetArray;
  unsigned long                      *SizePtrLengthArray;
  void                               *pArgQueue;
  unsigned long                      dwStubPhase;
  void                               *LowStackMark;
  PNDR_ASYNC_MESSAGE                 pAsyncMsg;
  PNDR_CORRELATION_INFO              pCorrInfo;
  unsigned char                      *pCorrMemory;
  void                               *pMemoryList;
  CS_STUB_INFO                       *pCSInfo;
  unsigned char                      *ConformanceMark;
  unsigned char                      *VarianceMark;
  void                               *BackingStoreLowMark;
  INT_PTR                            Unused;
  struct _NDR_PROC_CONTEXT  *pContext;
  INT_PTR                            Reserved51_1;
  INT_PTR                            Reserved51_2;
  INT_PTR                            Reserved51_3;
  INT_PTR                            Reserved51_4;
  INT_PTR                            Reserved51_5;
} MIDL_STUB_MESSAGE, *PMIDL_STUB_MESSAGE;

Members

RpcMsg

Pointer to the RPC_MESSAGE structure.

Buffer

Pointer that points to a location within the network buffer where the data is marshaled or unmarshaled.

BufferStart

Pointer to the beginning of the network buffer.

BufferEnd

Pointer to the end of the network buffer.

BufferMark

Reserved.

BufferLength

Size, in bytes, of Buffer.

MemorySize

Reserved.

Memory

Reserved.

IsClient

Reserved.

ReuseBuffer

Reserved.

pAllocAllNodesContext

Reserved.

pPointerQueueState

Reserved.

IgnoreEmbeddedPointers

Reserved.

PointerBufferMark

Reserved.

fBufferValid

Reserved.

uFlags

Reserved.

Unused2

Reserved.

MaxCount

Reserved.

Offset

Reserved.

ActualCount

Reserved.

pfnAllocate

Reserved.

pfnFree

Reserved.

StackTop

Reserved.

pPresentedType

Reserved.

pTransmitType

Reserved.

SavedHandle

Reserved.

StubDesc

Reserved.

FullPtrXlatTables

Reserved.

FullPtrRefId

Reserved.

PointerLength

Reserved.

fInDontFree

Reserved.

fDontCallFreeInst

Reserved.

fInOnlyParam

Reserved.

fHasReturn

Reserved.

fHasExtensions

Reserved.

fHasNewCorrDesc

Reserved.

fUnused

Reserved.

fUnused2

Reserved.

dwDestContext

Reserved.

pvDestContext

Reserved.

SavedContextHandles

Reserved.

ParamNumber

Reserved.

pRpcChannelBuffer

Reserved.

pArrayInfo

Reserved.

SizePtrCountArray

Reserved.

SizePtrOffsetArray

Reserved.

SizePtrLengthArray

Reserved.

pArgQueue

Reserved.

dwStubPhase

Pointer to a flag that tracks the current interpreter call's activity.

LowStackMark

Reserved.

pAsyncMsg

Reserved.

pCorrInfo

Reserved.

pCorrMemory

Reserved.

pMemoryList

Reserved.

pCSInfo

Reserved.

ConformanceMark

Reserved.

VarianceMark

Reserved.

BackingStoreLowMark

Reserved.

Unused

Reserved.

pContext

Reserved.

Reserved51_1

Reserved.

Reserved51_2

Reserved.

Reserved51_3

Reserved.

Reserved51_4

Reserved.

Reserved51_5

Reserved.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Rpcndr.h (include Rpc.h)

 

 

Community Additions

ADD
Show:
© 2014 Microsoft