rpcndr.h
来自「书中的主要程序文件。在打开例题的.dsw文件后,请读者在 tools菜单下」· C头文件 代码 · 共 2,440 行 · 第 1/5 页
H
2,440 行
/* Byte count pointer */
RPCRTAPI
unsigned char __RPC_FAR *
RPC_ENTRY
NdrByteCountPointerMarshall(
PMIDL_STUB_MESSAGE pStubMsg,
unsigned char __RPC_FAR * pMemory,
PFORMAT_STRING pFormat
);
/* Transmit as and represent as*/
RPCRTAPI
unsigned char __RPC_FAR *
RPC_ENTRY
NdrXmitOrRepAsMarshall(
PMIDL_STUB_MESSAGE pStubMsg,
unsigned char __RPC_FAR * pMemory,
PFORMAT_STRING pFormat
);
/* User_marshal */
RPCRTAPI
unsigned char __RPC_FAR *
RPC_ENTRY
NdrUserMarshalMarshall(
PMIDL_STUB_MESSAGE pStubMsg,
unsigned char __RPC_FAR * pMemory,
PFORMAT_STRING pFormat
);
/* Cairo interface pointer */
RPCRTAPI
unsigned char __RPC_FAR *
RPC_ENTRY
NdrInterfacePointerMarshall(
PMIDL_STUB_MESSAGE pStubMsg,
unsigned char __RPC_FAR * pMemory,
PFORMAT_STRING pFormat
);
/* Context handles */
RPCRTAPI
void
RPC_ENTRY
NdrClientContextMarshall(
PMIDL_STUB_MESSAGE pStubMsg,
NDR_CCONTEXT ContextHandle,
int fCheck
);
RPCRTAPI
void
RPC_ENTRY
NdrServerContextMarshall(
PMIDL_STUB_MESSAGE pStubMsg,
NDR_SCONTEXT ContextHandle,
NDR_RUNDOWN RundownRoutine
);
RPCRTAPI
void
RPC_ENTRY
NdrServerContextNewMarshall(
PMIDL_STUB_MESSAGE pStubMsg,
NDR_SCONTEXT ContextHandle,
NDR_RUNDOWN RundownRoutine,
PFORMAT_STRING pFormat
);
/*
* Unmarshall routines
*/
RPCRTAPI
void
RPC_ENTRY
NdrSimpleTypeUnmarshall(
PMIDL_STUB_MESSAGE pStubMsg,
unsigned char __RPC_FAR * pMemory,
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
NdrCorrelationInitialize(
PMIDL_STUB_MESSAGE pStubMsg,
unsigned long * pMemory,
unsigned long CacheSize,
unsigned long flags
);
RPCRTAPI
void
RPC_ENTRY
NdrCorrelationPass(
PMIDL_STUB_MESSAGE pStubMsg
);
RPCRTAPI
void
RPC_ENTRY
NdrCorrelationFree(
PMIDL_STUB_MESSAGE pStubMsg
);
RPCRTAPI
unsigned char __RPC_FAR *
RPC_ENTRY
NdrPointerUnmarshall(
PMIDL_STUB_MESSAGE pStubMsg,
unsigned char __RPC_FAR * __RPC_FAR * ppMemory,
PFORMAT_STRING pFormat,
unsigned char fMustAlloc
);
/* Structures */
RPCRTAPI
unsigned char __RPC_FAR *
RPC_ENTRY
NdrSimpleStructUnmarshall(
PMIDL_STUB_MESSAGE pStubMsg,
unsigned char __RPC_FAR * __RPC_FAR * ppMemory,
PFORMAT_STRING pFormat,
unsigned char fMustAlloc
);
RPCRTAPI
unsigned char __RPC_FAR *
RPC_ENTRY
NdrConformantStructUnmarshall(
PMIDL_STUB_MESSAGE pStubMsg,
unsigned char __RPC_FAR * __RPC_FAR * ppMemory,
PFORMAT_STRING pFormat,
unsigned char fMustAlloc
);
RPCRTAPI
unsigned char __RPC_FAR *
RPC_ENTRY
NdrConformantVaryingStructUnmarshall(
PMIDL_STUB_MESSAGE pStubMsg,
unsigned char __RPC_FAR * __RPC_FAR * ppMemory,
PFORMAT_STRING pFormat,
unsigned char fMustAlloc
);
RPCRTAPI
unsigned char __RPC_FAR *
RPC_ENTRY
NdrComplexStructUnmarshall(
PMIDL_STUB_MESSAGE pStubMsg,
unsigned char __RPC_FAR * __RPC_FAR * ppMemory,
PFORMAT_STRING pFormat,
unsigned char fMustAlloc
);
/* Arrays */
RPCRTAPI
unsigned char __RPC_FAR *
RPC_ENTRY
NdrFixedArrayUnmarshall(
PMIDL_STUB_MESSAGE pStubMsg,
unsigned char __RPC_FAR * __RPC_FAR * ppMemory,
PFORMAT_STRING pFormat,
unsigned char fMustAlloc
);
RPCRTAPI
unsigned char __RPC_FAR *
RPC_ENTRY
NdrConformantArrayUnmarshall(
PMIDL_STUB_MESSAGE pStubMsg,
unsigned char __RPC_FAR * __RPC_FAR * ppMemory,
PFORMAT_STRING pFormat,
unsigned char fMustAlloc
);
RPCRTAPI
unsigned char __RPC_FAR *
RPC_ENTRY
NdrConformantVaryingArrayUnmarshall(
PMIDL_STUB_MESSAGE pStubMsg,
unsigned char __RPC_FAR * __RPC_FAR * ppMemory,
PFORMAT_STRING pFormat,
unsigned char fMustAlloc
);
RPCRTAPI
unsigned char __RPC_FAR *
RPC_ENTRY
NdrVaryingArrayUnmarshall(
PMIDL_STUB_MESSAGE pStubMsg,
unsigned char __RPC_FAR * __RPC_FAR * ppMemory,
PFORMAT_STRING pFormat,
unsigned char fMustAlloc
);
RPCRTAPI
unsigned char __RPC_FAR *
RPC_ENTRY
NdrComplexArrayUnmarshall(
PMIDL_STUB_MESSAGE pStubMsg,
unsigned char __RPC_FAR * __RPC_FAR * ppMemory,
PFORMAT_STRING pFormat,
unsigned char fMustAlloc
);
/* Strings */
RPCRTAPI
unsigned char __RPC_FAR *
RPC_ENTRY
NdrNonConformantStringUnmarshall(
PMIDL_STUB_MESSAGE pStubMsg,
unsigned char __RPC_FAR * __RPC_FAR * ppMemory,
PFORMAT_STRING pFormat,
unsigned char fMustAlloc
);
RPCRTAPI
unsigned char __RPC_FAR *
RPC_ENTRY
NdrConformantStringUnmarshall(
PMIDL_STUB_MESSAGE pStubMsg,
unsigned char __RPC_FAR * __RPC_FAR * ppMemory,
PFORMAT_STRING pFormat,
unsigned char fMustAlloc
);
/* Unions */
RPCRTAPI
unsigned char __RPC_FAR *
RPC_ENTRY
NdrEncapsulatedUnionUnmarshall(
PMIDL_STUB_MESSAGE pStubMsg,
unsigned char __RPC_FAR * __RPC_FAR * ppMemory,
PFORMAT_STRING pFormat,
unsigned char fMustAlloc
);
RPCRTAPI
unsigned char __RPC_FAR *
RPC_ENTRY
NdrNonEncapsulatedUnionUnmarshall(
PMIDL_STUB_MESSAGE pStubMsg,
unsigned char __RPC_FAR * __RPC_FAR * ppMemory,
PFORMAT_STRING pFormat,
unsigned char fMustAlloc
);
/* Byte count pointer */
RPCRTAPI
unsigned char __RPC_FAR *
RPC_ENTRY
NdrByteCountPointerUnmarshall(
PMIDL_STUB_MESSAGE pStubMsg,
unsigned char __RPC_FAR * __RPC_FAR * ppMemory,
PFORMAT_STRING pFormat,
unsigned char fMustAlloc
);
/* Transmit as and represent as*/
RPCRTAPI
unsigned char __RPC_FAR *
RPC_ENTRY
NdrXmitOrRepAsUnmarshall(
PMIDL_STUB_MESSAGE pStubMsg,
unsigned char __RPC_FAR * __RPC_FAR * ppMemory,
PFORMAT_STRING pFormat,
unsigned char fMustAlloc
);
/* User_marshal */
RPCRTAPI
unsigned char __RPC_FAR *
RPC_ENTRY
NdrUserMarshalUnmarshall(
PMIDL_STUB_MESSAGE pStubMsg,
unsigned char __RPC_FAR * __RPC_FAR * ppMemory,
PFORMAT_STRING pFormat,
unsigned char fMustAlloc
);
/* Cairo interface pointer */
RPCRTAPI
unsigned char __RPC_FAR *
RPC_ENTRY
NdrInterfacePointerUnmarshall(
PMIDL_STUB_MESSAGE pStubMsg,
unsigned char __RPC_FAR * __RPC_FAR * ppMemory,
PFORMAT_STRING pFormat,
unsigned char fMustAlloc
);
/* Context handles */
RPCRTAPI
void
RPC_ENTRY
NdrClientContextUnmarshall(
PMIDL_STUB_MESSAGE pStubMsg,
NDR_CCONTEXT __RPC_FAR * pContextHandle,
RPC_BINDING_HANDLE BindHandle
);
RPCRTAPI
NDR_SCONTEXT
RPC_ENTRY
NdrServerContextUnmarshall(
PMIDL_STUB_MESSAGE pStubMsg
);
/* New context handle flavors */
RPCRTAPI
NDR_SCONTEXT
RPC_ENTRY
NdrContextHandleInitialize(
IN PMIDL_STUB_MESSAGE pStubMsg,
IN PFORMAT_STRING pFormat
);
RPCRTAPI
NDR_SCONTEXT
RPC_ENTRY
NdrServerContextNewUnmarshall(
IN PMIDL_STUB_MESSAGE pStubMsg,
IN PFORMAT_STRING pFormat
);
/*
* Buffer sizing routines
*/
RPCRTAPI
void
RPC_ENTRY
NdrPointerBufferSize(
PMIDL_STUB_MESSAGE pStubMsg,
unsigned char __RPC_FAR * pMemory,
PFORMAT_STRING pFormat
);
/* Structures */
RPCRTAPI
void
RPC_ENTRY
NdrSimpleStructBufferSize(
PMIDL_STUB_MESSAGE pStubMsg,
unsigned char __RPC_FAR * pMemory,
PFORMAT_STRING pFormat
);
RPCRTAPI
void
RPC_ENTRY
NdrConformantStructBufferSize(
PMIDL_STUB_MESSAGE pStubMsg,
unsigned char __RPC_FAR * pMemory,
PFORMAT_STRING pFormat
);
RPCRTAPI
void
RPC_ENTRY
NdrConformantVaryingStructBufferSize(
PMIDL_STUB_MESSAGE pStubMsg,
unsigned char __RPC_FAR * pMemory,
PFORMAT_STRING pFormat
);
RPCRTAPI
void
RPC_ENTRY
NdrComplexStructBufferSize(
PMIDL_STUB_MESSAGE pStubMsg,
unsigned char __RPC_FAR * pMemory,
PFORMAT_STRING pFormat
);
/* Arrays */
RPCRTAPI
void
RPC_ENTRY
NdrFixedArrayBufferSize(
PMIDL_STUB_MESSAGE pStubMsg,
unsigned char __RPC_FAR * pMemory,
PFORMAT_STRING pFormat
);
RPCRTAPI
void
RPC_ENTRY
NdrConformantArrayBufferSize(
PMIDL_STUB_MESSAGE pStubMsg,
unsigned char __RPC_FAR * pMemory,
PFORMAT_STRING pFormat
);
RPCRTAPI
void
RPC_ENTRY
NdrConformantVaryingArrayBufferSize(
PMIDL_STUB_MESSAGE pStubMsg,
unsigned char __RPC_FAR * pMemory,
PFORMAT_STRING pFormat
);
RPCRTAPI
void
RPC_ENTRY
NdrVaryingArrayBufferSize(
PMIDL_STUB_MESSAGE pStubMsg,
unsigned char __RPC_FAR * pMemory,
PFORMAT_STRING pFormat
);
RPCRTAPI
void
RPC_ENTRY
NdrComplexArrayBufferSize(
PMIDL_STUB_MESSAGE pStubMsg,
unsigned char __RPC_FAR * pMemory,
PFORMAT_STRING pFormat
);
/* Strings */
RPCRTAPI
void
RPC_ENTRY
NdrConformantStringBufferSize(
PMIDL_STUB_MESSAGE pStubMsg,
unsigned char __RPC_FAR * pMemory,
PFORMAT_STRING pFormat
);
RPCRTAPI
void
RPC_ENTRY
NdrNonConformantStringBufferSize(
PMIDL_STUB_MESSAGE pStubMsg,
unsigned char __RPC_FAR * pMemory,
PFORMAT_STRING pFormat
);
/* Unions */
RPCRTAPI
void
RPC_ENTRY
NdrEncapsulatedUnionBufferSize(
PMIDL_STUB_MESSAGE pStubMsg,
unsigned char __RPC_FAR * pMemory,
PFORMAT_STRING pFormat
);
RPCRTAPI
void
RPC_ENTRY
NdrNonEncapsulatedUnionBufferSize(
PMIDL_STUB_MESSAGE pStubMsg,
unsigned char __RPC_FAR * pMemory,
PFORMAT_STRING pFormat
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?