# Function Reference

# _WinAPI_GetProcessShutdownParameters

Retrieves the shutdown parameters for the currently calling process

#include <WinAPISys.au3>
_WinAPI_GetProcessShutdownParameters ( )

## Return Value

Success: | The shutdown priority level (see _WinAPI_SetProcessShutdownParameters()). If @extended flag is set, a retry dialog box for the user will be display.
Failure: | Sets the @error flag to non-zero, call _WinAPI_GetLastError() to get extended error information.

## Related

_WinAPI_SetProcessShutdownParameters

## See Also

Search GetProcessShutdownParameters in MSDN Library.