win32process.GetProcessShutdownParameters
int,int = GetProcessShutdownParameters()
Retrieves shutdown priority and flags for current process
Comments
Ranges are 000-0FF Reserved by windows, 100-1FF Last, 200-2FF Middle, 300-3FF First, 400-4FF Reserved by Windows