winapi - Check if Windows OS runs in safe mode -


what windows api call need in order check whether system booted in safe mode or normal mode?

call getsystemmetrics( sm_cleanboot ) , nonzero value.


Comments