mdump.h

Go to the documentation of this file.
00001 
00002 #include <windows.h>
00003 
00004 #if _MSC_VER < 1300
00005 #define DECLSPEC_DEPRECATED
00006 // VC6: change this path to your Platform SDK headers
00007 #include "M:\\dev7\\vs\\devtools\\common\\win32sdk\\include\\dbghelp.h"       // must be XP version of file
00008 #else
00009 // VC7: ships with updated headers
00010 #include "dbghelp.h"
00011 #endif
00012 
00013 // based on dbghelp.h
00014 typedef BOOL (WINAPI *MINIDUMPWRITEDUMP)(HANDLE hProcess, DWORD dwPid, HANDLE hFile, MINIDUMP_TYPE DumpType,
00015       CONST PMINIDUMP_EXCEPTION_INFORMATION ExceptionParam,
00016       CONST PMINIDUMP_USER_STREAM_INFORMATION UserStreamParam,
00017       CONST PMINIDUMP_CALLBACK_INFORMATION CallbackParam
00018                                         );
00019 
00020 class MiniDumper
00021 {
00022    private:
00023       static LPCSTR m_szAppName;
00024 
00025       static LONG WINAPI TopLevelFilter( struct _EXCEPTION_POINTERS *pExceptionInfo );
00026 
00027    public:
00028       MiniDumper( LPCSTR szAppName );
00029 };

Generated on Mon May 21 01:26:35 2012 for Advanced Strategic Command by  doxygen 1.5.1