示例#1
0
void MiniDumpFunction( unsigned int nExceptionCode, EXCEPTION_POINTERS *pException )
{
    // You can build and set an arbitrary comment to embed in the minidump here,
    // maybe you want to put what level the user was playing, how many players on the server,
    // how much memory is free, etc...
    SteamAPI_SetMiniDumpComment( "Minidump comment: SteamworksExample.exe\n" );

    // The 0 here is a build ID, we don't set it
    SteamAPI_WriteMiniDump( nExceptionCode, pException, 0 );
}
示例#2
0
SB_API void S_CALLTYPE WriteMiniDump(uint32 uStructuredExceptionCode, void* pvExceptionInfo, uint32 uBuildID) {
	SteamAPI_WriteMiniDump(uStructuredExceptionCode, pvExceptionInfo, uBuildID);
}
示例#3
0
// crash dump recording functions
void System_WriteMiniDump(uint32 StructuredExceptionCode, void* ExceptionInfo, uint32 BuildID){SteamAPI_WriteMiniDump(StructuredExceptionCode,ExceptionInfo,BuildID);};