* Remove one time inclusions from the main header and put them back where they belong.
* Cleanup the main header.
CORE-7716
svn path=/trunk/; revision=61601
#include "precomp.h"
+#include <stdio.h>
+
/* TODO:
* - the dialog box could be non modal
* - in that case,
#include "precomp.h"
+#include <math.h>
+
WNDPROC OldGraphCtrlWndProc;
static void GraphCtrl_Init(TGraphCtrl* this)
#include "precomp.h"
+#define WIN32_LEAN_AND_MEAN
+#include <aclapi.h>
+
+#define NTOS_MODE_USER
+#include <ndk/exfuncs.h>
+
CRITICAL_SECTION PerfDataCriticalSection;
PPERFDATA pPerfDataOld = NULL; /* Older perf data (saved to establish delta values) */
PPERFDATA pPerfData = NULL; /* Most recent copy of perf data */
#error Task-Manager uses NDK functions, so it can only be compiled with Unicode support enabled!
#endif
-#include <math.h>
#include <stdlib.h>
-#include <stdio.h>
+#include <stdarg.h>
#define WIN32_NO_STATUS
-#define WIN32_LEAN_AND_MEAN
#include <windef.h>
#include <winbase.h>
-#define NTOS_MODE_USER
-#include <ndk/exfuncs.h>
-#include <aclapi.h>
+#include <wingdi.h>
+#include <winuser.h>
+#include <winreg.h>
#include <commctrl.h>
#include <shellapi.h>
#include "column.h"
#include "taskmgr.h"
#include "perfdata.h"
-#include "perfpage.h"
-#include "about.h"
#include "procpage.h"
-#include "proclist.h"
-#include "affinity.h"
#include "applpage.h"
#include "dbgchnl.h"
-#include "debug.h"
#include "endproc.h"
#include "graph.h"
#include "graphctl.h"
#include "optnmenu.h"
-#include "priority.h"
#include "run.h"
#include "trayicon.h"
#include "precomp.h"
-
INT_PTR CALLBACK ProcessListWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
WNDPROC OldProcessListWndProc;
#include "precomp.h"
+#include "proclist.h"
+
#define CMP(x1, x2)\
(x1 < x2 ? -1 : (x1 > x2 ? 1 : 0))
#include "precomp.h"
+#include "perfpage.h"
+#include "about.h"
+#include "affinity.h"
+#include "debug.h"
+#include "priority.h"
+
#define STATUS_WINDOW 2001
/* Global Variables: */