RpcSsDontSerializeContext  6FKJ_P

The RpcSsDontSerializeContext function disables runtime serialization of multiple calls dispatched to server manager routines on the same context handle.

#include <rpc.h>

void RPC_ENTRY RpcSsDontSerializeContext(void);

Remarks

Normally RPC runtime serializes calls on the same context handle dispatched to server manager routines. Context handles are maintained on a per client basis and typically represent the server-side state. This means that your server manager does not have to guard against another thread from the same client changing the context or from the context running down while a call is dispatched.

Calling the RpcSsDontSerializeContext routine prevents RPC runtime from performing this serialization service.

 

Note  A call to RpcSsDontSerializeContext affects the entire process and is unrevertable. If you use this routine you should expect, and provide routines to handle, asynchronous context rundowns.