当前位置:网站首页>ITK Example
ITK Example
2022-07-05 17:22:00 【腿毛ger】
以下代码(使用cust1作为站点)显示了在自定义出口中注册自定义处理程序:
extern int cust1_action_handler(EPM_action_message_t msg) {
/* insert custom handler code here */
}
extern DLLAPI int cust1_register_custom_handlers(int *decision, va_list args) {
int rcode = ITK_ok;
*decision = ALL_CUSTOMIZATIONS;
rcode = EPM_register_action_handler("cust1-action-handler", "",
cust1_action_handler);
if (rcode == ITK_ok)
fprintf(stdout, "cust1-action-handler successfully registered!\n");
else
fprintf(stdout, "WARNING - cust1-action-handler NOT registered!\n");
return rcode;
}
extern DLLAPI int cust1_register_callbacks () {
CUSTOM_register_exit ( "cust1", "USER_gs_shell_init_module",
(CUSTOM_EXIT_ftn_t) cust1_register_custom_handlers);
return ( ITK_ok );
}边栏推荐
- Ordinary programmers look at the code, and top programmers look at the trend
- MATLAB查阅
- Simple query cost estimation
- 忽米沄析:工业互联网标识解析与企业信息系统的融合应用
- Learn about MySQL transaction isolation level
- 提高应用程序性能的7个DevOps实践
- 排错-关于clion not found visual studio 的问题
- Force deduction solution summary 1200 minimum absolute difference
- Use of ThinkPHP template
- VBA驱动SAP GUI实现办公自动化(二):判断元素是否存在
猜你喜欢

leetcode每日一题:字符串中的第一个唯一字符
Database design in multi tenant mode

IDEA 项目启动报错 Shorten the command line via JAR manifest or via a classpath file and rerun.

Mongodb (quick start) (I)

Knowledge points of MySQL (7)
Oracle缩表空间的完整解决实例
Summary of optimization scheme for implementing delay queue based on redis

Beijing internal promotion | the machine learning group of Microsoft Research Asia recruits full-time researchers in nlp/ speech synthesis and other directions

7. Scala class

Rider set the highlighted side of the selected word, remove the warning and suggest highlighting
随机推荐
C # realizes crystal report binding data and printing 3-qr code barcode
Cartoon: how to multiply large integers? (I) revised version
漫画:如何实现大整数相乘?(下)
力扣解法汇总1200-最小绝对差
力扣解法汇总729-我的日程安排表 I
CVPR 2022最佳学生论文:单张图像估计物体在3D空间中的位姿估计
哈趣K1和哈趣H1哪个性价比更高?谁更值得入手?
Design of electronic clock based on 51 single chip microcomputer
Tips for extracting JSON fields from MySQL
漫画:有趣的【海盗】问题
Domain name resolution, reverse domain name resolution nbtstat
Cartoon: a bloody case caused by a math problem
MySql 查询符合条件的最新数据行
thinkphp3.2.3
MySQL之知识点(六)
About JSON parsing function JSON in MySQL_ EXTRACT
一口气读懂 IT发展史
Error in compiling libssh2. OpenSSL cannot be found
Example tutorial of SQL deduplication
Read the history of it development in one breath