bool get_process_shutdown_parameters(unsigned* level, unsigned* flags)
This function obtains the process shutdown parameters.
A pointer to a variable that is updated to contain the shutdown level. The following table describes the shutdown ranges (applications begin shutdown at level 0x280).
|System final shutdown range.
|Application final shutdown range.
|Application intermediate shutdown range.
|Application initial shutdown range.
|System initial shutdown range.
A pointer to a variable that receives the shutdown flags. Currently, only a single flag is defined.
|If the process takes longer than the specified amount of time to shutdown, do not show a retry message box.
|The function succeeded.
|The call failed.
The system shuts down processes according to the priority for the process - that is, higher priority processes are shut down first. The lower priorities are reserved for system components.