Added task mem and adjusted the counter.

This commit is contained in:
MAJigsaw77
2025-09-08 13:02:48 -04:00
committed by Eric
parent 5a8b681e2f
commit b8b0a5bf73
7 changed files with 212 additions and 155 deletions
+10
View File
@@ -41,6 +41,16 @@ void WINAPI_DisableWindowsGhosting()
DisableProcessWindowsGhosting();
}
size_t WINAPI_GetProcessMemoryWorkingSetSize()
{
PROCESS_MEMORY_COUNTERS_EX pmc;
if (GetProcessMemoryInfo(GetCurrentProcess(), (PROCESS_MEMORY_COUNTERS*)&pmc, sizeof(pmc)))
return pmc.WorkingSetSize;
return 0;
}
void WINAPI_SetDarkMode(bool enable)
{
HWND window = GetActiveWindow();