任务计划程序错误消息:80041318,这是什么意思? [英] Task Scheduler Error Message: 80041318, Whats it mean?

查看:104
本文介绍了任务计划程序错误消息:80041318,这是什么意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有搜索&搜索 MSDN 以找到值为 80041318 的 HRESULT 错误的定义,但我找不到.

I have search & searched MSDN to find the definition of the HRESULT error with the value 80041318 but I cannot find it.

我在 C++ Win32 中工作,试图安排一个将在当前用户登录时执行的任务.函数 RegisterTaskDefinition() 失败 &返回这个值.

I am working in C++ Win32 attempting to schedule a task that will execute when the current user logs in. The function RegisterTaskDefinition() fails & returns this value.

有谁知道这个错误是什么意思&如果可能的话,有人知道所有 HRESULT 错误的 MSDN 链接吗?我可以找到一个包含 7 个错误定义的链接.

Does anyone know what this error means & if possible does anyone know of the MSDN link to ALL the HRESULT ERRORS? I can find one link that has definitions of 7 errors.

推荐答案

Microsoft Exchange Server 错误代码查找 工具可用于查找错误代码.不要被这个名字骗了——它不仅适用于 Exchange,它对生成 Win32 错误代码或 HRESULT 的程序也很有用.它在所有系统头文件中搜索潜在的匹配项.

The Microsoft Exchange Server Error Code Look-up tool can be used to look up error codes. Don't let the name fool you—it's not just for Exchange, it's useful for program that generates Win32 error codes or HRESULTs. It searches all of the system header files for potential matches.

要查找错误代码 80041318,只需像这样从命令行运行它:

To look up error code 80041318, just run it from the command line like so:

C:\> err 80041318

在这种情况下,快速搜索会产生这个 MSDN 页面,其中说错误 80041318 是 SCHED_E_INVALIDVALUE:任务 XML 包含一个格式不正确或超出范围的值."

In this case, a quick search yields this MSDN page, which says that error 80041318 is SCHED_E_INVALIDVALUE: "The task XML contains a value which is incorrectly formatted or out of range."

这篇关于任务计划程序错误消息:80041318,这是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆