VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
miniDumper.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2011 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
11 #ifdef WIN32
12 
13 #include "vrfutil/vrfutilDefines.h"
14 
15 #if _MSC_VER < 1300
16 #define DECLSPEC_DEPRECATED
17 #include "M:\\dev7\\vs\\devtools\\common\\win32sdk\\include\\dbghelp.h"
19 #else
20 #include "dbghelp.h"
22 #endif
23 
25 typedef BOOL (WINAPI *MINIDUMPWRITEDUMP)(HANDLE hProcess, DWORD dwPid, HANDLE hFile, MINIDUMP_TYPE DumpType,
26  CONST PMINIDUMP_EXCEPTION_INFORMATION ExceptionParam,
27  CONST PMINIDUMP_USER_STREAM_INFORMATION UserStreamParam,
28  CONST PMINIDUMP_CALLBACK_INFORMATION CallbackParam
29  );
30 
31 class DT_DLL_vrfutil DtMiniDumper
32 {
33 private:
34  static char * m_szAppName;
35 
36  static LONG WINAPI TopLevelFilter( struct _EXCEPTION_POINTERS *pExceptionInfo );
37 
38 public:
39 
40  DtMiniDumper( const char * szAppName);
41 
45  static void setPromptUser(bool shouldPrompt) { thePromptUser = shouldPrompt; }
46 
47 protected:
48 
49  static bool thePromptUser;
50 
51 };
52 
53 #endif //WIN32
unsigned long DWORD
Definition: bdiQPropTreeItem.h:30
#define DT_DLL_vrfutil
This file is used to determine how to build Disable inconsistent dll linkage warning Visual Studio 6...
Definition: vrfutilDefines.h:34

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)