AllocByPtrMethod
    
    
    Allocates a scalar of the given type and copies data from the area indicated by the 
Pointer 
    
      Syntax
      AllocByPtr(ValuePtr)
     
    
      Parameters
      
        ValuePtr 
        
        Pointer  to the data that is copied to the scalar being defined
 
       
     
    
      Returns
      
        Type: IntPtr
        
Pointer  of the scalar that was allocated
        
 
       
     
    
    
      DLL import code
      
        
        
          
            
<DllImport(uCalcDLL, CharSet:=CharSet.Ansi, CallingConvention:=CallingConvention.Cdecl, EntryPoint:="AllocByPtr")> _
Private Function AllocByPtr__(ByVal DataTypeHandle As IntPtr,ByVal ValuePtr As IntPtr) As  IntPtr
End Function
            
          
         
        
          
            
[DllImport(uCalcDLL, CharSet=CharSet.Ansi, CallingConvention=CallingConvention.Cdecl, EntryPoint="AllocByPtr")]
protected static extern  IntPtr AllocByPtr_(IntPtr DataTypeHandle, IntPtr ValuePtr);
            
          
         
        
          
            
{DLLImport}function AllocByPtr__(DataTypeHandle: System.Pointer;ValuePtr: System.Pointer):  System.Pointer; cdecl; external uCalcDLL name 'AllocByPtr';
            
          
         
        
          
            
typedef  void * (* __AllocByPtr)(void *DataTypeHandle, void * ValuePtr); 
            
          
         
        
          
            
[DllImport(uCalcLib, CharSet=CharSet::Ansi, CallingConvention=CallingConvention::Cdecl, EntryPoint = "AllocByPtr")]
static void *   AllocByPtr_(void *  DataTypeHandle, void *   ValuePtr);