mirror of
https://github.com/solemnwarning/directplay-lite
synced 2024-12-30 16:45:37 +01:00
Replace build.bat with VS projects and fix some compile errors.
This commit is contained in:
parent
25640cc67d
commit
c8fe35b819
6
.gitignore
vendored
6
.gitignore
vendored
@ -5,3 +5,9 @@
|
||||
*.exe
|
||||
*.pdb
|
||||
*.ilk
|
||||
*.vcxproj.user
|
||||
|
||||
Debug/
|
||||
Release/
|
||||
|
||||
/.vs/
|
||||
|
@ -10,7 +10,7 @@ Rather than being a full reimplementation of the DirectPlay specification, Direc
|
||||
|
||||
## Building
|
||||
|
||||
All programs and DLLs in the distribution can be built by running `build.bat` from the x86 Visual Studio command prompt.
|
||||
Use the `directplay-lite.sln` solution in Visual Studio 2017 or later.
|
||||
|
||||
## Using
|
||||
|
||||
|
176
build.bat
176
build.bat
@ -1,176 +0,0 @@
|
||||
@ECHO OFF
|
||||
|
||||
setlocal EnableDelayedExpansion
|
||||
|
||||
SET DEBUG=
|
||||
REM SET DEBUG=/debug
|
||||
|
||||
REM .obj files to be compiled from .cc source files
|
||||
SET CC_OBJS=^
|
||||
googletest/src/gtest-all.obj^
|
||||
googletest/src/gtest_main.obj
|
||||
|
||||
REM .obj files to be compiled from .cpp source files
|
||||
SET CPP_OBJS=^
|
||||
hookdll/hookdll.obj^
|
||||
src/AsyncHandleAllocator.obj^
|
||||
src/COMAPIException.obj^
|
||||
src/DirectPlay8Address.obj^
|
||||
src/DirectPlay8Peer.obj^
|
||||
src/dpnet.obj^
|
||||
src/EventObject.obj^
|
||||
src/HandleHandlingPool.obj^
|
||||
src/HostEnumerator.obj^
|
||||
src/Log.obj^
|
||||
src/network.obj^
|
||||
src/packet.obj^
|
||||
src/SendQueue.obj^
|
||||
tests/DirectPlay8Address.obj^
|
||||
tests/DirectPlay8Peer.obj^
|
||||
tests/HandleHandlingPool.obj^
|
||||
tests/PacketDeserialiser.obj^
|
||||
tests/PacketSerialiser.obj^
|
||||
tests/SendQueue.obj^
|
||||
tests/soak-peer-client.obj^
|
||||
tests/soak-peer-server.obj
|
||||
|
||||
REM .obj files to be compiled from .c source files
|
||||
SET C_OBJS=^
|
||||
minhook/src/buffer.obj^
|
||||
minhook/src/hde/hde32.obj^
|
||||
minhook/src/hde/hde64.obj^
|
||||
minhook/src/hook.obj^
|
||||
minhook/src/trampoline.obj
|
||||
|
||||
REM .obj files which will be linked into all-tests.exe
|
||||
SET TEST_OBJS=^
|
||||
googletest/src/gtest-all.obj^
|
||||
googletest/src/gtest_main.obj^
|
||||
src/AsyncHandleAllocator.obj^
|
||||
src/COMAPIException.obj^
|
||||
src/DirectPlay8Address.obj^
|
||||
src/DirectPlay8Peer.obj^
|
||||
src/EventObject.obj^
|
||||
src/HandleHandlingPool.obj^
|
||||
src/HostEnumerator.obj^
|
||||
src/Log.obj^
|
||||
src/network.obj^
|
||||
src/packet.obj^
|
||||
src/SendQueue.obj^
|
||||
tests/DirectPlay8Address.obj^
|
||||
tests/DirectPlay8Peer.obj^
|
||||
tests/HandleHandlingPool.obj^
|
||||
tests/PacketDeserialiser.obj^
|
||||
tests/PacketSerialiser.obj^
|
||||
tests/SendQueue.obj
|
||||
|
||||
SET TEST_LIBS=ws2_32.lib dxguid.lib ole32.lib iphlpapi.lib
|
||||
|
||||
SET HOOK_DLLS=ddraw dsound
|
||||
|
||||
SET HOOK_OBJS=^
|
||||
hookdll/hookdll.obj^
|
||||
minhook/src/buffer.obj^
|
||||
minhook/src/hde/hde32.obj^
|
||||
minhook/src/hde/hde64.obj^
|
||||
minhook/src/hook.obj^
|
||||
minhook/src/trampoline.obj^
|
||||
src/AsyncHandleAllocator.obj^
|
||||
src/COMAPIException.obj^
|
||||
src/DirectPlay8Address.obj^
|
||||
src/DirectPlay8Peer.obj^
|
||||
src/EventObject.obj^
|
||||
src/HandleHandlingPool.obj^
|
||||
src/HostEnumerator.obj^
|
||||
src/Log.obj^
|
||||
src/network.obj^
|
||||
src/packet.obj^
|
||||
src/SendQueue.obj
|
||||
|
||||
SET HOOK_LIBS=ws2_32.lib dxguid.lib ole32.lib iphlpapi.lib
|
||||
|
||||
SET DPNET_OBJS=^
|
||||
src/AsyncHandleAllocator.obj^
|
||||
src/COMAPIException.obj^
|
||||
src/DirectPlay8Address.obj^
|
||||
src/DirectPlay8Peer.obj^
|
||||
src/dpnet.obj^
|
||||
src/EventObject.obj^
|
||||
src/HandleHandlingPool.obj^
|
||||
src/HostEnumerator.obj^
|
||||
src/Log.obj^
|
||||
src/network.obj^
|
||||
src/packet.obj^
|
||||
src/SendQueue.obj
|
||||
|
||||
SET DPNET_LIBS=ws2_32.lib dxguid.lib ole32.lib iphlpapi.lib
|
||||
|
||||
SET CFLAGS=^
|
||||
/Zi^
|
||||
/EHsc^
|
||||
/DNOMINMAX^
|
||||
/I"include"^
|
||||
/I"minhook/include"^
|
||||
/I"googletest/include"^
|
||||
/I"googletest"
|
||||
|
||||
FOR %%o IN (%CC_OBJS%) DO (
|
||||
set obj=%%o
|
||||
echo ==
|
||||
echo == cl /c %CFLAGS% /Fo%%o !obj:~0,-4!.cc
|
||||
echo ==
|
||||
cl /c %CFLAGS% /Fo%%o !obj:~0,-4!.cc || exit /b
|
||||
echo:
|
||||
)
|
||||
|
||||
FOR %%o IN (%CPP_OBJS%) DO (
|
||||
set obj=%%o
|
||||
echo ==
|
||||
echo == cl /c %CFLAGS% /Fo%%o !obj:~0,-4!.cpp
|
||||
echo ==
|
||||
cl /c %CFLAGS% /Fo%%o !obj:~0,-4!.cpp || exit /b
|
||||
echo:
|
||||
)
|
||||
|
||||
FOR %%o IN (%C_OBJS%) DO (
|
||||
set obj=%%o
|
||||
echo ==
|
||||
echo == cl /c %CFLAGS% /Fo%%o !obj:~0,-4!.c
|
||||
echo ==
|
||||
cl /c %CFLAGS% /Fo%%o !obj:~0,-4!.c || exit /b
|
||||
echo:
|
||||
)
|
||||
|
||||
echo ==
|
||||
echo == link %DEBUG% /out:tests/all-tests.exe %TEST_OBJS% %TEST_LIBS%
|
||||
echo ==
|
||||
link %DEBUG% /out:tests/all-tests.exe %TEST_OBJS% %TEST_LIBS% || exit /b
|
||||
echo:
|
||||
|
||||
echo ==
|
||||
echo == link %DEBUG% /out:tests/soak-peer-client.exe tests/soak-peer-client.obj dxguid.lib ole32.lib
|
||||
echo ==
|
||||
link %DEBUG% /out:tests/soak-peer-client.exe tests/soak-peer-client.obj dxguid.lib ole32.lib || exit /b
|
||||
echo:
|
||||
|
||||
echo ==
|
||||
echo == link %DEBUG% /out:tests/soak-peer-server.exe tests/soak-peer-server.obj dxguid.lib ole32.lib
|
||||
echo ==
|
||||
link %DEBUG% /out:tests/soak-peer-server.exe tests/soak-peer-server.obj dxguid.lib ole32.lib || exit /b
|
||||
echo:
|
||||
|
||||
FOR %%o IN (%HOOK_DLLS%) DO (
|
||||
echo ==
|
||||
echo == ml /c /Cx /coff /Fo hookdll/%%o.obj hookdll/%%o.asm
|
||||
echo ==
|
||||
ml /c /Cx /coff /Fo hookdll/%%o.obj hookdll/%%o.asm || exit /b
|
||||
echo:
|
||||
|
||||
echo ==
|
||||
echo == link %DEBUG% /dll /out:hookdll/%%o.dll /def:hookdll/%%o.def hookdll/%%o.obj %HOOK_OBJS% %HOOK_LIBS%
|
||||
echo ==
|
||||
link %DEBUG% /dll /out:hookdll/%%o.dll /def:hookdll/%%o.def hookdll/%%o.obj %HOOK_OBJS% %HOOK_LIBS% || exit /b
|
||||
echo:
|
||||
)
|
||||
|
||||
link %DEBUG% /dll /out:dpnet.dll /def:src/dpnet.def %DPNET_OBJS% %DPNET_LIBS% || exit /b
|
12
directplay-lite.props
Normal file
12
directplay-lite.props
Normal file
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ImportGroup Label="PropertySheets" />
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup />
|
||||
<ItemDefinitionGroup>
|
||||
<ClCompile>
|
||||
<PreprocessorDefinitions>NOMINMAX;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup />
|
||||
</Project>
|
55
directplay-lite.sln
Normal file
55
directplay-lite.sln
Normal file
@ -0,0 +1,55 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 15
|
||||
VisualStudioVersion = 15.0.28307.102
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "directplay-lite", "directplay-lite\directplay-lite.vcxproj", "{6243E219-3927-43F6-9B5F-E34164900687}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "dpnet", "dpnet\dpnet.vcxproj", "{AE3053CB-1C4C-427E-B2B9-902CCB5DA4BA}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ddraw", "hookdll\ddraw\ddraw.vcxproj", "{55AAE098-DAC0-47A7-95EE-E9EAAB5742DD}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "minhook", "minhook\minhook.vcxproj", "{8F39F2E4-0EF8-40F7-AD96-F76F2F200B3F}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "dsound", "hookdll\dsound\dsound.vcxproj", "{DCDFDDD5-4D4B-4A62-BC02-079A54252B2A}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tests", "tests\tests.vcxproj", "{7DFB7CFB-C59A-44D8-A701-CA14D153EBF2}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|x86 = Debug|x86
|
||||
Release|x86 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{6243E219-3927-43F6-9B5F-E34164900687}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{6243E219-3927-43F6-9B5F-E34164900687}.Debug|x86.Build.0 = Debug|Win32
|
||||
{6243E219-3927-43F6-9B5F-E34164900687}.Release|x86.ActiveCfg = Release|Win32
|
||||
{6243E219-3927-43F6-9B5F-E34164900687}.Release|x86.Build.0 = Release|Win32
|
||||
{AE3053CB-1C4C-427E-B2B9-902CCB5DA4BA}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{AE3053CB-1C4C-427E-B2B9-902CCB5DA4BA}.Debug|x86.Build.0 = Debug|Win32
|
||||
{AE3053CB-1C4C-427E-B2B9-902CCB5DA4BA}.Release|x86.ActiveCfg = Release|Win32
|
||||
{AE3053CB-1C4C-427E-B2B9-902CCB5DA4BA}.Release|x86.Build.0 = Release|Win32
|
||||
{55AAE098-DAC0-47A7-95EE-E9EAAB5742DD}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{55AAE098-DAC0-47A7-95EE-E9EAAB5742DD}.Debug|x86.Build.0 = Debug|Win32
|
||||
{55AAE098-DAC0-47A7-95EE-E9EAAB5742DD}.Release|x86.ActiveCfg = Release|Win32
|
||||
{55AAE098-DAC0-47A7-95EE-E9EAAB5742DD}.Release|x86.Build.0 = Release|Win32
|
||||
{8F39F2E4-0EF8-40F7-AD96-F76F2F200B3F}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{8F39F2E4-0EF8-40F7-AD96-F76F2F200B3F}.Debug|x86.Build.0 = Debug|Win32
|
||||
{8F39F2E4-0EF8-40F7-AD96-F76F2F200B3F}.Release|x86.ActiveCfg = Release|Win32
|
||||
{8F39F2E4-0EF8-40F7-AD96-F76F2F200B3F}.Release|x86.Build.0 = Release|Win32
|
||||
{DCDFDDD5-4D4B-4A62-BC02-079A54252B2A}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{DCDFDDD5-4D4B-4A62-BC02-079A54252B2A}.Debug|x86.Build.0 = Debug|Win32
|
||||
{DCDFDDD5-4D4B-4A62-BC02-079A54252B2A}.Release|x86.ActiveCfg = Release|Win32
|
||||
{DCDFDDD5-4D4B-4A62-BC02-079A54252B2A}.Release|x86.Build.0 = Release|Win32
|
||||
{7DFB7CFB-C59A-44D8-A701-CA14D153EBF2}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{7DFB7CFB-C59A-44D8-A701-CA14D153EBF2}.Debug|x86.Build.0 = Debug|Win32
|
||||
{7DFB7CFB-C59A-44D8-A701-CA14D153EBF2}.Release|x86.ActiveCfg = Release|Win32
|
||||
{7DFB7CFB-C59A-44D8-A701-CA14D153EBF2}.Release|x86.Build.0 = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {1609DD77-56F8-463D-BDBD-C08334701561}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
93
directplay-lite/directplay-lite.vcxproj
Normal file
93
directplay-lite/directplay-lite.vcxproj
Normal file
@ -0,0 +1,93 @@
|
||||
<?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>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<VCProjectVersion>15.0</VCProjectVersion>
|
||||
<ProjectGuid>{6243E219-3927-43F6-9B5F-E34164900687}</ProjectGuid>
|
||||
<RootNamespace>dpnetlib</RootNamespace>
|
||||
<WindowsTargetPlatformVersion>10.0.17763.0</WindowsTargetPlatformVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
<CharacterSet>MultiByte</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>MultiByte</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" />
|
||||
<Import Project="..\directplay-lite.props" />
|
||||
</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" />
|
||||
<Import Project="..\directplay-lite.props" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<IncludePath>$(SolutionDir)include;$(IncludePath)</IncludePath>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<IncludePath>$(SolutionDir)include;$(IncludePath)</IncludePath>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
</ClCompile>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\src\AsyncHandleAllocator.cpp" />
|
||||
<ClCompile Include="..\src\COMAPIException.cpp" />
|
||||
<ClCompile Include="..\src\DirectPlay8Address.cpp" />
|
||||
<ClCompile Include="..\src\DirectPlay8Peer.cpp" />
|
||||
<ClCompile Include="..\src\EventObject.cpp" />
|
||||
<ClCompile Include="..\src\HandleHandlingPool.cpp" />
|
||||
<ClCompile Include="..\src\HostEnumerator.cpp" />
|
||||
<ClCompile Include="..\src\Log.cpp" />
|
||||
<ClCompile Include="..\src\network.cpp" />
|
||||
<ClCompile Include="..\src\packet.cpp" />
|
||||
<ClCompile Include="..\src\SendQueue.cpp" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
52
directplay-lite/directplay-lite.vcxproj.filters
Normal file
52
directplay-lite/directplay-lite.vcxproj.filters
Normal file
@ -0,0 +1,52 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup>
|
||||
<Filter Include="Source Files">
|
||||
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
|
||||
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
|
||||
</Filter>
|
||||
<Filter Include="Header Files">
|
||||
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
|
||||
<Extensions>h;hh;hpp;hxx;hm;inl;inc;ipp;xsd</Extensions>
|
||||
</Filter>
|
||||
<Filter Include="Resource Files">
|
||||
<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>
|
||||
<ClCompile Include="..\src\DirectPlay8Address.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\src\DirectPlay8Peer.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\src\EventObject.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\src\HandleHandlingPool.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\src\HostEnumerator.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\src\Log.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\src\network.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\src\packet.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\src\SendQueue.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\src\AsyncHandleAllocator.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\src\COMAPIException.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
</Project>
|
109
dpnet/dpnet.vcxproj
Normal file
109
dpnet/dpnet.vcxproj
Normal file
@ -0,0 +1,109 @@
|
||||
<?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>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\src\dpnet.cpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\directplay-lite\directplay-lite.vcxproj">
|
||||
<Project>{6243e219-3927-43f6-9b5f-e34164900687}</Project>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="..\src\dpnet.def" />
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<VCProjectVersion>15.0</VCProjectVersion>
|
||||
<ProjectGuid>{AE3053CB-1C4C-427E-B2B9-902CCB5DA4BA}</ProjectGuid>
|
||||
<Keyword>Win32Proj</Keyword>
|
||||
<RootNamespace>dpnetdll</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>
|
||||
<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" />
|
||||
<Import Project="..\directplay-lite.props" />
|
||||
</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" />
|
||||
<Import Project="..\directplay-lite.props" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
<IncludePath>$(SolutionDir)include;$(IncludePath)</IncludePath>
|
||||
<TargetName>dpnet</TargetName>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
<IncludePath>$(SolutionDir)include;$(IncludePath)</IncludePath>
|
||||
<TargetName>dpnet</TargetName>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<PreprocessorDefinitions>WIN32;_DEBUG;DPNETDLL_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<AdditionalDependencies>dxguid.lib;iphlpapi.lib;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<ModuleDefinitionFile>$(SolutionDir)src\dpnet.def</ModuleDefinitionFile>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<PreprocessorDefinitions>WIN32;NDEBUG;DPNETDLL_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<AdditionalDependencies>dxguid.lib;iphlpapi.lib;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<ModuleDefinitionFile>$(SolutionDir)src\dpnet.def</ModuleDefinitionFile>
|
||||
<ImageHasSafeExceptionHandlers />
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
27
dpnet/dpnet.vcxproj.filters
Normal file
27
dpnet/dpnet.vcxproj.filters
Normal file
@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup>
|
||||
<Filter Include="Source Files">
|
||||
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
|
||||
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
|
||||
</Filter>
|
||||
<Filter Include="Header Files">
|
||||
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
|
||||
<Extensions>h;hh;hpp;hxx;hm;inl;inc;ipp;xsd</Extensions>
|
||||
</Filter>
|
||||
<Filter Include="Resource Files">
|
||||
<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>
|
||||
<ClCompile Include="..\src\dpnet.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="..\src\dpnet.def">
|
||||
<Filter>Source Files</Filter>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
</Project>
|
127
hookdll/ddraw/ddraw.vcxproj
Normal file
127
hookdll/ddraw/ddraw.vcxproj
Normal file
@ -0,0 +1,127 @@
|
||||
<?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>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\hookdll.cpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\directplay-lite\directplay-lite.vcxproj">
|
||||
<Project>{6243e219-3927-43f6-9b5f-e34164900687}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\minhook\minhook.vcxproj">
|
||||
<Project>{8f39f2e4-0ef8-40f7-ad96-f76f2f200b3f}</Project>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<CustomBuild Include="ddraw.asm">
|
||||
<FileType>Document</FileType>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">ml /c /Cx /coff /Fo$(OutDir)%(Filename).obj %(FullPath)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(OutDir)%(Filename).obj</Outputs>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">ml /c /Cx /coff /Fo$(OutDir)%(Filename).obj %(FullPath)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(OutDir)%(Filename).obj</Outputs>
|
||||
<BuildInParallel Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</BuildInParallel>
|
||||
<BuildInParallel Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</BuildInParallel>
|
||||
</CustomBuild>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="ddraw.def" />
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<VCProjectVersion>15.0</VCProjectVersion>
|
||||
<ProjectGuid>{55AAE098-DAC0-47A7-95EE-E9EAAB5742DD}</ProjectGuid>
|
||||
<Keyword>Win32Proj</Keyword>
|
||||
<RootNamespace>ddraw</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>MultiByte</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>MultiByte</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" />
|
||||
<Import Project="..\..\directplay-lite.props" />
|
||||
</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" />
|
||||
<Import Project="..\..\directplay-lite.props" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
<IncludePath>$(SolutionDir)include;$(SolutionDir)minhook\include;$(IncludePath)</IncludePath>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
<IncludePath>$(SolutionDir)include;$(SolutionDir)minhook\include;$(IncludePath)</IncludePath>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<PreprocessorDefinitions>WIN32;_DEBUG;DDRAW_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<AdditionalDependencies>dxguid.lib;iphlpapi.lib;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<ModuleDefinitionFile>$(ProjectDir)$(MSBuildProjectName).def</ModuleDefinitionFile>
|
||||
</Link>
|
||||
<CustomBuild>
|
||||
<BuildInParallel>true</BuildInParallel>
|
||||
</CustomBuild>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<PreprocessorDefinitions>WIN32;NDEBUG;DDRAW_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<AdditionalDependencies>dxguid.lib;iphlpapi.lib;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<ModuleDefinitionFile>$(ProjectDir)$(MSBuildProjectName).def</ModuleDefinitionFile>
|
||||
<ImageHasSafeExceptionHandlers />
|
||||
</Link>
|
||||
<CustomBuild>
|
||||
<BuildInParallel>true</BuildInParallel>
|
||||
</CustomBuild>
|
||||
</ItemDefinitionGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
32
hookdll/ddraw/ddraw.vcxproj.filters
Normal file
32
hookdll/ddraw/ddraw.vcxproj.filters
Normal file
@ -0,0 +1,32 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup>
|
||||
<Filter Include="Source Files">
|
||||
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
|
||||
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
|
||||
</Filter>
|
||||
<Filter Include="Header Files">
|
||||
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
|
||||
<Extensions>h;hh;hpp;hxx;hm;inl;inc;ipp;xsd</Extensions>
|
||||
</Filter>
|
||||
<Filter Include="Resource Files">
|
||||
<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>
|
||||
<ClCompile Include="..\hookdll.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<CustomBuild Include="ddraw.asm">
|
||||
<Filter>Source Files</Filter>
|
||||
</CustomBuild>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="ddraw.def">
|
||||
<Filter>Source Files</Filter>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
</Project>
|
121
hookdll/dsound/dsound.vcxproj
Normal file
121
hookdll/dsound/dsound.vcxproj
Normal file
@ -0,0 +1,121 @@
|
||||
<?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>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\hookdll.cpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\directplay-lite\directplay-lite.vcxproj">
|
||||
<Project>{6243e219-3927-43f6-9b5f-e34164900687}</Project>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\minhook\minhook.vcxproj">
|
||||
<Project>{8f39f2e4-0ef8-40f7-ad96-f76f2f200b3f}</Project>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<CustomBuild Include="dsound.asm">
|
||||
<FileType>Document</FileType>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">ml /c /Cx /coff /Fo$(OutDir)%(Filename).obj %(FullPath)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(OutDir)%(Filename).obj</Outputs>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">ml /c /Cx /coff /Fo$(OutDir)%(Filename).obj %(FullPath)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(OutDir)%(Filename).obj</Outputs>
|
||||
<BuildInParallel Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</BuildInParallel>
|
||||
<BuildInParallel Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</BuildInParallel>
|
||||
</CustomBuild>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="dsound.def" />
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<VCProjectVersion>15.0</VCProjectVersion>
|
||||
<ProjectGuid>{DCDFDDD5-4D4B-4A62-BC02-079A54252B2A}</ProjectGuid>
|
||||
<Keyword>Win32Proj</Keyword>
|
||||
<RootNamespace>dsound</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>MultiByte</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>MultiByte</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" />
|
||||
<Import Project="..\..\directplay-lite.props" />
|
||||
</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" />
|
||||
<Import Project="..\..\directplay-lite.props" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
<IncludePath>$(SolutionDir)include;$(SolutionDir)minhook\include;$(IncludePath)</IncludePath>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
<IncludePath>$(SolutionDir)include;$(SolutionDir)minhook\include;$(IncludePath)</IncludePath>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<PreprocessorDefinitions>WIN32;NDEBUG;DSOUND_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<AdditionalDependencies>dxguid.lib;iphlpapi.lib;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<ModuleDefinitionFile>$(ProjectDir)$(MSBuildProjectName).def</ModuleDefinitionFile>
|
||||
<ImageHasSafeExceptionHandlers />
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<PreprocessorDefinitions>WIN32;_DEBUG;DSOUND_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<AdditionalDependencies>dxguid.lib;iphlpapi.lib;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<ModuleDefinitionFile>$(ProjectDir)$(MSBuildProjectName).def</ModuleDefinitionFile>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
30
hookdll/dsound/dsound.vcxproj.filters
Normal file
30
hookdll/dsound/dsound.vcxproj.filters
Normal file
@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup>
|
||||
<Filter Include="Source Files">
|
||||
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
|
||||
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
|
||||
</Filter>
|
||||
<Filter Include="Header Files">
|
||||
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
|
||||
<Extensions>h;hh;hpp;hxx;hm;inl;inc;ipp;xsd</Extensions>
|
||||
</Filter>
|
||||
<Filter Include="Resource Files">
|
||||
<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>
|
||||
<ClCompile Include="..\hookdll.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="dsound.asm">
|
||||
<Filter>Source Files</Filter>
|
||||
</None>
|
||||
<None Include="dsound.def">
|
||||
<Filter>Source Files</Filter>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
</Project>
|
106
minhook/minhook.vcxproj
Normal file
106
minhook/minhook.vcxproj
Normal file
@ -0,0 +1,106 @@
|
||||
<?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>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="src\buffer.c" />
|
||||
<ClCompile Include="src\hde\hde32.c" />
|
||||
<ClCompile Include="src\hde\hde64.c" />
|
||||
<ClCompile Include="src\hook.c" />
|
||||
<ClCompile Include="src\trampoline.c" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="include\MinHook.h" />
|
||||
<ClInclude Include="src\buffer.h" />
|
||||
<ClInclude Include="src\hde\hde32.h" />
|
||||
<ClInclude Include="src\hde\hde64.h" />
|
||||
<ClInclude Include="src\hde\pstdint.h" />
|
||||
<ClInclude Include="src\hde\table32.h" />
|
||||
<ClInclude Include="src\hde\table64.h" />
|
||||
<ClInclude Include="src\trampoline.h" />
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<VCProjectVersion>15.0</VCProjectVersion>
|
||||
<ProjectGuid>{8F39F2E4-0EF8-40F7-AD96-F76F2F200B3F}</ProjectGuid>
|
||||
<Keyword>Win32Proj</Keyword>
|
||||
<RootNamespace>minhook</RootNamespace>
|
||||
<WindowsTargetPlatformVersion>10.0.17763.0</WindowsTargetPlatformVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</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" />
|
||||
<Import Project="..\directplay-lite.props" />
|
||||
</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" />
|
||||
<Import Project="..\directplay-lite.props" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<PreprocessorDefinitions>WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
60
minhook/minhook.vcxproj.filters
Normal file
60
minhook/minhook.vcxproj.filters
Normal file
@ -0,0 +1,60 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup>
|
||||
<Filter Include="Source Files">
|
||||
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
|
||||
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
|
||||
</Filter>
|
||||
<Filter Include="Header Files">
|
||||
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
|
||||
<Extensions>h;hh;hpp;hxx;hm;inl;inc;ipp;xsd</Extensions>
|
||||
</Filter>
|
||||
<Filter Include="Resource Files">
|
||||
<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>
|
||||
<ClCompile Include="src\hde\hde32.c">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\hde\hde64.c">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\hook.c">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\trampoline.c">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="src\buffer.c">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="include\MinHook.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="src\buffer.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="src\trampoline.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="src\hde\hde64.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="src\hde\pstdint.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="src\hde\table32.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="src\hde\table64.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="src\hde\hde32.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
</Project>
|
@ -151,8 +151,8 @@ HRESULT DirectPlay8Peer::Initialize(PVOID CONST pvUserContext, CONST PFNDPNMESSA
|
||||
|
||||
HRESULT DirectPlay8Peer::EnumServiceProviders(CONST GUID* CONST pguidServiceProvider, CONST GUID* CONST pguidApplication, DPN_SERVICE_PROVIDER_INFO* CONST pSPInfoBuffer, DWORD* CONST pcbEnumData, DWORD* CONST pcReturned, CONST DWORD dwFlags)
|
||||
{
|
||||
static const DPN_SERVICE_PROVIDER_INFO IP_INFO = { 0, CLSID_DP8SP_TCPIP, L"DirectPlay8 TCP/IP Service Provider", 0, 0 };
|
||||
static const DPN_SERVICE_PROVIDER_INFO IPX_INFO = { 0, CLSID_DP8SP_IPX, L"DirectPlay8 IPX Service Provider", 0, 0 };
|
||||
static const DPN_SERVICE_PROVIDER_INFO IP_INFO = { 0, CLSID_DP8SP_TCPIP, (WCHAR*)(L"DirectPlay8 TCP/IP Service Provider"), 0, 0 };
|
||||
static const DPN_SERVICE_PROVIDER_INFO IPX_INFO = { 0, CLSID_DP8SP_IPX, (WCHAR*)(L"DirectPlay8 IPX Service Provider"), 0, 0 };
|
||||
|
||||
std::unique_lock<std::mutex> l(lock);
|
||||
|
||||
|
@ -27,7 +27,7 @@
|
||||
#include "Messages.hpp"
|
||||
#include "packet.hpp"
|
||||
|
||||
const GUID GUID_NULL = { 0, 0, 0, { 0, 0, 0, 0, 0, 0, 0, 0 } };
|
||||
// const GUID GUID_NULL = { 0, 0, 0, { 0, 0, 0, 0, 0, 0, 0, 0 } };
|
||||
|
||||
HostEnumerator::HostEnumerator(
|
||||
std::atomic<unsigned int> * const global_refcount,
|
||||
|
@ -155,6 +155,10 @@ SendQueue::SendOp *SendQueue::remove_queued_by_priority(SendPriority priority)
|
||||
case SEND_PRI_HIGH:
|
||||
queue = &high_queue;
|
||||
break;
|
||||
|
||||
default:
|
||||
/* Unreachable. */
|
||||
abort();
|
||||
}
|
||||
|
||||
for(auto it = queue->begin(); it != queue->end(); ++it)
|
||||
|
@ -2749,7 +2749,7 @@ TEST(DirectPlay8Peer, HostPeerSoftClose)
|
||||
|
||||
app_desc.dwSize = sizeof(app_desc);
|
||||
app_desc.guidApplication = APP_GUID_1;
|
||||
app_desc.pwszSessionName = L"Session 1";
|
||||
app_desc.pwszSessionName = (WCHAR*)(L"Session 1");
|
||||
|
||||
IDP8AddressInstance host_addr(CLSID_DP8SP_TCPIP, PORT);
|
||||
|
||||
@ -2992,7 +2992,7 @@ TEST(DirectPlay8Peer, HostPeerHardClose)
|
||||
|
||||
app_desc.dwSize = sizeof(app_desc);
|
||||
app_desc.guidApplication = APP_GUID_1;
|
||||
app_desc.pwszSessionName = L"Session 1";
|
||||
app_desc.pwszSessionName = (WCHAR*)(L"Session 1");
|
||||
|
||||
IDP8AddressInstance host_addr(CLSID_DP8SP_TCPIP, PORT);
|
||||
|
||||
@ -3235,7 +3235,7 @@ TEST(DirectPlay8Peer, NonHostPeerSoftClose)
|
||||
|
||||
app_desc.dwSize = sizeof(app_desc);
|
||||
app_desc.guidApplication = APP_GUID_1;
|
||||
app_desc.pwszSessionName = L"Session 1";
|
||||
app_desc.pwszSessionName = (WCHAR*)(L"Session 1");
|
||||
|
||||
IDP8AddressInstance host_addr(CLSID_DP8SP_TCPIP, PORT);
|
||||
|
||||
@ -3405,7 +3405,7 @@ TEST(DirectPlay8Peer, NonHostPeerHardClose)
|
||||
|
||||
app_desc.dwSize = sizeof(app_desc);
|
||||
app_desc.guidApplication = APP_GUID_1;
|
||||
app_desc.pwszSessionName = L"Session 1";
|
||||
app_desc.pwszSessionName = (WCHAR*)(L"Session 1");
|
||||
|
||||
IDP8AddressInstance host_addr(CLSID_DP8SP_TCPIP, PORT);
|
||||
|
||||
@ -3802,10 +3802,10 @@ TEST(DirectPlay8Peer, SetApplicationDesc)
|
||||
ASSERT_EQ(host->GetApplicationDesc(appdesc, &appdesc_size, 0), S_OK);
|
||||
|
||||
appdesc->dwMaxPlayers = 20;
|
||||
appdesc->pwszSessionName = L"Best Session";
|
||||
appdesc->pwszSessionName = (WCHAR*)(L"Best Session");
|
||||
|
||||
appdesc->dwFlags |= DPNSESSION_REQUIREPASSWORD;
|
||||
appdesc->pwszPassword = L"P4ssword";
|
||||
appdesc->pwszPassword = (WCHAR*)(L"P4ssword");
|
||||
|
||||
appdesc->pvApplicationReservedData = (void*)(APP_DATA);
|
||||
appdesc->dwApplicationReservedDataSize = sizeof(APP_DATA);
|
||||
@ -7309,7 +7309,7 @@ TEST(DirectPlay8Peer, EnumPlayersTooSmall)
|
||||
|
||||
app_desc.dwSize = sizeof(app_desc);
|
||||
app_desc.guidApplication = APP_GUID_1;
|
||||
app_desc.pwszSessionName = L"Session 1";
|
||||
app_desc.pwszSessionName = (WCHAR*)(L"Session 1");
|
||||
|
||||
IDP8AddressInstance host_addr(CLSID_DP8SP_TCPIP, PORT);
|
||||
|
||||
@ -7374,7 +7374,7 @@ TEST(DirectPlay8Peer, EnumPlayersExact)
|
||||
|
||||
app_desc.dwSize = sizeof(app_desc);
|
||||
app_desc.guidApplication = APP_GUID_1;
|
||||
app_desc.pwszSessionName = L"Session 1";
|
||||
app_desc.pwszSessionName = (WCHAR*)(L"Session 1");
|
||||
|
||||
IDP8AddressInstance host_addr(CLSID_DP8SP_TCPIP, PORT);
|
||||
|
||||
@ -7461,7 +7461,7 @@ TEST(DirectPlay8Peer, EnumPlayersTooBig)
|
||||
|
||||
app_desc.dwSize = sizeof(app_desc);
|
||||
app_desc.guidApplication = APP_GUID_1;
|
||||
app_desc.pwszSessionName = L"Session 1";
|
||||
app_desc.pwszSessionName = (WCHAR*)(L"Session 1");
|
||||
|
||||
IDP8AddressInstance host_addr(CLSID_DP8SP_TCPIP, PORT);
|
||||
|
||||
@ -7550,7 +7550,7 @@ TEST(DirectPlay8Peer, DestroyPeer)
|
||||
|
||||
app_desc.dwSize = sizeof(app_desc);
|
||||
app_desc.guidApplication = APP_GUID_1;
|
||||
app_desc.pwszSessionName = L"Session 1";
|
||||
app_desc.pwszSessionName = (WCHAR*)(L"Session 1");
|
||||
|
||||
IDP8AddressInstance host_addr(CLSID_DP8SP_TCPIP, PORT);
|
||||
|
||||
@ -7705,7 +7705,7 @@ TEST(DirectPlay8Peer, TerminateSession)
|
||||
|
||||
app_desc.dwSize = sizeof(app_desc);
|
||||
app_desc.guidApplication = APP_GUID_1;
|
||||
app_desc.pwszSessionName = L"Session 1";
|
||||
app_desc.pwszSessionName = (WCHAR*)(L"Session 1");
|
||||
|
||||
IDP8AddressInstance host_addr(CLSID_DP8SP_TCPIP, PORT);
|
||||
|
||||
@ -7949,7 +7949,7 @@ TEST(DirectPlay8Peer, CreateGroupSync)
|
||||
|
||||
app_desc.dwSize = sizeof(app_desc);
|
||||
app_desc.guidApplication = APP_GUID_1;
|
||||
app_desc.pwszSessionName = L"Session 1";
|
||||
app_desc.pwszSessionName = (WCHAR*)(L"Session 1");
|
||||
|
||||
IDP8AddressInstance host_addr(CLSID_DP8SP_TCPIP, PORT);
|
||||
|
||||
@ -8022,7 +8022,7 @@ TEST(DirectPlay8Peer, CreateGroupSync)
|
||||
|
||||
group_info.dwSize = sizeof(group_info);
|
||||
group_info.dwInfoFlags = DPNINFO_NAME | DPNINFO_DATA;
|
||||
group_info.pwszName = L"Test Group";
|
||||
group_info.pwszName = (WCHAR*)(L"Test Group");
|
||||
group_info.pvData = (void*)(GROUP_DATA);
|
||||
group_info.dwDataSize = sizeof(GROUP_DATA);
|
||||
group_info.dwGroupFlags = 0;
|
||||
@ -8136,7 +8136,7 @@ TEST(DirectPlay8Peer, CreateGroupAsync)
|
||||
|
||||
app_desc.dwSize = sizeof(app_desc);
|
||||
app_desc.guidApplication = APP_GUID_1;
|
||||
app_desc.pwszSessionName = L"Session 1";
|
||||
app_desc.pwszSessionName = (WCHAR*)(L"Session 1");
|
||||
|
||||
IDP8AddressInstance host_addr(CLSID_DP8SP_TCPIP, PORT);
|
||||
|
||||
@ -8225,7 +8225,7 @@ TEST(DirectPlay8Peer, CreateGroupAsync)
|
||||
|
||||
group_info.dwSize = sizeof(group_info);
|
||||
group_info.dwInfoFlags = DPNINFO_NAME | DPNINFO_DATA;
|
||||
group_info.pwszName = L"Test Group";
|
||||
group_info.pwszName = (WCHAR*)(L"Test Group");
|
||||
group_info.pvData = (void*)(GROUP_DATA);
|
||||
group_info.dwDataSize = sizeof(GROUP_DATA);
|
||||
group_info.dwGroupFlags = 0;
|
||||
@ -8327,7 +8327,7 @@ TEST(DirectPlay8Peer, CreateGroupBeforeJoin)
|
||||
|
||||
app_desc.dwSize = sizeof(app_desc);
|
||||
app_desc.guidApplication = APP_GUID_1;
|
||||
app_desc.pwszSessionName = L"Session 1";
|
||||
app_desc.pwszSessionName = (WCHAR*)(L"Session 1");
|
||||
|
||||
IDP8AddressInstance host_addr(CLSID_DP8SP_TCPIP, PORT);
|
||||
|
||||
@ -8362,7 +8362,7 @@ TEST(DirectPlay8Peer, CreateGroupBeforeJoin)
|
||||
|
||||
group_info.dwSize = sizeof(group_info);
|
||||
group_info.dwInfoFlags = DPNINFO_NAME | DPNINFO_DATA;
|
||||
group_info.pwszName = L"Test Group";
|
||||
group_info.pwszName = (WCHAR*)(L"Test Group");
|
||||
group_info.pvData = (void*)(GROUP_DATA);
|
||||
group_info.dwDataSize = sizeof(GROUP_DATA);
|
||||
group_info.dwGroupFlags = 0;
|
||||
@ -8519,7 +8519,7 @@ TEST(DirectPlay8Peer, CreateGroupNonHost)
|
||||
|
||||
app_desc.dwSize = sizeof(app_desc);
|
||||
app_desc.guidApplication = APP_GUID_1;
|
||||
app_desc.pwszSessionName = L"Session 1";
|
||||
app_desc.pwszSessionName = (WCHAR*)(L"Session 1");
|
||||
|
||||
IDP8AddressInstance host_addr(CLSID_DP8SP_TCPIP, PORT);
|
||||
|
||||
@ -8622,7 +8622,7 @@ TEST(DirectPlay8Peer, CreateGroupNonHost)
|
||||
|
||||
group_info.dwSize = sizeof(group_info);
|
||||
group_info.dwInfoFlags = DPNINFO_NAME | DPNINFO_DATA;
|
||||
group_info.pwszName = L"Test Group";
|
||||
group_info.pwszName = (WCHAR*)(L"Test Group");
|
||||
group_info.pvData = (void*)(GROUP_DATA);
|
||||
group_info.dwDataSize = sizeof(GROUP_DATA);
|
||||
group_info.dwGroupFlags = 0;
|
||||
@ -8748,7 +8748,7 @@ TEST(DirectPlay8Peer, DestroyGroupSync)
|
||||
|
||||
app_desc.dwSize = sizeof(app_desc);
|
||||
app_desc.guidApplication = APP_GUID_1;
|
||||
app_desc.pwszSessionName = L"Session 1";
|
||||
app_desc.pwszSessionName = (WCHAR*)(L"Session 1");
|
||||
|
||||
IDP8AddressInstance host_addr(CLSID_DP8SP_TCPIP, PORT);
|
||||
|
||||
@ -8813,7 +8813,7 @@ TEST(DirectPlay8Peer, DestroyGroupSync)
|
||||
|
||||
group_info.dwSize = sizeof(group_info);
|
||||
group_info.dwInfoFlags = DPNINFO_NAME | DPNINFO_DATA;
|
||||
group_info.pwszName = L"Test Group";
|
||||
group_info.pwszName = (WCHAR*)(L"Test Group");
|
||||
group_info.pvData = NULL;
|
||||
group_info.dwDataSize = 0;
|
||||
group_info.dwGroupFlags = 0;
|
||||
@ -8917,7 +8917,7 @@ TEST(DirectPlay8Peer, DestroyGroupAsync)
|
||||
|
||||
app_desc.dwSize = sizeof(app_desc);
|
||||
app_desc.guidApplication = APP_GUID_1;
|
||||
app_desc.pwszSessionName = L"Session 1";
|
||||
app_desc.pwszSessionName = (WCHAR*)(L"Session 1");
|
||||
|
||||
IDP8AddressInstance host_addr(CLSID_DP8SP_TCPIP, PORT);
|
||||
|
||||
@ -8982,7 +8982,7 @@ TEST(DirectPlay8Peer, DestroyGroupAsync)
|
||||
|
||||
group_info.dwSize = sizeof(group_info);
|
||||
group_info.dwInfoFlags = DPNINFO_NAME | DPNINFO_DATA;
|
||||
group_info.pwszName = L"Test Group";
|
||||
group_info.pwszName = (WCHAR*)(L"Test Group");
|
||||
group_info.pvData = NULL;
|
||||
group_info.dwDataSize = 0;
|
||||
group_info.dwGroupFlags = 0;
|
||||
@ -9083,7 +9083,7 @@ TEST(DirectPlay8Peer, DestroyGroupBeforeJoin)
|
||||
|
||||
app_desc.dwSize = sizeof(app_desc);
|
||||
app_desc.guidApplication = APP_GUID_1;
|
||||
app_desc.pwszSessionName = L"Session 1";
|
||||
app_desc.pwszSessionName = (WCHAR*)(L"Session 1");
|
||||
|
||||
IDP8AddressInstance host_addr(CLSID_DP8SP_TCPIP, PORT);
|
||||
|
||||
@ -9112,7 +9112,7 @@ TEST(DirectPlay8Peer, DestroyGroupBeforeJoin)
|
||||
|
||||
group_info.dwSize = sizeof(group_info);
|
||||
group_info.dwInfoFlags = DPNINFO_NAME | DPNINFO_DATA;
|
||||
group_info.pwszName = L"Test Group";
|
||||
group_info.pwszName = (WCHAR*)(L"Test Group");
|
||||
group_info.pvData = NULL;
|
||||
group_info.dwDataSize = 0;
|
||||
group_info.dwGroupFlags = 0;
|
||||
@ -9215,7 +9215,7 @@ TEST(DirectPlay8Peer, DestroyGroupByLocalCloseSoft)
|
||||
|
||||
app_desc.dwSize = sizeof(app_desc);
|
||||
app_desc.guidApplication = APP_GUID_1;
|
||||
app_desc.pwszSessionName = L"Session 1";
|
||||
app_desc.pwszSessionName = (WCHAR*)(L"Session 1");
|
||||
|
||||
IDP8AddressInstance host_addr(CLSID_DP8SP_TCPIP, PORT);
|
||||
|
||||
@ -9263,7 +9263,7 @@ TEST(DirectPlay8Peer, DestroyGroupByLocalCloseSoft)
|
||||
|
||||
group_info.dwSize = sizeof(group_info);
|
||||
group_info.dwInfoFlags = DPNINFO_NAME | DPNINFO_DATA;
|
||||
group_info.pwszName = L"Test Group";
|
||||
group_info.pwszName = (WCHAR*)(L"Test Group");
|
||||
group_info.pvData = NULL;
|
||||
group_info.dwDataSize = 0;
|
||||
group_info.dwGroupFlags = 0;
|
||||
@ -9321,7 +9321,7 @@ TEST(DirectPlay8Peer, DestroyGroupByLocalCloseHard)
|
||||
|
||||
app_desc.dwSize = sizeof(app_desc);
|
||||
app_desc.guidApplication = APP_GUID_1;
|
||||
app_desc.pwszSessionName = L"Session 1";
|
||||
app_desc.pwszSessionName = (WCHAR*)(L"Session 1");
|
||||
|
||||
IDP8AddressInstance host_addr(CLSID_DP8SP_TCPIP, PORT);
|
||||
|
||||
@ -9369,7 +9369,7 @@ TEST(DirectPlay8Peer, DestroyGroupByLocalCloseHard)
|
||||
|
||||
group_info.dwSize = sizeof(group_info);
|
||||
group_info.dwInfoFlags = DPNINFO_NAME | DPNINFO_DATA;
|
||||
group_info.pwszName = L"Test Group";
|
||||
group_info.pwszName = (WCHAR*)(L"Test Group");
|
||||
group_info.pvData = NULL;
|
||||
group_info.dwDataSize = 0;
|
||||
group_info.dwGroupFlags = 0;
|
||||
@ -9427,7 +9427,7 @@ TEST(DirectPlay8Peer, DestroyGroupByHostCloseSoft)
|
||||
|
||||
app_desc.dwSize = sizeof(app_desc);
|
||||
app_desc.guidApplication = APP_GUID_1;
|
||||
app_desc.pwszSessionName = L"Session 1";
|
||||
app_desc.pwszSessionName = (WCHAR*)(L"Session 1");
|
||||
|
||||
IDP8AddressInstance host_addr(CLSID_DP8SP_TCPIP, PORT);
|
||||
|
||||
@ -9475,7 +9475,7 @@ TEST(DirectPlay8Peer, DestroyGroupByHostCloseSoft)
|
||||
|
||||
group_info.dwSize = sizeof(group_info);
|
||||
group_info.dwInfoFlags = DPNINFO_NAME | DPNINFO_DATA;
|
||||
group_info.pwszName = L"Test Group";
|
||||
group_info.pwszName = (WCHAR*)(L"Test Group");
|
||||
group_info.pvData = NULL;
|
||||
group_info.dwDataSize = 0;
|
||||
group_info.dwGroupFlags = 0;
|
||||
@ -9529,7 +9529,7 @@ TEST(DirectPlay8Peer, DestroyGroupByHostCloseHard)
|
||||
|
||||
app_desc.dwSize = sizeof(app_desc);
|
||||
app_desc.guidApplication = APP_GUID_1;
|
||||
app_desc.pwszSessionName = L"Session 1";
|
||||
app_desc.pwszSessionName = (WCHAR*)(L"Session 1");
|
||||
|
||||
IDP8AddressInstance host_addr(CLSID_DP8SP_TCPIP, PORT);
|
||||
|
||||
@ -9577,7 +9577,7 @@ TEST(DirectPlay8Peer, DestroyGroupByHostCloseHard)
|
||||
|
||||
group_info.dwSize = sizeof(group_info);
|
||||
group_info.dwInfoFlags = DPNINFO_NAME | DPNINFO_DATA;
|
||||
group_info.pwszName = L"Test Group";
|
||||
group_info.pwszName = (WCHAR*)(L"Test Group");
|
||||
group_info.pvData = NULL;
|
||||
group_info.dwDataSize = 0;
|
||||
group_info.dwGroupFlags = 0;
|
||||
@ -9631,7 +9631,7 @@ TEST(DirectPlay8Peer, DestroyGroupByTerminateSession)
|
||||
|
||||
app_desc.dwSize = sizeof(app_desc);
|
||||
app_desc.guidApplication = APP_GUID_1;
|
||||
app_desc.pwszSessionName = L"Session 1";
|
||||
app_desc.pwszSessionName = (WCHAR*)(L"Session 1");
|
||||
|
||||
IDP8AddressInstance host_addr(CLSID_DP8SP_TCPIP, PORT);
|
||||
|
||||
@ -9679,7 +9679,7 @@ TEST(DirectPlay8Peer, DestroyGroupByTerminateSession)
|
||||
|
||||
group_info.dwSize = sizeof(group_info);
|
||||
group_info.dwInfoFlags = DPNINFO_NAME | DPNINFO_DATA;
|
||||
group_info.pwszName = L"Test Group";
|
||||
group_info.pwszName = (WCHAR*)(L"Test Group");
|
||||
group_info.pvData = NULL;
|
||||
group_info.dwDataSize = 0;
|
||||
group_info.dwGroupFlags = 0;
|
||||
@ -9733,7 +9733,7 @@ TEST(DirectPlay8Peer, DestroyGroupByDestroyPeer)
|
||||
|
||||
app_desc.dwSize = sizeof(app_desc);
|
||||
app_desc.guidApplication = APP_GUID_1;
|
||||
app_desc.pwszSessionName = L"Session 1";
|
||||
app_desc.pwszSessionName = (WCHAR*)(L"Session 1");
|
||||
|
||||
IDP8AddressInstance host_addr(CLSID_DP8SP_TCPIP, PORT);
|
||||
|
||||
@ -9781,7 +9781,7 @@ TEST(DirectPlay8Peer, DestroyGroupByDestroyPeer)
|
||||
|
||||
group_info.dwSize = sizeof(group_info);
|
||||
group_info.dwInfoFlags = DPNINFO_NAME | DPNINFO_DATA;
|
||||
group_info.pwszName = L"Test Group";
|
||||
group_info.pwszName = (WCHAR*)(L"Test Group");
|
||||
group_info.pvData = NULL;
|
||||
group_info.dwDataSize = 0;
|
||||
group_info.dwGroupFlags = 0;
|
||||
@ -9837,7 +9837,7 @@ TEST(DirectPlay8Peer, AddPlayerToGroupSync)
|
||||
|
||||
app_desc.dwSize = sizeof(app_desc);
|
||||
app_desc.guidApplication = APP_GUID_1;
|
||||
app_desc.pwszSessionName = L"Session 1";
|
||||
app_desc.pwszSessionName = (WCHAR*)(L"Session 1");
|
||||
|
||||
IDP8AddressInstance host_addr(CLSID_DP8SP_TCPIP, PORT);
|
||||
|
||||
@ -9906,7 +9906,7 @@ TEST(DirectPlay8Peer, AddPlayerToGroupSync)
|
||||
|
||||
group_info.dwSize = sizeof(group_info);
|
||||
group_info.dwInfoFlags = DPNINFO_NAME | DPNINFO_DATA;
|
||||
group_info.pwszName = L"Test Group";
|
||||
group_info.pwszName = (WCHAR*)(L"Test Group");
|
||||
group_info.pvData = (void*)(GROUP_DATA);
|
||||
group_info.dwDataSize = sizeof(GROUP_DATA);
|
||||
group_info.dwGroupFlags = 0;
|
||||
@ -10019,7 +10019,7 @@ TEST(DirectPlay8Peer, AddPlayerToGroupAsync)
|
||||
|
||||
app_desc.dwSize = sizeof(app_desc);
|
||||
app_desc.guidApplication = APP_GUID_1;
|
||||
app_desc.pwszSessionName = L"Session 1";
|
||||
app_desc.pwszSessionName = (WCHAR*)(L"Session 1");
|
||||
|
||||
IDP8AddressInstance host_addr(CLSID_DP8SP_TCPIP, PORT);
|
||||
|
||||
@ -10088,7 +10088,7 @@ TEST(DirectPlay8Peer, AddPlayerToGroupAsync)
|
||||
|
||||
group_info.dwSize = sizeof(group_info);
|
||||
group_info.dwInfoFlags = DPNINFO_NAME | DPNINFO_DATA;
|
||||
group_info.pwszName = L"Test Group";
|
||||
group_info.pwszName = (WCHAR*)(L"Test Group");
|
||||
group_info.pvData = (void*)(GROUP_DATA);
|
||||
group_info.dwDataSize = sizeof(GROUP_DATA);
|
||||
group_info.dwGroupFlags = 0;
|
||||
@ -10206,7 +10206,7 @@ TEST(DirectPlay8Peer, AddPlayerToGroupBeforeJoin)
|
||||
|
||||
app_desc.dwSize = sizeof(app_desc);
|
||||
app_desc.guidApplication = APP_GUID_1;
|
||||
app_desc.pwszSessionName = L"Session 1";
|
||||
app_desc.pwszSessionName = (WCHAR*)(L"Session 1");
|
||||
|
||||
IDP8AddressInstance host_addr(CLSID_DP8SP_TCPIP, PORT);
|
||||
|
||||
@ -10237,7 +10237,7 @@ TEST(DirectPlay8Peer, AddPlayerToGroupBeforeJoin)
|
||||
|
||||
group_info.dwSize = sizeof(group_info);
|
||||
group_info.dwInfoFlags = DPNINFO_NAME | DPNINFO_DATA;
|
||||
group_info.pwszName = L"Test Group";
|
||||
group_info.pwszName = (WCHAR*)(L"Test Group");
|
||||
group_info.pvData = (void*)(GROUP_DATA);
|
||||
group_info.dwDataSize = sizeof(GROUP_DATA);
|
||||
group_info.dwGroupFlags = 0;
|
||||
@ -10387,7 +10387,7 @@ TEST(DirectPlay8Peer, AddPlayerToGroupByPeer)
|
||||
|
||||
app_desc.dwSize = sizeof(app_desc);
|
||||
app_desc.guidApplication = APP_GUID_1;
|
||||
app_desc.pwszSessionName = L"Session 1";
|
||||
app_desc.pwszSessionName = (WCHAR*)(L"Session 1");
|
||||
|
||||
IDP8AddressInstance host_addr(CLSID_DP8SP_TCPIP, PORT);
|
||||
|
||||
@ -10456,7 +10456,7 @@ TEST(DirectPlay8Peer, AddPlayerToGroupByPeer)
|
||||
|
||||
group_info.dwSize = sizeof(group_info);
|
||||
group_info.dwInfoFlags = DPNINFO_NAME | DPNINFO_DATA;
|
||||
group_info.pwszName = L"Test Group";
|
||||
group_info.pwszName = (WCHAR*)(L"Test Group");
|
||||
group_info.pvData = (void*)(GROUP_DATA);
|
||||
group_info.dwDataSize = sizeof(GROUP_DATA);
|
||||
group_info.dwGroupFlags = 0;
|
||||
@ -10556,7 +10556,7 @@ TEST(DirectPlay8Peer, AddOtherPlayerToGroup)
|
||||
|
||||
app_desc.dwSize = sizeof(app_desc);
|
||||
app_desc.guidApplication = APP_GUID_1;
|
||||
app_desc.pwszSessionName = L"Session 1";
|
||||
app_desc.pwszSessionName = (WCHAR*)(L"Session 1");
|
||||
|
||||
IDP8AddressInstance host_addr(CLSID_DP8SP_TCPIP, PORT);
|
||||
|
||||
@ -10659,7 +10659,7 @@ TEST(DirectPlay8Peer, AddOtherPlayerToGroup)
|
||||
|
||||
group_info.dwSize = sizeof(group_info);
|
||||
group_info.dwInfoFlags = DPNINFO_NAME | DPNINFO_DATA;
|
||||
group_info.pwszName = L"Test Group";
|
||||
group_info.pwszName = (WCHAR*)(L"Test Group");
|
||||
group_info.pvData = NULL;
|
||||
group_info.dwDataSize = 0;
|
||||
group_info.dwGroupFlags = 0;
|
||||
@ -10779,7 +10779,7 @@ TEST(DirectPlay8Peer, AddOtherPlayerToGroupBeforeJoin)
|
||||
|
||||
app_desc.dwSize = sizeof(app_desc);
|
||||
app_desc.guidApplication = APP_GUID_1;
|
||||
app_desc.pwszSessionName = L"Session 1";
|
||||
app_desc.pwszSessionName = (WCHAR*)(L"Session 1");
|
||||
|
||||
IDP8AddressInstance host_addr(CLSID_DP8SP_TCPIP, PORT);
|
||||
|
||||
@ -10848,7 +10848,7 @@ TEST(DirectPlay8Peer, AddOtherPlayerToGroupBeforeJoin)
|
||||
|
||||
group_info.dwSize = sizeof(group_info);
|
||||
group_info.dwInfoFlags = DPNINFO_NAME | DPNINFO_DATA;
|
||||
group_info.pwszName = L"Test Group";
|
||||
group_info.pwszName = (WCHAR*)(L"Test Group");
|
||||
group_info.pvData = NULL;
|
||||
group_info.dwDataSize = 0;
|
||||
group_info.dwGroupFlags = 0;
|
||||
@ -11041,7 +11041,7 @@ TEST(DirectPlay8Peer, RemovePlayerFromGroupSync)
|
||||
|
||||
app_desc.dwSize = sizeof(app_desc);
|
||||
app_desc.guidApplication = APP_GUID_1;
|
||||
app_desc.pwszSessionName = L"Session 1";
|
||||
app_desc.pwszSessionName = (WCHAR*)(L"Session 1");
|
||||
|
||||
IDP8AddressInstance host_addr(CLSID_DP8SP_TCPIP, PORT);
|
||||
|
||||
@ -11106,7 +11106,7 @@ TEST(DirectPlay8Peer, RemovePlayerFromGroupSync)
|
||||
|
||||
group_info.dwSize = sizeof(group_info);
|
||||
group_info.dwInfoFlags = DPNINFO_NAME | DPNINFO_DATA;
|
||||
group_info.pwszName = L"Test Group";
|
||||
group_info.pwszName = (WCHAR*)(L"Test Group");
|
||||
group_info.pvData = NULL;
|
||||
group_info.dwDataSize = 0;
|
||||
group_info.dwGroupFlags = 0;
|
||||
@ -11203,7 +11203,7 @@ TEST(DirectPlay8Peer, RemovePlayerFromGroupAsync)
|
||||
|
||||
app_desc.dwSize = sizeof(app_desc);
|
||||
app_desc.guidApplication = APP_GUID_1;
|
||||
app_desc.pwszSessionName = L"Session 1";
|
||||
app_desc.pwszSessionName = (WCHAR*)(L"Session 1");
|
||||
|
||||
IDP8AddressInstance host_addr(CLSID_DP8SP_TCPIP, PORT);
|
||||
|
||||
@ -11268,7 +11268,7 @@ TEST(DirectPlay8Peer, RemovePlayerFromGroupAsync)
|
||||
|
||||
group_info.dwSize = sizeof(group_info);
|
||||
group_info.dwInfoFlags = DPNINFO_NAME | DPNINFO_DATA;
|
||||
group_info.pwszName = L"Test Group";
|
||||
group_info.pwszName = (WCHAR*)(L"Test Group");
|
||||
group_info.pvData = NULL;
|
||||
group_info.dwDataSize = 0;
|
||||
group_info.dwGroupFlags = 0;
|
||||
@ -11382,7 +11382,7 @@ TEST(DirectPlay8Peer, RemovePlayerFromGroupBeforeJoin)
|
||||
|
||||
app_desc.dwSize = sizeof(app_desc);
|
||||
app_desc.guidApplication = APP_GUID_1;
|
||||
app_desc.pwszSessionName = L"Session 1";
|
||||
app_desc.pwszSessionName = (WCHAR*)(L"Session 1");
|
||||
|
||||
IDP8AddressInstance host_addr(CLSID_DP8SP_TCPIP, PORT);
|
||||
|
||||
@ -11411,7 +11411,7 @@ TEST(DirectPlay8Peer, RemovePlayerFromGroupBeforeJoin)
|
||||
|
||||
group_info.dwSize = sizeof(group_info);
|
||||
group_info.dwInfoFlags = DPNINFO_NAME | DPNINFO_DATA;
|
||||
group_info.pwszName = L"Test Group";
|
||||
group_info.pwszName = (WCHAR*)(L"Test Group");
|
||||
group_info.pvData = NULL;
|
||||
group_info.dwDataSize = 0;
|
||||
group_info.dwGroupFlags = 0;
|
||||
@ -11513,7 +11513,7 @@ TEST(DirectPlay8Peer, RemovePlayerFromGroupByPeer)
|
||||
|
||||
app_desc.dwSize = sizeof(app_desc);
|
||||
app_desc.guidApplication = APP_GUID_1;
|
||||
app_desc.pwszSessionName = L"Session 1";
|
||||
app_desc.pwszSessionName = (WCHAR*)(L"Session 1");
|
||||
|
||||
IDP8AddressInstance host_addr(CLSID_DP8SP_TCPIP, PORT);
|
||||
|
||||
@ -11578,7 +11578,7 @@ TEST(DirectPlay8Peer, RemovePlayerFromGroupByPeer)
|
||||
|
||||
group_info.dwSize = sizeof(group_info);
|
||||
group_info.dwInfoFlags = DPNINFO_NAME | DPNINFO_DATA;
|
||||
group_info.pwszName = L"Test Group";
|
||||
group_info.pwszName = (WCHAR*)(L"Test Group");
|
||||
group_info.pvData = NULL;
|
||||
group_info.dwDataSize = 0;
|
||||
group_info.dwGroupFlags = 0;
|
||||
@ -11675,7 +11675,7 @@ TEST(DirectPlay8Peer, RemoveOtherPlayerFromGroup)
|
||||
|
||||
app_desc.dwSize = sizeof(app_desc);
|
||||
app_desc.guidApplication = APP_GUID_1;
|
||||
app_desc.pwszSessionName = L"Session 1";
|
||||
app_desc.pwszSessionName = (WCHAR*)(L"Session 1");
|
||||
|
||||
IDP8AddressInstance host_addr(CLSID_DP8SP_TCPIP, PORT);
|
||||
|
||||
@ -11772,7 +11772,7 @@ TEST(DirectPlay8Peer, RemoveOtherPlayerFromGroup)
|
||||
|
||||
group_info.dwSize = sizeof(group_info);
|
||||
group_info.dwInfoFlags = DPNINFO_NAME | DPNINFO_DATA;
|
||||
group_info.pwszName = L"Test Group";
|
||||
group_info.pwszName = (WCHAR*)(L"Test Group");
|
||||
group_info.pvData = NULL;
|
||||
group_info.dwDataSize = 0;
|
||||
group_info.dwGroupFlags = 0;
|
||||
@ -11898,7 +11898,7 @@ TEST(DirectPlay8Peer, RemoveOtherPlayerFromGroupByLocalCloseSoft)
|
||||
|
||||
app_desc.dwSize = sizeof(app_desc);
|
||||
app_desc.guidApplication = APP_GUID_1;
|
||||
app_desc.pwszSessionName = L"Session 1";
|
||||
app_desc.pwszSessionName = (WCHAR*)(L"Session 1");
|
||||
|
||||
IDP8AddressInstance host_addr(CLSID_DP8SP_TCPIP, PORT);
|
||||
|
||||
@ -11978,7 +11978,7 @@ TEST(DirectPlay8Peer, RemoveOtherPlayerFromGroupByLocalCloseSoft)
|
||||
|
||||
group_info.dwSize = sizeof(group_info);
|
||||
group_info.dwInfoFlags = DPNINFO_NAME | DPNINFO_DATA;
|
||||
group_info.pwszName = L"Test Group";
|
||||
group_info.pwszName = (WCHAR*)(L"Test Group");
|
||||
group_info.pvData = NULL;
|
||||
group_info.dwDataSize = 0;
|
||||
group_info.dwGroupFlags = 0;
|
||||
@ -12062,7 +12062,7 @@ TEST(DirectPlay8Peer, RemoveOtherPlayerFromGroupByLocalCloseHard)
|
||||
|
||||
app_desc.dwSize = sizeof(app_desc);
|
||||
app_desc.guidApplication = APP_GUID_1;
|
||||
app_desc.pwszSessionName = L"Session 1";
|
||||
app_desc.pwszSessionName = (WCHAR*)(L"Session 1");
|
||||
|
||||
IDP8AddressInstance host_addr(CLSID_DP8SP_TCPIP, PORT);
|
||||
|
||||
@ -12142,7 +12142,7 @@ TEST(DirectPlay8Peer, RemoveOtherPlayerFromGroupByLocalCloseHard)
|
||||
|
||||
group_info.dwSize = sizeof(group_info);
|
||||
group_info.dwInfoFlags = DPNINFO_NAME | DPNINFO_DATA;
|
||||
group_info.pwszName = L"Test Group";
|
||||
group_info.pwszName = (WCHAR*)(L"Test Group");
|
||||
group_info.pvData = NULL;
|
||||
group_info.dwDataSize = 0;
|
||||
group_info.dwGroupFlags = 0;
|
||||
@ -12226,7 +12226,7 @@ TEST(DirectPlay8Peer, RemoveOtherPlayerFromGroupByHostCloseSoft)
|
||||
|
||||
app_desc.dwSize = sizeof(app_desc);
|
||||
app_desc.guidApplication = APP_GUID_1;
|
||||
app_desc.pwszSessionName = L"Session 1";
|
||||
app_desc.pwszSessionName = (WCHAR*)(L"Session 1");
|
||||
|
||||
IDP8AddressInstance host_addr(CLSID_DP8SP_TCPIP, PORT);
|
||||
|
||||
@ -12306,7 +12306,7 @@ TEST(DirectPlay8Peer, RemoveOtherPlayerFromGroupByHostCloseSoft)
|
||||
|
||||
group_info.dwSize = sizeof(group_info);
|
||||
group_info.dwInfoFlags = DPNINFO_NAME | DPNINFO_DATA;
|
||||
group_info.pwszName = L"Test Group";
|
||||
group_info.pwszName = (WCHAR*)(L"Test Group");
|
||||
group_info.pvData = NULL;
|
||||
group_info.dwDataSize = 0;
|
||||
group_info.dwGroupFlags = 0;
|
||||
@ -12391,7 +12391,7 @@ TEST(DirectPlay8Peer, RemoveOtherPlayerFromGroupByHostCloseHard)
|
||||
|
||||
app_desc.dwSize = sizeof(app_desc);
|
||||
app_desc.guidApplication = APP_GUID_1;
|
||||
app_desc.pwszSessionName = L"Session 1";
|
||||
app_desc.pwszSessionName = (WCHAR*)(L"Session 1");
|
||||
|
||||
IDP8AddressInstance host_addr(CLSID_DP8SP_TCPIP, PORT);
|
||||
|
||||
@ -12471,7 +12471,7 @@ TEST(DirectPlay8Peer, RemoveOtherPlayerFromGroupByHostCloseHard)
|
||||
|
||||
group_info.dwSize = sizeof(group_info);
|
||||
group_info.dwInfoFlags = DPNINFO_NAME | DPNINFO_DATA;
|
||||
group_info.pwszName = L"Test Group";
|
||||
group_info.pwszName = (WCHAR*)(L"Test Group");
|
||||
group_info.pvData = NULL;
|
||||
group_info.dwDataSize = 0;
|
||||
group_info.dwGroupFlags = 0;
|
||||
@ -12556,7 +12556,7 @@ TEST(DirectPlay8Peer, RemoveOtherPlayerFromGroupByTerminateSession)
|
||||
|
||||
app_desc.dwSize = sizeof(app_desc);
|
||||
app_desc.guidApplication = APP_GUID_1;
|
||||
app_desc.pwszSessionName = L"Session 1";
|
||||
app_desc.pwszSessionName = (WCHAR*)(L"Session 1");
|
||||
|
||||
IDP8AddressInstance host_addr(CLSID_DP8SP_TCPIP, PORT);
|
||||
|
||||
@ -12636,7 +12636,7 @@ TEST(DirectPlay8Peer, RemoveOtherPlayerFromGroupByTerminateSession)
|
||||
|
||||
group_info.dwSize = sizeof(group_info);
|
||||
group_info.dwInfoFlags = DPNINFO_NAME | DPNINFO_DATA;
|
||||
group_info.pwszName = L"Test Group";
|
||||
group_info.pwszName = (WCHAR*)(L"Test Group");
|
||||
group_info.pvData = NULL;
|
||||
group_info.dwDataSize = 0;
|
||||
group_info.dwGroupFlags = 0;
|
||||
@ -12721,7 +12721,7 @@ TEST(DirectPlay8Peer, RemoveOtherPlayerFromGroupByMemberCloseSoft)
|
||||
|
||||
app_desc.dwSize = sizeof(app_desc);
|
||||
app_desc.guidApplication = APP_GUID_1;
|
||||
app_desc.pwszSessionName = L"Session 1";
|
||||
app_desc.pwszSessionName = (WCHAR*)(L"Session 1");
|
||||
|
||||
IDP8AddressInstance host_addr(CLSID_DP8SP_TCPIP, PORT);
|
||||
|
||||
@ -12801,7 +12801,7 @@ TEST(DirectPlay8Peer, RemoveOtherPlayerFromGroupByMemberCloseSoft)
|
||||
|
||||
group_info.dwSize = sizeof(group_info);
|
||||
group_info.dwInfoFlags = DPNINFO_NAME | DPNINFO_DATA;
|
||||
group_info.pwszName = L"Test Group";
|
||||
group_info.pwszName = (WCHAR*)(L"Test Group");
|
||||
group_info.pvData = NULL;
|
||||
group_info.dwDataSize = 0;
|
||||
group_info.dwGroupFlags = 0;
|
||||
@ -12866,7 +12866,7 @@ TEST(DirectPlay8Peer, RemoveOtherPlayerFromGroupByMemberCloseHard)
|
||||
|
||||
app_desc.dwSize = sizeof(app_desc);
|
||||
app_desc.guidApplication = APP_GUID_1;
|
||||
app_desc.pwszSessionName = L"Session 1";
|
||||
app_desc.pwszSessionName = (WCHAR*)(L"Session 1");
|
||||
|
||||
IDP8AddressInstance host_addr(CLSID_DP8SP_TCPIP, PORT);
|
||||
|
||||
@ -12946,7 +12946,7 @@ TEST(DirectPlay8Peer, RemoveOtherPlayerFromGroupByMemberCloseHard)
|
||||
|
||||
group_info.dwSize = sizeof(group_info);
|
||||
group_info.dwInfoFlags = DPNINFO_NAME | DPNINFO_DATA;
|
||||
group_info.pwszName = L"Test Group";
|
||||
group_info.pwszName = (WCHAR*)(L"Test Group");
|
||||
group_info.pvData = NULL;
|
||||
group_info.dwDataSize = 0;
|
||||
group_info.dwGroupFlags = 0;
|
||||
@ -13011,7 +13011,7 @@ TEST(DirectPlay8Peer, SendToGroupSelf)
|
||||
|
||||
app_desc.dwSize = sizeof(app_desc);
|
||||
app_desc.guidApplication = APP_GUID_1;
|
||||
app_desc.pwszSessionName = L"Session 1";
|
||||
app_desc.pwszSessionName = (WCHAR*)(L"Session 1");
|
||||
|
||||
IDP8AddressInstance host_addr(CLSID_DP8SP_TCPIP, PORT);
|
||||
|
||||
@ -13102,7 +13102,7 @@ TEST(DirectPlay8Peer, SendToGroupSelf)
|
||||
|
||||
group_info.dwSize = sizeof(group_info);
|
||||
group_info.dwInfoFlags = DPNINFO_NAME | DPNINFO_DATA;
|
||||
group_info.pwszName = L"Test Group";
|
||||
group_info.pwszName = (WCHAR*)(L"Test Group");
|
||||
group_info.pvData = NULL;
|
||||
group_info.dwDataSize = 0;
|
||||
group_info.dwGroupFlags = 0;
|
||||
@ -13174,7 +13174,7 @@ TEST(DirectPlay8Peer, SendToGroupSelfNoLoopback)
|
||||
|
||||
app_desc.dwSize = sizeof(app_desc);
|
||||
app_desc.guidApplication = APP_GUID_1;
|
||||
app_desc.pwszSessionName = L"Session 1";
|
||||
app_desc.pwszSessionName = (WCHAR*)(L"Session 1");
|
||||
|
||||
IDP8AddressInstance host_addr(CLSID_DP8SP_TCPIP, PORT);
|
||||
|
||||
@ -13265,7 +13265,7 @@ TEST(DirectPlay8Peer, SendToGroupSelfNoLoopback)
|
||||
|
||||
group_info.dwSize = sizeof(group_info);
|
||||
group_info.dwInfoFlags = DPNINFO_NAME | DPNINFO_DATA;
|
||||
group_info.pwszName = L"Test Group";
|
||||
group_info.pwszName = (WCHAR*)(L"Test Group");
|
||||
group_info.pvData = NULL;
|
||||
group_info.dwDataSize = 0;
|
||||
group_info.dwGroupFlags = 0;
|
||||
@ -13329,7 +13329,7 @@ TEST(DirectPlay8Peer, SendToGroupPeer)
|
||||
|
||||
app_desc.dwSize = sizeof(app_desc);
|
||||
app_desc.guidApplication = APP_GUID_1;
|
||||
app_desc.pwszSessionName = L"Session 1";
|
||||
app_desc.pwszSessionName = (WCHAR*)(L"Session 1");
|
||||
|
||||
IDP8AddressInstance host_addr(CLSID_DP8SP_TCPIP, PORT);
|
||||
|
||||
@ -13420,7 +13420,7 @@ TEST(DirectPlay8Peer, SendToGroupPeer)
|
||||
|
||||
group_info.dwSize = sizeof(group_info);
|
||||
group_info.dwInfoFlags = DPNINFO_NAME | DPNINFO_DATA;
|
||||
group_info.pwszName = L"Test Group";
|
||||
group_info.pwszName = (WCHAR*)(L"Test Group");
|
||||
group_info.pvData = NULL;
|
||||
group_info.dwDataSize = 0;
|
||||
group_info.dwGroupFlags = 0;
|
||||
@ -13488,7 +13488,7 @@ TEST(DirectPlay8Peer, SendToGroupPeerNoLoopback)
|
||||
|
||||
app_desc.dwSize = sizeof(app_desc);
|
||||
app_desc.guidApplication = APP_GUID_1;
|
||||
app_desc.pwszSessionName = L"Session 1";
|
||||
app_desc.pwszSessionName = (WCHAR*)(L"Session 1");
|
||||
|
||||
IDP8AddressInstance host_addr(CLSID_DP8SP_TCPIP, PORT);
|
||||
|
||||
@ -13579,7 +13579,7 @@ TEST(DirectPlay8Peer, SendToGroupPeerNoLoopback)
|
||||
|
||||
group_info.dwSize = sizeof(group_info);
|
||||
group_info.dwInfoFlags = DPNINFO_NAME | DPNINFO_DATA;
|
||||
group_info.pwszName = L"Test Group";
|
||||
group_info.pwszName = (WCHAR*)(L"Test Group");
|
||||
group_info.pvData = NULL;
|
||||
group_info.dwDataSize = 0;
|
||||
group_info.dwGroupFlags = 0;
|
||||
@ -13647,7 +13647,7 @@ TEST(DirectPlay8Peer, SendToGroupPeerAndSelf)
|
||||
|
||||
app_desc.dwSize = sizeof(app_desc);
|
||||
app_desc.guidApplication = APP_GUID_1;
|
||||
app_desc.pwszSessionName = L"Session 1";
|
||||
app_desc.pwszSessionName = (WCHAR*)(L"Session 1");
|
||||
|
||||
IDP8AddressInstance host_addr(CLSID_DP8SP_TCPIP, PORT);
|
||||
|
||||
@ -13738,7 +13738,7 @@ TEST(DirectPlay8Peer, SendToGroupPeerAndSelf)
|
||||
|
||||
group_info.dwSize = sizeof(group_info);
|
||||
group_info.dwInfoFlags = DPNINFO_NAME | DPNINFO_DATA;
|
||||
group_info.pwszName = L"Test Group";
|
||||
group_info.pwszName = (WCHAR*)(L"Test Group");
|
||||
group_info.pvData = NULL;
|
||||
group_info.dwDataSize = 0;
|
||||
group_info.dwGroupFlags = 0;
|
||||
@ -13819,7 +13819,7 @@ TEST(DirectPlay8Peer, SendToGroupPeerAndSelfNoLoopback)
|
||||
|
||||
app_desc.dwSize = sizeof(app_desc);
|
||||
app_desc.guidApplication = APP_GUID_1;
|
||||
app_desc.pwszSessionName = L"Session 1";
|
||||
app_desc.pwszSessionName = (WCHAR*)(L"Session 1");
|
||||
|
||||
IDP8AddressInstance host_addr(CLSID_DP8SP_TCPIP, PORT);
|
||||
|
||||
@ -13910,7 +13910,7 @@ TEST(DirectPlay8Peer, SendToGroupPeerAndSelfNoLoopback)
|
||||
|
||||
group_info.dwSize = sizeof(group_info);
|
||||
group_info.dwInfoFlags = DPNINFO_NAME | DPNINFO_DATA;
|
||||
group_info.pwszName = L"Test Group";
|
||||
group_info.pwszName = (WCHAR*)(L"Test Group");
|
||||
group_info.pvData = NULL;
|
||||
group_info.dwDataSize = 0;
|
||||
group_info.dwGroupFlags = 0;
|
||||
|
114
tests/tests.vcxproj
Normal file
114
tests/tests.vcxproj
Normal file
@ -0,0 +1,114 @@
|
||||
<?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>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\googletest\src\gtest-death-test.cc" />
|
||||
<ClCompile Include="..\googletest\src\gtest-filepath.cc" />
|
||||
<ClCompile Include="..\googletest\src\gtest-port.cc" />
|
||||
<ClCompile Include="..\googletest\src\gtest-printers.cc" />
|
||||
<ClCompile Include="..\googletest\src\gtest-test-part.cc" />
|
||||
<ClCompile Include="..\googletest\src\gtest-typed-test.cc" />
|
||||
<ClCompile Include="..\googletest\src\gtest.cc" />
|
||||
<ClCompile Include="..\googletest\src\gtest_main.cc" />
|
||||
<ClCompile Include="DirectPlay8Address.cpp" />
|
||||
<ClCompile Include="DirectPlay8Peer.cpp" />
|
||||
<ClCompile Include="HandleHandlingPool.cpp" />
|
||||
<ClCompile Include="PacketDeserialiser.cpp" />
|
||||
<ClCompile Include="PacketSerialiser.cpp" />
|
||||
<ClCompile Include="SendQueue.cpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\directplay-lite\directplay-lite.vcxproj">
|
||||
<Project>{6243e219-3927-43f6-9b5f-e34164900687}</Project>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<VCProjectVersion>15.0</VCProjectVersion>
|
||||
<ProjectGuid>{7DFB7CFB-C59A-44D8-A701-CA14D153EBF2}</ProjectGuid>
|
||||
<Keyword>Win32Proj</Keyword>
|
||||
<RootNamespace>tests</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>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</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>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
<IncludePath>$(SolutionDir)include;$(SolutionDir)googletest\include;$(SolutionDir)googletest;$(IncludePath)</IncludePath>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
<IncludePath>$(SolutionDir)include;$(SolutionDir)googletest\include;$(SolutionDir)googletest;$(IncludePath)</IncludePath>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<AdditionalDependencies>dxguid.lib;iphlpapi.lib;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<AdditionalDependencies>dxguid.lib;iphlpapi.lib;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
61
tests/tests.vcxproj.filters
Normal file
61
tests/tests.vcxproj.filters
Normal file
@ -0,0 +1,61 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup>
|
||||
<Filter Include="Source Files">
|
||||
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
|
||||
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
|
||||
</Filter>
|
||||
<Filter Include="Header Files">
|
||||
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
|
||||
<Extensions>h;hh;hpp;hxx;hm;inl;inc;ipp;xsd</Extensions>
|
||||
</Filter>
|
||||
<Filter Include="Resource Files">
|
||||
<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>
|
||||
<ClCompile Include="DirectPlay8Address.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="DirectPlay8Peer.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="HandleHandlingPool.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="PacketDeserialiser.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="PacketSerialiser.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="SendQueue.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\googletest\src\gtest_main.cc">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\googletest\src\gtest.cc">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\googletest\src\gtest-death-test.cc">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\googletest\src\gtest-filepath.cc">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\googletest\src\gtest-port.cc">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\googletest\src\gtest-printers.cc">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\googletest\src\gtest-test-part.cc">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\googletest\src\gtest-typed-test.cc">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
</Project>
|
Loading…
x
Reference in New Issue
Block a user