Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
夜猫逐梦
MyOpen
提交
2ed6c496
M
MyOpen
项目概览
夜猫逐梦
/
MyOpen
通知
2
Star
0
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
M
MyOpen
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
2ed6c496
编写于
5月 20, 2019
作者:
K
khz_df
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[tools] VS生成工程提交
上级
5068031f
变更
21
隐藏空白更改
内联
并排
Showing
21 changed file
with
984 addition
and
0 deletion
+984
-0
course/WinDriver/tools/tools-MFC/Resource.h
course/WinDriver/tools/tools-MFC/Resource.h
+21
-0
course/WinDriver/tools/tools-MFC/res/tools-MFC.ico
course/WinDriver/tools/tools-MFC/res/tools-MFC.ico
+0
-0
course/WinDriver/tools/tools-MFC/res/toolsMFC.rc2
course/WinDriver/tools/tools-MFC/res/toolsMFC.rc2
+0
-0
course/WinDriver/tools/tools-MFC/stdafx.cpp
course/WinDriver/tools/tools-MFC/stdafx.cpp
+8
-0
course/WinDriver/tools/tools-MFC/stdafx.h
course/WinDriver/tools/tools-MFC/stdafx.h
+54
-0
course/WinDriver/tools/tools-MFC/targetver.h
course/WinDriver/tools/tools-MFC/targetver.h
+8
-0
course/WinDriver/tools/tools-MFC/tools-MFC.cpp
course/WinDriver/tools/tools-MFC/tools-MFC.cpp
+106
-0
course/WinDriver/tools/tools-MFC/tools-MFC.h
course/WinDriver/tools/tools-MFC/tools-MFC.h
+32
-0
course/WinDriver/tools/tools-MFC/tools-MFC.vcxproj
course/WinDriver/tools/tools-MFC/tools-MFC.vcxproj
+214
-0
course/WinDriver/tools/tools-MFC/tools-MFC.vcxproj.filters
course/WinDriver/tools/tools-MFC/tools-MFC.vcxproj.filters
+60
-0
course/WinDriver/tools/tools-MFC/tools-MFCDlg.cpp
course/WinDriver/tools/tools-MFC/tools-MFCDlg.cpp
+154
-0
course/WinDriver/tools/tools-MFC/tools-MFCDlg.h
course/WinDriver/tools/tools-MFC/tools-MFCDlg.h
+34
-0
course/WinDriver/tools/tools-MFC/toolsMFC.rc
course/WinDriver/tools/tools-MFC/toolsMFC.rc
+0
-0
course/WinDriver/tools/tools.sln
course/WinDriver/tools/tools.sln
+41
-0
course/WinDriver/tools/tools/dllmain.cpp
course/WinDriver/tools/tools/dllmain.cpp
+19
-0
course/WinDriver/tools/tools/stdafx.cpp
course/WinDriver/tools/tools/stdafx.cpp
+1
-0
course/WinDriver/tools/tools/stdafx.h
course/WinDriver/tools/tools/stdafx.h
+16
-0
course/WinDriver/tools/tools/targetver.h
course/WinDriver/tools/tools/targetver.h
+8
-0
course/WinDriver/tools/tools/tools.cpp
course/WinDriver/tools/tools/tools.cpp
+6
-0
course/WinDriver/tools/tools/tools.vcxproj
course/WinDriver/tools/tools/tools.vcxproj
+166
-0
course/WinDriver/tools/tools/tools.vcxproj.filters
course/WinDriver/tools/tools/tools.vcxproj.filters
+36
-0
未找到文件。
course/WinDriver/tools/tools-MFC/Resource.h
0 → 100644
浏览文件 @
2ed6c496
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ 生成的包含文件。
// 由 toolsMFC.rc 使用
//
#define IDR_MAINFRAME 128
#define IDM_ABOUTBOX 0x0010
#define IDD_ABOUTBOX 100
#define IDS_ABOUTBOX 101
#define IDD_TOOLSMFC_DIALOG 102
// 新对象的下一组默认值
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 129
#define _APS_NEXT_CONTROL_VALUE 1000
#define _APS_NEXT_SYMED_VALUE 101
#define _APS_NEXT_COMMAND_VALUE 32771
#endif
#endif
course/WinDriver/tools/tools-MFC/res/tools-MFC.ico
0 → 100644
浏览文件 @
2ed6c496
66.2 KB
course/WinDriver/tools/tools-MFC/res/toolsMFC.rc2
0 → 100644
浏览文件 @
2ed6c496
B
//
course/WinDriver/tools/tools-MFC/stdafx.cpp
0 → 100644
浏览文件 @
2ed6c496
// stdafx.cpp : 只包括标准包含文件的源文件
// tools-MFC.pch 将作为预编译标头
// stdafx.obj 将包含预编译类型信息
#include "stdafx.h"
course/WinDriver/tools/tools-MFC/stdafx.h
0 → 100644
浏览文件 @
2ed6c496
// stdafx.h : 标准系统包含文件的包含文件,
// 或是经常使用但不常更改的
// 特定于项目的包含文件
#pragma once
#ifndef VC_EXTRALEAN
#define VC_EXTRALEAN // 从 Windows 头中排除极少使用的资料
#endif
#include "targetver.h"
#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // 某些 CString 构造函数将是显式的
// 关闭 MFC 对某些常见但经常可放心忽略的警告消息的隐藏
#define _AFX_ALL_WARNINGS
#include <afxwin.h> // MFC 核心组件和标准组件
#include <afxext.h> // MFC 扩展
#include <afxdisp.h> // MFC 自动化类
#ifndef _AFX_NO_OLE_SUPPORT
#include <afxdtctl.h> // MFC 对 Internet Explorer 4 公共控件的支持
#endif
#ifndef _AFX_NO_AFXCMN_SUPPORT
#include <afxcmn.h> // MFC 对 Windows 公共控件的支持
#endif // _AFX_NO_AFXCMN_SUPPORT
#include <afxcontrolbars.h> // 功能区和控件条的 MFC 支持
#ifdef _UNICODE
#if defined _M_IX86
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"")
#elif defined _M_X64
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"")
#else
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")
#endif
#endif
course/WinDriver/tools/tools-MFC/targetver.h
0 → 100644
浏览文件 @
2ed6c496
#
pragma
once
// 包括 SDKDDKVer.h 将定义可用的最高版本的 Windows 平台。
// 如果要为以前的 Windows 平台生成应用程序,请包括 WinSDKVer.h,并将
// 将 _WIN32_WINNT 宏设置为要支持的平台,然后再包括 SDKDDKVer.h。
#include <SDKDDKVer.h>
course/WinDriver/tools/tools-MFC/tools-MFC.cpp
0 → 100644
浏览文件 @
2ed6c496
// tools-MFC.cpp: 定义应用程序的类行为。
//
#include "stdafx.h"
#include "tools-MFC.h"
#include "tools-MFCDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// CtoolsMFCApp
BEGIN_MESSAGE_MAP
(
CtoolsMFCApp
,
CWinApp
)
ON_COMMAND
(
ID_HELP
,
&
CWinApp
::
OnHelp
)
END_MESSAGE_MAP
()
// CtoolsMFCApp 构造
CtoolsMFCApp
::
CtoolsMFCApp
()
{
// 支持重新启动管理器
m_dwRestartManagerSupportFlags
=
AFX_RESTART_MANAGER_SUPPORT_RESTART
;
// TODO: 在此处添加构造代码,
// 将所有重要的初始化放置在 InitInstance 中
}
// 唯一的 CtoolsMFCApp 对象
CtoolsMFCApp
theApp
;
// CtoolsMFCApp 初始化
BOOL
CtoolsMFCApp
::
InitInstance
()
{
// 如果一个运行在 Windows XP 上的应用程序清单指定要
// 使用 ComCtl32.dll 版本 6 或更高版本来启用可视化方式,
//则需要 InitCommonControlsEx()。 否则,将无法创建窗口。
INITCOMMONCONTROLSEX
InitCtrls
;
InitCtrls
.
dwSize
=
sizeof
(
InitCtrls
);
// 将它设置为包括所有要在应用程序中使用的
// 公共控件类。
InitCtrls
.
dwICC
=
ICC_WIN95_CLASSES
;
InitCommonControlsEx
(
&
InitCtrls
);
CWinApp
::
InitInstance
();
AfxEnableControlContainer
();
// 创建 shell 管理器,以防对话框包含
// 任何 shell 树视图控件或 shell 列表视图控件。
CShellManager
*
pShellManager
=
new
CShellManager
;
// 激活“Windows Native”视觉管理器,以便在 MFC 控件中启用主题
CMFCVisualManager
::
SetDefaultManager
(
RUNTIME_CLASS
(
CMFCVisualManagerWindows
));
// 标准初始化
// 如果未使用这些功能并希望减小
// 最终可执行文件的大小,则应移除下列
// 不需要的特定初始化例程
// 更改用于存储设置的注册表项
// TODO: 应适当修改该字符串,
// 例如修改为公司或组织名
SetRegistryKey
(
_T
(
"应用程序向导生成的本地应用程序"
));
CtoolsMFCDlg
dlg
;
m_pMainWnd
=
&
dlg
;
INT_PTR
nResponse
=
dlg
.
DoModal
();
if
(
nResponse
==
IDOK
)
{
// TODO: 在此放置处理何时用
// “确定”来关闭对话框的代码
}
else
if
(
nResponse
==
IDCANCEL
)
{
// TODO: 在此放置处理何时用
// “取消”来关闭对话框的代码
}
else
if
(
nResponse
==
-
1
)
{
TRACE
(
traceAppMsg
,
0
,
"警告: 对话框创建失败,应用程序将意外终止。
\n
"
);
TRACE
(
traceAppMsg
,
0
,
"警告: 如果您在对话框上使用 MFC 控件,则无法 #define _AFX_NO_MFC_CONTROLS_IN_DIALOGS。
\n
"
);
}
// 删除上面创建的 shell 管理器。
if
(
pShellManager
!=
nullptr
)
{
delete
pShellManager
;
}
#if !defined(_AFXDLL) && !defined(_AFX_NO_MFC_CONTROLS_IN_DIALOGS)
ControlBarCleanUp
();
#endif
// 由于对话框已关闭,所以将返回 FALSE 以便退出应用程序,
// 而不是启动应用程序的消息泵。
return
FALSE
;
}
course/WinDriver/tools/tools-MFC/tools-MFC.h
0 → 100644
浏览文件 @
2ed6c496
// tools-MFC.h: PROJECT_NAME 应用程序的主头文件
//
#pragma once
#ifndef __AFXWIN_H__
#error "在包含此文件之前包含“stdafx.h”以生成 PCH 文件"
#endif
#include "resource.h" // 主符号
// CtoolsMFCApp:
// 有关此类的实现,请参阅 tools-MFC.cpp
//
class
CtoolsMFCApp
:
public
CWinApp
{
public:
CtoolsMFCApp
();
// 重写
public:
virtual
BOOL
InitInstance
();
// 实现
DECLARE_MESSAGE_MAP
()
};
extern
CtoolsMFCApp
theApp
;
course/WinDriver/tools/tools-MFC/tools-MFC.vcxproj
0 → 100644
浏览文件 @
2ed6c496
<?xml version="1.0" encoding="utf-8"?>
<Project
DefaultTargets=
"Build"
ToolsVersion=
"15.0"
xmlns=
"http://schemas.microsoft.com/developer/msbuild/2003"
>
<ItemGroup
Label=
"ProjectConfigurations"
>
<ProjectConfiguration
Include=
"Debug|Win32"
>
<Configuration>
Debug
</Configuration>
<Platform>
Win32
</Platform>
</ProjectConfiguration>
<ProjectConfiguration
Include=
"Release|Win32"
>
<Configuration>
Release
</Configuration>
<Platform>
Win32
</Platform>
</ProjectConfiguration>
<ProjectConfiguration
Include=
"Debug|x64"
>
<Configuration>
Debug
</Configuration>
<Platform>
x64
</Platform>
</ProjectConfiguration>
<ProjectConfiguration
Include=
"Release|x64"
>
<Configuration>
Release
</Configuration>
<Platform>
x64
</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup
Label=
"Globals"
>
<VCProjectVersion>
15.0
</VCProjectVersion>
<ProjectGuid>
{9619B046-5A11-47B5-9C2F-9437D6191CB9}
</ProjectGuid>
<Keyword>
MFCProj
</Keyword>
<RootNamespace>
toolsMFC
</RootNamespace>
<WindowsTargetPlatformVersion>
10.0.17763.0
</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import
Project=
"$(VCTargetsPath)\Microsoft.Cpp.Default.props"
/>
<PropertyGroup
Condition=
"'$(Configuration)|$(Platform)'=='Debug|Win32'"
Label=
"Configuration"
>
<ConfigurationType>
Application
</ConfigurationType>
<UseDebugLibraries>
true
</UseDebugLibraries>
<PlatformToolset>
v141
</PlatformToolset>
<CharacterSet>
Unicode
</CharacterSet>
<UseOfMfc>
Dynamic
</UseOfMfc>
</PropertyGroup>
<PropertyGroup
Condition=
"'$(Configuration)|$(Platform)'=='Release|Win32'"
Label=
"Configuration"
>
<ConfigurationType>
Application
</ConfigurationType>
<UseDebugLibraries>
false
</UseDebugLibraries>
<PlatformToolset>
v141
</PlatformToolset>
<WholeProgramOptimization>
true
</WholeProgramOptimization>
<CharacterSet>
Unicode
</CharacterSet>
<UseOfMfc>
Dynamic
</UseOfMfc>
</PropertyGroup>
<PropertyGroup
Condition=
"'$(Configuration)|$(Platform)'=='Debug|x64'"
Label=
"Configuration"
>
<ConfigurationType>
Application
</ConfigurationType>
<UseDebugLibraries>
true
</UseDebugLibraries>
<PlatformToolset>
v141
</PlatformToolset>
<CharacterSet>
Unicode
</CharacterSet>
<UseOfMfc>
Dynamic
</UseOfMfc>
</PropertyGroup>
<PropertyGroup
Condition=
"'$(Configuration)|$(Platform)'=='Release|x64'"
Label=
"Configuration"
>
<ConfigurationType>
Application
</ConfigurationType>
<UseDebugLibraries>
false
</UseDebugLibraries>
<PlatformToolset>
v141
</PlatformToolset>
<WholeProgramOptimization>
true
</WholeProgramOptimization>
<CharacterSet>
Unicode
</CharacterSet>
<UseOfMfc>
Dynamic
</UseOfMfc>
</PropertyGroup>
<Import
Project=
"$(VCTargetsPath)\Microsoft.Cpp.props"
/>
<ImportGroup
Label=
"ExtensionSettings"
>
</ImportGroup>
<ImportGroup
Label=
"Shared"
>
</ImportGroup>
<ImportGroup
Label=
"PropertySheets"
Condition=
"'$(Configuration)|$(Platform)'=='Debug|Win32'"
>
<Import
Project=
"$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"
Condition=
"exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')"
Label=
"LocalAppDataPlatform"
/>
</ImportGroup>
<ImportGroup
Label=
"PropertySheets"
Condition=
"'$(Configuration)|$(Platform)'=='Release|Win32'"
>
<Import
Project=
"$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"
Condition=
"exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')"
Label=
"LocalAppDataPlatform"
/>
</ImportGroup>
<ImportGroup
Label=
"PropertySheets"
Condition=
"'$(Configuration)|$(Platform)'=='Debug|x64'"
>
<Import
Project=
"$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"
Condition=
"exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')"
Label=
"LocalAppDataPlatform"
/>
</ImportGroup>
<ImportGroup
Label=
"PropertySheets"
Condition=
"'$(Configuration)|$(Platform)'=='Release|x64'"
>
<Import
Project=
"$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"
Condition=
"exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')"
Label=
"LocalAppDataPlatform"
/>
</ImportGroup>
<PropertyGroup
Label=
"UserMacros"
/>
<PropertyGroup
Condition=
"'$(Configuration)|$(Platform)'=='Debug|Win32'"
>
<LinkIncremental>
true
</LinkIncremental>
</PropertyGroup>
<PropertyGroup
Condition=
"'$(Configuration)|$(Platform)'=='Debug|x64'"
>
<LinkIncremental>
true
</LinkIncremental>
</PropertyGroup>
<PropertyGroup
Condition=
"'$(Configuration)|$(Platform)'=='Release|Win32'"
>
<LinkIncremental>
false
</LinkIncremental>
</PropertyGroup>
<PropertyGroup
Condition=
"'$(Configuration)|$(Platform)'=='Release|x64'"
>
<LinkIncremental>
false
</LinkIncremental>
</PropertyGroup>
<ItemDefinitionGroup
Condition=
"'$(Configuration)|$(Platform)'=='Debug|Win32'"
>
<ClCompile>
<PrecompiledHeader>
Use
</PrecompiledHeader>
<WarningLevel>
Level3
</WarningLevel>
<Optimization>
Disabled
</Optimization>
<SDLCheck>
true
</SDLCheck>
<PreprocessorDefinitions>
WIN32;_WINDOWS;_DEBUG;%(PreprocessorDefinitions)
</PreprocessorDefinitions>
</ClCompile>
<Link>
<SubSystem>
Windows
</SubSystem>
</Link>
<Midl>
<MkTypLibCompatible>
false
</MkTypLibCompatible>
<ValidateAllParameters>
true
</ValidateAllParameters>
<PreprocessorDefinitions>
_DEBUG;%(PreprocessorDefinitions)
</PreprocessorDefinitions>
</Midl>
<ResourceCompile>
<Culture>
0x0804
</Culture>
<PreprocessorDefinitions>
_DEBUG;%(PreprocessorDefinitions)
</PreprocessorDefinitions>
<AdditionalIncludeDirectories>
$(IntDir);%(AdditionalIncludeDirectories)
</AdditionalIncludeDirectories>
</ResourceCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup
Condition=
"'$(Configuration)|$(Platform)'=='Debug|x64'"
>
<ClCompile>
<PrecompiledHeader>
Use
</PrecompiledHeader>
<WarningLevel>
Level3
</WarningLevel>
<Optimization>
Disabled
</Optimization>
<SDLCheck>
true
</SDLCheck>
<PreprocessorDefinitions>
_WINDOWS;_DEBUG;%(PreprocessorDefinitions)
</PreprocessorDefinitions>
</ClCompile>
<Link>
<SubSystem>
Windows
</SubSystem>
</Link>
<Midl>
<MkTypLibCompatible>
false
</MkTypLibCompatible>
<ValidateAllParameters>
true
</ValidateAllParameters>
<PreprocessorDefinitions>
_DEBUG;%(PreprocessorDefinitions)
</PreprocessorDefinitions>
</Midl>
<ResourceCompile>
<Culture>
0x0804
</Culture>
<PreprocessorDefinitions>
_DEBUG;%(PreprocessorDefinitions)
</PreprocessorDefinitions>
<AdditionalIncludeDirectories>
$(IntDir);%(AdditionalIncludeDirectories)
</AdditionalIncludeDirectories>
</ResourceCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup
Condition=
"'$(Configuration)|$(Platform)'=='Release|Win32'"
>
<ClCompile>
<PrecompiledHeader>
Use
</PrecompiledHeader>
<WarningLevel>
Level3
</WarningLevel>
<Optimization>
MaxSpeed
</Optimization>
<FunctionLevelLinking>
true
</FunctionLevelLinking>
<IntrinsicFunctions>
true
</IntrinsicFunctions>
<SDLCheck>
true
</SDLCheck>
<PreprocessorDefinitions>
WIN32;_WINDOWS;NDEBUG;%(PreprocessorDefinitions)
</PreprocessorDefinitions>
</ClCompile>
<Link>
<SubSystem>
Windows
</SubSystem>
<EnableCOMDATFolding>
true
</EnableCOMDATFolding>
<OptimizeReferences>
true
</OptimizeReferences>
</Link>
<Midl>
<MkTypLibCompatible>
false
</MkTypLibCompatible>
<ValidateAllParameters>
true
</ValidateAllParameters>
<PreprocessorDefinitions>
NDEBUG;%(PreprocessorDefinitions)
</PreprocessorDefinitions>
</Midl>
<ResourceCompile>
<Culture>
0x0804
</Culture>
<PreprocessorDefinitions>
NDEBUG;%(PreprocessorDefinitions)
</PreprocessorDefinitions>
<AdditionalIncludeDirectories>
$(IntDir);%(AdditionalIncludeDirectories)
</AdditionalIncludeDirectories>
</ResourceCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup
Condition=
"'$(Configuration)|$(Platform)'=='Release|x64'"
>
<ClCompile>
<PrecompiledHeader>
Use
</PrecompiledHeader>
<WarningLevel>
Level3
</WarningLevel>
<Optimization>
MaxSpeed
</Optimization>
<FunctionLevelLinking>
true
</FunctionLevelLinking>
<IntrinsicFunctions>
true
</IntrinsicFunctions>
<SDLCheck>
true
</SDLCheck>
<PreprocessorDefinitions>
_WINDOWS;NDEBUG;%(PreprocessorDefinitions)
</PreprocessorDefinitions>
</ClCompile>
<Link>
<SubSystem>
Windows
</SubSystem>
<EnableCOMDATFolding>
true
</EnableCOMDATFolding>
<OptimizeReferences>
true
</OptimizeReferences>
</Link>
<Midl>
<MkTypLibCompatible>
false
</MkTypLibCompatible>
<ValidateAllParameters>
true
</ValidateAllParameters>
<PreprocessorDefinitions>
NDEBUG;%(PreprocessorDefinitions)
</PreprocessorDefinitions>
</Midl>
<ResourceCompile>
<Culture>
0x0804
</Culture>
<PreprocessorDefinitions>
NDEBUG;%(PreprocessorDefinitions)
</PreprocessorDefinitions>
<AdditionalIncludeDirectories>
$(IntDir);%(AdditionalIncludeDirectories)
</AdditionalIncludeDirectories>
</ResourceCompile>
</ItemDefinitionGroup>
<ItemGroup>
<ClInclude
Include=
"Resource.h"
/>
<ClInclude
Include=
"stdafx.h"
/>
<ClInclude
Include=
"targetver.h"
/>
<ClInclude
Include=
"tools-MFC.h"
/>
<ClInclude
Include=
"tools-MFCDlg.h"
/>
</ItemGroup>
<ItemGroup>
<ClCompile
Include=
"stdafx.cpp"
>
<PrecompiledHeader
Condition=
"'$(Configuration)|$(Platform)'=='Debug|Win32'"
>
Create
</PrecompiledHeader>
<PrecompiledHeader
Condition=
"'$(Configuration)|$(Platform)'=='Debug|x64'"
>
Create
</PrecompiledHeader>
<PrecompiledHeader
Condition=
"'$(Configuration)|$(Platform)'=='Release|Win32'"
>
Create
</PrecompiledHeader>
<PrecompiledHeader
Condition=
"'$(Configuration)|$(Platform)'=='Release|x64'"
>
Create
</PrecompiledHeader>
</ClCompile>
<ClCompile
Include=
"tools-MFC.cpp"
/>
<ClCompile
Include=
"tools-MFCDlg.cpp"
/>
</ItemGroup>
<ItemGroup>
<ResourceCompile
Include=
"toolsMFC.rc"
/>
</ItemGroup>
<ItemGroup>
<None
Include=
"res\toolsMFC.rc2"
/>
</ItemGroup>
<ItemGroup>
<Image
Include=
"res\tools-MFC.ico"
/>
</ItemGroup>
<Import
Project=
"$(VCTargetsPath)\Microsoft.Cpp.targets"
/>
<ImportGroup
Label=
"ExtensionTargets"
>
</ImportGroup>
</Project>
\ No newline at end of file
course/WinDriver/tools/tools-MFC/tools-MFC.vcxproj.filters
0 → 100644
浏览文件 @
2ed6c496
<?xml version="1.0" encoding="utf-8"?>
<Project
ToolsVersion=
"4.0"
xmlns=
"http://schemas.microsoft.com/developer/msbuild/2003"
>
<ItemGroup>
<Filter
Include=
"源文件"
>
<UniqueIdentifier>
{4FC737F1-C7A5-4376-A066-2A32D752A2FF}
</UniqueIdentifier>
<Extensions>
cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx
</Extensions>
</Filter>
<Filter
Include=
"头文件"
>
<UniqueIdentifier>
{93995380-89BD-4b04-88EB-625FBE52EBFB}
</UniqueIdentifier>
<Extensions>
h;hh;hpp;hxx;hm;inl;inc;ipp;xsd
</Extensions>
</Filter>
<Filter
Include=
"资源文件"
>
<UniqueIdentifier>
{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}
</UniqueIdentifier>
<Extensions>
rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms
</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClInclude
Include=
"tools-MFC.h"
>
<Filter>
头文件
</Filter>
</ClInclude>
<ClInclude
Include=
"tools-MFCDlg.h"
>
<Filter>
头文件
</Filter>
</ClInclude>
<ClInclude
Include=
"stdafx.h"
>
<Filter>
头文件
</Filter>
</ClInclude>
<ClInclude
Include=
"targetver.h"
>
<Filter>
头文件
</Filter>
</ClInclude>
<ClInclude
Include=
"Resource.h"
>
<Filter>
头文件
</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ClCompile
Include=
"tools-MFC.cpp"
>
<Filter>
源文件
</Filter>
</ClCompile>
<ClCompile
Include=
"tools-MFCDlg.cpp"
>
<Filter>
源文件
</Filter>
</ClCompile>
<ClCompile
Include=
"stdafx.cpp"
>
<Filter>
源文件
</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ResourceCompile
Include=
"toolsMFC.rc"
>
<Filter>
资源文件
</Filter>
</ResourceCompile>
</ItemGroup>
<ItemGroup>
<None
Include=
"res\toolsMFC.rc2"
>
<Filter>
资源文件
</Filter>
</None>
</ItemGroup>
<ItemGroup>
<Image
Include=
"res\tools-MFC.ico"
>
<Filter>
资源文件
</Filter>
</Image>
</ItemGroup>
</Project>
\ No newline at end of file
course/WinDriver/tools/tools-MFC/tools-MFCDlg.cpp
0 → 100644
浏览文件 @
2ed6c496
// tools-MFCDlg.cpp: 实现文件
//
#include "stdafx.h"
#include "tools-MFC.h"
#include "tools-MFCDlg.h"
#include "afxdialogex.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// 用于应用程序“关于”菜单项的 CAboutDlg 对话框
class
CAboutDlg
:
public
CDialogEx
{
public:
CAboutDlg
();
// 对话框数据
#ifdef AFX_DESIGN_TIME
enum
{
IDD
=
IDD_ABOUTBOX
};
#endif
protected:
virtual
void
DoDataExchange
(
CDataExchange
*
pDX
);
// DDX/DDV 支持
// 实现
protected:
DECLARE_MESSAGE_MAP
()
};
CAboutDlg
::
CAboutDlg
()
:
CDialogEx
(
IDD_ABOUTBOX
)
{
}
void
CAboutDlg
::
DoDataExchange
(
CDataExchange
*
pDX
)
{
CDialogEx
::
DoDataExchange
(
pDX
);
}
BEGIN_MESSAGE_MAP
(
CAboutDlg
,
CDialogEx
)
END_MESSAGE_MAP
()
// CtoolsMFCDlg 对话框
CtoolsMFCDlg
::
CtoolsMFCDlg
(
CWnd
*
pParent
/*=nullptr*/
)
:
CDialogEx
(
IDD_TOOLSMFC_DIALOG
,
pParent
)
{
m_hIcon
=
AfxGetApp
()
->
LoadIcon
(
IDR_MAINFRAME
);
}
void
CtoolsMFCDlg
::
DoDataExchange
(
CDataExchange
*
pDX
)
{
CDialogEx
::
DoDataExchange
(
pDX
);
}
BEGIN_MESSAGE_MAP
(
CtoolsMFCDlg
,
CDialogEx
)
ON_WM_SYSCOMMAND
()
ON_WM_PAINT
()
ON_WM_QUERYDRAGICON
()
END_MESSAGE_MAP
()
// CtoolsMFCDlg 消息处理程序
BOOL
CtoolsMFCDlg
::
OnInitDialog
()
{
CDialogEx
::
OnInitDialog
();
// 将“关于...”菜单项添加到系统菜单中。
// IDM_ABOUTBOX 必须在系统命令范围内。
ASSERT
((
IDM_ABOUTBOX
&
0xFFF0
)
==
IDM_ABOUTBOX
);
ASSERT
(
IDM_ABOUTBOX
<
0xF000
);
CMenu
*
pSysMenu
=
GetSystemMenu
(
FALSE
);
if
(
pSysMenu
!=
nullptr
)
{
BOOL
bNameValid
;
CString
strAboutMenu
;
bNameValid
=
strAboutMenu
.
LoadString
(
IDS_ABOUTBOX
);
ASSERT
(
bNameValid
);
if
(
!
strAboutMenu
.
IsEmpty
())
{
pSysMenu
->
AppendMenu
(
MF_SEPARATOR
);
pSysMenu
->
AppendMenu
(
MF_STRING
,
IDM_ABOUTBOX
,
strAboutMenu
);
}
}
// 设置此对话框的图标。 当应用程序主窗口不是对话框时,框架将自动
// 执行此操作
SetIcon
(
m_hIcon
,
TRUE
);
// 设置大图标
SetIcon
(
m_hIcon
,
FALSE
);
// 设置小图标
// TODO: 在此添加额外的初始化代码
return
TRUE
;
// 除非将焦点设置到控件,否则返回 TRUE
}
void
CtoolsMFCDlg
::
OnSysCommand
(
UINT
nID
,
LPARAM
lParam
)
{
if
((
nID
&
0xFFF0
)
==
IDM_ABOUTBOX
)
{
CAboutDlg
dlgAbout
;
dlgAbout
.
DoModal
();
}
else
{
CDialogEx
::
OnSysCommand
(
nID
,
lParam
);
}
}
// 如果向对话框添加最小化按钮,则需要下面的代码
// 来绘制该图标。 对于使用文档/视图模型的 MFC 应用程序,
// 这将由框架自动完成。
void
CtoolsMFCDlg
::
OnPaint
()
{
if
(
IsIconic
())
{
CPaintDC
dc
(
this
);
// 用于绘制的设备上下文
SendMessage
(
WM_ICONERASEBKGND
,
reinterpret_cast
<
WPARAM
>
(
dc
.
GetSafeHdc
()),
0
);
// 使图标在工作区矩形中居中
int
cxIcon
=
GetSystemMetrics
(
SM_CXICON
);
int
cyIcon
=
GetSystemMetrics
(
SM_CYICON
);
CRect
rect
;
GetClientRect
(
&
rect
);
int
x
=
(
rect
.
Width
()
-
cxIcon
+
1
)
/
2
;
int
y
=
(
rect
.
Height
()
-
cyIcon
+
1
)
/
2
;
// 绘制图标
dc
.
DrawIcon
(
x
,
y
,
m_hIcon
);
}
else
{
CDialogEx
::
OnPaint
();
}
}
//当用户拖动最小化窗口时系统调用此函数取得光标
//显示。
HCURSOR
CtoolsMFCDlg
::
OnQueryDragIcon
()
{
return
static_cast
<
HCURSOR
>
(
m_hIcon
);
}
course/WinDriver/tools/tools-MFC/tools-MFCDlg.h
0 → 100644
浏览文件 @
2ed6c496
// tools-MFCDlg.h: 头文件
//
#pragma once
// CtoolsMFCDlg 对话框
class
CtoolsMFCDlg
:
public
CDialogEx
{
// 构造
public:
CtoolsMFCDlg
(
CWnd
*
pParent
=
nullptr
);
// 标准构造函数
// 对话框数据
#ifdef AFX_DESIGN_TIME
enum
{
IDD
=
IDD_TOOLSMFC_DIALOG
};
#endif
protected:
virtual
void
DoDataExchange
(
CDataExchange
*
pDX
);
// DDX/DDV 支持
// 实现
protected:
HICON
m_hIcon
;
// 生成的消息映射函数
virtual
BOOL
OnInitDialog
();
afx_msg
void
OnSysCommand
(
UINT
nID
,
LPARAM
lParam
);
afx_msg
void
OnPaint
();
afx_msg
HCURSOR
OnQueryDragIcon
();
DECLARE_MESSAGE_MAP
()
};
course/WinDriver/tools/tools-MFC/toolsMFC.rc
0 → 100644
浏览文件 @
2ed6c496
B
// Microsoft Visual C++ 生成的资源脚本。
course/WinDriver/tools/tools.sln
0 → 100644
浏览文件 @
2ed6c496
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.28307.572
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tools", "tools\tools.vcxproj", "{C91E38C9-5F8D-40DB-82BD-BF55DCD695C6}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tools-MFC", "tools-MFC\tools-MFC.vcxproj", "{9619B046-5A11-47B5-9C2F-9437D6191CB9}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{C91E38C9-5F8D-40DB-82BD-BF55DCD695C6}.Debug|x64.ActiveCfg = Debug|x64
{C91E38C9-5F8D-40DB-82BD-BF55DCD695C6}.Debug|x64.Build.0 = Debug|x64
{C91E38C9-5F8D-40DB-82BD-BF55DCD695C6}.Debug|x86.ActiveCfg = Debug|Win32
{C91E38C9-5F8D-40DB-82BD-BF55DCD695C6}.Debug|x86.Build.0 = Debug|Win32
{C91E38C9-5F8D-40DB-82BD-BF55DCD695C6}.Release|x64.ActiveCfg = Release|x64
{C91E38C9-5F8D-40DB-82BD-BF55DCD695C6}.Release|x64.Build.0 = Release|x64
{C91E38C9-5F8D-40DB-82BD-BF55DCD695C6}.Release|x86.ActiveCfg = Release|Win32
{C91E38C9-5F8D-40DB-82BD-BF55DCD695C6}.Release|x86.Build.0 = Release|Win32
{9619B046-5A11-47B5-9C2F-9437D6191CB9}.Debug|x64.ActiveCfg = Debug|x64
{9619B046-5A11-47B5-9C2F-9437D6191CB9}.Debug|x64.Build.0 = Debug|x64
{9619B046-5A11-47B5-9C2F-9437D6191CB9}.Debug|x86.ActiveCfg = Debug|Win32
{9619B046-5A11-47B5-9C2F-9437D6191CB9}.Debug|x86.Build.0 = Debug|Win32
{9619B046-5A11-47B5-9C2F-9437D6191CB9}.Release|x64.ActiveCfg = Release|x64
{9619B046-5A11-47B5-9C2F-9437D6191CB9}.Release|x64.Build.0 = Release|x64
{9619B046-5A11-47B5-9C2F-9437D6191CB9}.Release|x86.ActiveCfg = Release|Win32
{9619B046-5A11-47B5-9C2F-9437D6191CB9}.Release|x86.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {1DB2713B-B158-4BA9-BA3C-6130E83D4402}
EndGlobalSection
EndGlobal
course/WinDriver/tools/tools/dllmain.cpp
0 → 100644
浏览文件 @
2ed6c496
// dllmain.cpp : 定义 DLL 应用程序的入口点。
#include "stdafx.h"
BOOL
APIENTRY
DllMain
(
HMODULE
hModule
,
DWORD
ul_reason_for_call
,
LPVOID
lpReserved
)
{
switch
(
ul_reason_for_call
)
{
case
DLL_PROCESS_ATTACH
:
case
DLL_THREAD_ATTACH
:
case
DLL_THREAD_DETACH
:
case
DLL_PROCESS_DETACH
:
break
;
}
return
TRUE
;
}
course/WinDriver/tools/tools/stdafx.cpp
0 → 100644
浏览文件 @
2ed6c496
#include "stdafx.h"
course/WinDriver/tools/tools/stdafx.h
0 → 100644
浏览文件 @
2ed6c496
// stdafx.h: 标准系统包含文件的包含文件,
// 或是经常使用但不常更改的
// 项目特定的包含文件
//
#pragma once
#include "targetver.h"
#define WIN32_LEAN_AND_MEAN // 从 Windows 头文件中排除极少使用的内容
// Windows 头文件
#include <windows.h>
// 在此处引用程序需要的其他标头
course/WinDriver/tools/tools/targetver.h
0 → 100644
浏览文件 @
2ed6c496
#
pragma
once
// 包括 SDKDDKVer.h 将定义可用的最高版本的 Windows 平台。
// 如果要为以前的 Windows 平台生成应用程序,请包括 WinSDKVer.h,并
// 将 _WIN32_WINNT 宏设置为要支持的平台,然后再包括 SDKDDKVer.h。
#include <SDKDDKVer.h>
course/WinDriver/tools/tools/tools.cpp
0 → 100644
浏览文件 @
2ed6c496
// tools.cpp : 定义 DLL 应用程序的导出函数。
//
#include "stdafx.h"
course/WinDriver/tools/tools/tools.vcxproj
0 → 100644
浏览文件 @
2ed6c496
<?xml version="1.0" encoding="utf-8"?>
<Project
DefaultTargets=
"Build"
ToolsVersion=
"15.0"
xmlns=
"http://schemas.microsoft.com/developer/msbuild/2003"
>
<ItemGroup
Label=
"ProjectConfigurations"
>
<ProjectConfiguration
Include=
"Debug|Win32"
>
<Configuration>
Debug
</Configuration>
<Platform>
Win32
</Platform>
</ProjectConfiguration>
<ProjectConfiguration
Include=
"Release|Win32"
>
<Configuration>
Release
</Configuration>
<Platform>
Win32
</Platform>
</ProjectConfiguration>
<ProjectConfiguration
Include=
"Debug|x64"
>
<Configuration>
Debug
</Configuration>
<Platform>
x64
</Platform>
</ProjectConfiguration>
<ProjectConfiguration
Include=
"Release|x64"
>
<Configuration>
Release
</Configuration>
<Platform>
x64
</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup
Label=
"Globals"
>
<VCProjectVersion>
15.0
</VCProjectVersion>
<ProjectGuid>
{C91E38C9-5F8D-40DB-82BD-BF55DCD695C6}
</ProjectGuid>
<Keyword>
Win32Proj
</Keyword>
<RootNamespace>
tools
</RootNamespace>
<WindowsTargetPlatformVersion>
10.0.17763.0
</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import
Project=
"$(VCTargetsPath)\Microsoft.Cpp.Default.props"
/>
<PropertyGroup
Condition=
"'$(Configuration)|$(Platform)'=='Debug|Win32'"
Label=
"Configuration"
>
<ConfigurationType>
DynamicLibrary
</ConfigurationType>
<UseDebugLibraries>
true
</UseDebugLibraries>
<PlatformToolset>
v141
</PlatformToolset>
<CharacterSet>
Unicode
</CharacterSet>
</PropertyGroup>
<PropertyGroup
Condition=
"'$(Configuration)|$(Platform)'=='Release|Win32'"
Label=
"Configuration"
>
<ConfigurationType>
DynamicLibrary
</ConfigurationType>
<UseDebugLibraries>
false
</UseDebugLibraries>
<PlatformToolset>
v141
</PlatformToolset>
<WholeProgramOptimization>
true
</WholeProgramOptimization>
<CharacterSet>
Unicode
</CharacterSet>
</PropertyGroup>
<PropertyGroup
Condition=
"'$(Configuration)|$(Platform)'=='Debug|x64'"
Label=
"Configuration"
>
<ConfigurationType>
DynamicLibrary
</ConfigurationType>
<UseDebugLibraries>
true
</UseDebugLibraries>
<PlatformToolset>
v141
</PlatformToolset>
<CharacterSet>
Unicode
</CharacterSet>
</PropertyGroup>
<PropertyGroup
Condition=
"'$(Configuration)|$(Platform)'=='Release|x64'"
Label=
"Configuration"
>
<ConfigurationType>
DynamicLibrary
</ConfigurationType>
<UseDebugLibraries>
false
</UseDebugLibraries>
<PlatformToolset>
v141
</PlatformToolset>
<WholeProgramOptimization>
true
</WholeProgramOptimization>
<CharacterSet>
Unicode
</CharacterSet>
</PropertyGroup>
<Import
Project=
"$(VCTargetsPath)\Microsoft.Cpp.props"
/>
<ImportGroup
Label=
"ExtensionSettings"
>
</ImportGroup>
<ImportGroup
Label=
"Shared"
>
</ImportGroup>
<ImportGroup
Label=
"PropertySheets"
Condition=
"'$(Configuration)|$(Platform)'=='Debug|Win32'"
>
<Import
Project=
"$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"
Condition=
"exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')"
Label=
"LocalAppDataPlatform"
/>
</ImportGroup>
<ImportGroup
Label=
"PropertySheets"
Condition=
"'$(Configuration)|$(Platform)'=='Release|Win32'"
>
<Import
Project=
"$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"
Condition=
"exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')"
Label=
"LocalAppDataPlatform"
/>
</ImportGroup>
<ImportGroup
Label=
"PropertySheets"
Condition=
"'$(Configuration)|$(Platform)'=='Debug|x64'"
>
<Import
Project=
"$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"
Condition=
"exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')"
Label=
"LocalAppDataPlatform"
/>
</ImportGroup>
<ImportGroup
Label=
"PropertySheets"
Condition=
"'$(Configuration)|$(Platform)'=='Release|x64'"
>
<Import
Project=
"$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"
Condition=
"exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')"
Label=
"LocalAppDataPlatform"
/>
</ImportGroup>
<PropertyGroup
Label=
"UserMacros"
/>
<PropertyGroup
Condition=
"'$(Configuration)|$(Platform)'=='Debug|Win32'"
>
<LinkIncremental>
true
</LinkIncremental>
</PropertyGroup>
<PropertyGroup
Condition=
"'$(Configuration)|$(Platform)'=='Debug|x64'"
>
<LinkIncremental>
true
</LinkIncremental>
</PropertyGroup>
<PropertyGroup
Condition=
"'$(Configuration)|$(Platform)'=='Release|Win32'"
>
<LinkIncremental>
false
</LinkIncremental>
</PropertyGroup>
<PropertyGroup
Condition=
"'$(Configuration)|$(Platform)'=='Release|x64'"
>
<LinkIncremental>
false
</LinkIncremental>
</PropertyGroup>
<ItemDefinitionGroup
Condition=
"'$(Configuration)|$(Platform)'=='Debug|Win32'"
>
<ClCompile>
<PrecompiledHeader>
Use
</PrecompiledHeader>
<WarningLevel>
Level3
</WarningLevel>
<Optimization>
Disabled
</Optimization>
<SDLCheck>
true
</SDLCheck>
<PreprocessorDefinitions>
WIN32;_DEBUG;TOOLS_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)
</PreprocessorDefinitions>
<ConformanceMode>
true
</ConformanceMode>
</ClCompile>
<Link>
<SubSystem>
Windows
</SubSystem>
<GenerateDebugInformation>
true
</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup
Condition=
"'$(Configuration)|$(Platform)'=='Debug|x64'"
>
<ClCompile>
<PrecompiledHeader>
Use
</PrecompiledHeader>
<WarningLevel>
Level3
</WarningLevel>
<Optimization>
Disabled
</Optimization>
<SDLCheck>
true
</SDLCheck>
<PreprocessorDefinitions>
_DEBUG;TOOLS_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)
</PreprocessorDefinitions>
<ConformanceMode>
true
</ConformanceMode>
</ClCompile>
<Link>
<SubSystem>
Windows
</SubSystem>
<GenerateDebugInformation>
true
</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup
Condition=
"'$(Configuration)|$(Platform)'=='Release|Win32'"
>
<ClCompile>
<PrecompiledHeader>
Use
</PrecompiledHeader>
<WarningLevel>
Level3
</WarningLevel>
<Optimization>
MaxSpeed
</Optimization>
<FunctionLevelLinking>
true
</FunctionLevelLinking>
<IntrinsicFunctions>
true
</IntrinsicFunctions>
<SDLCheck>
true
</SDLCheck>
<PreprocessorDefinitions>
WIN32;NDEBUG;TOOLS_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)
</PreprocessorDefinitions>
<ConformanceMode>
true
</ConformanceMode>
</ClCompile>
<Link>
<SubSystem>
Windows
</SubSystem>
<EnableCOMDATFolding>
true
</EnableCOMDATFolding>
<OptimizeReferences>
true
</OptimizeReferences>
<GenerateDebugInformation>
true
</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup
Condition=
"'$(Configuration)|$(Platform)'=='Release|x64'"
>
<ClCompile>
<PrecompiledHeader>
Use
</PrecompiledHeader>
<WarningLevel>
Level3
</WarningLevel>
<Optimization>
MaxSpeed
</Optimization>
<FunctionLevelLinking>
true
</FunctionLevelLinking>
<IntrinsicFunctions>
true
</IntrinsicFunctions>
<SDLCheck>
true
</SDLCheck>
<PreprocessorDefinitions>
NDEBUG;TOOLS_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)
</PreprocessorDefinitions>
<ConformanceMode>
true
</ConformanceMode>
</ClCompile>
<Link>
<SubSystem>
Windows
</SubSystem>
<EnableCOMDATFolding>
true
</EnableCOMDATFolding>
<OptimizeReferences>
true
</OptimizeReferences>
<GenerateDebugInformation>
true
</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClInclude
Include=
"stdafx.h"
/>
<ClInclude
Include=
"targetver.h"
/>
</ItemGroup>
<ItemGroup>
<ClCompile
Include=
"dllmain.cpp"
/>
<ClCompile
Include=
"stdafx.cpp"
>
<PrecompiledHeader
Condition=
"'$(Configuration)|$(Platform)'=='Debug|Win32'"
>
Create
</PrecompiledHeader>
<PrecompiledHeader
Condition=
"'$(Configuration)|$(Platform)'=='Debug|x64'"
>
Create
</PrecompiledHeader>
<PrecompiledHeader
Condition=
"'$(Configuration)|$(Platform)'=='Release|Win32'"
>
Create
</PrecompiledHeader>
<PrecompiledHeader
Condition=
"'$(Configuration)|$(Platform)'=='Release|x64'"
>
Create
</PrecompiledHeader>
</ClCompile>
<ClCompile
Include=
"tools.cpp"
/>
</ItemGroup>
<Import
Project=
"$(VCTargetsPath)\Microsoft.Cpp.targets"
/>
<ImportGroup
Label=
"ExtensionTargets"
>
</ImportGroup>
</Project>
\ No newline at end of file
course/WinDriver/tools/tools/tools.vcxproj.filters
0 → 100644
浏览文件 @
2ed6c496
<?xml version="1.0" encoding="utf-8"?>
<Project
ToolsVersion=
"4.0"
xmlns=
"http://schemas.microsoft.com/developer/msbuild/2003"
>
<ItemGroup>
<Filter
Include=
"源文件"
>
<UniqueIdentifier>
{4FC737F1-C7A5-4376-A066-2A32D752A2FF}
</UniqueIdentifier>
<Extensions>
cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx
</Extensions>
</Filter>
<Filter
Include=
"头文件"
>
<UniqueIdentifier>
{93995380-89BD-4b04-88EB-625FBE52EBFB}
</UniqueIdentifier>
<Extensions>
h;hh;hpp;hxx;hm;inl;inc;ipp;xsd
</Extensions>
</Filter>
<Filter
Include=
"资源文件"
>
<UniqueIdentifier>
{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}
</UniqueIdentifier>
<Extensions>
rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms
</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClInclude
Include=
"stdafx.h"
>
<Filter>
头文件
</Filter>
</ClInclude>
<ClInclude
Include=
"targetver.h"
>
<Filter>
头文件
</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ClCompile
Include=
"stdafx.cpp"
>
<Filter>
源文件
</Filter>
</ClCompile>
<ClCompile
Include=
"tools.cpp"
>
<Filter>
源文件
</Filter>
</ClCompile>
<ClCompile
Include=
"dllmain.cpp"
>
<Filter>
源文件
</Filter>
</ClCompile>
</ItemGroup>
</Project>
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录