case ToolCmdReplyID: /* a command has completed */
if (agm->agm_Pri_Ret)
{
/* An error occurred, the reason is in agm_Sec_Ret.
* The command string is in agm_Data
*/
}
break;
case ToolStatusID: /* status message */
if (agm->agm_Pri_Ret)
{
/* an error occurred, the reason is in agm_Sec_Ret */
}
break;
default: