Category External tasks, Object ProJlink

Function ProJlinkApplicationStop


Description
Stop a previously loaded J-Link application. The application's stop method will be called.
Replacement in Object TOOLKIT: pfcJLinkApplication::Stop
Synopsis
#include <ProJlink.h>
ProErrorProJlinkApplicationStop(
ProJlinkAppHandle app_handle
/* (In)
Handle to the Jlink application.
*/
char ** exception
/* (Out)
If the application stop method threw an exception, the exception description is stored here. Free this string using ProStringFree.
*/
)
Returns
PRO_TK_NO_ERRORShutdown succeeded.
PRO_TK_BAD_INPUTSThe input argument is invalid.
PRO_TK_USER_ABORTThe application failed to shutdown properly. See the output exception for more details.
PRO_TK_E_BUSYThe application has menus or UI components active in the UI.
PRO_TK_BAD_CONTEXTThe handle is valid but the application is not active.

Manual References:

  1. Task Based Application Libraries: Launching Synchronous J-Link Applications