The MesDecodeIncrementalHandleCreate function creates a decoding handle for the incremental style of serialization.
#include <rpc.h>
#include <midles.h>
RPC_STATUS RPC_ENTRY MesDecodeIncrementalHandleCreate(
void * UserState,
MIDL_ES_READ ReadFn,
handle_t * pHandle
);
The MesDecodeIncrementalHandleCreate routine is used by applications to create the handle and initialize it for the incremental style of decoding. When using the incremental style of decoding, the user supplies a Read routine to provide a buffer containing the next part of the data to be decoded. The buffer must be aligned at eight, and the size of the buffer must be a multiple of eight. 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.
MesIncrementalHandleReset, MesHandleFree