gtpc2m8i | C/C++ Language Support User's Guide |
This function sets remote procedure call (RPC) thread options.
Format
#include <rpc.h> void tpf_RPC_options(int options);
Normal Return
None.
Error Return
None.
Programming Considerations
This application programming interface (API) can be issued only for an RPC threaded ECB.
Examples
The following example shows that the process does not exit when the ECB exits.
#include <rpc.h> /* If this ECB exits, leave the process running */ tpf_RPC_options(TPF_RPC_OPTIONS_EXIT_THREAD);
Related Information