RpcSsDontSerializeContext function (rpcdce.h)
The RpcSsDontSerializeContext function disables run-time serialization of multiple calls dispatched to server-manager routines on the same context handle. Use of this function is not recommended. Developers should use mixed mode–content handle serialization instead. The See Also section provides links to more appropriate functions.
Syntax
void RpcSsDontSerializeContext();
Return value
None
Remarks
The RpcSsDontSerializeContext function prevents the run time from performing this serialization service, allowing multiple calls to be dispatched on a given context handle. Calling this function does not disable serialization entirely—when a context run down occurs, your context run-down routine will not run until all outstanding client requests have completed. Changes to the context handle state, including freeing the context handle typically, must continue to be serialized.
It is recommended that, if your distributed application invokes the RpcSsDontSerializeContext function, the call should be made before the server program begins handling remote procedure calls.
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 | rpcdce.h |
Library | Rpcrt4.lib |
DLL | Rpcrt4.dll |
See also
Multithreaded Clients and Context Handles