33u_winerror(
char *buffer,
size_t size, DWORD err,
bool remove_end);
u_logging_level
Logging level enum.
Definition: u_logging.h:40
Basic logging functionality.
void u_win_try_privilege_or_priority_from_args(enum u_logging_level log_level, int argc, char *argv[])
Small helper function that checks process arguments for which to try.
Definition: u_windows.c:285
bool u_win_raise_cpu_priority(enum u_logging_level log_level)
Tries to raise the CPU priority of the process as high as possible.
Definition: u_windows.c:275
bool u_win_grant_inc_base_priorty_base_privileges(enum u_logging_level log_level)
Tries to grant the 'SeIncreaseBasePriorityPrivilege' privilege to this process.
Definition: u_windows.c:265
const char * u_winerror(char *buffer, size_t size, DWORD err, bool remove_end)
This function formats a Windows error number, as returned by GetLastError, and writes it into the giv...
Definition: u_windows.c:225
Header holding common defines.
A minimal way to include Windows.h.