 | SuspendCtrlAltDelete 类 |
Sweet 开发框架
通过挂起winlogon.exe线程来屏蔽Ctrl+Alt+Delete
程序需要管理员权限
需要提升进程权限为SE_PRIVILEGE_ENABLED权限
winlogon管理着开关机登录界面等功能
调用Suspend挂起winlogon.exe,用完后需要Resume,否则无法调用关机界面
继承层次
命名空间:
Sweet.Common
程序集:
Sweet.Common (在 Sweet.Common.dll 中) 版本:3.10.1.0 (3.10.1.0)
语法public static class SuspendCtrlAltDelete
Public NotInheritable Class SuspendCtrlAltDelete
[<AbstractClassAttribute>]
[<SealedAttribute>]
type SuspendCtrlAltDelete = class end
SuspendCtrlAltDelete 类型公开以下成员。
方法
参见