[SHUTDOWN]

* Remove one time inclusions from the main header and put them back where they belong.
CORE-7716

svn path=/trunk/; revision=61598
This commit is contained in:
Amine Khaldi 2014-01-13 12:41:18 +00:00
parent aa3faf1dcc
commit 33fee669e6
3 changed files with 9 additions and 6 deletions

View file

@ -8,6 +8,8 @@
#include "precomp.h"
#include <stdio.h>
const DWORD defaultReason = SHTDN_REASON_MAJOR_OTHER | SHTDN_REASON_MINOR_OTHER;
REASON shutdownReason[] =

View file

@ -2,16 +2,13 @@
#define __SHUTDOWN_PRECOMP_H
/* INCLUDES ******************************************************************/
#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
#include <winreg.h>
#include <winuser.h>
#include <stdio.h>
#include <stdlib.h>
#include <tchar.h>
#include <powrprof.h>
// #include <reason.h> // Shutdown codes
#include "resource.h"
@ -60,4 +57,4 @@ VOID DisplayError(DWORD dwError);
/* gui.c */
BOOL ShutdownGuiMain(struct CommandLineOptions opts);
#endif
#endif /* __SHUTDOWN_PRECOMP_H */

View file

@ -7,6 +7,10 @@
#include "precomp.h"
#include <stdlib.h>
#include <tchar.h>
#include <powrprof.h>
/*
* This takes strings from a resource stringtable
* and outputs it to the console.