VS2015 / WDK 10 / KMDF 32位至64位 [英] VS2015 / WDK 10 / KMDF 32 Bit to 64 Bit

查看:264
本文介绍了VS2015 / WDK 10 / KMDF 32位至64位的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有兴趣从VS2015中提供的模板创建一个64位的KMDF驱动程序。

I am interested in creating a KMDF driver in 64 bit, from the template offered in VS2015.

使用VS2015 / WDF 10创建KMDF驱动程序默认为x86模式。  没有任何选项可以更改此默认值。

Using VS2015 / WDF 10 to create a KMDF driver defaults to x86 mode.  There isn't any option to change this default.

在X86模式下创建驱动程序后,将其更改为ARM64会导致在WDM.H中找不到多种方法。  该文件不存在于"C:\Program Files"下的任何位置。  此驱动程序最终将在Windows 7系统上运行。  是否可以轻松修复

After creating a driver in X86 mode, changing this to ARM64 causes a number of methods to not be found in WDM.H.   The file does not exist anywhere under "C:\Program Files".  This driver will end up on a Windows 7 system.  Is there an easy fix ?

谢谢

Jenness

ie。

推荐答案

您是否正在尝试为ARM或Intel x64架构创建驱动程序? 如果您正在尝试为ARM开发,则必须遵守受到高度限制的通用驱动程序模型,并且不支持您收到投诉的电话。 
如果您正在尝试为Intel x64架构进行开发,那么您需要进入Build菜单下的Configuration Manager并确保存在x64配置(或者根据需要添加它们)。

Are you trying to create a driver for ARM, or for Intel x64 architecture?  If you are trying to develop for ARM you must comply with the Universal driver model which is highly restricted and will not support the calls you are getting complaints on.  If you are trying to develop for the Intel x64 architecture then you need to go into the Configuration Manager under the Build menu and ensure that the x64 configurations are present (or add them if needed).


这篇关于VS2015 / WDK 10 / KMDF 32位至64位的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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