I'm converting the pascal interface into C#. What is the C# equivalent of the HGlobal
data type?
type
SomeFunction= function(var global : HGlobal) : integer; cdecl;
How would SomeFunction
be declared in C#?
What is the C# equivalent of the
HGlobal
data type?
The equivalent type is IntPtr
.
How would
SomeFunction
be declared in C#?
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
public delegate int SomeFunction(ref IntPtr global);
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments