源码简介: |
计算机游戏防沉迷系统通过动态链接库安装一个全局钩子,在允许青少年在适度游戏的情况下,严格限制游戏的时间,当游戏时间超过预定值时,系统提示游戏者时间已到,然后屏蔽除存盘之外的其他操作。系统提供了对监控游戏的添加和删除的基本操作,查询某个游戏一定时间内的运行时间,用坐标轴绘制出某个游戏运行时间的变化趋势,系统提供监控者调整监控时间的功能,方便对游戏进行更有效的管理。同时,系统提供严格的权限控制,在退出系统或修改游戏信息时,需要用户登录,并提供用户的信息管理等功能。系统编写了一个额外的驱动文件,通过HOOK系统底层函数的方法,实现进程保护,在游戏运行前加载这个驱动文件,来解决从任务管理器强制关闭进程的问题。- Computer game fatigue system is installed by a global dynamic link library hook, allowing young people to moderate the game in the case of strictly limited game time, when the game is longer than a predetermined value, the system prompts the player time is up, and then shielded operations except Save. The system provides the basic operations monitoring the game including adding and removing and that querying running time of a game within a certain time and that drawing out the running time trends of a game with the axis. System provides functions to tune the monitoring time to facilitate more effective management of the game. Meanwhile, the system provides strict access control that when exiting the system or modifying the game in information, requiring users to log in and provide the user s information management. System prepared an additional driver files to achieve process protection by the underlying functions of HOOK system. Loading the driver files before running the game to sol
|