Пример #1
0
 static extern IntPtr daveNewInterface(
     daveOSserialType fd,
     string name,
     int localMPI,
     int useProto,
     int speed
     );
Пример #2
0
 public daveInterface(daveOSserialType fd,
                      string name,
                      int localMPI,
                      int useProto,
                      int speed)
 {
     pointer = daveNewInterface(fd, name, localMPI, useProto, speed);
 }
Пример #3
0
    daveNewInterface(
//    int di,
    daveOSserialType fd,
//    [MarshalAs(UnmanagedType.LPWStr)] 
    string name,
    int localMPI,
    int  useProto,
    int speed
    );
Пример #4
0
    daveNewInterface(
//    int di,
        daveOSserialType fd,
//    [MarshalAs(UnmanagedType.LPWStr)]
        string name,
        int localMPI,
        int useProto,
        int speed
        );
Пример #5
0
    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);
    }
Пример #6
0
        static extern IntPtr daveNewInterface(
	    daveOSserialType fd,
	    string name,
	    int localMPI,
	    int  useProto,
	    int speed
        );
Пример #7
0
        public daveInterface(daveOSserialType fd,
	    string name,
	    int localMPI,
	    int  useProto,
	    int speed)
        {
            pointer=daveNewInterface(fd, name, localMPI, useProto, speed);
        }
Пример #8
0
    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);