├── InstDrv
├── InstDrv.h
├── RDa55000
├── InstDrv.rc
├── MainDlg.cpp
├── res
│ └── InstDrv.ico
├── stdafx.cpp
├── packages.config
├── SysManager.h
├── InstDrv.cpp
├── resource.h
├── stdafx.h
├── SysManager.cpp
├── InstDrv.vcxproj.filters
├── MainDlg.h
├── InstDrv.vcxproj
└── RCa55000
├── InstDrv.jpg
├── README.md
├── InstDrv.sln
├── .gitattributes
└── .gitignore
/InstDrv/InstDrv.h:
--------------------------------------------------------------------------------
1 | // InstDrv.h
2 |
--------------------------------------------------------------------------------
/InstDrv.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/BeneficialCode/InstDrv/HEAD/InstDrv.jpg
--------------------------------------------------------------------------------
/InstDrv/RDa55000:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/BeneficialCode/InstDrv/HEAD/InstDrv/RDa55000
--------------------------------------------------------------------------------
/InstDrv/InstDrv.rc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/BeneficialCode/InstDrv/HEAD/InstDrv/InstDrv.rc
--------------------------------------------------------------------------------
/InstDrv/MainDlg.cpp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/BeneficialCode/InstDrv/HEAD/InstDrv/MainDlg.cpp
--------------------------------------------------------------------------------
/InstDrv/res/InstDrv.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/BeneficialCode/InstDrv/HEAD/InstDrv/res/InstDrv.ico
--------------------------------------------------------------------------------
/InstDrv/stdafx.cpp:
--------------------------------------------------------------------------------
1 | // stdafx.cpp : source file that includes just the standard includes
2 | // InstDrv.pch will be the pre-compiled header
3 | // stdafx.obj will contain the pre-compiled type information
4 |
5 | #include "stdafx.h"
6 |
--------------------------------------------------------------------------------
/InstDrv/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # InstDrv
2 | English
3 |
4 | This is a driver install tool
5 | ```
6 | Function:
7 | 1.Drop sys file
8 | 2.Multi-thread work, will not stuck in start or stop service.
9 | 3.Support on Win7 and later system
10 | ```
11 | 这是一个驱动安装工具
12 | 功能:
13 |
14 | 1.支持驱动文件拖拽
15 | 2.采取运行、停止驱动服务采取多线程,不卡界面UI
16 | 3.支持win7系统以上
17 | 
18 |
--------------------------------------------------------------------------------
/InstDrv/SysManager.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | class SysManager {
4 | public:
5 | SysManager(CString sysPath, CString serviceName, CString displayName,bool isFileSys) :_sysPath(sysPath),
6 | _serviceName(serviceName), _displayName(displayName),_isFileSys(isFileSys){
7 | }
8 | bool Install() const;
9 | bool Run() const;
10 | bool Stop() const;
11 | bool Remove() const;
12 | SC_HANDLE GetServiceHandle() const;
13 | private:
14 | CString _sysPath;
15 | CString _serviceName;
16 | CString _displayName;
17 | bool _isFileSys;
18 | };
--------------------------------------------------------------------------------
/InstDrv/InstDrv.cpp:
--------------------------------------------------------------------------------
1 | // InstDrv.cpp : main source file for InstDrv.exe
2 | //
3 |
4 | #include "stdafx.h"
5 |
6 | #include "resource.h"
7 |
8 | #include "MainDlg.h"
9 |
10 | CAppModule _Module;
11 |
12 | int WINAPI _tWinMain(HINSTANCE hInstance, HINSTANCE /*hPrevInstance*/, LPTSTR /*lpstrCmdLine*/, int /*nCmdShow*/)
13 | {
14 | HRESULT hRes = ::CoInitialize(NULL);
15 | ATLASSERT(SUCCEEDED(hRes));
16 |
17 | AtlInitCommonControls(ICC_BAR_CLASSES); // add flags to support other controls
18 |
19 | hRes = _Module.Init(NULL, hInstance);
20 | ATLASSERT(SUCCEEDED(hRes));
21 |
22 | int nRet = 0;
23 | // BLOCK: Run application
24 | {
25 | CMainDlg dlgMain;
26 | nRet = (int)dlgMain.DoModal();
27 | }
28 |
29 | _Module.Term();
30 | ::CoUninitialize();
31 |
32 | return nRet;
33 | }
34 |
--------------------------------------------------------------------------------
/InstDrv/resource.h:
--------------------------------------------------------------------------------
1 | //{{NO_DEPENDENCIES}}
2 | // Microsoft Visual C++ generated include file.
3 | // Used by InstDrv.rc
4 | //
5 | #define IDR_MAINFRAME 128
6 | #define IDD_MAINDLG 129
7 | #define IDC_EDIT_DRVFILEPATH 1000
8 | #define IDC_BTN_BROWSE 1001
9 | #define IDC_DRIVER_TYPE 1002
10 | #define IDC_BTN_INSTALL 1003
11 | #define IDC_BTN_RUN 1004
12 | #define IDC_BTN_STOP 1005
13 | #define IDC_BTN_REMOVE 1006
14 | #define IDC_EDIT_STATUS 1007
15 | #define IDC_BTN_REMOVE2 1008
16 | #define IDC_CHECK1 1008
17 | #define IDC_BYPASS_REVOKE 1008
18 |
19 | // Next default values for new objects
20 | //
21 | #ifdef APSTUDIO_INVOKED
22 | #ifndef APSTUDIO_READONLY_SYMBOLS
23 | #define _APS_NEXT_RESOURCE_VALUE 202
24 | #define _APS_NEXT_COMMAND_VALUE 32775
25 | #define _APS_NEXT_CONTROL_VALUE 1009
26 | #define _APS_NEXT_SYMED_VALUE 101
27 | #endif
28 | #endif
29 |
--------------------------------------------------------------------------------
/InstDrv.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 16
4 | VisualStudioVersion = 16.0.33328.57
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "InstDrv", "InstDrv\InstDrv.vcxproj", "{0215504E-F5E2-4935-83C9-59A0532BED92}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|x64 = Debug|x64
11 | Debug|x86 = Debug|x86
12 | Release|x64 = Release|x64
13 | Release|x86 = Release|x86
14 | EndGlobalSection
15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
16 | {0215504E-F5E2-4935-83C9-59A0532BED92}.Debug|x64.ActiveCfg = Debug|x64
17 | {0215504E-F5E2-4935-83C9-59A0532BED92}.Debug|x64.Build.0 = Debug|x64
18 | {0215504E-F5E2-4935-83C9-59A0532BED92}.Debug|x86.ActiveCfg = Debug|Win32
19 | {0215504E-F5E2-4935-83C9-59A0532BED92}.Debug|x86.Build.0 = Debug|Win32
20 | {0215504E-F5E2-4935-83C9-59A0532BED92}.Release|x64.ActiveCfg = Release|x64
21 | {0215504E-F5E2-4935-83C9-59A0532BED92}.Release|x64.Build.0 = Release|x64
22 | {0215504E-F5E2-4935-83C9-59A0532BED92}.Release|x86.ActiveCfg = Release|Win32
23 | {0215504E-F5E2-4935-83C9-59A0532BED92}.Release|x86.Build.0 = Release|Win32
24 | EndGlobalSection
25 | GlobalSection(SolutionProperties) = preSolution
26 | HideSolutionNode = FALSE
27 | EndGlobalSection
28 | GlobalSection(ExtensibilityGlobals) = postSolution
29 | SolutionGuid = {4383AA9C-649F-4B49-91A3-041C7A54F64A}
30 | EndGlobalSection
31 | EndGlobal
32 |
--------------------------------------------------------------------------------
/InstDrv/stdafx.h:
--------------------------------------------------------------------------------
1 | // stdafx.h : include file for standard system include files,
2 | // or project specific include files that are used frequently, but
3 | // are changed infrequently
4 | //
5 |
6 | #pragma once
7 |
8 | // Change these values to use different versions
9 | #define WINVER 0x0601
10 | #define _WIN32_WINNT 0x0601
11 | #define _WIN32_IE 0x0700
12 | #define _RICHEDIT_VER 0x0500
13 |
14 | #include
15 | #include
16 |
17 | extern CAppModule _Module;
18 |
19 | #include
20 |
21 | #include
22 | #include
23 | #include
24 | #include
25 |
26 | #include
27 |
28 | #if defined _M_IX86
29 | #pragma comment(linker, "/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"")
30 | #elif defined _M_IA64
31 | #pragma comment(linker, "/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"")
32 | #elif defined _M_X64
33 | #pragma comment(linker, "/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"")
34 | #else
35 | #pragma comment(linker, "/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")
36 | #endif
37 |
--------------------------------------------------------------------------------
/InstDrv/SysManager.cpp:
--------------------------------------------------------------------------------
1 | #include "stdafx.h"
2 | #include "SysManager.h"
3 |
4 | bool SysManager::Install() const {
5 | wil::unique_schandle hSCManager;
6 | hSCManager.reset(OpenSCManager(nullptr, nullptr, SC_MANAGER_ALL_ACCESS));
7 | if (NULL == hSCManager.get())
8 | return false;
9 |
10 | wil::unique_schandle hService;
11 | hService.reset(CreateService(hSCManager.get(), _serviceName, _displayName,
12 | SERVICE_ALL_ACCESS,
13 | _isFileSys ? SERVICE_FILE_SYSTEM_DRIVER : SERVICE_KERNEL_DRIVER,
14 | SERVICE_DEMAND_START, // driver is not loaded automatically
15 | SERVICE_ERROR_NORMAL, // The error is logged to the event log service
16 | _sysPath, nullptr, nullptr, nullptr, nullptr, nullptr));
17 | if (NULL == hService.get())
18 | return false;
19 |
20 | return true;
21 | }
22 |
23 | SC_HANDLE SysManager::GetServiceHandle() const {
24 | wil::unique_schandle hSCManager;
25 | hSCManager.reset(OpenSCManager(nullptr, nullptr, SC_MANAGER_ALL_ACCESS));
26 | if (NULL == hSCManager.get())
27 | return NULL;
28 |
29 | SC_HANDLE hService;
30 | hService = OpenService(hSCManager.get(), _serviceName, SERVICE_ALL_ACCESS);
31 | if (NULL == hService)
32 | return NULL;
33 | return hService;
34 | }
35 |
36 | bool SysManager::Run() const {
37 | wil::unique_schandle hService;
38 | hService.reset(GetServiceHandle());
39 | if (NULL == hService.get())
40 | return false;
41 |
42 | if (!StartService(hService.get(), NULL, nullptr))
43 | return false;
44 | return true;
45 | }
46 |
47 | bool SysManager::Stop() const {
48 | wil::unique_schandle hService;
49 | hService.reset(GetServiceHandle());
50 | if (NULL == hService.get())
51 | return false;
52 |
53 | SERVICE_STATUS status;
54 | if (!ControlService(hService.get(), SERVICE_CONTROL_STOP, &status))
55 | return false;
56 | return true;
57 | }
58 |
59 | bool SysManager::Remove() const {
60 | wil::unique_schandle hService;
61 | hService.reset(GetServiceHandle());
62 | if (NULL == hService.get())
63 | return false;
64 |
65 | if (!DeleteService(hService.get()))
66 | return false;
67 | return true;
68 | }
--------------------------------------------------------------------------------
/InstDrv/InstDrv.vcxproj.filters:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {ce015c3a-23e4-416c-9f60-201d5a1c768b}
6 | cpp;c;cxx;def;odl;idl;hpj;bat;asm
7 |
8 |
9 | {050d6310-8825-4daf-a188-081e2d5b7da3}
10 | h;hpp;hxx;hm;inl;inc
11 |
12 |
13 | {36b9474d-fd31-424c-9b4a-ef65be0ed396}
14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;jpg;jpeg;jpe;manifest
15 |
16 |
17 |
18 |
19 | Source Files
20 |
21 |
22 | Source Files
23 |
24 |
25 | Source Files
26 |
27 |
28 | Source Files
29 |
30 |
31 |
32 |
33 | Header Files
34 |
35 |
36 | Header Files
37 |
38 |
39 | Header Files
40 |
41 |
42 | Header Files
43 |
44 |
45 |
46 |
47 | Resource Files
48 |
49 |
50 |
51 |
52 | Resource Files
53 |
54 |
55 |
56 |
57 |
58 |
--------------------------------------------------------------------------------
/InstDrv/MainDlg.h:
--------------------------------------------------------------------------------
1 | // MainDlg.h : interface of the CMainDlg class
2 | //
3 | /////////////////////////////////////////////////////////////////////////////
4 |
5 | #pragma once
6 |
7 | #define WM_COPYGLOBALDATA 0x49
8 |
9 | class CMainDlg : public CDialogImpl
10 | {
11 | public:
12 | enum { IDD = IDD_MAINDLG };
13 |
14 | BEGIN_MSG_MAP(CMainDlg)
15 | MESSAGE_HANDLER(WM_INITDIALOG, OnInitDialog)
16 | COMMAND_ID_HANDLER(ID_APP_ABOUT, OnAppAbout)
17 | MESSAGE_HANDLER(WM_DROPFILES, OnDropFile)
18 | COMMAND_ID_HANDLER(IDOK, OnOK)
19 | COMMAND_ID_HANDLER(IDCANCEL, OnCancel)
20 | COMMAND_ID_HANDLER(IDC_BTN_BROWSE, OnBrowse)
21 | COMMAND_ID_HANDLER(IDC_BTN_INSTALL, OnInstall)
22 | COMMAND_ID_HANDLER(IDC_BTN_REMOVE, OnRemove)
23 | COMMAND_ID_HANDLER(IDC_BTN_STOP, OnStop)
24 | COMMAND_ID_HANDLER(IDC_BTN_RUN, OnRun)
25 | END_MSG_MAP()
26 |
27 | // Handler prototypes (uncomment arguments if needed):
28 | // LRESULT MessageHandler(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/)
29 | // LRESULT CommandHandler(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/)
30 | // LRESULT NotifyHandler(int /*idCtrl*/, LPNMHDR /*pnmh*/, BOOL& /*bHandled*/)
31 | LRESULT OnDropFile(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/);
32 |
33 |
34 | LRESULT OnInitDialog(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/);
35 | LRESULT OnAppAbout(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/);
36 | LRESULT OnOK(WORD /*wNotifyCode*/, WORD wID, HWND /*hWndCtl*/, BOOL& /*bHandled*/);
37 | LRESULT OnCancel(WORD /*wNotifyCode*/, WORD wID, HWND /*hWndCtl*/, BOOL& /*bHandled*/);
38 |
39 | LRESULT OnBrowse(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/);
40 | LRESULT OnInstall(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/);
41 | LRESULT OnRemove(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/);
42 | LRESULT OnStop(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/);
43 | LRESULT OnRun(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/);
44 |
45 | bool InitParams(CString& sysPath, CString& serviceName, CString& displayName, bool& isFileSys);
46 | void ShowError();
47 | DWORD StopService();
48 | DWORD RunService();
49 | };
50 |
--------------------------------------------------------------------------------
/.gitattributes:
--------------------------------------------------------------------------------
1 | ###############################################################################
2 | # Set default behavior to automatically normalize line endings.
3 | ###############################################################################
4 | * text=auto
5 |
6 | ###############################################################################
7 | # Set default behavior for command prompt diff.
8 | #
9 | # This is need for earlier builds of msysgit that does not have it on by
10 | # default for csharp files.
11 | # Note: This is only used by command line
12 | ###############################################################################
13 | #*.cs diff=csharp
14 |
15 | ###############################################################################
16 | # Set the merge driver for project and solution files
17 | #
18 | # Merging from the command prompt will add diff markers to the files if there
19 | # are conflicts (Merging from VS is not affected by the settings below, in VS
20 | # the diff markers are never inserted). Diff markers may cause the following
21 | # file extensions to fail to load in VS. An alternative would be to treat
22 | # these files as binary and thus will always conflict and require user
23 | # intervention with every merge. To do so, just uncomment the entries below
24 | ###############################################################################
25 | #*.sln merge=binary
26 | #*.csproj merge=binary
27 | #*.vbproj merge=binary
28 | #*.vcxproj merge=binary
29 | #*.vcproj merge=binary
30 | #*.dbproj merge=binary
31 | #*.fsproj merge=binary
32 | #*.lsproj merge=binary
33 | #*.wixproj merge=binary
34 | #*.modelproj merge=binary
35 | #*.sqlproj merge=binary
36 | #*.wwaproj merge=binary
37 |
38 | ###############################################################################
39 | # behavior for image files
40 | #
41 | # image files are treated as binary by default.
42 | ###############################################################################
43 | #*.jpg binary
44 | #*.png binary
45 | #*.gif binary
46 |
47 | ###############################################################################
48 | # diff behavior for common document formats
49 | #
50 | # Convert binary document formats to text before diffing them. This feature
51 | # is only available from the command line. Turn it on by uncommenting the
52 | # entries below.
53 | ###############################################################################
54 | #*.doc diff=astextplain
55 | #*.DOC diff=astextplain
56 | #*.docx diff=astextplain
57 | #*.DOCX diff=astextplain
58 | #*.dot diff=astextplain
59 | #*.DOT diff=astextplain
60 | #*.pdf diff=astextplain
61 | #*.PDF diff=astextplain
62 | #*.rtf diff=astextplain
63 | #*.RTF diff=astextplain
64 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | ## Ignore Visual Studio temporary files, build results, and
2 | ## files generated by popular Visual Studio add-ons.
3 | ##
4 | ## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
5 |
6 | # User-specific files
7 | *.rsuser
8 | *.suo
9 | *.user
10 | *.userosscache
11 | *.sln.docstates
12 |
13 | # User-specific files (MonoDevelop/Xamarin Studio)
14 | *.userprefs
15 |
16 | # Mono auto generated files
17 | mono_crash.*
18 |
19 | # Build results
20 | [Dd]ebug/
21 | [Dd]ebugPublic/
22 | [Rr]elease/
23 | [Rr]eleases/
24 | x64/
25 | x86/
26 | [Ww][Ii][Nn]32/
27 | [Aa][Rr][Mm]/
28 | [Aa][Rr][Mm]64/
29 | bld/
30 | [Bb]in/
31 | [Oo]bj/
32 | [Oo]ut/
33 | [Ll]og/
34 | [Ll]ogs/
35 |
36 | # Visual Studio 2015/2017 cache/options directory
37 | .vs/
38 | # Uncomment if you have tasks that create the project's static files in wwwroot
39 | #wwwroot/
40 |
41 | # Visual Studio 2017 auto generated files
42 | Generated\ Files/
43 |
44 | # MSTest test Results
45 | [Tt]est[Rr]esult*/
46 | [Bb]uild[Ll]og.*
47 |
48 | # NUnit
49 | *.VisualState.xml
50 | TestResult.xml
51 | nunit-*.xml
52 |
53 | # Build Results of an ATL Project
54 | [Dd]ebugPS/
55 | [Rr]eleasePS/
56 | dlldata.c
57 |
58 | # Benchmark Results
59 | BenchmarkDotNet.Artifacts/
60 |
61 | # .NET Core
62 | project.lock.json
63 | project.fragment.lock.json
64 | artifacts/
65 |
66 | # ASP.NET Scaffolding
67 | ScaffoldingReadMe.txt
68 |
69 | # StyleCop
70 | StyleCopReport.xml
71 |
72 | # Files built by Visual Studio
73 | *_i.c
74 | *_p.c
75 | *_h.h
76 | *.ilk
77 | *.meta
78 | *.obj
79 | *.iobj
80 | *.pch
81 | *.pdb
82 | *.ipdb
83 | *.pgc
84 | *.pgd
85 | *.rsp
86 | *.sbr
87 | *.tlb
88 | *.tli
89 | *.tlh
90 | *.tmp
91 | *.tmp_proj
92 | *_wpftmp.csproj
93 | *.log
94 | *.vspscc
95 | *.vssscc
96 | .builds
97 | *.pidb
98 | *.svclog
99 | *.scc
100 |
101 | # Chutzpah Test files
102 | _Chutzpah*
103 |
104 | # Visual C++ cache files
105 | ipch/
106 | *.aps
107 | *.ncb
108 | *.opendb
109 | *.opensdf
110 | *.sdf
111 | *.cachefile
112 | *.VC.db
113 | *.VC.VC.opendb
114 |
115 | # Visual Studio profiler
116 | *.psess
117 | *.vsp
118 | *.vspx
119 | *.sap
120 |
121 | # Visual Studio Trace Files
122 | *.e2e
123 |
124 | # TFS 2012 Local Workspace
125 | $tf/
126 |
127 | # Guidance Automation Toolkit
128 | *.gpState
129 |
130 | # ReSharper is a .NET coding add-in
131 | _ReSharper*/
132 | *.[Rr]e[Ss]harper
133 | *.DotSettings.user
134 |
135 | # TeamCity is a build add-in
136 | _TeamCity*
137 |
138 | # DotCover is a Code Coverage Tool
139 | *.dotCover
140 |
141 | # AxoCover is a Code Coverage Tool
142 | .axoCover/*
143 | !.axoCover/settings.json
144 |
145 | # Coverlet is a free, cross platform Code Coverage Tool
146 | coverage*.json
147 | coverage*.xml
148 | coverage*.info
149 |
150 | # Visual Studio code coverage results
151 | *.coverage
152 | *.coveragexml
153 |
154 | # NCrunch
155 | _NCrunch_*
156 | .*crunch*.local.xml
157 | nCrunchTemp_*
158 |
159 | # MightyMoose
160 | *.mm.*
161 | AutoTest.Net/
162 |
163 | # Web workbench (sass)
164 | .sass-cache/
165 |
166 | # Installshield output folder
167 | [Ee]xpress/
168 |
169 | # DocProject is a documentation generator add-in
170 | DocProject/buildhelp/
171 | DocProject/Help/*.HxT
172 | DocProject/Help/*.HxC
173 | DocProject/Help/*.hhc
174 | DocProject/Help/*.hhk
175 | DocProject/Help/*.hhp
176 | DocProject/Help/Html2
177 | DocProject/Help/html
178 |
179 | # Click-Once directory
180 | publish/
181 |
182 | # Publish Web Output
183 | *.[Pp]ublish.xml
184 | *.azurePubxml
185 | # Note: Comment the next line if you want to checkin your web deploy settings,
186 | # but database connection strings (with potential passwords) will be unencrypted
187 | *.pubxml
188 | *.publishproj
189 |
190 | # Microsoft Azure Web App publish settings. Comment the next line if you want to
191 | # checkin your Azure Web App publish settings, but sensitive information contained
192 | # in these scripts will be unencrypted
193 | PublishScripts/
194 |
195 | # NuGet Packages
196 | *.nupkg
197 | # NuGet Symbol Packages
198 | *.snupkg
199 | # The packages folder can be ignored because of Package Restore
200 | **/[Pp]ackages/*
201 | # except build/, which is used as an MSBuild target.
202 | !**/[Pp]ackages/build/
203 | # Uncomment if necessary however generally it will be regenerated when needed
204 | #!**/[Pp]ackages/repositories.config
205 | # NuGet v3's project.json files produces more ignorable files
206 | *.nuget.props
207 | *.nuget.targets
208 |
209 | # Microsoft Azure Build Output
210 | csx/
211 | *.build.csdef
212 |
213 | # Microsoft Azure Emulator
214 | ecf/
215 | rcf/
216 |
217 | # Windows Store app package directories and files
218 | AppPackages/
219 | BundleArtifacts/
220 | Package.StoreAssociation.xml
221 | _pkginfo.txt
222 | *.appx
223 | *.appxbundle
224 | *.appxupload
225 |
226 | # Visual Studio cache files
227 | # files ending in .cache can be ignored
228 | *.[Cc]ache
229 | # but keep track of directories ending in .cache
230 | !?*.[Cc]ache/
231 |
232 | # Others
233 | ClientBin/
234 | ~$*
235 | *~
236 | *.dbmdl
237 | *.dbproj.schemaview
238 | *.jfm
239 | *.pfx
240 | *.publishsettings
241 | orleans.codegen.cs
242 |
243 | # Including strong name files can present a security risk
244 | # (https://github.com/github/gitignore/pull/2483#issue-259490424)
245 | #*.snk
246 |
247 | # Since there are multiple workflows, uncomment next line to ignore bower_components
248 | # (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
249 | #bower_components/
250 |
251 | # RIA/Silverlight projects
252 | Generated_Code/
253 |
254 | # Backup & report files from converting an old project file
255 | # to a newer Visual Studio version. Backup files are not needed,
256 | # because we have git ;-)
257 | _UpgradeReport_Files/
258 | Backup*/
259 | UpgradeLog*.XML
260 | UpgradeLog*.htm
261 | ServiceFabricBackup/
262 | *.rptproj.bak
263 |
264 | # SQL Server files
265 | *.mdf
266 | *.ldf
267 | *.ndf
268 |
269 | # Business Intelligence projects
270 | *.rdl.data
271 | *.bim.layout
272 | *.bim_*.settings
273 | *.rptproj.rsuser
274 | *- [Bb]ackup.rdl
275 | *- [Bb]ackup ([0-9]).rdl
276 | *- [Bb]ackup ([0-9][0-9]).rdl
277 |
278 | # Microsoft Fakes
279 | FakesAssemblies/
280 |
281 | # GhostDoc plugin setting file
282 | *.GhostDoc.xml
283 |
284 | # Node.js Tools for Visual Studio
285 | .ntvs_analysis.dat
286 | node_modules/
287 |
288 | # Visual Studio 6 build log
289 | *.plg
290 |
291 | # Visual Studio 6 workspace options file
292 | *.opt
293 |
294 | # Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
295 | *.vbw
296 |
297 | # Visual Studio LightSwitch build output
298 | **/*.HTMLClient/GeneratedArtifacts
299 | **/*.DesktopClient/GeneratedArtifacts
300 | **/*.DesktopClient/ModelManifest.xml
301 | **/*.Server/GeneratedArtifacts
302 | **/*.Server/ModelManifest.xml
303 | _Pvt_Extensions
304 |
305 | # Paket dependency manager
306 | .paket/paket.exe
307 | paket-files/
308 |
309 | # FAKE - F# Make
310 | .fake/
311 |
312 | # CodeRush personal settings
313 | .cr/personal
314 |
315 | # Python Tools for Visual Studio (PTVS)
316 | __pycache__/
317 | *.pyc
318 |
319 | # Cake - Uncomment if you are using it
320 | # tools/**
321 | # !tools/packages.config
322 |
323 | # Tabs Studio
324 | *.tss
325 |
326 | # Telerik's JustMock configuration file
327 | *.jmconfig
328 |
329 | # BizTalk build output
330 | *.btp.cs
331 | *.btm.cs
332 | *.odx.cs
333 | *.xsd.cs
334 |
335 | # OpenCover UI analysis results
336 | OpenCover/
337 |
338 | # Azure Stream Analytics local run output
339 | ASALocalRun/
340 |
341 | # MSBuild Binary and Structured Log
342 | *.binlog
343 |
344 | # NVidia Nsight GPU debugger configuration file
345 | *.nvuser
346 |
347 | # MFractors (Xamarin productivity tool) working folder
348 | .mfractor/
349 |
350 | # Local History for Visual Studio
351 | .localhistory/
352 |
353 | # BeatPulse healthcheck temp database
354 | healthchecksdb
355 |
356 | # Backup folder for Package Reference Convert tool in Visual Studio 2017
357 | MigrationBackup/
358 |
359 | # Ionide (cross platform F# VS Code tools) working folder
360 | .ionide/
361 |
362 | # Fody - auto-generated XML schema
363 | FodyWeavers.xsd
--------------------------------------------------------------------------------
/InstDrv/InstDrv.vcxproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Debug
6 | Win32
7 |
8 |
9 | Release
10 | Win32
11 |
12 |
13 | Debug
14 | x64
15 |
16 |
17 | Release
18 | x64
19 |
20 |
21 |
22 | 16.0
23 | {0215504E-F5E2-4935-83C9-59A0532BED92}
24 | 10.0
25 |
26 |
27 |
28 | Application
29 | true
30 | v142
31 | Unicode
32 |
33 |
34 | Application
35 | false
36 | v142
37 | Unicode
38 |
39 |
40 | Application
41 | true
42 | v142
43 | Unicode
44 |
45 |
46 | Application
47 | false
48 | v142
49 | Unicode
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 | true
71 |
72 |
73 | true
74 |
75 |
76 | false
77 | $(ProjectName)_x86
78 |
79 |
80 | false
81 | $(ProjectName)_x64
82 |
83 |
84 |
85 | Use
86 | Level3
87 | MultiThreadedDebug
88 | EditAndContinue
89 | EnableFastChecks
90 | Disabled
91 | WIN32;_WINDOWS;STRICT;_DEBUG;%(PreprocessorDefinitions)
92 |
93 |
94 | Windows
95 | true
96 | RequireAdministrator
97 |
98 |
99 | 0x0409
100 | $(IntDir);%(AdditionalIncludeDirectories)
101 | _DEBUG;%(PreprocessorDefinitions)
102 |
103 |
104 | false
105 | Win32
106 | _DEBUG;%(PreprocessorDefinitions)
107 | InstDrv.h
108 | InstDrv_i.c
109 | InstDrv_p.c
110 | true
111 | $(IntDir)/InstDrv.tlb
112 |
113 |
114 |
115 |
116 |
117 | Use
118 | Level3
119 | MultiThreadedDebug
120 | EditAndContinue
121 | EnableFastChecks
122 | Disabled
123 | _WINDOWS;STRICT;_DEBUG;%(PreprocessorDefinitions)
124 |
125 |
126 | Windows
127 | true
128 | RequireAdministrator
129 |
130 |
131 | 0x0409
132 | $(IntDir);%(AdditionalIncludeDirectories)
133 | _DEBUG;%(PreprocessorDefinitions)
134 |
135 |
136 | false
137 | _DEBUG;%(PreprocessorDefinitions)
138 | InstDrv.h
139 | InstDrv_i.c
140 | InstDrv_p.c
141 | true
142 | $(IntDir)/InstDrv.tlb
143 |
144 |
145 |
146 |
147 |
148 | Use
149 | Level3
150 | MultiThreaded
151 |
152 |
153 | WIN32;_WINDOWS;STRICT;NDEBUG;%(PreprocessorDefinitions)
154 |
155 |
156 | Windows
157 | RequireAdministrator
158 |
159 |
160 | 0x0409
161 | $(IntDir);%(AdditionalIncludeDirectories)
162 | NDEBUG;%(PreprocessorDefinitions)
163 |
164 |
165 | false
166 | Win32
167 | NDEBUG;%(PreprocessorDefinitions)
168 | InstDrv.h
169 | InstDrv_i.c
170 | InstDrv_p.c
171 | true
172 | $(IntDir)/InstDrv.tlb
173 |
174 |
175 |
176 |
177 |
178 | Use
179 | Level3
180 | MultiThreaded
181 |
182 |
183 | _WINDOWS;STRICT;NDEBUG;%(PreprocessorDefinitions)
184 |
185 |
186 | Windows
187 | RequireAdministrator
188 |
189 |
190 | 0x0409
191 | $(IntDir);%(AdditionalIncludeDirectories)
192 | NDEBUG;%(PreprocessorDefinitions)
193 |
194 |
195 | false
196 | NDEBUG;%(PreprocessorDefinitions)
197 | InstDrv.h
198 | InstDrv_i.c
199 | InstDrv_p.c
200 | true
201 | $(IntDir)/InstDrv.tlb
202 |
203 |
204 |
205 |
206 |
207 |
208 |
209 | Create
210 | Create
211 | Create
212 | Create
213 |
214 |
215 |
216 |
217 |
218 |
219 |
220 |
221 |
222 |
223 |
224 |
225 |
226 |
227 |
228 |
229 |
230 |
231 |
232 |
233 |
234 |
235 |
236 |
237 |
238 | This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.
239 |
240 |
241 |
242 |
243 |
--------------------------------------------------------------------------------
/InstDrv/RCa55000:
--------------------------------------------------------------------------------
1 | # l i n e 1 " F : \ \ c p p \ \ I n s t D r v \ \ I n s t D r v \ \ I n s t D r v . r c "
2 | # l i n e 1
3 | / / M i c r o s o f t V i s u a l C + + g e n e r a t e d r e s o u r c e s c r i p t .
4 | / /
5 | # i n c l u d e " r e s o u r c e . h "
6 | # l i n e 5
7 | # d e f i n e A P S T U D I O _ R E A D O N L Y _ S Y M B O L S
8 | / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / /
9 | / /
10 | / / G e n e r a t e d f r o m t h e T E X T I N C L U D E 2 r e s o u r c e .
11 | / /
12 | # i n c l u d e " a t l r e s . h "
13 | # l i n e 1 2
14 | / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / /
15 | # u n d e f A P S T U D I O _ R E A D O N L Y _ S Y M B O L S
16 | # l i n e 1 5
17 | / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / /
18 | / / E n g l i s h ( U . S . ) r e s o u r c e s
19 | # l i n e 1 8
20 | # i f ! d e f i n e d ( A F X _ R E S O U R C E _ D L L ) | | d e f i n e d ( A F X _ T A R G _ E N U )
21 | # i f d e f _ W I N 3 2
22 | L A N G U A G E L A N G _ E N G L I S H , S U B L A N G _ E N G L I S H _ U S
23 | # p r a g m a c o d e _ p a g e ( 1 2 5 2 )
24 | # e n d i f / / _ W I N 3 2
25 | # l i n e 2 4
26 | # i f d e f A P S T U D I O _ I N V O K E D
27 | / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / /
28 | / /
29 | / / T E X T I N C L U D E
30 | / /
31 | # l i n e 3 0
32 | 1 T E X T I N C L U D E
33 | B E G I N
34 | " r e s o u r c e . h \ 0 "
35 | E N D
36 | # l i n e 3 5
37 | 2 T E X T I N C L U D E
38 | B E G I N
39 | " # i n c l u d e " " a t l r e s . h " " \ r \ n "
40 | " \ 0 "
41 | E N D
42 | # l i n e 4 1
43 | 3 T E X T I N C L U D E
44 | B E G I N
45 | " \ 0 "
46 | E N D
47 | # l i n e 4 6
48 | # e n d i f / / A P S T U D I O _ I N V O K E D
49 | # l i n e 4 9
50 | / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / /
51 | / /
52 | / / I c o n
53 | / /
54 | # l i n e 5 4
55 | / / I c o n w i t h l o w e s t I D v a l u e p l a c e d f i r s t t o e n s u r e a p p l i c a t i o n i c o n
56 | / / r e m a i n s c o n s i s t e n t o n a l l s y s t e m s .
57 | I D R _ M A I N F R A M E I C O N " r e s \ \ I n s t D r v . i c o "
58 | # l i n e 5 8
59 | / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / /
60 | / /
61 | / / D i a l o g
62 | / /
63 | # l i n e 6 3
64 | I D D _ A B O U T B O X D I A L O G 0 , 0 , 1 8 7 , 1 0 2
65 | S T Y L E D S _ M O D A L F R A M E | W S _ P O P U P | W S _ C A P T I O N | W S _ S Y S M E N U
66 | C A P T I O N " A b o u t "
67 | F O N T 9 , " S e g o e U I "
68 | B E G I N
69 | D E F P U S H B U T T O N " O K " , I D O K , 1 3 0 , 8 1 , 5 0 , 1 4
70 | C T E X T " I n s t D r v A p p l i c a t i o n v 1 . 0 \ n \ n ( c ) C o p y r i g h t 2 0 2 3 " , I D C _ S T A T I C , 2 5 , 5 7 , 7 8 ,
71 | 3 2
72 | I C O N I D R _ M A I N F R A M E , I D C _ S T A T I C , 5 5 , 2 6 , 1 8 , 2 0
73 | G R O U P B O X " " , I D C _ S T A T I C , 7 , 7 , 1 1 5 , 8 8
74 | E N D
75 | # l i n e 7 5
76 | I D D _ M A I N D L G D I A L O G 0 , 0 , 1 8 7 , 9 8
77 | S T Y L E W S _ M I N I M I Z E B O X | W S _ C A P T I O N | W S _ S Y S M E N U
78 | C A P T I O N " I n s t D r v "
79 | F O N T 9 , " S e g o e U I "
80 | B E G I N
81 | D E F P U S H B U T T O N " O K " , I D O K , 1 3 0 , 7 , 5 0 , 1 4
82 | P U S H B U T T O N " C a n c e l " , I D C A N C E L , 1 3 0 , 2 4 , 5 0 , 1 4
83 | P U S H B U T T O N " &