예제 #1
0
    /* Test structures as out arguments of delegates */
    public static int test_0_marshal_out_struct_delegate()
    {
        SimpleStruct      ss = new SimpleStruct();
        OutStructDelegate d  = new OutStructDelegate(delegate_test_struct_out);

        return(mono_test_marshal_out_struct(1, out ss, 2, d));
    }
예제 #2
0
파일: pinvoke3.cs 프로젝트: GirlD/mono
	/* Test structures as out arguments of delegates */
	public static int test_0_marshal_out_struct_delegate () {
		SimpleStruct ss = new SimpleStruct ();
		OutStructDelegate d = new OutStructDelegate (delegate_test_struct_out);

		return mono_test_marshal_out_struct (1, out ss, 2, d);
	}
예제 #3
0
파일: pinvoke3.cs 프로젝트: GirlD/mono
	public static extern int mono_test_marshal_out_struct (int a, out SimpleStruct ss, int b, OutStructDelegate d);
예제 #4
0
 public static extern int mono_test_marshal_out_struct(int a, out SimpleStruct ss, int b, OutStructDelegate d);