Advertisement
ASP_Volume2 Windows API Call/ Explanation #30817

Absolute Windows Shut Down

When you use the ExitWindowsEx API to reboot the system under Windows NT and Windows 2000, the machine does not reboot. 'CAUSE In order to programmatically reboot a Windows NT or Windows 2000 system, the process requires the SE_SHUTDOWN_NAME privilege. By default, Visual Basic applications do not have this privilege and therefore will not reboot the machine. In order to get ExitWindowsEx API to reboot the system under Windows NT or Windows 2000, the SE_SHUTDOWN_NAME privilege must be set. This Code Shows you the best way to reboot force restart or shut down a PC

AI

สรุปโดย AI: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

ซอร์สโค้ด
original-source
Upload
ความคิดเห็นดั้งเดิม (3)
กู้คืนจาก Wayback Machine