Windows硬件系统函数 - ExitWindowsEx
来源:互联网 发布:股票交易大数据 编辑:程序博客网 时间:2024/04/30 13:29
VB声明Declare Function ExitWindowsEx Lib "user32" Alias "ExitWindowsEx" (ByVal uFlags As Long, ByVal dwReserved As Long) As Long说明退出windows,并用特定的选项重新启动返回值Long,非零表示成功,零表示失败。会设置GetLastError参数表参数类型及说明uFlagsLong,指定下述一个或多个标志(用OR运算符合并到一起)EWX_FORCE强迫中止没有响应的进程EWX_LOGOFF中止进程,然后注销EWX_SHUTDOWN关掉系统电源(如果可能的话,ATX电源就可以)EWX_REBOOT重新引导系统EWX_SHUTDOWN关闭系统dwReservedLong,保留,设为零注解这个函数调用后会立刻返回,系统关闭过程是在后台进行的。注意先中止自己的应用程序,使关闭过程更显平顺。当然,您的进程必须有足够的优先权,否则也不能执行这种操作
- Windows硬件系统函数 - ExitWindowsEx
- 系统关机函数ExitWindowsEx详解
- ExitWindowsEx 函数
- Windows硬件系统函数 - GetAsyncKeyState
- Windows硬件系统函数 - GetComputerName
- Windows硬件系统函数 - GetCursorPos
- Windows硬件系统函数 - GetDoubleClickTime
- Windows硬件系统函数 - GetSysColor
- Windows硬件系统函数 - GetTickCount
- Windows硬件系统函数 - GetUserName
- Windows硬件系统函数 - mouse_event
- Windows硬件系统函数 - SetComputerName
- Windows硬件系统函数 - SetCursorPos
- Windows硬件系统函数 - SetDoubleClickTime
- Windows硬件系统函数 - ShowCursor
- ExitWindowsEX()函数用来退出、重启或注销系统
- Windows硬件系统函数 - ClipCursor, ClipCursorBynum
- ExitWindowsEx函数调用前需提权
- 用密钥池实现一次一密文件加密(附试验程序)
- Windows文本字体函数 - TextOut
- 一位软件工程师的6年总结
- Windows硬件系统函数 - ClipCursor, ClipCursorBynum
- 2-3树
- Windows硬件系统函数 - ExitWindowsEx
- Matlab接口的学习
- Windows硬件系统函数 - GetAsyncKeyState
- Windows硬件系统函数 - GetComputerName
- 国产手机
- Windows硬件系统函数 - GetCursorPos
- Windows硬件系统函数 - GetDoubleClickTime
- Windows硬件系统函数 - GetSysColor
- print 'welcome to masm!' in the center of the screen.