NX模块切换
作者:互联网
#include "uf_all.h" #include <afxwin.h> extern DllExport void ufusr( char *param, int *returnCode, int rlen ) { int ModuleId; UF_ask_application_module(&ModuleId);//获取当前所在的模块 if (ModuleId != 40) { uc1601("非建模模块", 1); } } extern int ufusr_ask_unload( void ) { return (UF_UNLOAD_IMMEDIATELY); }
标签:int,ufusr,NX,切换,模块,extern,include,ModuleId 来源: https://www.cnblogs.com/huadong2020/p/16387139.html