大网数据广告活动
账户与安全

Winlogon Notification Events

· 52CE 我爱测

Lists Winlogon notification events.

Winlogon can inform your notification package of the following events.

Event Description
Lock This event occurs when the user locks the workstation.
Logoff This event occurs when a user logs off from the system. The Logoff event is performed synchronously, even if the notification package's registry settings indicate that it can handle events asynchronously.
Logon This event occurs when a user logs on the system. Note that the Logon event occurs before the user's network connections are restored. If your event handler requires access to the user's network connections, it should handle the StartShell event instead of the Logon event.
Shutdown This event occurs just before the system shuts down.
SmartCardLogonNotify This event occurs when a user logs on to the system with a smart card.
StartScreenSaver This event occurs when the screen saver has started. Typically, this happens after a user has been inactive for a set period of time. Functions handling this event should not display a user interface. StartScreenSaver event notification is intended for informational purposes only.
StartShell This event occurs after the user has logged onto the system, network connections have been established, and the user-specified shell program (usually Windows Explorer) has been started.
Startup This event occurs when the system is started or restarted.
StopScreenSaver This event occurs when the screen saver has stopped. Typically this happens when there is keyboard or mouse activity. Functions handling this event should not display a user interface. StopScreenSaver event notification is intended for informational purposes only.
Unlock This event occurs when the user unlocks the workstation or when a system administrator overrides the lock and logs the user off.

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。