Как её привести в рабочий вид? Помогите кто может, а?
//////////////////////////////////////////////////////////////
// Function NtShutdownSystem
// Import: ntdll.dll
//
// Descryption: The NtShutdownSystem function either shuts down,
// reboot, or shuts down and restarts the system.
// The NtShutdownSystem function always forces shutting down the
// system and does not wait for third level applications.
//
// Comment: The calling process must use the
// AdjustTokenPrivileges function to enable the SE_SHUTDOWN_NAME
// privilege.
// Arguments: dwShutDown - Specifies the type of shutdown.
// This parameter must one of the following values:
// 0 - FORCE SHUTDOWN WITHOUT SWITHING OFF THE COMPUTER
// 1 - FORCE REBOOT
// 2 - FORCE SHUTDOWN WITH SWITH OFF THE COMPUTER
//
// Result: If the function fail, the return value is NTSTATUS.
// Platform: Windows NT/2000/XP
DWORD __stdcall NtShutdownSystem( DWORD dwShutDown );
P.S Лучше этого только порты ввода/вывода
//////////////////////////////////////////////////////////////
// Function NtShutdownSystem
// Import: ntdll.dll
//
// Descryption: The NtShutdownSystem function either shuts down,
// reboot, or shuts down and restarts the system.
// The NtShutdownSystem function always forces shutting down the
// system and does not wait for third level applications.
//
// Comment: The calling process must use the
// AdjustTokenPrivileges function to enable the SE_SHUTDOWN_NAME
// privilege.
// Arguments: dwShutDown - Specifies the type of shutdown.
// This parameter must one of the following values:
// 0 - FORCE SHUTDOWN WITHOUT SWITHING OFF THE COMPUTER
// 1 - FORCE REBOOT
// 2 - FORCE SHUTDOWN WITH SWITH OFF THE COMPUTER
//
// Result: If the function fail, the return value is NTSTATUS.
// Platform: Windows NT/2000/XP
DWORD __stdcall NtShutdownSystem( DWORD dwShutDown );
P.S Лучше этого только порты ввода/вывода