More random changes

This commit is contained in:
Megamouse 2021-04-09 21:12:47 +02:00 committed by Nekotekina
parent a485957130
commit a16d8ba3ea
211 changed files with 576 additions and 748 deletions

View file

@ -127,10 +127,10 @@ namespace utils
{
#ifdef _WIN32
// first determine the id of the current process
DWORD const id = GetCurrentProcessId();
const DWORD id = GetCurrentProcessId();
// then get a process list snapshot.
HANDLE const snapshot = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0);
const HANDLE snapshot = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0);
// initialize the process entry structure.
PROCESSENTRY32 entry = {0};