mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-09-20 20:46:03 +08:00
Update from SDK 2013
This commit is contained in:

committed by
Nicholas Hastings

parent
6d5c024820
commit
94b660e16e
@ -1,35 +1,35 @@
|
||||
//========= Copyright <20> 1996-2005, Valve Corporation, All rights reserved. ============//
|
||||
//
|
||||
// Purpose:
|
||||
//
|
||||
//=============================================================================//
|
||||
|
||||
#ifndef TOOLS_MINIDUMP_H
|
||||
#define TOOLS_MINIDUMP_H
|
||||
#ifdef _WIN32
|
||||
#pragma once
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
// Defaults to false. If true, it'll write larger minidump files with the contents
|
||||
// of global variables and following pointers from where the crash occurred.
|
||||
void EnableFullMinidumps( bool bFull );
|
||||
|
||||
|
||||
// This handler catches any crash, writes a minidump, and runs the default system
|
||||
// crash handler (which usually shows a dialog).
|
||||
void SetupDefaultToolsMinidumpHandler();
|
||||
|
||||
|
||||
// (Used by VMPI) - you specify your own crash handler.
|
||||
// Arguments passed to ToolsExceptionHandler
|
||||
// exceptionCode - exception code
|
||||
// pvExceptionInfo - on Win32 platform points to "struct _EXCEPTION_POINTERS"
|
||||
// otherwise NULL
|
||||
//
|
||||
typedef void (*ToolsExceptionHandler)( unsigned long exceptionCode, void *pvExceptionInfo );
|
||||
void SetupToolsMinidumpHandler( ToolsExceptionHandler fn );
|
||||
|
||||
|
||||
#endif // MINIDUMP_H
|
||||
//========= Copyright Valve Corporation, All rights reserved. ============//
|
||||
//
|
||||
// Purpose:
|
||||
//
|
||||
//=============================================================================//
|
||||
|
||||
#ifndef TOOLS_MINIDUMP_H
|
||||
#define TOOLS_MINIDUMP_H
|
||||
#ifdef _WIN32
|
||||
#pragma once
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
// Defaults to false. If true, it'll write larger minidump files with the contents
|
||||
// of global variables and following pointers from where the crash occurred.
|
||||
void EnableFullMinidumps( bool bFull );
|
||||
|
||||
|
||||
// This handler catches any crash, writes a minidump, and runs the default system
|
||||
// crash handler (which usually shows a dialog).
|
||||
void SetupDefaultToolsMinidumpHandler();
|
||||
|
||||
|
||||
// (Used by VMPI) - you specify your own crash handler.
|
||||
// Arguments passed to ToolsExceptionHandler
|
||||
// exceptionCode - exception code
|
||||
// pvExceptionInfo - on Win32 platform points to "struct _EXCEPTION_POINTERS"
|
||||
// otherwise NULL
|
||||
//
|
||||
typedef void (*ToolsExceptionHandler)( unsigned long exceptionCode, void *pvExceptionInfo );
|
||||
void SetupToolsMinidumpHandler( ToolsExceptionHandler fn );
|
||||
|
||||
|
||||
#endif // MINIDUMP_H
|
||||
|
Reference in New Issue
Block a user