And then he saw it.

Information about what type of exception occurred (e.g., Access Violation, Division by Zero). Loaded modules: Which DLLs or libraries were loaded. How SteamAPI_WriteMiniDump Works

// Open a file for writing the MiniDump HANDLE hFile = CreateFile(L"minidump.dmp", GENERIC_WRITE, 0, NULL, CREATE_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL);

Which function was executing, and what functions led to it.

Before diving into the API, let's understand what makes mini dumps valuable.