type   TShutdownAction = (saLogoff, saReboot, saPoweroff); function Shutdown(Action: TShutdownAction; AForce: Boolean): Boolean;   function EnableShutdownPrivilege: ...