mirror of
https://github.com/yuzu-emu/yuzu-android
synced 2024-12-28 11:41:22 -08:00
e339ec0e00
mini_dump: Clean up mini_dump: Fix MSVC error mini_dump: Silence MSVC warning C4700 Zero initialize deb_ev. mini_dump: Add license info
17 lines
527 B
C++
17 lines
527 B
C++
// SPDX-FileCopyrightText: 2022 yuzu Emulator Project
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#include <windows.h>
|
|
|
|
#include <dbghelp.h>
|
|
|
|
void CreateMiniDump(HANDLE process_handle, DWORD process_id, MINIDUMP_EXCEPTION_INFORMATION* info,
|
|
EXCEPTION_POINTERS* pep);
|
|
|
|
void DumpFromDebugEvent(DEBUG_EVENT& deb_ev, PROCESS_INFORMATION& pi);
|
|
bool SpawnDebuggee(const char* arg0, PROCESS_INFORMATION& pi);
|
|
void DebugDebuggee(PROCESS_INFORMATION& pi);
|
|
const char* ExceptionName(DWORD exception);
|