MesDecodeBufferHandleCreate function (midles.h)
The MesDecodeBufferHandleCreate function creates a decoding handle and initializes it for a (fixed) buffer style of serialization.
Syntax
RPC_STATUS MesDecodeBufferHandleCreate(
char *Buffer,
unsigned long BufferSize,
handle_t *pHandle
);
Parameters
Buffer
Pointer to the buffer containing the data to decode.
BufferSize
Bytes of data to decode in the buffer.
pHandle
Pointer to the address to which the handle will be written.
Return value
Value | Meaning |
---|---|
|
The call succeeded. |
|
The argument was not valid. |
|
Out of memory. |
|
The buffer was not valid. |
Remarks
The MesDecodeBufferHandleCreate routine is used by applications to create a serialization handle and initialize the handle for the (fixed) buffer style of decoding. When using the fixed buffer style of decoding, the user supplies a single buffer containing all the encoded data. This buffer must have an address which is aligned at 8, and must be a multiple of 8 bytes in size. Further, it must be large enough to hold all of the data to decode.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | midles.h (include Rpc.h) |
Library | Rpcrt4.lib |
DLL | Rpcrt4.dll |