D3DKMTCreateAllocation 返回代码
在我正在调试的驱动程序中,有一个对 D3DKMTCreateAllocation 的调用。我收到的错误是 int (-1071775735) 或 0xc01e0009,其类型为 NTSTATUS。
我试图找出这个错误,但找不到任何东西。它不映射到以下任何一个:
STATUS_SUCCESS
STATUS_DEVICE_REMOVED
STATUS_INVALID_PARAMETER
STATUS_NO_MEMORY
STATUS_NO_VIDEO_MEMORY
我如何识别错误?
In a driver I am debugging there is a call to D3DKMTCreateAllocation
. The error I receive is int (-1071775735) or 0xc01e0009 which is of type NTSTATUS
.
I am trying to figure out this error but cannot find anything. It doesn't map to any of these:
STATUS_SUCCESS
STATUS_DEVICE_REMOVED
STATUS_INVALID_PARAMETER
STATUS_NO_MEMORY
STATUS_NO_VIDEO_MEMORY
How can I identify the error?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可能偶然发现了一个错误代码 (
STATUS_GRAPHICS_DRIVER_MISMATCH
),该代码在可用文档中定义不正确(请参阅 NTSTATUS 值,显示为 0x401E0117);但它存在于 Windows Platform SDK 的头文件
中并且与您的值匹配。我安装的 Windows SDK(v7.0、Windows 7 / .NET 3.5sp1)副本对其描述如下(第 13743 行):
其他 D3D 函数列出了此符号,但没有列出值。以下是文档的链接以及引用的文本。
DxgkDdiOpenAllocation @ MSDN
STATUS_GRAPHICS_DRIVER_MISMATCH - “显示微型端口驱动程序与发起对 DxgkDdiOpenAllocation 的调用(即向显示微型端口驱动程序提供私有数据)的用户模式显示驱动程序不兼容。”
DxgkDdiCreateAllocation @ MSDN
STATUS_GRAPHICS_DRIVER_MISMATCH - “显示微型端口驱动程序与发起对 DxgkDdiCreateAllocation 调用的用户模式显示驱动程序不兼容。”
It looks like you may have stumbled upon an error code (
STATUS_GRAPHICS_DRIVER_MISMATCH
) that is defined incorrectly in available documentation (see NTSTATUS values, shown as 0x401E0117); but it exists in the header file<ntstatus.h>
in the Windows Platform SDK and matches your value.My installed copy of the Windows SDK (v7.0, Windows 7 / .NET 3.5sp1) describes it as follows (line 13743):
Other D3D functions have this symbol listed but not the value. Here are links to the documentation, along with the quoted text.
DxgkDdiOpenAllocation @ MSDN
STATUS_GRAPHICS_DRIVER_MISMATCH - "The display miniport driver is not compatible with the user-mode display driver that initiated the call to DxgkDdiOpenAllocation (that is, supplied private data to the display miniport driver)."
DxgkDdiCreateAllocation @ MSDN
STATUS_GRAPHICS_DRIVER_MISMATCH - "The display miniport driver is not compatible with the user-mode display driver that initiated the call to DxgkDdiCreateAllocation."