Dim OpSysSet
Set OpSysSet = GetObject(”winmgmts:{(Shutdown)}//./root/cimv2″).ExecQuery(”select * from
Win32_OperatingSystem where Primary=true”)
Set OpSysSet = GetObject(”winmgmts:{(Shutdown)}//./root/cimv2″).ExecQuery(”select * from
Win32_OperatingSystem where Primary=true”)
for each OpSys in OpSysSet
OpSys.Reboot()
OpSys.Reboot()
HWND – HWND is a lowlevel pointer to the memory loacation from where the definition of any object in memory starts. HWND is used to access those objects.
No comments:
Post a Comment