Add mechanism for runtime to query host for information (#78798)
authorElinor Fung <elfung@microsoft.com>
Tue, 6 Dec 2022 23:23:40 +0000 (15:23 -0800)
committerGitHub <noreply@github.com>
Tue, 6 Dec 2022 23:23:40 +0000 (15:23 -0800)
commit45f5e85079762a3d557cb54ea825c3c9efbb1383
tree94494bfc8fc0e844f49c3628b87fcaea00701df1
parent360d40548836556cc2c4f4bfd876e2557141c877
Add mechanism for runtime to query host for information (#78798)
14 files changed:
src/coreclr/dlls/mscoree/exports.cpp
src/coreclr/inc/hostinformation.h [new file with mode: 0644]
src/coreclr/vm/CMakeLists.txt
src/coreclr/vm/corhost.cpp
src/coreclr/vm/hostinformation.cpp [new file with mode: 0644]
src/installer/tests/Assets/TestProjects/HostApiInvokerApp/HostApiInvokerApp.csproj
src/installer/tests/Assets/TestProjects/HostApiInvokerApp/HostRuntimeContract.cs [new file with mode: 0644]
src/installer/tests/Assets/TestProjects/HostApiInvokerApp/Program.cs
src/installer/tests/HostActivation.Tests/NativeHostApis.cs
src/native/corehost/host_runtime_contract.h [new file with mode: 0644]
src/native/corehost/hostmisc/pal.h
src/native/corehost/hostmisc/pal.windows.cpp
src/native/corehost/hostpolicy/hostpolicy_context.cpp
src/native/corehost/hostpolicy/hostpolicy_context.h