MIDL_STUB_MESSAGE structure (rpcndr.h)
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;
unsigned char IsClient;
unsigned char Pad;
unsigned short uFlags2;
int ReuseBuffer;
struct NDR_ALLOC_ALL_NODES_CONTEXT *pAllocAllNodesContext;
struct NDR_POINTER_QUEUE_STATE *pPointerQueueState;
int IgnoreEmbeddedPointers;
unsigned char *PointerBufferMark;
unsigned char CorrDespIncrement;
unsigned char uFlags;
unsigned short UniquePtrCount;
ULONG_PTR MaxCount;
unsigned long Offset;
unsigned long ActualCount;
void * )(size_t) *(pfnAllocate;
void()(void *) * pfnFree;
unsigned char *StackTop;
unsigned char *pPresentedType;
unsigned char *pTransmitType;
handle_t SavedHandle;
const _MIDL_STUB_DESC *StubDesc;
struct _MIDL_STUB_DESC;
struct _FULL_PTR_XLAT_TABLES *FullPtrXlatTables;
unsigned long FullPtrRefId;
unsigned long PointerLength;
int fInDontFree : 1;
int fDontCallFreeInst : 1;
int fUnused1 : 1;
int fHasReturn : 1;
int fHasExtensions : 1;
int fHasNewCorrDesc : 1;
int fIsIn : 1;
int fIsOut : 1;
int fIsOicf : 1;
int fBufferValid : 1;
int fHasMemoryValidateCallback : 1;
int fInFree : 1;
int fNeedMCCP : 1;
int fUnused2 : 3;
int fUnused3 : 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;
INT_PTR pCSInfo;
unsigned char *ConformanceMark;
unsigned char *VarianceMark;
INT_PTR Unused;
struct _NDR_PROC_CONTEXT *pContext;
void *ContextHandleHash;
void *pUserMarshalList;
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.
Pad
uFlags2
ReuseBuffer
Reserved.
pAllocAllNodesContext
Reserved.
pPointerQueueState
Reserved.
IgnoreEmbeddedPointers
Reserved.
PointerBufferMark
Reserved.
CorrDespIncrement
uFlags
Reserved.
UniquePtrCount
MaxCount
Reserved.
Offset
Reserved.
ActualCount
Reserved.
pfnAllocate
Reserved.
pfnFree
Reserved.
StackTop
Reserved.
pPresentedType
Reserved.
pTransmitType
Reserved.
SavedHandle
Reserved.
StubDesc
Reserved.
_MIDL_STUB_DESC
FullPtrXlatTables
Reserved.
FullPtrRefId
Reserved.
PointerLength
Reserved.
fInDontFree
Reserved.
fDontCallFreeInst
Reserved.
fUnused1
fHasReturn
Reserved.
fHasExtensions
Reserved.
fHasNewCorrDesc
Reserved.
fIsIn
fIsOut
fIsOicf
fBufferValid
Reserved.
fHasMemoryValidateCallback
fInFree
fNeedMCCP
fUnused2
Reserved.
fUnused3
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.
Unused
Reserved.
pContext
Reserved.
ContextHandleHash
pUserMarshalList
Reserved51_3
Reserved.
Reserved51_4
Reserved.
Reserved51_5
Reserved.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Header | rpcndr.h (include Rpc.h) |