From ceb46a8c550c0571240b3e1f8cf8ced050cc291a Mon Sep 17 00:00:00 2001 From: Bill Zissimopoulos Date: Wed, 25 Nov 2015 14:24:59 -0800 Subject: [PATCH] add winfsp.dll project --- build/VStudio/winfsp.sln | 12 +- build/VStudio/winfsp_dll.vcxproj | 175 ++++++++++++++++++ build/VStudio/winfsp_dll.vcxproj.filters | 29 +++ .../{winfsp.vcxproj => winfsp_sys.vcxproj} | 0 ...roj.filters => winfsp_sys.vcxproj.filters} | 0 inc/winfsp/winfsp.h | 1 + src/dll/fsctl.c | 8 + src/lib/winfsp.h | 0 8 files changed, 224 insertions(+), 1 deletion(-) create mode 100644 build/VStudio/winfsp_dll.vcxproj create mode 100644 build/VStudio/winfsp_dll.vcxproj.filters rename build/VStudio/{winfsp.vcxproj => winfsp_sys.vcxproj} (100%) rename build/VStudio/{winfsp.vcxproj.filters => winfsp_sys.vcxproj.filters} (100%) create mode 100644 src/dll/fsctl.c delete mode 100644 src/lib/winfsp.h diff --git a/build/VStudio/winfsp.sln b/build/VStudio/winfsp.sln index 03955569..ba3cef29 100644 --- a/build/VStudio/winfsp.sln +++ b/build/VStudio/winfsp.sln @@ -3,7 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 14 VisualStudioVersion = 14.0.23107.0 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "winfsp", "winfsp.vcxproj", "{C85C26BA-8C22-4D30-83DA-46C3548E6332}" +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "winfsp.dll", "winfsp_dll.vcxproj", "{4A7C0B21-9E10-4C81-92DE-1493EFCF24EB}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "winfsp.sys", "winfsp_sys.vcxproj", "{C85C26BA-8C22-4D30-83DA-46C3548E6332}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -13,6 +15,14 @@ Global Release|x86 = Release|x86 EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution + {4A7C0B21-9E10-4C81-92DE-1493EFCF24EB}.Debug|x64.ActiveCfg = Debug|x64 + {4A7C0B21-9E10-4C81-92DE-1493EFCF24EB}.Debug|x64.Build.0 = Debug|x64 + {4A7C0B21-9E10-4C81-92DE-1493EFCF24EB}.Debug|x86.ActiveCfg = Debug|Win32 + {4A7C0B21-9E10-4C81-92DE-1493EFCF24EB}.Debug|x86.Build.0 = Debug|Win32 + {4A7C0B21-9E10-4C81-92DE-1493EFCF24EB}.Release|x64.ActiveCfg = Release|x64 + {4A7C0B21-9E10-4C81-92DE-1493EFCF24EB}.Release|x64.Build.0 = Release|x64 + {4A7C0B21-9E10-4C81-92DE-1493EFCF24EB}.Release|x86.ActiveCfg = Release|Win32 + {4A7C0B21-9E10-4C81-92DE-1493EFCF24EB}.Release|x86.Build.0 = Release|Win32 {C85C26BA-8C22-4D30-83DA-46C3548E6332}.Debug|x64.ActiveCfg = Debug|x64 {C85C26BA-8C22-4D30-83DA-46C3548E6332}.Debug|x64.Build.0 = Debug|x64 {C85C26BA-8C22-4D30-83DA-46C3548E6332}.Debug|x86.ActiveCfg = Debug|Win32 diff --git a/build/VStudio/winfsp_dll.vcxproj b/build/VStudio/winfsp_dll.vcxproj new file mode 100644 index 00000000..b03b1b0d --- /dev/null +++ b/build/VStudio/winfsp_dll.vcxproj @@ -0,0 +1,175 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + Debug + x64 + + + Release + x64 + + + + {4A7C0B21-9E10-4C81-92DE-1493EFCF24EB} + Win32Proj + winfspdll + 8.1 + winfsp.dll + + + + DynamicLibrary + true + v140 + Unicode + + + DynamicLibrary + false + v140 + true + Unicode + + + DynamicLibrary + true + v140 + Unicode + + + DynamicLibrary + false + v140 + true + Unicode + + + + + + + + + + + + + + + + + + + + + true + $(SolutionDir)build\$(Configuration)\ + $(SolutionDir)build\$(ProjectName).build\$(Configuration)\$(PlatformTarget)\ + $(MSBuildProjectName)-$(PlatformTarget) + + + true + $(SolutionDir)build\$(Configuration)\ + $(SolutionDir)build\$(ProjectName).build\$(Configuration)\$(PlatformTarget)\ + $(MSBuildProjectName)-$(PlatformTarget) + + + false + $(SolutionDir)build\$(Configuration)\ + $(SolutionDir)build\$(ProjectName).build\$(Configuration)\$(PlatformTarget)\ + $(MSBuildProjectName)-$(PlatformTarget) + + + false + $(SolutionDir)build\$(Configuration)\ + $(SolutionDir)build\$(ProjectName).build\$(Configuration)\$(PlatformTarget)\ + $(MSBuildProjectName)-$(PlatformTarget) + + + + + + Level3 + Disabled + WIN32;_DEBUG;_WINDOWS;_USRDLL;WINFSPDLL_EXPORTS;%(PreprocessorDefinitions) + true + ..\..\inc;..\..\src + + + Windows + true + + + + + + + Level3 + Disabled + _DEBUG;_WINDOWS;_USRDLL;WINFSPDLL_EXPORTS;%(PreprocessorDefinitions) + true + ..\..\inc;..\..\src + + + Windows + true + + + + + Level3 + + + MaxSpeed + true + true + WIN32;NDEBUG;_WINDOWS;_USRDLL;WINFSPDLL_EXPORTS;%(PreprocessorDefinitions) + true + ..\..\inc;..\..\src + + + Windows + true + true + true + + + + + Level3 + + + MaxSpeed + true + true + NDEBUG;_WINDOWS;_USRDLL;WINFSPDLL_EXPORTS;%(PreprocessorDefinitions) + true + ..\..\inc;..\..\src + + + Windows + true + true + true + + + + + + + + + + + + + \ No newline at end of file diff --git a/build/VStudio/winfsp_dll.vcxproj.filters b/build/VStudio/winfsp_dll.vcxproj.filters new file mode 100644 index 00000000..03c515d9 --- /dev/null +++ b/build/VStudio/winfsp_dll.vcxproj.filters @@ -0,0 +1,29 @@ + + + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hh;hpp;hxx;hm;inl;inc;xsd + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx + + + {1d6501f4-cebd-4a00-a774-deb782b59fb5} + + + + + Source + + + + + Include\winfsp + + + Include\winfsp + + + \ No newline at end of file diff --git a/build/VStudio/winfsp.vcxproj b/build/VStudio/winfsp_sys.vcxproj similarity index 100% rename from build/VStudio/winfsp.vcxproj rename to build/VStudio/winfsp_sys.vcxproj diff --git a/build/VStudio/winfsp.vcxproj.filters b/build/VStudio/winfsp_sys.vcxproj.filters similarity index 100% rename from build/VStudio/winfsp.vcxproj.filters rename to build/VStudio/winfsp_sys.vcxproj.filters diff --git a/inc/winfsp/winfsp.h b/inc/winfsp/winfsp.h index e973ee53..da1b6314 100644 --- a/inc/winfsp/winfsp.h +++ b/inc/winfsp/winfsp.h @@ -10,6 +10,7 @@ #define WIN32_NO_STATUS #include #undef WIN32_NO_STATUS +#include #include #endif diff --git a/src/dll/fsctl.c b/src/dll/fsctl.c new file mode 100644 index 00000000..0e008698 --- /dev/null +++ b/src/dll/fsctl.c @@ -0,0 +1,8 @@ +/** + * @file dll/fsctl.c + * + * @copyright 2015 Bill Zissimopoulos + */ + +#include +#include diff --git a/src/lib/winfsp.h b/src/lib/winfsp.h deleted file mode 100644 index e69de29b..00000000