HandleOfMethod

Applies to:uCalc Transform
Class:uCalc
Returns the handle of a uCalc.Item given a name
Syntax
HandleOf(ItemName, Opt Properties, Opt SkipExpansion)
Remarks
DLL import code
<DllImport(uCalcDLL, CharSet:=CharSet.Ansi, CallingConvention:=CallingConvention.Cdecl, EntryPoint:="HandleOf")> _

Private Function HandleOf__(ByVal uCalcHandle As IntPtr,ByVal ItemName As String,  ByVal Properties As Int64 ,  ByVal SkipExpansion As Int32 ) As  IntPtr
End Function
            
[DllImport(uCalcDLL, CharSet=CharSet.Ansi, CallingConvention=CallingConvention.Cdecl, EntryPoint="HandleOf")]

protected static extern  IntPtr HandleOf_(IntPtr uCalcHandle, string ItemName,   Int64 Properties ,   bool SkipExpansion );
            
{DLLImport}function HandleOf__(uCalcHandle: System.Pointer;ItemName: AnsiString;  Properties: Int64 ;  SkipExpansion: Integer):  System.Pointer; cdecl; external uCalcDLL name 'HandleOf';

            
typedef  uCalcPtr (* __HandleOf)(void *uCalcHandle, CONSTCHAR ItemName ,   int64_t Properties ,   bool SkipExpansion ); 

            
[DllImport(uCalcLib, CharSet=CharSet::Ansi, CallingConvention=CallingConvention::Cdecl, EntryPoint = "HandleOf")]

static uCalcPtr HandleOf_(void *  uCalcHandle, MARSHALSTR ItemName ,   Int64 Properties ,   bool SkipExpansion);
            
Prev | Next