Check if Windows OS runs in safe mode
winapi, windows
Solution
Call `GetSystemMetrics( SM_CLEANBOOT )` and look for a nonzero value.
Problem
What Windows API call do I need in order to check whether the system booted in safe mode or normal mode?
winapi, windows
Call `GetSystemMetrics( SM_CLEANBOOT )` and look for a nonzero value.
What Windows API call do I need in order to check whether the system booted in safe mode or normal mode?