Skip to content

Commit

Permalink
fix(Process): add missing definitions.
Browse files Browse the repository at this point in the history
  • Loading branch information
MiroKaku committed Oct 26, 2024
1 parent f6cab1e commit ca3f434
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Veil.NuGet/Musa.Veil.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<projectUrl>https://github.com/MiroKaku/Veil</projectUrl>
<repository type="git" url="https://github.com/MiroKaku/Veil.git" branch="main" commit="$commit$" />
<dependencies>
<dependency id="YY.NuGet.Import.Helper" version="1.0.0.4" />
<dependency id="YY.NuGet.Import.Helper" version="1.0.1" />
</dependencies>
</metadata>
<files>
Expand Down
13 changes: 13 additions & 0 deletions Veil.Test/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<Project>
<ItemGroup Label="NuGet" Condition="'$(MSBuildProjectExtension)' == '.vcxproj'">
<ProjectCapability Include="PackageReferences" />
</ItemGroup>
<PropertyGroup Label="NuGet" Condition="('$(MSBuildProjectExtension)' == '.vcxproj') Or ('$(MSBuildProjectExtension)' == '.wapproj')">
<!-- https://github.com/microsoft/react-native-windows/pull/8195 -->
<AssetTargetFallback>$(AssetTargetFallback);native;uap$(TargetPlatformVersion);</AssetTargetFallback>
<!-- https://github.com/microsoft/react-native-windows/pull/8195 -->
<TargetFrameworkMoniker>native,Version=v0.0</TargetFrameworkMoniker>
<NuGetTargetMoniker>native,Version=v0.0</NuGetTargetMoniker>
<TargetFrameworkMoniker Condition ="'$(DesignTimeBuild)' == 'true'">.NETCore,Version=v5.0</TargetFrameworkMoniker>
<NuGetTargetMoniker Condition ="'$(DesignTimeBuild)' == 'true'">.NETCore,Version=v5.0</NuGetTargetMoniker>
<RuntimeIdentifiers>win;win-x86;win-x64;win-arm;win-arm64;win10-x86;win10-x64;win10-arm;win10-arm64</RuntimeIdentifiers>
</PropertyGroup>
<PropertyGroup>
<ForceImportAfterCppProps>$(MSBuildThisFileDirectory)Veil.Project.props</ForceImportAfterCppProps>
</PropertyGroup>
Expand Down
12 changes: 11 additions & 1 deletion Veil/Veil.System.Process.h
Original file line number Diff line number Diff line change
Expand Up @@ -1573,14 +1573,23 @@ typedef enum _PROCESSINFOCLASS
MaxProcessInfoClass
} PROCESSINFOCLASS;
#else
#define ProcessDefaultCpuSetsInformation ((PROCESSINFOCLASS)66)
#define ProcessAllowedCpuSetsInformation ((PROCESSINFOCLASS)67)
#define ProcessSubsystemProcess ((PROCESSINFOCLASS)68)
#define ProcessJobMemoryInformation ((PROCESSINFOCLASS)69)
#define ProcessInPrivate ((PROCESSINFOCLASS)70)
#define ProcessRaiseUMExceptionOnInvalidHandleClose ((PROCESSINFOCLASS)71)
#define ProcessIumChallengeResponse ((PROCESSINFOCLASS)72)
#define ProcessChildProcessInformation ((PROCESSINFOCLASS)73)
#define ProcessHighGraphicsPriorityInformation ((PROCESSINFOCLASS)74)
#define ProcessSubsystemInformation ((PROCESSINFOCLASS)75)
#define ProcessEnergyValues ((PROCESSINFOCLASS)76)
#define ProcessPowerThrottlingState ((PROCESSINFOCLASS)77)
#define ProcessReserved3Information ((PROCESSINFOCLASS)78)
#define ProcessWin32kSyscallFilterInformation ((PROCESSINFOCLASS)79)
#define ProcessDisableSystemAllowedCpuSets ((PROCESSINFOCLASS)80)
#define ProcessWakeInformation ((PROCESSINFOCLASS)81)
#define ProcessEnergyTrackingState ((PROCESSINFOCLASS)82)
#define ProcessManageWritesToExecutableMemory ((PROCESSINFOCLASS)83)
#define ProcessCaptureTrustletLiveDump ((PROCESSINFOCLASS)84)
#define ProcessTelemetryCoverage ((PROCESSINFOCLASS)85)
Expand All @@ -1590,7 +1599,7 @@ typedef enum _PROCESSINFOCLASS
#define ProcessImageSection ((PROCESSINFOCLASS)89)
#define ProcessDebugAuthInformation ((PROCESSINFOCLASS)90)
#define ProcessSystemResourceManagement ((PROCESSINFOCLASS)91)
//#define ProcessSequenceNumber ((PROCESSINFOCLASS)92)
#define PROCESSINFOCLASS_ProcessSequenceNumber ((PROCESSINFOCLASS)92)
#define ProcessLoaderDetour ((PROCESSINFOCLASS)93)
#define ProcessSecurityDomainInformation ((PROCESSINFOCLASS)94)
#define ProcessCombineSecurityDomainsInformation ((PROCESSINFOCLASS)95)
Expand Down Expand Up @@ -1695,6 +1704,7 @@ typedef enum _THREADINFOCLASS
#define ThreadDynamicCodePolicyInfo ((THREADINFOCLASS)42)
#define ThreadExplicitCaseSensitivity ((THREADINFOCLASS)43)
#define ThreadWorkOnBehalfTicket ((THREADINFOCLASS)44)
#define ThreadSubsystemInformation ((THREADINFOCLASS)45)
#define ThreadDbgkWerReportActive ((THREADINFOCLASS)46)
#define ThreadAttachContainer ((THREADINFOCLASS)47)
#define ThreadManageWritesToExecutableMemory ((THREADINFOCLASS)48)
Expand Down

0 comments on commit ca3f434

Please sign in to comment.