[IMAGEHLP]

* Create a main header and move some inclusions to it.
* Set the default debugging channel globally through the main header.
CORE-7716

svn path=/trunk/; revision=61382
This commit is contained in:
Amine Khaldi 2013-12-24 21:02:32 +00:00
parent c13ce549c9
commit 40d21d6d6d
5 changed files with 20 additions and 46 deletions

View file

@ -18,19 +18,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define WIN32_NO_STATUS
#include <stdarg.h>
//#include <string.h>
#include <windef.h>
#include <winbase.h>
//#include "winnt.h"
#include <winternl.h>
//#include "winerror.h"
#include <wine/debug.h>
#include <imagehlp.h>
WINE_DEFAULT_DEBUG_CHANNEL(imagehlp);
#include "precomp.h"
/***********************************************************************
* Data

View file

@ -18,14 +18,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define WIN32_NO_STATUS
#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
//#include "imagehlp.h"
//#include <wine/debug.h>
#include "precomp.h"
/**********************************************************************/
DECLSPEC_HIDDEN HANDLE IMAGEHLP_hHeap = NULL;

View file

@ -22,19 +22,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define WIN32_NO_STATUS
#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
//#include "winerror.h"
//#include "winternl.h"
//#include "winnt.h"
#include <imagehlp.h>
#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(imagehlp);
#include "precomp.h"
/*
* These functions are partially documented at:

View file

@ -18,18 +18,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define WIN32_NO_STATUS
#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
//#include "winternl.h"
//#include "winerror.h"
#include <wine/debug.h>
#include <imagehlp.h>
WINE_DEFAULT_DEBUG_CHANNEL(imagehlp);
#include "precomp.h"
static WORD CalcCheckSum(DWORD StartValue, LPVOID BaseAddress, DWORD WordCount);

View file

@ -0,0 +1,16 @@
#ifndef _IMAGEHLP_PCH_
#define _IMAGEHLP_PCH_
#include <stdarg.h>
#define WIN32_NO_STATUS
#include <windef.h>
#include <winbase.h>
#include <winternl.h>
#include <imagehlp.h>
#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(imagehlp);
#endif /* _IMAGEHLP_PCH_ */