tst: passthrough: reorg project

This commit is contained in:
Bill Zissimopoulos 2017-01-28 12:34:10 -08:00
parent f97ef5704f
commit 960c627924
6 changed files with 13 additions and 20 deletions

View File

@ -262,7 +262,6 @@
<Component Id="C.passthrough.c">
<File Name="passthrough.c" KeyPath="yes" />
</Component>
<Directory Id="SMPDIR.passthrough.passthrough" Name="passthrough">
<Component Id="C.passthrough.sln">
<File Name="passthrough.sln" KeyPath="yes" />
</Component>
@ -273,7 +272,6 @@
<File Name="passthrough.vcxproj.filters" KeyPath="yes" />
</Component>
</Directory>
</Directory>
</DirectoryRef>
<DirectoryRef Id="SYMDIR">
<Component Id="C.winfsp_x64.sys.pdb">

View File

@ -895,7 +895,6 @@ static NTSTATUS WinFspLoad(VOID)
#endif
#define FSP_DLLPATH "bin\\" FSP_DLLNAME
LONG WINAPI __HrLoadAllImportsForDll(CONST CHAR *);
WCHAR PathBuf[MAX_PATH - (sizeof L"" FSP_DLLPATH / sizeof(WCHAR) - 1)];
DWORD Size;
LONG Result;
@ -916,10 +915,6 @@ static NTSTATUS WinFspLoad(VOID)
Module = LoadLibraryW(PathBuf);
if (0 == Module)
return STATUS_DLL_NOT_FOUND;
Result = __HrLoadAllImportsForDll(FSP_DLLNAME);
if (0 > Result)
return STATUS_DELAY_LOAD_FAILED;
}
return STATUS_SUCCESS;

View File

@ -18,6 +18,9 @@
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<ItemGroup>
<ClCompile Include="passthrough.c" />
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{9E0E5997-7316-4818-A130-00B3AF1AD354}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
@ -173,9 +176,6 @@
<DelayLoadDLLs>winfsp-$(PlatformTarget).dll</DelayLoadDLLs>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\passthrough.c" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>

View File

@ -7,7 +7,7 @@
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\passthrough.c">
<ClCompile Include="passthrough.c">
<Filter>Source</Filter>
</ClCompile>
</ItemGroup>