Windows Task Scheduler error codes

Minimum supported client: Windows Vista [desktop apps only] Minimum supported server: Windows Server 2008 [desktop apps only] Header: WinError.h

In short, these are the error codes for Windows tasks: