public extern static int dsn_register_app_checker(string name, dsn_checker_create create, dsn_checker_apply apply);
public static extern int dsn_register_app_checker(string name, dsn_checker_create create, dsn_checker_apply apply);
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); }
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)); }