Windows服务程序记录用户登录/注销的操作
各位专家
我想设计一个Windows Server 2003的服务程序,用来在后台记录用户登录/注销的操作,能记录下登录的用户名称和登录的系统时间,不知如何下手.
问题点数:100、回复次数:1Top
1 楼Onega(www.fruitfruit.com)回复于 2005-02-26 22:04:20 得分 100
register a console control handler using SetConsoleCtrlHandler for receiving control events, handle the following event:
CTRL_LOGOFF_EVENTTop




