如何知道Windows用户正在登陆 [英] How to know a windows user is landing

查看:84
本文介绍了如何知道Windows用户正在登陆的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果Windows用户登录,其他用户或服务程序可以访问此信息正在登录用户吗?

If a windows user is logged in, other users or service program can access to this information is being logged in user do?

推荐答案

用户登录或注销时,SERVICE_CONTROL_SESSIONCHANGE控制代码将发送到HandlerEx回调函数。



请检查此链接。

HandlerEx功能
When user logon or logoff, SERVICE_CONTROL_SESSIONCHANGE control code will send to HandlerEx callback function.

Please check this link.
HandlerEx function


这篇关于如何知道Windows用户正在登陆的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆