/* INCLUDES *****************************************************************/
#include <ntoskrnl.h>
+
+#define NDEBUG
#include <debug.h>
/* FUNCTIONS *****************************************************************/
NtShutdownSystem(IN SHUTDOWN_ACTION Action)
{
POWER_ACTION PowerAction;
-
+
/* Convert to power action */
if (Action == ShutdownNoReboot)
{
{
return STATUS_INVALID_PARAMETER;
}
-
+
/* Now call the power manager */
- DPRINT1("Setting state to: %lx\n", PowerAction);
+ DPRINT("Setting state to: %lx\n", PowerAction);
return NtSetSystemPowerState(PowerAction,
PowerSystemSleeping3,
POWER_ACTION_OVERRIDE_APPS |