win32process.SetProcessShutdownParameters

SetProcessShutdownParameters(Level, Flags)

Sets shutdown priority and flags for current process

Parameters

Level : int

Priority, higher means earlier

Flags : int

Currently only SHUTDOWN_NORETRY valid

Comments

Ranges are 000-0FF Reserved by windows, 100-1FF Last, 200-2FF Middle, 300-3FF First, 400-4FF Reserved by windows