static extern IntPtr daveNewInterface( daveOSserialType fd, string name, int localMPI, int useProto, int speed );
public daveInterface(daveOSserialType fd, string name, int localMPI, int useProto, int speed) { pointer = daveNewInterface(fd, name, localMPI, useProto, speed); }
daveNewInterface( // int di, daveOSserialType fd, // [MarshalAs(UnmanagedType.LPWStr)] string name, int localMPI, int useProto, int speed );
public static daveInterface daveNewInterface( daveOSserialType fd, string name, int localMPI, int useProto, int speed ) { daveInterface di; di.pointer = imports.daveNewInterface(fd, name, localMPI, useProto, speed); return(di); }
public daveInterface(daveOSserialType fd, string name, int localMPI, int useProto, int speed) { pointer=daveNewInterface(fd, name, localMPI, useProto, speed); }
public static daveInterface daveNewInterface( daveOSserialType fd, string name, int localMPI, int useProto, int speed ) { daveInterface di; di.pointer=imports.daveNewInterface(fd, name, localMPI, useProto, speed); return di; }
public daveInterface(daveOSserialType fd, string name, int localMPI, int useProto, int speed) { if (IntPtr.Size == 8) pointer = daveNewInterface64(fd, name, localMPI, useProto, speed); else pointer = daveNewInterface32(fd, name, localMPI, useProto, speed); }
private static extern IntPtr daveNewInterface32(daveOSserialType fd, [MarshalAs(UnmanagedType.LPStr)] string name, int localMPI, int useProto, int speed);