win32process.SetProcessShutdownParameters
SetProcessShutdownParameters(Level, Flags)
Sets shutdown priority and flags for current process
Parameters
Comments
Ranges are 000-0FF Reserved by windows, 100-1FF Last, 200-2FF Middle, 300-3FF First, 400-4FF Reserved by windows