mirror of
https://github.com/WinDurango-project/WinDurango.git
synced 2024-11-26 20:50:35 +00:00
Added WinRT stubs.
This commit is contained in:
parent
f6d3949ec2
commit
bbfcb2eafe
141
WinDurango.sln
141
WinDurango.sln
@ -5,14 +5,13 @@ MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "kernelx", "dlls\kernelx\kernelx.vcxproj", "{94127830-3A6C-4861-BBD2-20C0D289802D}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{37489709-8054-4903-9C49-A79846049FC9} = {37489709-8054-4903-9C49-A79846049FC9}
|
||||
{ED22C025-5199-412E-854D-0F1BDE5417BC} = {ED22C025-5199-412E-854D-0F1BDE5417BC}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "dlls", "dlls", "{A46DB9F5-4A23-41CA-98CA-A5DE9DDF012A}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "d3d12_x", "dlls\d3d12_x\d3d12_x.vcxproj", "{B7848E35-3881-44CC-89B9-C14D32B2BC42}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ntdll", "dlls\ntdll\ntdll.vcxproj", "{7639E4A9-40B7-4709-864A-72A1879AADED}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "etwplus", "dlls\etwplus\etwplus.vcxproj", "{F9420BF5-A0E3-41C4-8EB0-DB81A54CF6D8}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "xg_x", "dlls\xg_x\xg_x.vcxproj", "{F58FABA6-C92B-4D45-8F05-51A3430D2625}"
|
||||
@ -29,10 +28,12 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "d3d11_x", "dlls\d3d11_x\d3d
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "thirdparty", "thirdparty", "{097A8A65-AD91-432A-9AF2-58F588E51597}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Detours", "thirdparty\Detours\vc\Detours.vcxproj", "{37489709-8054-4903-9C49-A79846049FC9}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mfplat", "dlls\mfplat\mfplat.vcxproj", "{A67D1CEC-9F56-4D53-97C2-88BADEDDB22D}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "winrt_x", "dlls\winrt_x\winrt_x.vcxproj", "{ED22C025-5199-412E-854D-0F1BDE5417BC}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Detours", "thirdparty\Detours\vc\Detours.vcxproj", "{37489709-8054-4903-9C49-A79846049FC9}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|ARM = Debug|ARM
|
||||
@ -117,38 +118,6 @@ Global
|
||||
{B7848E35-3881-44CC-89B9-C14D32B2BC42}.ReleaseMD|x64.Build.0 = Release|x64
|
||||
{B7848E35-3881-44CC-89B9-C14D32B2BC42}.ReleaseMD|x86.ActiveCfg = Release|x64
|
||||
{B7848E35-3881-44CC-89B9-C14D32B2BC42}.ReleaseMD|x86.Build.0 = Release|x64
|
||||
{7639E4A9-40B7-4709-864A-72A1879AADED}.Debug|ARM.ActiveCfg = Debug|x64
|
||||
{7639E4A9-40B7-4709-864A-72A1879AADED}.Debug|ARM.Build.0 = Debug|x64
|
||||
{7639E4A9-40B7-4709-864A-72A1879AADED}.Debug|ARM64.ActiveCfg = Debug|x64
|
||||
{7639E4A9-40B7-4709-864A-72A1879AADED}.Debug|ARM64.Build.0 = Debug|x64
|
||||
{7639E4A9-40B7-4709-864A-72A1879AADED}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{7639E4A9-40B7-4709-864A-72A1879AADED}.Debug|x64.Build.0 = Debug|x64
|
||||
{7639E4A9-40B7-4709-864A-72A1879AADED}.Debug|x86.ActiveCfg = Debug|x64
|
||||
{7639E4A9-40B7-4709-864A-72A1879AADED}.Debug|x86.Build.0 = Debug|x64
|
||||
{7639E4A9-40B7-4709-864A-72A1879AADED}.DebugMDd|ARM.ActiveCfg = Debug|x64
|
||||
{7639E4A9-40B7-4709-864A-72A1879AADED}.DebugMDd|ARM.Build.0 = Debug|x64
|
||||
{7639E4A9-40B7-4709-864A-72A1879AADED}.DebugMDd|ARM64.ActiveCfg = Debug|x64
|
||||
{7639E4A9-40B7-4709-864A-72A1879AADED}.DebugMDd|ARM64.Build.0 = Debug|x64
|
||||
{7639E4A9-40B7-4709-864A-72A1879AADED}.DebugMDd|x64.ActiveCfg = Debug|x64
|
||||
{7639E4A9-40B7-4709-864A-72A1879AADED}.DebugMDd|x64.Build.0 = Debug|x64
|
||||
{7639E4A9-40B7-4709-864A-72A1879AADED}.DebugMDd|x86.ActiveCfg = Debug|x64
|
||||
{7639E4A9-40B7-4709-864A-72A1879AADED}.DebugMDd|x86.Build.0 = Debug|x64
|
||||
{7639E4A9-40B7-4709-864A-72A1879AADED}.Release|ARM.ActiveCfg = Release|x64
|
||||
{7639E4A9-40B7-4709-864A-72A1879AADED}.Release|ARM.Build.0 = Release|x64
|
||||
{7639E4A9-40B7-4709-864A-72A1879AADED}.Release|ARM64.ActiveCfg = Release|x64
|
||||
{7639E4A9-40B7-4709-864A-72A1879AADED}.Release|ARM64.Build.0 = Release|x64
|
||||
{7639E4A9-40B7-4709-864A-72A1879AADED}.Release|x64.ActiveCfg = Release|x64
|
||||
{7639E4A9-40B7-4709-864A-72A1879AADED}.Release|x64.Build.0 = Release|x64
|
||||
{7639E4A9-40B7-4709-864A-72A1879AADED}.Release|x86.ActiveCfg = Release|x64
|
||||
{7639E4A9-40B7-4709-864A-72A1879AADED}.Release|x86.Build.0 = Release|x64
|
||||
{7639E4A9-40B7-4709-864A-72A1879AADED}.ReleaseMD|ARM.ActiveCfg = Release|x64
|
||||
{7639E4A9-40B7-4709-864A-72A1879AADED}.ReleaseMD|ARM.Build.0 = Release|x64
|
||||
{7639E4A9-40B7-4709-864A-72A1879AADED}.ReleaseMD|ARM64.ActiveCfg = Release|x64
|
||||
{7639E4A9-40B7-4709-864A-72A1879AADED}.ReleaseMD|ARM64.Build.0 = Release|x64
|
||||
{7639E4A9-40B7-4709-864A-72A1879AADED}.ReleaseMD|x64.ActiveCfg = Release|x64
|
||||
{7639E4A9-40B7-4709-864A-72A1879AADED}.ReleaseMD|x64.Build.0 = Release|x64
|
||||
{7639E4A9-40B7-4709-864A-72A1879AADED}.ReleaseMD|x86.ActiveCfg = Release|x64
|
||||
{7639E4A9-40B7-4709-864A-72A1879AADED}.ReleaseMD|x86.Build.0 = Release|x64
|
||||
{F9420BF5-A0E3-41C4-8EB0-DB81A54CF6D8}.Debug|ARM.ActiveCfg = Debug|x64
|
||||
{F9420BF5-A0E3-41C4-8EB0-DB81A54CF6D8}.Debug|ARM.Build.0 = Debug|x64
|
||||
{F9420BF5-A0E3-41C4-8EB0-DB81A54CF6D8}.Debug|ARM64.ActiveCfg = Debug|x64
|
||||
@ -351,38 +320,6 @@ Global
|
||||
{DD076E76-174E-414F-A47F-01CC84E3FC80}.ReleaseMD|x64.Build.0 = Release|x64
|
||||
{DD076E76-174E-414F-A47F-01CC84E3FC80}.ReleaseMD|x86.ActiveCfg = Release|x64
|
||||
{DD076E76-174E-414F-A47F-01CC84E3FC80}.ReleaseMD|x86.Build.0 = Release|x64
|
||||
{37489709-8054-4903-9C49-A79846049FC9}.Debug|ARM.ActiveCfg = DebugMDd|ARM
|
||||
{37489709-8054-4903-9C49-A79846049FC9}.Debug|ARM.Build.0 = DebugMDd|ARM
|
||||
{37489709-8054-4903-9C49-A79846049FC9}.Debug|ARM64.ActiveCfg = DebugMDd|ARM64
|
||||
{37489709-8054-4903-9C49-A79846049FC9}.Debug|ARM64.Build.0 = DebugMDd|ARM64
|
||||
{37489709-8054-4903-9C49-A79846049FC9}.Debug|x64.ActiveCfg = DebugMDd|x64
|
||||
{37489709-8054-4903-9C49-A79846049FC9}.Debug|x64.Build.0 = DebugMDd|x64
|
||||
{37489709-8054-4903-9C49-A79846049FC9}.Debug|x86.ActiveCfg = DebugMDd|Win32
|
||||
{37489709-8054-4903-9C49-A79846049FC9}.Debug|x86.Build.0 = DebugMDd|Win32
|
||||
{37489709-8054-4903-9C49-A79846049FC9}.DebugMDd|ARM.ActiveCfg = DebugMDd|ARM
|
||||
{37489709-8054-4903-9C49-A79846049FC9}.DebugMDd|ARM.Build.0 = DebugMDd|ARM
|
||||
{37489709-8054-4903-9C49-A79846049FC9}.DebugMDd|ARM64.ActiveCfg = DebugMDd|ARM64
|
||||
{37489709-8054-4903-9C49-A79846049FC9}.DebugMDd|ARM64.Build.0 = DebugMDd|ARM64
|
||||
{37489709-8054-4903-9C49-A79846049FC9}.DebugMDd|x64.ActiveCfg = DebugMDd|x64
|
||||
{37489709-8054-4903-9C49-A79846049FC9}.DebugMDd|x64.Build.0 = DebugMDd|x64
|
||||
{37489709-8054-4903-9C49-A79846049FC9}.DebugMDd|x86.ActiveCfg = DebugMDd|Win32
|
||||
{37489709-8054-4903-9C49-A79846049FC9}.DebugMDd|x86.Build.0 = DebugMDd|Win32
|
||||
{37489709-8054-4903-9C49-A79846049FC9}.Release|ARM.ActiveCfg = ReleaseMD|ARM
|
||||
{37489709-8054-4903-9C49-A79846049FC9}.Release|ARM.Build.0 = ReleaseMD|ARM
|
||||
{37489709-8054-4903-9C49-A79846049FC9}.Release|ARM64.ActiveCfg = ReleaseMD|ARM64
|
||||
{37489709-8054-4903-9C49-A79846049FC9}.Release|ARM64.Build.0 = ReleaseMD|ARM64
|
||||
{37489709-8054-4903-9C49-A79846049FC9}.Release|x64.ActiveCfg = ReleaseMD|x64
|
||||
{37489709-8054-4903-9C49-A79846049FC9}.Release|x64.Build.0 = ReleaseMD|x64
|
||||
{37489709-8054-4903-9C49-A79846049FC9}.Release|x86.ActiveCfg = ReleaseMD|Win32
|
||||
{37489709-8054-4903-9C49-A79846049FC9}.Release|x86.Build.0 = ReleaseMD|Win32
|
||||
{37489709-8054-4903-9C49-A79846049FC9}.ReleaseMD|ARM.ActiveCfg = ReleaseMD|ARM
|
||||
{37489709-8054-4903-9C49-A79846049FC9}.ReleaseMD|ARM.Build.0 = ReleaseMD|ARM
|
||||
{37489709-8054-4903-9C49-A79846049FC9}.ReleaseMD|ARM64.ActiveCfg = ReleaseMD|ARM64
|
||||
{37489709-8054-4903-9C49-A79846049FC9}.ReleaseMD|ARM64.Build.0 = ReleaseMD|ARM64
|
||||
{37489709-8054-4903-9C49-A79846049FC9}.ReleaseMD|x64.ActiveCfg = ReleaseMD|x64
|
||||
{37489709-8054-4903-9C49-A79846049FC9}.ReleaseMD|x64.Build.0 = ReleaseMD|x64
|
||||
{37489709-8054-4903-9C49-A79846049FC9}.ReleaseMD|x86.ActiveCfg = ReleaseMD|Win32
|
||||
{37489709-8054-4903-9C49-A79846049FC9}.ReleaseMD|x86.Build.0 = ReleaseMD|Win32
|
||||
{A67D1CEC-9F56-4D53-97C2-88BADEDDB22D}.Debug|ARM.ActiveCfg = Debug|x64
|
||||
{A67D1CEC-9F56-4D53-97C2-88BADEDDB22D}.Debug|ARM.Build.0 = Debug|x64
|
||||
{A67D1CEC-9F56-4D53-97C2-88BADEDDB22D}.Debug|ARM64.ActiveCfg = Debug|x64
|
||||
@ -415,6 +352,70 @@ Global
|
||||
{A67D1CEC-9F56-4D53-97C2-88BADEDDB22D}.ReleaseMD|x64.Build.0 = Release|x64
|
||||
{A67D1CEC-9F56-4D53-97C2-88BADEDDB22D}.ReleaseMD|x86.ActiveCfg = Release|Win32
|
||||
{A67D1CEC-9F56-4D53-97C2-88BADEDDB22D}.ReleaseMD|x86.Build.0 = Release|Win32
|
||||
{ED22C025-5199-412E-854D-0F1BDE5417BC}.Debug|ARM.ActiveCfg = Debug|x64
|
||||
{ED22C025-5199-412E-854D-0F1BDE5417BC}.Debug|ARM.Build.0 = Debug|x64
|
||||
{ED22C025-5199-412E-854D-0F1BDE5417BC}.Debug|ARM64.ActiveCfg = Debug|x64
|
||||
{ED22C025-5199-412E-854D-0F1BDE5417BC}.Debug|ARM64.Build.0 = Debug|x64
|
||||
{ED22C025-5199-412E-854D-0F1BDE5417BC}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{ED22C025-5199-412E-854D-0F1BDE5417BC}.Debug|x64.Build.0 = Debug|x64
|
||||
{ED22C025-5199-412E-854D-0F1BDE5417BC}.Debug|x86.ActiveCfg = Debug|Win32
|
||||
{ED22C025-5199-412E-854D-0F1BDE5417BC}.Debug|x86.Build.0 = Debug|Win32
|
||||
{ED22C025-5199-412E-854D-0F1BDE5417BC}.DebugMDd|ARM.ActiveCfg = Debug|x64
|
||||
{ED22C025-5199-412E-854D-0F1BDE5417BC}.DebugMDd|ARM.Build.0 = Debug|x64
|
||||
{ED22C025-5199-412E-854D-0F1BDE5417BC}.DebugMDd|ARM64.ActiveCfg = Debug|x64
|
||||
{ED22C025-5199-412E-854D-0F1BDE5417BC}.DebugMDd|ARM64.Build.0 = Debug|x64
|
||||
{ED22C025-5199-412E-854D-0F1BDE5417BC}.DebugMDd|x64.ActiveCfg = Debug|x64
|
||||
{ED22C025-5199-412E-854D-0F1BDE5417BC}.DebugMDd|x64.Build.0 = Debug|x64
|
||||
{ED22C025-5199-412E-854D-0F1BDE5417BC}.DebugMDd|x86.ActiveCfg = Debug|Win32
|
||||
{ED22C025-5199-412E-854D-0F1BDE5417BC}.DebugMDd|x86.Build.0 = Debug|Win32
|
||||
{ED22C025-5199-412E-854D-0F1BDE5417BC}.Release|ARM.ActiveCfg = Release|x64
|
||||
{ED22C025-5199-412E-854D-0F1BDE5417BC}.Release|ARM.Build.0 = Release|x64
|
||||
{ED22C025-5199-412E-854D-0F1BDE5417BC}.Release|ARM64.ActiveCfg = Release|x64
|
||||
{ED22C025-5199-412E-854D-0F1BDE5417BC}.Release|ARM64.Build.0 = Release|x64
|
||||
{ED22C025-5199-412E-854D-0F1BDE5417BC}.Release|x64.ActiveCfg = Release|x64
|
||||
{ED22C025-5199-412E-854D-0F1BDE5417BC}.Release|x64.Build.0 = Release|x64
|
||||
{ED22C025-5199-412E-854D-0F1BDE5417BC}.Release|x86.ActiveCfg = Release|Win32
|
||||
{ED22C025-5199-412E-854D-0F1BDE5417BC}.Release|x86.Build.0 = Release|Win32
|
||||
{ED22C025-5199-412E-854D-0F1BDE5417BC}.ReleaseMD|ARM.ActiveCfg = Release|x64
|
||||
{ED22C025-5199-412E-854D-0F1BDE5417BC}.ReleaseMD|ARM.Build.0 = Release|x64
|
||||
{ED22C025-5199-412E-854D-0F1BDE5417BC}.ReleaseMD|ARM64.ActiveCfg = Release|x64
|
||||
{ED22C025-5199-412E-854D-0F1BDE5417BC}.ReleaseMD|ARM64.Build.0 = Release|x64
|
||||
{ED22C025-5199-412E-854D-0F1BDE5417BC}.ReleaseMD|x64.ActiveCfg = Release|x64
|
||||
{ED22C025-5199-412E-854D-0F1BDE5417BC}.ReleaseMD|x64.Build.0 = Release|x64
|
||||
{ED22C025-5199-412E-854D-0F1BDE5417BC}.ReleaseMD|x86.ActiveCfg = Release|Win32
|
||||
{ED22C025-5199-412E-854D-0F1BDE5417BC}.ReleaseMD|x86.Build.0 = Release|Win32
|
||||
{37489709-8054-4903-9C49-A79846049FC9}.Debug|ARM.ActiveCfg = DebugMDd|ARM
|
||||
{37489709-8054-4903-9C49-A79846049FC9}.Debug|ARM.Build.0 = DebugMDd|ARM
|
||||
{37489709-8054-4903-9C49-A79846049FC9}.Debug|ARM64.ActiveCfg = DebugMDd|ARM64
|
||||
{37489709-8054-4903-9C49-A79846049FC9}.Debug|ARM64.Build.0 = DebugMDd|ARM64
|
||||
{37489709-8054-4903-9C49-A79846049FC9}.Debug|x64.ActiveCfg = DebugMDd|x64
|
||||
{37489709-8054-4903-9C49-A79846049FC9}.Debug|x64.Build.0 = DebugMDd|x64
|
||||
{37489709-8054-4903-9C49-A79846049FC9}.Debug|x86.ActiveCfg = DebugMDd|Win32
|
||||
{37489709-8054-4903-9C49-A79846049FC9}.Debug|x86.Build.0 = DebugMDd|Win32
|
||||
{37489709-8054-4903-9C49-A79846049FC9}.DebugMDd|ARM.ActiveCfg = DebugMDd|ARM
|
||||
{37489709-8054-4903-9C49-A79846049FC9}.DebugMDd|ARM.Build.0 = DebugMDd|ARM
|
||||
{37489709-8054-4903-9C49-A79846049FC9}.DebugMDd|ARM64.ActiveCfg = DebugMDd|ARM64
|
||||
{37489709-8054-4903-9C49-A79846049FC9}.DebugMDd|ARM64.Build.0 = DebugMDd|ARM64
|
||||
{37489709-8054-4903-9C49-A79846049FC9}.DebugMDd|x64.ActiveCfg = DebugMDd|x64
|
||||
{37489709-8054-4903-9C49-A79846049FC9}.DebugMDd|x64.Build.0 = DebugMDd|x64
|
||||
{37489709-8054-4903-9C49-A79846049FC9}.DebugMDd|x86.ActiveCfg = DebugMDd|Win32
|
||||
{37489709-8054-4903-9C49-A79846049FC9}.DebugMDd|x86.Build.0 = DebugMDd|Win32
|
||||
{37489709-8054-4903-9C49-A79846049FC9}.Release|ARM.ActiveCfg = ReleaseMD|ARM
|
||||
{37489709-8054-4903-9C49-A79846049FC9}.Release|ARM.Build.0 = ReleaseMD|ARM
|
||||
{37489709-8054-4903-9C49-A79846049FC9}.Release|ARM64.ActiveCfg = ReleaseMD|ARM64
|
||||
{37489709-8054-4903-9C49-A79846049FC9}.Release|ARM64.Build.0 = ReleaseMD|ARM64
|
||||
{37489709-8054-4903-9C49-A79846049FC9}.Release|x64.ActiveCfg = ReleaseMD|x64
|
||||
{37489709-8054-4903-9C49-A79846049FC9}.Release|x64.Build.0 = ReleaseMD|x64
|
||||
{37489709-8054-4903-9C49-A79846049FC9}.Release|x86.ActiveCfg = ReleaseMD|Win32
|
||||
{37489709-8054-4903-9C49-A79846049FC9}.Release|x86.Build.0 = ReleaseMD|Win32
|
||||
{37489709-8054-4903-9C49-A79846049FC9}.ReleaseMD|ARM.ActiveCfg = ReleaseMD|ARM
|
||||
{37489709-8054-4903-9C49-A79846049FC9}.ReleaseMD|ARM.Build.0 = ReleaseMD|ARM
|
||||
{37489709-8054-4903-9C49-A79846049FC9}.ReleaseMD|ARM64.ActiveCfg = ReleaseMD|ARM64
|
||||
{37489709-8054-4903-9C49-A79846049FC9}.ReleaseMD|ARM64.Build.0 = ReleaseMD|ARM64
|
||||
{37489709-8054-4903-9C49-A79846049FC9}.ReleaseMD|x64.ActiveCfg = ReleaseMD|x64
|
||||
{37489709-8054-4903-9C49-A79846049FC9}.ReleaseMD|x64.Build.0 = ReleaseMD|x64
|
||||
{37489709-8054-4903-9C49-A79846049FC9}.ReleaseMD|x86.ActiveCfg = ReleaseMD|Win32
|
||||
{37489709-8054-4903-9C49-A79846049FC9}.ReleaseMD|x86.Build.0 = ReleaseMD|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
@ -422,15 +423,15 @@ Global
|
||||
GlobalSection(NestedProjects) = preSolution
|
||||
{94127830-3A6C-4861-BBD2-20C0D289802D} = {A46DB9F5-4A23-41CA-98CA-A5DE9DDF012A}
|
||||
{B7848E35-3881-44CC-89B9-C14D32B2BC42} = {A46DB9F5-4A23-41CA-98CA-A5DE9DDF012A}
|
||||
{7639E4A9-40B7-4709-864A-72A1879AADED} = {A46DB9F5-4A23-41CA-98CA-A5DE9DDF012A}
|
||||
{F9420BF5-A0E3-41C4-8EB0-DB81A54CF6D8} = {A46DB9F5-4A23-41CA-98CA-A5DE9DDF012A}
|
||||
{F58FABA6-C92B-4D45-8F05-51A3430D2625} = {A46DB9F5-4A23-41CA-98CA-A5DE9DDF012A}
|
||||
{C0273DA4-2B16-4A10-B229-6113D4408741} = {240ACC56-C364-4337-B2C1-D607979FBEA3}
|
||||
{41492CBB-4C65-4E00-AC8B-69E89EFC8AC4} = {240ACC56-C364-4337-B2C1-D607979FBEA3}
|
||||
{C4B41A92-2F30-4E8D-8F44-1A82F5C6A7F9} = {A46DB9F5-4A23-41CA-98CA-A5DE9DDF012A}
|
||||
{DD076E76-174E-414F-A47F-01CC84E3FC80} = {A46DB9F5-4A23-41CA-98CA-A5DE9DDF012A}
|
||||
{37489709-8054-4903-9C49-A79846049FC9} = {097A8A65-AD91-432A-9AF2-58F588E51597}
|
||||
{A67D1CEC-9F56-4D53-97C2-88BADEDDB22D} = {A46DB9F5-4A23-41CA-98CA-A5DE9DDF012A}
|
||||
{ED22C025-5199-412E-854D-0F1BDE5417BC} = {A46DB9F5-4A23-41CA-98CA-A5DE9DDF012A}
|
||||
{37489709-8054-4903-9C49-A79846049FC9} = {097A8A65-AD91-432A-9AF2-58F588E51597}
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {19991728-E423-4D8D-9EF8-1311EFB03952}
|
||||
|
@ -84,7 +84,6 @@
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<None Include="cpp.hint" />
|
||||
<None Include="Exports.def" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
|
@ -1,45 +1,16 @@
|
||||
<?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;c++;cppm;ixx;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;h++;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>
|
||||
<ClInclude Include="pch.h" />
|
||||
<ClInclude Include="appmodel.h" />
|
||||
<ClInclude Include="framework.h" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="cpp.hint" />
|
||||
<None Include="Exports.def">
|
||||
<Filter>Source Files</Filter>
|
||||
</None>
|
||||
<ClCompile Include="pch.cpp" />
|
||||
<ClCompile Include="appmodel.cpp" />
|
||||
<ClCompile Include="dllmain.cpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="framework.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="appmodel.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="pch.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="appmodel.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="dllmain.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="pch.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<None Include="Exports.def" />
|
||||
</ItemGroup>
|
||||
</Project>
|
@ -1,2 +0,0 @@
|
||||
#define APPMODEL_API __declspec(dllexport)
|
||||
#define APPMODEL_API __declspec(dllimport)
|
@ -1,7 +1,6 @@
|
||||
LIBRARY d3d11_x
|
||||
EXPORTS
|
||||
D3D10CreateBlob = D3D10.D3D10CreateBlob @1
|
||||
D3D11CreateDevice = d3d11.D3D11CreateDevice @2
|
||||
D3D11CreateDeviceAndSwapChain = d3d11.D3D11CreateDeviceAndSwapChain @3
|
||||
D3D11XCreateDeviceX = d3d11.D3D11XCreateDeviceX @4
|
||||
D3D11XCreateDeviceXAndSwapChain1 = d3d11.D3D11XCreateDeviceXAndSwapChain1 @5
|
||||
D3D10CreateBlob = d3d10.D3D10CreateBlob @1
|
||||
D3D11CreateDevice = d3d11.D3D11CreateDevice @2
|
||||
D3D11CreateDeviceAndSwapChain = d3d11.D3D11CreateDeviceAndSwapChain @3
|
||||
D3D11XCreateDeviceX = d3d11.D3D11CreateDevice @4
|
@ -1,3 +1,2 @@
|
||||
#include "pch.h"
|
||||
#include "framework.h"
|
||||
#include "d3d11_x.h"
|
||||
// ReSharper disable CppInconsistentNaming
|
||||
#include "pch.h"
|
@ -62,7 +62,7 @@
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<EnableUAC>false</EnableUAC>
|
||||
<AdditionalDependencies>d3d11.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<AdditionalDependencies>d3d10.lib;d3d11.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<ModuleDefinitionFile>Exports.def</ModuleDefinitionFile>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
@ -107,4 +107,4 @@
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
||||
</Project>
|
@ -1,13 +1,8 @@
|
||||
// pch.h: This is a precompiled header file.
|
||||
// Files listed below are compiled only once, improving build performance for future builds.
|
||||
// This also affects IntelliSense performance, including code completion and many code browsing features.
|
||||
// However, files listed here are ALL re-compiled if any one of them is updated between builds.
|
||||
// Do not add files here that you will be updating frequently as this negates the performance advantage.
|
||||
|
||||
#ifndef PCH_H
|
||||
#define PCH_H
|
||||
|
||||
// add headers that you want to pre-compile here
|
||||
#include "framework.h"
|
||||
#include "d3d11_x.h"
|
||||
#include "dxgi.h"
|
||||
|
||||
#endif //PCH_H
|
||||
#endif //PCH_H
|
@ -2,22 +2,39 @@
|
||||
// ReSharper disable CppParameterMayBeConst
|
||||
// ReSharper disable CppClangTidyClangDiagnosticMicrosoftCast
|
||||
// ReSharper disable CppClangTidyClangDiagnosticUndefinedReinterpretCast
|
||||
// ReSharper disable CppClangTidyClangDiagnosticShadow
|
||||
// ReSharper disable CppClangTidyClangDiagnosticCastFunctionTypeStrict
|
||||
#include "pch.h"
|
||||
|
||||
typedef HRESULT (WINAPI* FuncRoGetActivationFactory)(HSTRING, REFIID, void**);
|
||||
typedef HRESULT (WINAPI *GetActivationFactory)(HSTRING classId, IActivationFactory** factory);
|
||||
|
||||
FuncRoGetActivationFactory pRoGetActivationFactory = RoGetActivationFactory;
|
||||
HRESULT(WINAPI* TrueRoGetActivationFactory)(HSTRING classId, REFIID iid, void** factory) = RoGetActivationFactory;
|
||||
|
||||
HRESULT WINAPI RoGetActivationFactory_Hook(HSTRING classId, REFIID iid, void** factory)
|
||||
{
|
||||
const wchar_t* classIdStr = WindowsGetStringRawBuffer(classId, nullptr);
|
||||
auto hr = TrueRoGetActivationFactory(classId, iid, factory);
|
||||
|
||||
if (wcscmp(classIdStr, L"Windows.ApplicationModel.Core.CoreApplication") == 0)
|
||||
const std::wstring message = std::wstring(L"classId: ") + WindowsGetStringRawBuffer(classId, nullptr);
|
||||
|
||||
MessageBox(nullptr, message.c_str(), L"RoGetActivationFactory Success", MB_OK);
|
||||
|
||||
if (FAILED(hr))
|
||||
{
|
||||
MessageBox(nullptr, L"RoGetActivationFactory", L"classId: Windows.ApplicationModel.Core.CoreApplication", MB_OK);
|
||||
MessageBox(nullptr, message.c_str(), L"RoGetActivationFactory Failed", MB_OK);
|
||||
|
||||
const auto pGetActivationFactory = reinterpret_cast<GetActivationFactory>(
|
||||
GetProcAddress(
|
||||
GetModuleHandle(
|
||||
TEXT("winrt_x.dll")), "GetActivationFactory_X"));
|
||||
|
||||
Microsoft::WRL::ComPtr<IActivationFactory> _factory{};
|
||||
|
||||
auto b = _factory.GetAddressOf();
|
||||
|
||||
hr = pGetActivationFactory(classId, _factory.GetAddressOf());
|
||||
}
|
||||
|
||||
return S_OK;
|
||||
return hr;
|
||||
}
|
||||
|
||||
BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID reserved)
|
||||
@ -27,21 +44,16 @@ BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID reserved)
|
||||
if (dwReason == DLL_PROCESS_ATTACH)
|
||||
{
|
||||
DetourRestoreAfterWith();
|
||||
|
||||
DetourTransactionBegin();
|
||||
DetourUpdateThread(GetCurrentThread());
|
||||
|
||||
DetourAttach(&reinterpret_cast<PVOID&>(pRoGetActivationFactory), RoGetActivationFactory_Hook);
|
||||
|
||||
DetourAttach(&reinterpret_cast<PVOID&>(TrueRoGetActivationFactory), RoGetActivationFactory_Hook);
|
||||
DetourTransactionCommit();
|
||||
}
|
||||
else if (dwReason == DLL_PROCESS_DETACH)
|
||||
{
|
||||
DetourTransactionBegin();
|
||||
DetourUpdateThread(GetCurrentThread());
|
||||
|
||||
DetourDetach(&reinterpret_cast<PVOID&>(pRoGetActivationFactory), RoGetActivationFactory_Hook);
|
||||
|
||||
DetourDetach(&reinterpret_cast<PVOID&>(TrueRoGetActivationFactory), RoGetActivationFactory_Hook);
|
||||
DetourTransactionCommit();
|
||||
}
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
#include "framework.h"
|
||||
#include "kernelx.h"
|
||||
|
||||
#include "detours.h"
|
||||
#include "../src/detours.h"
|
||||
|
||||
#include <intrin.h>
|
||||
#include <winternl.h>
|
||||
|
1
dlls/ntdll/.gitignore
vendored
1
dlls/ntdll/.gitignore
vendored
@ -1 +0,0 @@
|
||||
.vs/*
|
@ -1,3 +0,0 @@
|
||||
LIBRARY ntdll
|
||||
EXPORTS
|
||||
TpSetPoolAffinityMask = TpSetPoolAffinityMask_X @860
|
File diff suppressed because it is too large
Load Diff
@ -1,28 +0,0 @@
|
||||
#include "pch.h"
|
||||
#include "framework.h"
|
||||
#include <winternl.h>
|
||||
#include <synchapi.h>
|
||||
|
||||
__int64 TpSetPoolAffinityMask_X(PTP_POOL ptpp, DWORD_PTR dwThreadPoolAffinityMask) {
|
||||
return 0;
|
||||
}
|
||||
//__int64 __fastcall LdrUnloadDll(__int64 moduleHandle)
|
||||
//{
|
||||
// int status; // Status of the unload operation
|
||||
// __int64 referenceData; // Additional module reference data
|
||||
//
|
||||
// if (byte_18009ED28)
|
||||
// return 0i64; // No operation if module unloading is globally disabled
|
||||
//
|
||||
// if (!moduleHandle)
|
||||
// return (unsigned int)-1073741515; // Invalid handle error
|
||||
//
|
||||
// // Attempt to prepare the module for unloading
|
||||
// status = sub_18000D3C4(moduleHandle, 0i64, &unusedVar, &referenceData);
|
||||
// if (status >= 0) {
|
||||
// sub_180012A80(referenceData); // Decrement reference count
|
||||
// sub_180012BCC(referenceData); // Final cleanup if needed
|
||||
// }
|
||||
//
|
||||
// return (unsigned int)status; // Return status of the operation
|
||||
//}
|
@ -1,105 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|x64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|x64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Text Include="Exports.txt" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="ntdll.cpp" />
|
||||
<ClCompile Include="pch.cpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="framework.h" />
|
||||
<ClInclude Include="pch.h" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Exports.def" />
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<VCProjectVersion>17.0</VCProjectVersion>
|
||||
<Keyword>Win32Proj</Keyword>
|
||||
<ProjectGuid>{7639e4a9-40b7-4709-864a-72a1879aaded}</ProjectGuid>
|
||||
<RootNamespace>ntdll</RootNamespace>
|
||||
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v143</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v143</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|x64'">
|
||||
<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|x64'">
|
||||
<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)'=='Debug|x64'">
|
||||
<TargetName>ntdll</TargetName>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<TargetName>ntdll</TargetName>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<PreprocessorDefinitions>_DEBUG;NTDLL_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<PrecompiledHeader>Create</PrecompiledHeader>
|
||||
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<EnableUAC>false</EnableUAC>
|
||||
<ModuleDefinitionFile>Exports.def</ModuleDefinitionFile>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<PreprocessorDefinitions>NDEBUG;NTDLL_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<PrecompiledHeader>Create</PrecompiledHeader>
|
||||
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<EnableUAC>false</EnableUAC>
|
||||
<ModuleDefinitionFile>Exports.def</ModuleDefinitionFile>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
@ -1,17 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup>
|
||||
<Text Include="Exports.txt" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="pch.cpp" />
|
||||
<ClCompile Include="ntdll.cpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="framework.h" />
|
||||
<ClInclude Include="pch.h" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Exports.def" />
|
||||
</ItemGroup>
|
||||
</Project>
|
@ -1,13 +0,0 @@
|
||||
// pch.h: This is a precompiled header file.
|
||||
// Files listed below are compiled only once, improving build performance for future builds.
|
||||
// This also affects IntelliSense performance, including code completion and many code browsing features.
|
||||
// However, files listed here are ALL re-compiled if any one of them is updated between builds.
|
||||
// Do not add files here that you will be updating frequently as this negates the performance advantage.
|
||||
|
||||
#ifndef PCH_H
|
||||
#define PCH_H
|
||||
|
||||
// add headers that you want to pre-compile here
|
||||
#include "framework.h"
|
||||
|
||||
#endif //PCH_H
|
3
dlls/winrt_x/Exports.def
Normal file
3
dlls/winrt_x/Exports.def
Normal file
@ -0,0 +1,3 @@
|
||||
LIBRARY winrt_x
|
||||
EXPORTS
|
||||
GetActivationFactory_X @1
|
10
dlls/winrt_x/dllmain.cpp
Normal file
10
dlls/winrt_x/dllmain.cpp
Normal file
@ -0,0 +1,10 @@
|
||||
// ReSharper disable CppInconsistentNaming
|
||||
// ReSharper disable CppParameterMayBeConst
|
||||
// ReSharper disable CppClangTidyClangDiagnosticMicrosoftCast
|
||||
// ReSharper disable CppClangTidyClangDiagnosticUndefinedReinterpretCast
|
||||
#include "pch.h"
|
||||
|
||||
BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID reserved)
|
||||
{
|
||||
return TRUE;
|
||||
}
|
10
dlls/winrt_x/pch.h
Normal file
10
dlls/winrt_x/pch.h
Normal file
@ -0,0 +1,10 @@
|
||||
#ifndef PCH_H
|
||||
#define PCH_H
|
||||
|
||||
#include <hstring.h>
|
||||
#include <wrl/client.h>
|
||||
|
||||
#include "framework.h"
|
||||
#include "winrt_x.h"
|
||||
|
||||
#endif //PCH_H
|
7
dlls/winrt_x/winrt_x.cpp
Normal file
7
dlls/winrt_x/winrt_x.cpp
Normal file
@ -0,0 +1,7 @@
|
||||
// ReSharper disable CppInconsistentNaming
|
||||
#include "pch.h"
|
||||
|
||||
HRESULT GetActivationFactory_X(HSTRING classId, IActivationFactory** factory)
|
||||
{
|
||||
return S_OK;
|
||||
}
|
22
dlls/winrt_x/winrt_x.h
Normal file
22
dlls/winrt_x/winrt_x.h
Normal file
@ -0,0 +1,22 @@
|
||||
// The following ifdef block is the standard way of creating macros which make exporting
|
||||
// from a DLL simpler. All files within this DLL are compiled with the WINRTX_EXPORTS
|
||||
// symbol defined on the command line. This symbol should not be defined on any project
|
||||
// that uses this DLL. This way any other project whose source files include this file see
|
||||
// WINRTX_API functions as being imported from a DLL, whereas this DLL sees symbols
|
||||
// defined with this macro as being exported.
|
||||
#ifdef WINRTX_EXPORTS
|
||||
#define WINRTX_API __declspec(dllexport)
|
||||
#else
|
||||
#define WINRTX_API __declspec(dllimport)
|
||||
#endif
|
||||
|
||||
// This class is exported from the dll
|
||||
class WINRTX_API Cwinrtx {
|
||||
public:
|
||||
Cwinrtx(void);
|
||||
// TODO: add your methods here.
|
||||
};
|
||||
|
||||
extern WINRTX_API int nwinrtx;
|
||||
|
||||
WINRTX_API int fnwinrtx(void);
|
178
dlls/winrt_x/winrt_x.vcxproj
Normal file
178
dlls/winrt_x/winrt_x.vcxproj
Normal file
@ -0,0 +1,178 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" 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>
|
||||
<ProjectConfiguration Include="Debug|x64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|x64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<VCProjectVersion>17.0</VCProjectVersion>
|
||||
<Keyword>Win32Proj</Keyword>
|
||||
<ProjectGuid>{ed22c025-5199-412e-854d-0f1bde5417bc}</ProjectGuid>
|
||||
<RootNamespace>winrtx</RootNamespace>
|
||||
<WindowsTargetPlatformVersion>10.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>v143</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v143</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v143</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v143</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>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<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|x64'">
|
||||
<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)'=='Debug|x64'">
|
||||
<TargetName>winrt_x</TargetName>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<TargetName>winrtx</TargetName>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<TargetName>winrtx</TargetName>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<TargetName>winrtx</TargetName>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<PreprocessorDefinitions>WIN32;_DEBUG;WINRTX_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<EnableUAC>false</EnableUAC>
|
||||
<ModuleDefinitionFile>Source.def</ModuleDefinitionFile>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<PreprocessorDefinitions>WIN32;NDEBUG;WINRTX_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<EnableUAC>false</EnableUAC>
|
||||
<ModuleDefinitionFile>Source.def</ModuleDefinitionFile>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<PreprocessorDefinitions>_DEBUG;WINRTX_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<EnableUAC>false</EnableUAC>
|
||||
<ModuleDefinitionFile>Exports.def</ModuleDefinitionFile>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
<PreprocessorDefinitions>NDEBUG;WINRTX_EXPORTS;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<ConformanceMode>true</ConformanceMode>
|
||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<EnableUAC>false</EnableUAC>
|
||||
<ModuleDefinitionFile>Source.def</ModuleDefinitionFile>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="framework.h" />
|
||||
<ClInclude Include="pch.h" />
|
||||
<ClInclude Include="winrt_x.h" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="dllmain.cpp" />
|
||||
<ClCompile Include="pch.cpp">
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
|
||||
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Create</PrecompiledHeader>
|
||||
</ClCompile>
|
||||
<ClCompile Include="winrt_x.cpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Exports.def" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
44
dlls/winrt_x/winrt_x.vcxproj.filters
Normal file
44
dlls/winrt_x/winrt_x.vcxproj.filters
Normal file
@ -0,0 +1,44 @@
|
||||
<?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;c++;cppm;ixx;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;h++;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>
|
||||
<ClInclude Include="framework.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="winrt_x.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="pch.h">
|
||||
<Filter>Header Files</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="winrt_x.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="dllmain.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="pch.cpp">
|
||||
<Filter>Source Files</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Exports.def">
|
||||
<Filter>Source Files</Filter>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
</Project>
|
Loading…
Reference in New Issue
Block a user