This sets the pattern for a given rule for text that should be matched.
You can have multiple rules, each with a From pattern, which can be searched simultaneously, or in sequence.
<DllImport(uCalcDLL, CharSet:=CharSet.Ansi, CallingConvention:=CallingConvention.Cdecl, EntryPoint:="From")> _
Private Function From__(ByVal RuleHandle As IntPtr,ByVal FromStr As String) As IntPtr
End Function
[DllImport(uCalcDLL, CharSet=CharSet.Ansi, CallingConvention=CallingConvention.Cdecl, EntryPoint="From")]
protected static extern IntPtr From_(IntPtr RuleHandle, string FromStr);
{DLLImport}function From__(RuleHandle: System.Pointer;FromStr: AnsiString): System.Pointer; cdecl; external uCalcDLL name 'From';
typedef uCalcPtr (* __From)(void *RuleHandle, CONSTCHAR FromStr );
[DllImport(uCalcLib, CharSet=CharSet::Ansi, CallingConvention=CallingConvention::Cdecl, EntryPoint = "From")]
static uCalcPtr From_(void * RuleHandle, MARSHALSTR FromStr);