The MesIncrementalHandleReset function re-initializes the handle for incremental serialization.
#include <rpc.h>
#include <midles.h>
RPC_STATUS RPC_ENTRY MesIncrementalHandleReset(
handle_t Handle,
void * UserState,
MIDL_ES_ALLOC AllocFn,
MIDL_ES_WRITE WriteFn,
MIDL_ES_READ ReadFn,
MIDL_ES_CODE OpCode
);
The MesIncrementalHandleReset routine is used by applications to re-initialize the handle for the incremental style of encoding or decoding. For additional information on the user-supplied Alloc, Write and Read routines, see Using Encoding Services.
Value | Meaning |
---|---|
RPC_S_OK | Success |
RPC_S_INVALID_ARG | Invalid argument |
RPC_S_OUT_OF_MEMORY | Out of memory |
Windows NT: Yes
Windows CE: Unsupported.
Header: Declared in midles.h.
Import Library: Link with rpcrt4.lib.
MesEncodeIncrementalHandleCreate, MesHandleFree