zoukankan      html  css  js  c++  java
  • vs2010配置驱动开发

    首先要下载wdk和vs2010

    首先打开配置管理器

    点击生成,设置一个新模式Driver,模式选Debug

     然后点击视图里的属性管理器

     在我们添加的Driver模式中添加属性表

     输入记得修改你的wdk的路径

    <?xml version="1.0" encoding="utf-8"?>
    
    <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
    
      <ImportGroup Label="PropertySheets" />
    
      <PropertyGroup Label="UserMacros" />
    
      <PropertyGroup>
    
        <ExecutablePath>C:WinDDK7600.16385.1inx86;$(ExecutablePath)</ExecutablePath>
    
      </PropertyGroup>
    
      <PropertyGroup>
    
        <IncludePath>C:WinDDK7600.16385.1incapi;C:WinDDK7600.16385.1incddk;C:WinDDK7600.16385.1inccrt;$(IncludePath)</IncludePath>
    
      </PropertyGroup>
    
      <PropertyGroup>
    
        <LibraryPath>C:WinDDK7600.16385.1libwin7i386;$(LibraryPath)</LibraryPath>
    
        <TargetExt>.sys</TargetExt>
    
        <LinkIncremental>false</LinkIncremental>
    
        <GenerateManifest>false</GenerateManifest>
    
      </PropertyGroup>
    
      <ItemDefinitionGroup>
    
        <ClCompile>
    
          <PreprocessorDefinitions>_X86_;DBG</PreprocessorDefinitions>
    
          <CallingConvention>StdCall</CallingConvention>
    
          <ExceptionHandling>false</ExceptionHandling>
    
          <BasicRuntimeChecks>Default</BasicRuntimeChecks>
    
          <BufferSecurityCheck>false</BufferSecurityCheck>
    
          <CompileAs>Default</CompileAs>
    
          <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
    
        </ClCompile>
    
        <Link>
    
          <AdditionalDependencies>ntoskrnl.lib;wdm.lib;wdmsec.lib;wmilib.lib;ndis.lib;Hal.lib;MSVCRT.LIB;LIBCMT.LIB;%(AdditionalDependencies)</AdditionalDependencies>
    
        </Link>
    
        <Link>
    
          <IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
    
          <EnableUAC>false</EnableUAC>
    
          <SubSystem>Native</SubSystem>
    
          <EntryPointSymbol>DriverEntry</EntryPointSymbol>
    
          <BaseAddress>0x10000</BaseAddress>
    
          <RandomizedBaseAddress>
    
          </RandomizedBaseAddress>
    
          <DataExecutionPrevention>
    
          </DataExecutionPrevention>
    
          <GenerateDebugInformation>true</GenerateDebugInformation>
    
          <Driver>Driver</Driver>
    
        </Link>
    
      </ItemDefinitionGroup>
    
      <ItemGroup />
    
    </Project>
  • 相关阅读:
    window.parent 、window.top及window.self 详解
    js中的变量提升和函数提升
    IE不支持ES6语法的解决方案——Babel
    JavaScript 文件拖拽上传插件 dropzone.js 介绍
    C# DataTable 增加行与列
    group by 与 order by 一起使用的时候
    window.open传递多个参数
    Jquery EasyUI tree 的异步加载(遍历指定文件夹,根据文件夹内的文件生成tree)
    ASP.NET中调用百度地图API
    C# 读取Excel中的数据到DataTable中
  • 原文地址:https://www.cnblogs.com/pppyyyzzz/p/14313326.html
Copyright © 2011-2022 走看看