Skip to content

Commit 6e269f7

Browse files
file versioning added to ZFS driver files
1 parent 641202c commit 6e269f7

28 files changed

+933
-0
lines changed

ZFSin/Resource.rc

+110
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,110 @@
1+
// Microsoft Visual C++ generated resource script.
2+
//
3+
#include "resource.h"
4+
5+
#define APSTUDIO_READONLY_SYMBOLS
6+
/////////////////////////////////////////////////////////////////////////////
7+
//
8+
// Generated from the TEXTINCLUDE 2 resource.
9+
//
10+
#include "winres.h"
11+
12+
/////////////////////////////////////////////////////////////////////////////
13+
#undef APSTUDIO_READONLY_SYMBOLS
14+
15+
/////////////////////////////////////////////////////////////////////////////
16+
// English (United States) resources
17+
18+
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
19+
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
20+
#pragma code_page(1252)
21+
22+
#ifdef APSTUDIO_INVOKED
23+
/////////////////////////////////////////////////////////////////////////////
24+
//
25+
// TEXTINCLUDE
26+
//
27+
28+
1 TEXTINCLUDE
29+
BEGIN
30+
"resource.h\0"
31+
END
32+
33+
2 TEXTINCLUDE
34+
BEGIN
35+
"#include ""winres.h""\r\n"
36+
"\0"
37+
END
38+
39+
3 TEXTINCLUDE
40+
BEGIN
41+
"\r\n"
42+
"\0"
43+
END
44+
45+
#endif // APSTUDIO_INVOKED
46+
47+
#endif // English (United States) resources
48+
/////////////////////////////////////////////////////////////////////////////
49+
50+
51+
/////////////////////////////////////////////////////////////////////////////
52+
// English (India) resources
53+
54+
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENN)
55+
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_INDIA
56+
#pragma code_page(1252)
57+
58+
/////////////////////////////////////////////////////////////////////////////
59+
//
60+
// Version
61+
//
62+
63+
VS_VERSION_INFO VERSIONINFO
64+
FILEVERSION 1,0,0,1
65+
PRODUCTVERSION 1,0,0,1
66+
FILEFLAGSMASK 0x3fL
67+
#ifdef _DEBUG
68+
FILEFLAGS 0x1L
69+
#else
70+
FILEFLAGS 0x0L
71+
#endif
72+
FILEOS 0x40004L
73+
FILETYPE 0x34303234L
74+
FILESUBTYPE 0x0L
75+
BEGIN
76+
BLOCK "StringFileInfo"
77+
BEGIN
78+
BLOCK "400904b0"
79+
BEGIN
80+
VALUE "CompanyName", "DataCore Software Corporation"
81+
VALUE "FileDescription", "ZFSin.sys"
82+
VALUE "FileVersion", "1.0.0.1"
83+
VALUE "InternalName", "ZFSin.sys"
84+
VALUE "LegalCopyright", "Copyright � 2021 DataCore Software Corporation"
85+
VALUE "OriginalFilename", "ZFSin.sys"
86+
VALUE "ProductName", "ZFSin.sys"
87+
VALUE "ProductVersion", "1.0.0.1"
88+
END
89+
END
90+
BLOCK "VarFileInfo"
91+
BEGIN
92+
VALUE "Translation", 0x4009, 1200
93+
END
94+
END
95+
96+
#endif // English (India) resources
97+
/////////////////////////////////////////////////////////////////////////////
98+
99+
100+
101+
#ifndef APSTUDIO_INVOKED
102+
/////////////////////////////////////////////////////////////////////////////
103+
//
104+
// Generated from the TEXTINCLUDE 3 resource.
105+
//
106+
107+
108+
/////////////////////////////////////////////////////////////////////////////
109+
#endif // not APSTUDIO_INVOKED
110+

ZFSin/ZFSin.vcxproj

+4
Original file line numberDiff line numberDiff line change
@@ -529,6 +529,7 @@
529529
<ClCompile Include="zfs\module\zfs\zvol.c" />
530530
</ItemGroup>
531531
<ItemGroup>
532+
<ClInclude Include="resource.h" />
532533
<ClInclude Include="zfs\include\sys\abd.h" />
533534
<ClInclude Include="zfs\include\sys\aggsum.h" />
534535
<ClInclude Include="zfs\include\sys\arc.h" />
@@ -697,6 +698,9 @@
697698
<None Include="..\README.md" />
698699
<None Include="..\Testing.md" />
699700
</ItemGroup>
701+
<ItemGroup>
702+
<ResourceCompile Include="Resource.rc" />
703+
</ItemGroup>
700704
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
701705
<ImportGroup Label="ExtensionTargets">
702706
</ImportGroup>

ZFSin/ZFSin.vcxproj.filters

+11
Original file line numberDiff line numberDiff line change
@@ -1298,9 +1298,20 @@
12981298
<ClInclude Include="zfs\include\sys\zvolIO.h">
12991299
<Filter>Header Files</Filter>
13001300
</ClInclude>
1301+
<ClInclude Include="zfs\include\sys\zfs_file.h">
1302+
<Filter>Header Files</Filter>
1303+
</ClInclude>
1304+
<ClInclude Include="resource.h">
1305+
<Filter>Header Files</Filter>
1306+
</ClInclude>
13011307
</ItemGroup>
13021308
<ItemGroup>
13031309
<None Include="..\README.md" />
13041310
<None Include="..\Testing.md" />
13051311
</ItemGroup>
1312+
<ItemGroup>
1313+
<ResourceCompile Include="Resource.rc">
1314+
<Filter>Resource Files</Filter>
1315+
</ResourceCompile>
1316+
</ItemGroup>
13061317
</Project>

ZFSin/resource.h

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
//{{NO_DEPENDENCIES}}
2+
// Microsoft Visual C++ generated include file.
3+
// Used by Resource.rc
4+
5+
// Next default values for new objects
6+
//
7+
#ifdef APSTUDIO_INVOKED
8+
#ifndef APSTUDIO_READONLY_SYMBOLS
9+
#define _APS_NEXT_RESOURCE_VALUE 101
10+
#define _APS_NEXT_COMMAND_VALUE 40001
11+
#define _APS_NEXT_CONTROL_VALUE 1001
12+
#define _APS_NEXT_SYMED_VALUE 101
13+
#endif
14+
#endif

ZFSin/zfs/cmd/kstat/Resource.rc

+109
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
1+
// Microsoft Visual C++ generated resource script.
2+
//
3+
#include "resource.h"
4+
5+
#define APSTUDIO_READONLY_SYMBOLS
6+
/////////////////////////////////////////////////////////////////////////////
7+
//
8+
// Generated from the TEXTINCLUDE 2 resource.
9+
//
10+
#include "winres.h"
11+
12+
/////////////////////////////////////////////////////////////////////////////
13+
#undef APSTUDIO_READONLY_SYMBOLS
14+
15+
/////////////////////////////////////////////////////////////////////////////
16+
// English (United States) resources
17+
18+
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
19+
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
20+
#pragma code_page(1252)
21+
22+
#ifdef APSTUDIO_INVOKED
23+
/////////////////////////////////////////////////////////////////////////////
24+
//
25+
// TEXTINCLUDE
26+
//
27+
28+
1 TEXTINCLUDE
29+
BEGIN
30+
"resource.h\0"
31+
END
32+
33+
2 TEXTINCLUDE
34+
BEGIN
35+
"#include ""winres.h""\r\n"
36+
"\0"
37+
END
38+
39+
3 TEXTINCLUDE
40+
BEGIN
41+
"\r\n"
42+
"\0"
43+
END
44+
45+
#endif // APSTUDIO_INVOKED
46+
47+
#endif // English (United States) resources
48+
/////////////////////////////////////////////////////////////////////////////
49+
50+
51+
/////////////////////////////////////////////////////////////////////////////
52+
// English (India) resources
53+
54+
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENN)
55+
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_INDIA
56+
#pragma code_page(1252)
57+
58+
/////////////////////////////////////////////////////////////////////////////
59+
//
60+
// Version
61+
//
62+
63+
VS_VERSION_INFO VERSIONINFO
64+
FILEVERSION 1,0,0,1
65+
PRODUCTVERSION 1,0,0,1
66+
FILEFLAGSMASK 0x3fL
67+
#ifdef _DEBUG
68+
FILEFLAGS 0x1L
69+
#else
70+
FILEFLAGS 0x0L
71+
#endif
72+
FILEOS 0x40004L
73+
FILETYPE 0x1L
74+
FILESUBTYPE 0x0L
75+
BEGIN
76+
BLOCK "StringFileInfo"
77+
BEGIN
78+
BLOCK "400904b0"
79+
BEGIN
80+
VALUE "CompanyName", "DataCore Software Corporation"
81+
VALUE "FileDescription", "kstat.exe"
82+
VALUE "FileVersion", "1.0.0.1"
83+
VALUE "LegalCopyright", "Copyright � 2021 DataCore Software Corporation"
84+
VALUE "OriginalFilename", "kstat.exe"
85+
VALUE "ProductName", "kstat.exe"
86+
VALUE "ProductVersion", "1.0.0.1"
87+
END
88+
END
89+
BLOCK "VarFileInfo"
90+
BEGIN
91+
VALUE "Translation", 0x4009, 1200
92+
END
93+
END
94+
95+
#endif // English (India) resources
96+
/////////////////////////////////////////////////////////////////////////////
97+
98+
99+
100+
#ifndef APSTUDIO_INVOKED
101+
/////////////////////////////////////////////////////////////////////////////
102+
//
103+
// Generated from the TEXTINCLUDE 3 resource.
104+
//
105+
106+
107+
/////////////////////////////////////////////////////////////////////////////
108+
#endif // not APSTUDIO_INVOKED
109+

ZFSin/zfs/cmd/kstat/kstat.vcxproj

+2
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
</ItemGroup>
2424
<ItemGroup>
2525
<ClInclude Include="kstat.h" />
26+
<ClInclude Include="resource.h" />
2627
</ItemGroup>
2728
<ItemGroup>
2829
<ProjectReference Include="..\..\lib\libkstat\libkstat.vcxproj">
@@ -31,6 +32,7 @@
3132
</ItemGroup>
3233
<ItemGroup>
3334
<ResourceCompile Include="..\..\resources\resources.rc" />
35+
<ResourceCompile Include="Resource.rc" />
3436
</ItemGroup>
3537
<PropertyGroup Label="Globals">
3638
<VCProjectVersion>15.0</VCProjectVersion>

ZFSin/zfs/cmd/kstat/kstat.vcxproj.filters

+6
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,16 @@
2323
<ClInclude Include="kstat.h">
2424
<Filter>Header Files</Filter>
2525
</ClInclude>
26+
<ClInclude Include="resource.h">
27+
<Filter>Header Files</Filter>
28+
</ClInclude>
2629
</ItemGroup>
2730
<ItemGroup>
2831
<ResourceCompile Include="..\..\resources\resources.rc">
2932
<Filter>Resource Files</Filter>
3033
</ResourceCompile>
34+
<ResourceCompile Include="Resource.rc">
35+
<Filter>Resource Files</Filter>
36+
</ResourceCompile>
3137
</ItemGroup>
3238
</Project>

ZFSin/zfs/cmd/kstat/resource.h

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
//{{NO_DEPENDENCIES}}
2+
// Microsoft Visual C++ generated include file.
3+
// Used by Resource.rc
4+
5+
// Next default values for new objects
6+
//
7+
#ifdef APSTUDIO_INVOKED
8+
#ifndef APSTUDIO_READONLY_SYMBOLS
9+
#define _APS_NEXT_RESOURCE_VALUE 101
10+
#define _APS_NEXT_COMMAND_VALUE 40001
11+
#define _APS_NEXT_CONTROL_VALUE 1001
12+
#define _APS_NEXT_SYMED_VALUE 101
13+
#endif
14+
#endif

0 commit comments

Comments
 (0)