Synopsis
Free and end a Pseudo-MIL function.
Format
long MFuncFreeAndEnd(FunctionId)
MIL_ID FunctionId; | Function identifier |
Description
This function signals the end of a pseudo-MIL function, and frees the identifier associated with it. It assumes that a corresponding call to MfuncStart was previously made.
You must call this function to exit the pseudo-MIL function. When MfuncFreeAndEnd is called, MIL will treat your function end as a standard MIL function end. Any pending error within the function will be reported and, if trace reporting is enabled, the trace message will be printed. You can control the trace behavior using the normal MIL trace control function (MappControl).
The FunctionId parameter is the MIL identifier of the function to terminate.
Returned value
The returned value is M_NULL if an error occurred; otherwise, not null.
See also
《MfuncFreeAndEnd()函数》上有4条评论
评论已关闭。