BugSplat Native DLL  Version 3.3.1.0
BugSplat integration code for native Windows applications
 All Classes Files Functions Variables Macros
mdump.cpp File Reference
#include "stdafx.h"
#include <stdlib.h>
#include <malloc.h>
#include <psapi.h>
#include <shlwapi.h>
#include <signal.h>
#include "TlHelp32.h"
#include "stdio.h"
#include "winver.h"
#include "time.h"
#include "urlmon.h"
#include "process.h"
#include "tchar.h"
#include "mdump.h"
#include "resBugSplatRc.h"
#include "resSbSender.h"
#include "BugSplatImp.h"
#include "GenericHTTPClientA.h"

Classes

struct  VS_VERSIONINFO
 

Macros

#define roundoffs(a, b, r)   (((BYTE *) (b) - (BYTE *) (a) + ((r) - 1)) & ~((r) - 1))
 
#define roundpos(a, b, r)   (((BYTE *) (a)) + roundoffs(a,b,r))
 

Functions

void logOutput (UINT nStringId, LPCTSTR szAdditional, bool bVerboseOnly)
 
bool eatException (DWORD exceptionCode)
 
void getRegistryBase (CString &str)
 
void getRegistryRoot (CString &str, LPCTSTR vendor, LPCTSTR app, LPCTSTR version)
 
bool debugMode ()
 
void terminator ()
 
void signal_handler (int)
 
void __cdecl invalid_parameter_handler (const wchar_t *, const wchar_t *, const wchar_t *, unsigned int, uintptr_t)
 
bool fileVersionInfo (LPTSTR filename, DWORD &dwMajor, DWORD &dwMinor)
 

Variables

HINSTANCE hLibKern32 = NULL
 
PVOID pexceptionhandler = NULL
 

Macro Definition Documentation

#define roundoffs (   a,
  b,
 
)    (((BYTE *) (b) - (BYTE *) (a) + ((r) - 1)) & ~((r) - 1))
#define roundpos (   a,
  b,
 
)    (((BYTE *) (a)) + roundoffs(a,b,r))

Function Documentation

bool debugMode ( )
bool eatException ( DWORD  exceptionCode)
inline
bool fileVersionInfo ( LPTSTR  filename,
DWORD &  dwMajor,
DWORD &  dwMinor 
)
void getRegistryBase ( CString &  str)
void getRegistryRoot ( CString &  str,
LPCTSTR  vendor,
LPCTSTR  app,
LPCTSTR  version 
)
void __cdecl invalid_parameter_handler ( const wchar_t *  ,
const wchar_t *  ,
const wchar_t *  ,
unsigned  int,
uintptr_t   
)
inline
void logOutput ( UINT  nStringId,
LPCTSTR  szAdditional,
bool  bVerboseOnly 
)
void signal_handler ( int  )
inline
void terminator ( )
inline

Variable Documentation

HINSTANCE hLibKern32 = NULL
PVOID pexceptionhandler = NULL