Co-Authored-By: Abnormal <86753001+AbnormalPoof@users.noreply.github.com> Co-Authored-By: Karim Akra <144803230+KarimAkra@users.noreply.github.com>
21 lines
551 B
C++
21 lines
551 B
C++
#pragma once
|
|
|
|
/**
|
|
* Disables Windows error reporting dialogs.
|
|
*/
|
|
void WINAPI_DisableErrorReporting();
|
|
|
|
/**
|
|
* Disables Windows ghosting for the current process.
|
|
*/
|
|
void WINAPI_DisableWindowsGhosting();
|
|
|
|
/**
|
|
* Retrieves the current working set size (in bytes) of the calling process.
|
|
*
|
|
* This function queries the operating system for the amount of physical memory currently allocated to the process (its working set).
|
|
*
|
|
* @return The working set size in bytes. Returns 0 if the query fails.
|
|
*/
|
|
size_t WINAPI_GetProcessMemoryWorkingSetSize();
|