DotNet Reference

.Net Reference

ModelCache.cs
Go to the documentation of this file.
1//------------------------------------------------------------------------------
2// <auto-generated />
3//
4// This file was automatically generated by SWIG (http://www.swig.org).
5// Version 4.0.2
6//
7// Do not make changes to this file unless you know what you are doing--modify
8// the SWIG interface file instead.
9//------------------------------------------------------------------------------
10
12
13using System;
14using System.Runtime.InteropServices;
15using System.Collections;
16using System.Collections.Generic;
17
18public partial class ModelCache : global::System.IDisposable {
19 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
20 protected bool swigCMemOwn;
21
22 internal ModelCache(global::System.IntPtr cPtr, bool cMemoryOwn) {
23 swigCMemOwn = cMemoryOwn;
24 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
25 }
26
27 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ModelCache obj) {
28 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
29 }
30
31 ~ModelCache() {
32 Dispose(false);
33 }
34
35 public void Dispose() {
36 Dispose(true);
37 global::System.GC.SuppressFinalize(this);
38 }
39
40 protected virtual void Dispose(bool disposing) {
41 lock(this) {
42 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
43 if (swigCMemOwn) {
44 swigCMemOwn = false;
46 }
47 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
48 }
49 }
50 }
51
52 public virtual void Clear() {
54 }
55
56 public virtual Constraint FindVoidConstraint(int type) {
57 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.ModelCache_FindVoidConstraint(swigCPtr, type);
58 Constraint ret = (cPtr == global::System.IntPtr.Zero) ? null : new Constraint(cPtr, false);
59 return ret;
60 }
61
62 public virtual void InsertVoidConstraint(Constraint ct, int type) {
64 }
65
66 public virtual Constraint FindVarConstantConstraint(IntVar var, long value, int type) {
67 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.ModelCache_FindVarConstantConstraint(swigCPtr, IntVar.getCPtr(var), value, type);
68 Constraint ret = (cPtr == global::System.IntPtr.Zero) ? null : new Constraint(cPtr, false);
69 return ret;
70 }
71
72 public virtual void InsertVarConstantConstraint(Constraint ct, IntVar var, long value, int type) {
74 }
75
76 public virtual Constraint FindVarConstantConstantConstraint(IntVar var, long value1, long value2, int type) {
77 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.ModelCache_FindVarConstantConstantConstraint(swigCPtr, IntVar.getCPtr(var), value1, value2, type);
78 Constraint ret = (cPtr == global::System.IntPtr.Zero) ? null : new Constraint(cPtr, false);
79 return ret;
80 }
81
82 public virtual void InsertVarConstantConstantConstraint(Constraint ct, IntVar var, long value1, long value2, int type) {
84 }
85
86 public virtual Constraint FindExprExprConstraint(IntExpr expr1, IntExpr expr2, int type) {
87 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.ModelCache_FindExprExprConstraint(swigCPtr, IntExpr.getCPtr(expr1), IntExpr.getCPtr(expr2), type);
88 Constraint ret = (cPtr == global::System.IntPtr.Zero) ? null : new Constraint(cPtr, false);
89 return ret;
90 }
91
92 public virtual void InsertExprExprConstraint(Constraint ct, IntExpr expr1, IntExpr expr2, int type) {
93 operations_research_constraint_solverPINVOKE.ModelCache_InsertExprExprConstraint(swigCPtr, Constraint.getCPtr(ct), IntExpr.getCPtr(expr1), IntExpr.getCPtr(expr2), type);
94 }
95
96 public virtual IntExpr FindExprExpression(IntExpr expr, int type) {
97 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.ModelCache_FindExprExpression(swigCPtr, IntExpr.getCPtr(expr), type);
98 IntExpr ret = (cPtr == global::System.IntPtr.Zero) ? null : new IntExpr(cPtr, false);
99 return ret;
100 }
101
102 public virtual void InsertExprExpression(IntExpr expression, IntExpr expr, int type) {
103 operations_research_constraint_solverPINVOKE.ModelCache_InsertExprExpression(swigCPtr, IntExpr.getCPtr(expression), IntExpr.getCPtr(expr), type);
104 }
105
106 public virtual IntExpr FindExprConstantExpression(IntExpr expr, long value, int type) {
107 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.ModelCache_FindExprConstantExpression(swigCPtr, IntExpr.getCPtr(expr), value, type);
108 IntExpr ret = (cPtr == global::System.IntPtr.Zero) ? null : new IntExpr(cPtr, false);
109 return ret;
110 }
111
112 public virtual void InsertExprConstantExpression(IntExpr expression, IntExpr var, long value, int type) {
113 operations_research_constraint_solverPINVOKE.ModelCache_InsertExprConstantExpression(swigCPtr, IntExpr.getCPtr(expression), IntExpr.getCPtr(var), value, type);
114 }
115
116 public virtual IntExpr FindExprExprExpression(IntExpr var1, IntExpr var2, int type) {
117 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.ModelCache_FindExprExprExpression(swigCPtr, IntExpr.getCPtr(var1), IntExpr.getCPtr(var2), type);
118 IntExpr ret = (cPtr == global::System.IntPtr.Zero) ? null : new IntExpr(cPtr, false);
119 return ret;
120 }
121
122 public virtual void InsertExprExprExpression(IntExpr expression, IntExpr var1, IntExpr var2, int type) {
123 operations_research_constraint_solverPINVOKE.ModelCache_InsertExprExprExpression(swigCPtr, IntExpr.getCPtr(expression), IntExpr.getCPtr(var1), IntExpr.getCPtr(var2), type);
124 }
125
126 public virtual IntExpr FindExprExprConstantExpression(IntExpr var1, IntExpr var2, long constant, int type) {
127 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.ModelCache_FindExprExprConstantExpression(swigCPtr, IntExpr.getCPtr(var1), IntExpr.getCPtr(var2), constant, type);
128 IntExpr ret = (cPtr == global::System.IntPtr.Zero) ? null : new IntExpr(cPtr, false);
129 return ret;
130 }
131
132 public virtual void InsertExprExprConstantExpression(IntExpr expression, IntExpr var1, IntExpr var2, long constant, int type) {
133 operations_research_constraint_solverPINVOKE.ModelCache_InsertExprExprConstantExpression(swigCPtr, IntExpr.getCPtr(expression), IntExpr.getCPtr(var1), IntExpr.getCPtr(var2), constant, type);
134 }
135
136 public virtual IntExpr FindVarConstantConstantExpression(IntVar var, long value1, long value2, int type) {
137 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.ModelCache_FindVarConstantConstantExpression(swigCPtr, IntVar.getCPtr(var), value1, value2, type);
138 IntExpr ret = (cPtr == global::System.IntPtr.Zero) ? null : new IntExpr(cPtr, false);
139 return ret;
140 }
141
142 public virtual void InsertVarConstantConstantExpression(IntExpr expression, IntVar var, long value1, long value2, int type) {
143 operations_research_constraint_solverPINVOKE.ModelCache_InsertVarConstantConstantExpression(swigCPtr, IntExpr.getCPtr(expression), IntVar.getCPtr(var), value1, value2, type);
144 }
145
146 public virtual IntExpr FindVarConstantArrayExpression(IntVar var, long[] values, int type) {
147 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.ModelCache_FindVarConstantArrayExpression(swigCPtr, IntVar.getCPtr(var), values.Length, values , type);
148 IntExpr ret = (cPtr == global::System.IntPtr.Zero) ? null : new IntExpr(cPtr, false);
149 return ret;
150 }
151
152 public virtual void InsertVarConstantArrayExpression(IntExpr expression, IntVar var, long[] values, int type) {
153 operations_research_constraint_solverPINVOKE.ModelCache_InsertVarConstantArrayExpression(swigCPtr, IntExpr.getCPtr(expression), IntVar.getCPtr(var), values.Length, values , type);
154 }
155
156 public virtual IntExpr FindVarArrayExpression(IntVarVector vars, int type) {
157 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.ModelCache_FindVarArrayExpression(swigCPtr, IntVarVector.getCPtr(vars), type);
158 IntExpr ret = (cPtr == global::System.IntPtr.Zero) ? null : new IntExpr(cPtr, false);
160 return ret;
161 }
162
163 public virtual void InsertVarArrayExpression(IntExpr expression, IntVarVector vars, int type) {
166 }
167
168 public virtual IntExpr FindVarArrayConstantArrayExpression(IntVarVector vars, long[] values, int type) {
169 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.ModelCache_FindVarArrayConstantArrayExpression(swigCPtr, IntVarVector.getCPtr(vars), values.Length, values , type);
170 IntExpr ret = (cPtr == global::System.IntPtr.Zero) ? null : new IntExpr(cPtr, false);
172 return ret;
173 }
174
175 public virtual void InsertVarArrayConstantArrayExpression(IntExpr expression, IntVarVector var, long[] values, int type) {
176 operations_research_constraint_solverPINVOKE.ModelCache_InsertVarArrayConstantArrayExpression(swigCPtr, IntExpr.getCPtr(expression), IntVarVector.getCPtr(var), values.Length, values , type);
178 }
179
180 public virtual IntExpr FindVarArrayConstantExpression(IntVarVector vars, long value, int type) {
181 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.ModelCache_FindVarArrayConstantExpression(swigCPtr, IntVarVector.getCPtr(vars), value, type);
182 IntExpr ret = (cPtr == global::System.IntPtr.Zero) ? null : new IntExpr(cPtr, false);
184 return ret;
185 }
186
187 public virtual void InsertVarArrayConstantExpression(IntExpr expression, IntVarVector var, long value, int type) {
190 }
191
192 public Solver solver() {
193 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.ModelCache_solver(swigCPtr);
194 Solver ret = (cPtr == global::System.IntPtr.Zero) ? null : new Solver(cPtr, false);
195 return ret;
196 }
197
198 // VoidConstraintType
202
203 // VarConstantConstraintType
209
210 // VarConstantConstantConstraintType
213
214 // ExprExprConstraintType
222
223 // ExprExpressionType
228
229 // ExprExprExpressionType
241
242 // ExprExprConstantExpressionType
245
246 // ExprConstantExpressionType
258
259 // VarConstantConstantExpressionType
262
263 // VarConstantArrayExpressionType
266
267 // VarArrayConstantArrayExpressionType
270
271 // VarArrayExpressionType
276
277 // VarArrayConstantExpressionType
280
281}
282
283}
virtual void InsertVoidConstraint(Constraint ct, int type)
Definition: ModelCache.cs:62
static readonly int VAR_ARRAY_CONSTANT_EXPRESSION_MAX
Definition: ModelCache.cs:279
static readonly int VAR_ARRAY_CONSTANT_INDEX
Definition: ModelCache.cs:278
virtual void InsertVarArrayConstantArrayExpression(IntExpr expression, IntVarVector var, long[] values, int type)
Definition: ModelCache.cs:175
virtual void InsertVarArrayConstantExpression(IntExpr expression, IntVarVector var, long value, int type)
Definition: ModelCache.cs:187
static readonly int EXPR_EXPR_CONSTANT_EXPRESSION_MAX
Definition: ModelCache.cs:244
virtual IntExpr FindExprExprExpression(IntExpr var1, IntExpr var2, int type)
Definition: ModelCache.cs:116
virtual void InsertExprExprExpression(IntExpr expression, IntExpr var1, IntExpr var2, int type)
Definition: ModelCache.cs:122
static readonly int VAR_CONSTANT_ARRAY_EXPRESSION_MAX
Definition: ModelCache.cs:265
virtual Constraint FindExprExprConstraint(IntExpr expr1, IntExpr expr2, int type)
Definition: ModelCache.cs:86
virtual Constraint FindVarConstantConstantConstraint(IntVar var, long value1, long value2, int type)
Definition: ModelCache.cs:76
virtual Constraint FindVarConstantConstraint(IntVar var, long value, int type)
Definition: ModelCache.cs:66
static readonly int EXPR_EXPR_GREATER_OR_EQUAL
Definition: ModelCache.cs:217
static readonly int EXPR_EXPR_CONSTANT_CONDITIONAL
Definition: ModelCache.cs:243
static readonly int EXPR_EXPR_CONSTRAINT_MAX
Definition: ModelCache.cs:221
virtual IntExpr FindVarArrayExpression(IntVarVector vars, int type)
Definition: ModelCache.cs:156
virtual void InsertVarConstantArrayExpression(IntExpr expression, IntVar var, long[] values, int type)
Definition: ModelCache.cs:152
virtual void InsertExprExpression(IntExpr expression, IntExpr expr, int type)
Definition: ModelCache.cs:102
virtual IntExpr FindExprExprConstantExpression(IntExpr var1, IntExpr var2, long constant, int type)
Definition: ModelCache.cs:126
virtual void InsertVarArrayExpression(IntExpr expression, IntVarVector vars, int type)
Definition: ModelCache.cs:163
static readonly int VAR_ARRAY_CONSTANT_ARRAY_EXPRESSION_MAX
Definition: ModelCache.cs:269
virtual void InsertVarConstantConstraint(Constraint ct, IntVar var, long value, int type)
Definition: ModelCache.cs:72
static readonly int VAR_CONSTANT_CONSTRAINT_MAX
Definition: ModelCache.cs:208
virtual void InsertExprExprConstraint(Constraint ct, IntExpr expr1, IntExpr expr2, int type)
Definition: ModelCache.cs:92
virtual IntExpr FindVarArrayConstantArrayExpression(IntVarVector vars, long[] values, int type)
Definition: ModelCache.cs:168
virtual void Dispose(bool disposing)
Definition: ModelCache.cs:40
static readonly int VAR_CONSTANT_GREATER_OR_EQUAL
Definition: ModelCache.cs:205
static readonly int EXPR_EXPR_IS_LESS_OR_EQUAL
Definition: ModelCache.cs:237
static readonly int VAR_CONSTANT_ARRAY_ELEMENT
Definition: ModelCache.cs:264
virtual void InsertVarConstantConstantExpression(IntExpr expression, IntVar var, long value1, long value2, int type)
Definition: ModelCache.cs:142
static readonly int VAR_CONSTANT_CONSTANT_SEMI_CONTINUOUS
Definition: ModelCache.cs:260
static readonly int EXPR_EXPR_EXPRESSION_MAX
Definition: ModelCache.cs:240
static readonly int EXPR_CONSTANT_IS_NOT_EQUAL
Definition: ModelCache.cs:254
static readonly int EXPR_CONSTANT_IS_GREATER_OR_EQUAL
Definition: ModelCache.cs:255
static readonly int EXPR_CONSTANT_DIFFERENCE
Definition: ModelCache.cs:247
static readonly int VAR_CONSTANT_CONSTANT_CONSTRAINT_MAX
Definition: ModelCache.cs:212
virtual void InsertExprExprConstantExpression(IntExpr expression, IntExpr var1, IntExpr var2, long constant, int type)
Definition: ModelCache.cs:132
static readonly int VAR_CONSTANT_LESS_OR_EQUAL
Definition: ModelCache.cs:206
virtual IntExpr FindExprExpression(IntExpr expr, int type)
Definition: ModelCache.cs:96
virtual IntExpr FindVarArrayConstantExpression(IntVarVector vars, long value, int type)
Definition: ModelCache.cs:180
virtual void InsertVarConstantConstantConstraint(Constraint ct, IntVar var, long value1, long value2, int type)
Definition: ModelCache.cs:82
static readonly int EXPR_CONSTANT_IS_LESS_OR_EQUAL
Definition: ModelCache.cs:256
virtual void InsertExprConstantExpression(IntExpr expression, IntExpr var, long value, int type)
Definition: ModelCache.cs:112
static readonly int VAR_CONSTANT_CONSTANT_EXPRESSION_MAX
Definition: ModelCache.cs:261
virtual Constraint FindVoidConstraint(int type)
Definition: ModelCache.cs:56
static readonly int EXPR_CONSTANT_EXPRESSION_MAX
Definition: ModelCache.cs:257
static readonly int VAR_ARRAY_EXPRESSION_MAX
Definition: ModelCache.cs:275
static readonly int VAR_CONSTANT_NON_EQUALITY
Definition: ModelCache.cs:207
virtual IntExpr FindVarConstantConstantExpression(IntVar var, long value1, long value2, int type)
Definition: ModelCache.cs:136
static readonly int VAR_ARRAY_CONSTANT_ARRAY_SCAL_PROD
Definition: ModelCache.cs:268
virtual IntExpr FindExprConstantExpression(IntExpr expr, long value, int type)
Definition: ModelCache.cs:106
virtual IntExpr FindVarConstantArrayExpression(IntVar var, long[] values, int type)
Definition: ModelCache.cs:146
static readonly int VAR_CONSTANT_CONSTANT_BETWEEN
Definition: ModelCache.cs:211
static global::System.IntPtr ModelCache_FindExprExprExpression(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4)
static global::System.IntPtr ModelCache_FindVarArrayConstantArrayExpression(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int length3, long[] jarg3, int jarg4)
static void ModelCache_InsertVarConstantConstraint(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, long jarg4, int jarg5)
static void ModelCache_InsertExprExprExpression(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5)
static void ModelCache_InsertVarConstantConstantExpression(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, long jarg4, long jarg5, int jarg6)
static global::System.IntPtr ModelCache_FindVarConstantConstraint(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, long jarg3, int jarg4)
static global::System.IntPtr ModelCache_FindExprConstantExpression(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, long jarg3, int jarg4)
static void ModelCache_InsertVarConstantConstantConstraint(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, long jarg4, long jarg5, int jarg6)
static void ModelCache_InsertVarConstantArrayExpression(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int length4, long[] jarg4, int jarg5)
static void ModelCache_InsertExprExprConstantExpression(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, long jarg5, int jarg6)
static void ModelCache_Clear(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr ModelCache_FindExprExprConstantExpression(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, long jarg4, int jarg5)
static global::System.IntPtr ModelCache_solver(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr ModelCache_FindExprExprConstraint(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4)
static void ModelCache_InsertVarArrayConstantExpression(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, long jarg4, int jarg5)
static void ModelCache_InsertExprConstantExpression(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, long jarg4, int jarg5)
static global::System.IntPtr ModelCache_FindVoidConstraint(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static global::System.IntPtr ModelCache_FindVarArrayExpression(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3)
static global::System.IntPtr ModelCache_FindVarConstantConstantExpression(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, long jarg3, long jarg4, int jarg5)
static void ModelCache_InsertVarArrayExpression(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4)
static global::System.IntPtr ModelCache_FindExprExpression(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3)
static void ModelCache_InsertVarArrayConstantArrayExpression(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int length4, long[] jarg4, int jarg5)
static void delete_ModelCache(global::System.Runtime.InteropServices.HandleRef jarg1)
static void ModelCache_InsertExprExpression(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4)
static global::System.IntPtr ModelCache_FindVarConstantArrayExpression(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int length3, long[] jarg3, int jarg4)
static void ModelCache_InsertExprExprConstraint(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5)
static void ModelCache_InsertVoidConstraint(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3)
static global::System.IntPtr ModelCache_FindVarArrayConstantExpression(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, long jarg3, int jarg4)
static global::System.IntPtr ModelCache_FindVarConstantConstantConstraint(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, long jarg3, long jarg4, int jarg5)