The function tells the application working thread that computer is shutting down.
Due to the OnStopWork function this one tells the working thread that it has to stop it's work because computer is shutting down.
Application Class | uws Namespace