向系统增加一个自定义函数,增加自定义函数后,就可以用CallCustomFunction调用
ARXDLL Mcad::ErrorStatus AddCustomFunction(LPCTSTR pszGroupName, LPCTSTR pszFunName, McRxCustomFunctionPtr pFunctionAddr, Mdesk::Int32 flags = 0);
ArxFun.h
|
参数 |
说明 |
|
LPCTSTR pszGroupName |
自定义函数所在组名 |
|
LPCTSTR pszFunName |
函数名 |
|
McRxCustomFunctionPtr pFunctionAddr |
函数地址 |
|
Mdesk::Int32 flags = 0 |
没有使用 |
成功返回Mcad::eOk