ERXSetContext
Set a context (thread-safe RPC information).
Syntax
extern ERXeReturnCode ERXAPI ERXSetContext(
ERX_CONTEXT_BLOCK ERXPTR * pContextBlock
);
This function supports RPC clients in multithreaded environments. It is used to set (thread-safe) RPC and broker context information, see Programming multithreaded RPC clients. For information on the messages, see Messages and codes.
Parameters
- pContextBlock
- in: Pointer to context block, see
ERX_CONTEXT_BLOCK
Return codes
| Value | Meaning |
|---|---|
| 00000000 | ERX_S_SUCCESS |
| 00010008 | ERX_E_NOT_REGISTERED |
Related function: ERXGetContext