You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
614 B

#define _CRT_SECURE_NO_WARNINGS
#include "epm_handler_common.h"
int ML_Test(EPM_action_message_t msg)
//int ML_Test(METHOD_message_t* msg, va_list args)
{
printf("=========================测试删除时间表任务 Start===================\n");
int ifail = ITK_ok;
int attachments_num = 0;
tag_t rootTask = NULLTAG, *attachments = NULLTAG;
//获取任务对象
EPM_ask_root_task(msg.task, &rootTask);
//获取任务目标对象
EPM_ask_attachments(rootTask, EPM_target_attachment, &attachments_num, &attachments);
DOFREE(attachments);
printf("=========================测试 End===================\n");
return ifail;
}