广州箍牙要多少钱:求windows休眠的vb代码

来源:百度文库 编辑:杭州交通信息网 时间:2024/04/29 20:21:43
我有一段关机的代码 不知道怎样修改为休眠的代码

Set colOperatingSystems = GetObject("winmgmts:{(Shutdown)}").ExecQuery("Select * from Win32_OperatingSystem")
For Each objOperatingSystem in colOperatingSystems
ObjOperatingSystem.Win32Shutdown(1)
Next

把Win32Shutdown(1)的数字改成几?