2009-10-07 16:45:14 +00:00
|
|
|
/*
|
|
|
|
Copyright (C) 2009 Kimmo Pekkola
|
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or
|
|
|
|
modify it under the terms of the GNU General Public License
|
|
|
|
as published by the Free Software Foundation; either version 2
|
|
|
|
of the License, or (at your option) any later version.
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with this program; if not, write to the Free Software
|
2012-01-23 06:36:15 +00:00
|
|
|
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
2009-10-07 16:45:14 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __STDAFX_H__
|
|
|
|
#define __STDAFX_H__
|
|
|
|
|
|
|
|
#define _WIN32_IE 0x0600
|
|
|
|
|
|
|
|
#define _CRTDBG_MAP_ALLOC
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <crtdbg.h>
|
|
|
|
|
|
|
|
// WINAPI
|
2011-03-29 21:19:02 +00:00
|
|
|
#include <winsock2.h>
|
|
|
|
#include <ws2tcpip.h>
|
2009-10-07 16:45:14 +00:00
|
|
|
#include <windows.h>
|
2011-08-28 10:58:26 +00:00
|
|
|
#include <windowsx.h>
|
2009-10-07 16:45:14 +00:00
|
|
|
#include <gdiplus.h>
|
2011-04-08 18:14:32 +00:00
|
|
|
#include <dwmapi.h>
|
2009-10-07 16:45:14 +00:00
|
|
|
#include <comdef.h>
|
|
|
|
#include <Iphlpapi.h>
|
|
|
|
#include <commctrl.h>
|
|
|
|
#include <shellapi.h>
|
|
|
|
#include <Mmsystem.h>
|
|
|
|
#include <shlobj.h>
|
2010-06-23 12:36:39 +00:00
|
|
|
#include <shlwapi.h>
|
2010-09-21 22:47:53 +00:00
|
|
|
#include <Wininet.h>
|
2009-10-07 16:45:14 +00:00
|
|
|
#include <winperf.h>
|
|
|
|
#include <Windns.h>
|
|
|
|
#include <Ipexport.h>
|
|
|
|
#include <Powrprof.h>
|
|
|
|
|
|
|
|
// STL
|
|
|
|
#include <map>
|
|
|
|
#include <string>
|
|
|
|
#include <vector>
|
2011-02-18 16:26:58 +00:00
|
|
|
#include <unordered_map>
|
|
|
|
#include <unordered_set>
|
2009-10-07 16:45:14 +00:00
|
|
|
#include <list>
|
|
|
|
#include <sstream>
|
|
|
|
#include <ctime>
|
|
|
|
#include <cstdlib>
|
2010-02-03 08:01:50 +00:00
|
|
|
#include <algorithm>
|
2010-12-12 19:27:56 +00:00
|
|
|
#include <cctype>
|
2009-10-07 16:45:14 +00:00
|
|
|
|
|
|
|
// RUNTIME
|
|
|
|
#include <stdio.h>
|
2010-09-21 22:47:53 +00:00
|
|
|
#include <errno.h>
|
2009-10-07 16:45:14 +00:00
|
|
|
#include <time.h>
|
|
|
|
#include <math.h>
|
|
|
|
#include <time.h>
|
|
|
|
#include <assert.h>
|
|
|
|
#include <io.h>
|
2010-09-21 22:47:53 +00:00
|
|
|
#include <stdarg.h>
|
|
|
|
#include <process.h>
|
2010-11-11 20:24:59 +00:00
|
|
|
#include <float.h>
|
2009-10-07 16:45:14 +00:00
|
|
|
|
|
|
|
#endif
|