Пример #1
0
 public extern static int  dsn_register_app_checker(string name, dsn_checker_create create, dsn_checker_apply apply);
Пример #2
0
 public static extern int  dsn_register_app_checker(string name, dsn_checker_create create, dsn_checker_apply apply);
Пример #3
0
        public static int dsn_register_app_checker_managed(string name, dsn_checker_create_managed create, dsn_checker_apply apply)
        {
            dsn_checker_create create2 = (string name2, IntPtr app_info, int app_info_count) => 
            {
                var app_infos = CopyAppInfoArrayToManaged(app_info, app_info_count);
                return create(name2, app_infos);
            };

            return dsn_register_app_checker(name, create2, apply);
        }
Пример #4
0
        public static int dsn_register_app_checker_managed(string name, dsn_checker_create_managed create, dsn_checker_apply apply)
        {
            dsn_checker_create create2 = (name2, app_info, app_info_count) =>
            {
                var app_infos = CopyAppInfoArrayToManaged(app_info, app_info_count);
                return(create(name2, app_infos));
            };

            return(dsn_register_app_checker(name, create2, apply));
        }