public static int test_0_Default_Out_Managed() { MarshalBoolOutDelegate fcn = new MarshalBoolOutDelegate(new marshalbool().MarshalBoolOutHelper); int ret; // // Beginn Aenderung Test // Console.WriteLine("\n\t****C#: MarshalBoolOutDelegate fcn = new MarshalBoolOutDelegate (new marshalbool ().MarshalBoolOutHelper) done ****\n"); // // Ende Aenderung Test // ret = mono_test_managed_marshal_bool_out(1, 0, 0, fcn); if (ret != 0) { return(0x010000 + ret); } ret = mono_test_managed_marshal_bool_out(1, 1, 1, fcn); if (ret != 0) { return(0x020000 + ret); } ret = mono_test_managed_marshal_bool_out(1, 1, 0x22, fcn); if (ret != 0) { return(0x030000 + ret); } return(0); }
public static int test_0_I1_Out_Managed() { MarshalBoolOutDelegate fcn = new MarshalBoolOutDelegate(new marshalbool().MarshalBoolOutHelper); int ret; ret = mono_test_managed_marshal_bool_out(3, 0, 0, fcn); if (ret != 0) { return(0x010000 + ret); } ret = mono_test_managed_marshal_bool_out(3, 1, 1, fcn); if (ret != 0) { return(0x020000 + ret); } ret = mono_test_managed_marshal_bool_out(3, 1, 0x22, fcn); if (ret != 0) { return(0x030000 + ret); } return(0); }
public static int test_0_VariantBool_Out_Managed() { MarshalBoolOutDelegate fcn = new MarshalBoolOutDelegate(MarshalBoolOutHelper); int ret; ret = mono_test_managed_marshal_bool_out(5, 0, 0, fcn); if (ret != 0) { return(0x010000 + ret); } ret = mono_test_managed_marshal_bool_out(5, 0xFFFF, 1, fcn); if (ret != 0) { return(0x020000 + ret); } ret = mono_test_managed_marshal_bool_out(5, 0xFFFF, 0x22, fcn); if (ret != 0) { return(0x030000 + ret); } return(0); }
public static int test_0_VariantBool_Out_Managed () { MarshalBoolOutDelegate fcn = new MarshalBoolOutDelegate (new marshalbool ().MarshalBoolOutHelper); int ret; ret = mono_test_managed_marshal_bool_out (5, 0, 0, fcn); if (ret != 0) return 0x010000 + ret; ret = mono_test_managed_marshal_bool_out (5, 0xFFFF, 1, fcn); if (ret != 0) return 0x020000 + ret; ret = mono_test_managed_marshal_bool_out (5, 0xFFFF, 0x22, fcn); if (ret != 0) return 0x030000 + ret; return 0; }
static extern int mono_test_managed_marshal_bool_out (int arg, uint expected, uint testVal, MarshalBoolOutDelegate fcn);
public static int test_0_U1_Out_Managed () { MarshalBoolOutDelegate fcn = new MarshalBoolOutDelegate (MarshalBoolOutHelper); int ret; ret = mono_test_managed_marshal_bool_out (4, 0, 0, fcn); if (ret != 0) return 0x010000 + ret; ret = mono_test_managed_marshal_bool_out (4, 1, 1, fcn); if (ret != 0) return 0x020000 + ret; ret = mono_test_managed_marshal_bool_out (4, 1, 0x22, fcn); if (ret != 0) return 0x030000 + ret; return 0; }
static extern int mono_test_managed_marshal_bool_out(int arg, uint expected, uint testVal, MarshalBoolOutDelegate fcn);