![]() |
![]() |
Argument for the Ipc_CONTROLCMD_SETTERMINATEPOLICY command. More...
#include <IpcHost.h>
Data Fields | |
Int | policy |
Argument for the Ipc_CONTROLCMD_SETTERMINATEPOLICY command.
Initialize a structure of this type with the desired terminate policy. Pass the address of this structure as the arg
parameter to Ipc_control() along with this command type. This must be done before calling the load callback.
Ipc_Terminate terminateConfig; // set the requested terminate policy terminateConfig.policy = Ipc_TERMINATEPOLICY_STOP; Ipc_control(procId, Ipc_CONTROLCMD_SETTERMINATEPOLICY, (Ptr)(&terminateConfig)); // now invoke the load callback Ipc_control(procId, Ipc_CONTROLCMD_LOADCALLBACK, NULL);
terminate policy