MesIncrementalHandleReset function
The MesIncrementalHandleReset function re-initializes the handle for incremental serialization.
Syntax
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
);
Parameters
- Handle
-
Handle to be re-initialized.
- UserState
-
Depending on the function, pointer to the user-supplied block that coordinates successive calls to the user-supplied Alloc, Write, and Read functions.
- AllocFn
-
Pointer to the user-supplied Alloc function. This parameter can be NULL if the operation does not require it, or if the handle was previously initiated with the pointer.
- WriteFn
-
Pointer to the user-supplied Write function. This parameter can be NULL if the operation does not require it, or if the handle was previously initiated with the pointer.
- ReadFn
-
Pointer to the user-supplied Read function. This parameter can be NULL if the operation does not require it, or if the handle was previously initiated with the pointer.
- OpCode
-
Specifies the operation. Valid operations are MES_ENCODE, MES_ENCODE_NDR64, or MES_DECODE.
Return value
| Value | Meaning |
|---|---|
|
The call succeeded. |
|
The argument was invalid. |
|
Out of memory. |
Remarks
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 functions, see Serialization Services.
Requirements
|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|
See also