Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add public Nt/Rtl header (winternl) #282

Merged
merged 2 commits into from
Dec 9, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions TerraFX.Interop.Windows.sln
Original file line number Diff line number Diff line change
Expand Up @@ -2735,6 +2735,13 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "LsaLookup", "LsaLookup", "{
generation\Windows\um\LsaLookup\um-lsalookup.h = generation\Windows\um\LsaLookup\um-lsalookup.h
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "winternl", "winternl", "{C6D41109-BC96-4D1B-83BA-C6A00361FB6E}"
ProjectSection(SolutionItems) = preProject
generation\Windows\um\winternl\generate.rsp = generation\Windows\um\winternl\generate.rsp
generation\Windows\um\winternl\header.txt = generation\Windows\um\winternl\header.txt
generation\Windows\um\winternl\um-winternl.h = generation\Windows\um\winternl\um-winternl.h
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "fdi", "fdi", "{37AEBE29-9D61-4D84-A0D1-F7B748103D97}"
ProjectSection(SolutionItems) = preProject
generation\Windows\um\fdi\generate.rsp = generation\Windows\um\fdi\generate.rsp
Expand Down Expand Up @@ -3185,6 +3192,7 @@ Global
{27F2C115-00D5-4152-BF08-0674EA9EF59B} = {67311E5E-FA9C-43A6-B431-9EF10047A0CE}
{F311F39C-98D2-4DB0-938A-279CCF799089} = {67311E5E-FA9C-43A6-B431-9EF10047A0CE}
{1729358D-206C-4F08-AD5F-C6F2E63ECD88} = {67311E5E-FA9C-43A6-B431-9EF10047A0CE}
{C6D41109-BC96-4D1B-83BA-C6A00361FB6E} = {67311E5E-FA9C-43A6-B431-9EF10047A0CE}
{37AEBE29-9D61-4D84-A0D1-F7B748103D97} = {67311E5E-FA9C-43A6-B431-9EF10047A0CE}
{CBC62B75-03A4-470D-A52A-D84161773CB7} = {67311E5E-FA9C-43A6-B431-9EF10047A0CE}
{5FC51DA5-FF47-4100-BE74-2F3DE11EF163} = {67311E5E-FA9C-43A6-B431-9EF10047A0CE}
Expand Down
52 changes: 52 additions & 0 deletions generation/Windows/um/winternl/generate.rsp
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
@../../../settings.rsp
@../../../remap.rsp
--file
um-winternl.h
--methodClassName
Windows
--namespace
TerraFX.Interop.Windows
--output
../../../../sources/Interop/Windows/Windows/um/winternl
--test-output
../../../../tests/Interop/Windows/Windows/um/winternl
--traverse
C:/Program Files (x86)/Windows Kits/10/Include/10.0.20348.0/um/winternl.h
--with-librarypath
NtClose=ntdll
NtCreateFile=ntdll
NtDeviceIoControlFile=ntdll
NtNotifyChangeMultipleKeys=ntdll
NtOpenFile=ntdll
NtQueryInformationProcess=ntdll
NtQueryInformationThread=ntdll
NtQueryMultipleValueKey=ntdll
NtQueryObject=ntdll
NtQuerySystemInformation=ntdll
NtQuerySystemTime=ntdll
NtQueryTimerResolution=ntdll
NtRenameKey=ntdll
NtSetInformationKey=ntdll
NtSetInformationThread=ntdll
NtWaitForSingleObject=ntdll
RtlAnsiStringToUnicodeString=ntdll
RtlCharToInteger=ntdll
RtlConvertSidToUnicodeString=ntdll
RtlFreeAnsiString=ntdll
RtlFreeOemString=ntdll
RtlFreeUnicodeString=ntdll
RtlInitAnsiString=ntdll
RtlInitAnsiStringEx=ntdll
RtlInitString=ntdll
RtlInitStringEx=ntdll
RtlInitUnicodeString=ntdll
RtlIsNameLegalDOS8Dot3=ntdll
RtlLocalTimeToSystemTime=ntdll
RtlNtStatusToDosError=ntdll
RtlTimeToSecondsSince1970=ntdll
RtlUnicodeStringToAnsiString=ntdll
RtlUnicodeStringToOemString=ntdll
RtlUnicodeToMultiByteSize=ntdll
RtlUniform=ntdll
--with-type
SERVERNAME_CURRENT=void*
4 changes: 4 additions & 0 deletions generation/Windows/um/winternl/header.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.

// Ported from um/winternl.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
3 changes: 3 additions & 0 deletions generation/Windows/um/winternl/um-winternl.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#undef INITGUID
#include "..\..\..\TerraFX.h"
#include <winternl.h>
1 change: 1 addition & 0 deletions generation/remap-classes.rsp
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ CMF_*=CMF
CMIC_*=CMIC
CMSG_*=CMSG
CM_*=CM
CODEINTEGRITY_*=CODEINTEGRITY
COLOR_*=COLOR
COMADMIN_*=COMADMIN
CONNECT_*=CONNECT
Expand Down
35 changes: 35 additions & 0 deletions generation/remap-types.rsp
Original file line number Diff line number Diff line change
Expand Up @@ -1511,6 +1511,7 @@ _CLAIM_SECURITY_ATTRIBUTE_RELATIVE_V1=CLAIM_SECURITY_ATTRIBUTE_RELATIVE_V1
_CLAIM_SECURITY_ATTRIBUTE_V1=CLAIM_SECURITY_ATTRIBUTE_V1
_CLASS_MEDIA_CHANGE_CONTEXT=CLASS_MEDIA_CHANGE_CONTEXT
_CLIENT_CALL_RETURN=CLIENT_CALL_RETURN
_CLIENT_ID=CLIENT_ID
_CLUSTER_RANGE=CLUSTER_RANGE
_CMC_ADD_ATTRIBUTES_INFO=CMC_ADD_ATTRIBUTES_INFO
_CMC_ADD_EXTENSIONS_INFO=CMC_ADD_EXTENSIONS_INFO
Expand Down Expand Up @@ -2446,6 +2447,7 @@ _FILE_ID_BOTH_DIR_INFO=FILE_ID_BOTH_DIR_INFO
_FILE_ID_EXTD_DIR_INFO=FILE_ID_EXTD_DIR_INFO
_FILE_ID_INFO=FILE_ID_INFO
_FILE_ID_TYPE=FILE_ID_TYPE
_FILE_INFORMATION_CLASS=FILE_INFORMATION_CLASS
_FILE_INFO_BY_HANDLE_CLASS=FILE_INFO_BY_HANDLE_CLASS
_FILE_INITIATE_REPAIR_OUTPUT_BUFFER=FILE_INITIATE_REPAIR_OUTPUT_BUFFER
_FILE_IN_CABINET_INFO_A=FILE_IN_CABINET_INFO_A
Expand Down Expand Up @@ -2800,6 +2802,7 @@ _INTERNAL_IF_OPER_STATUS=INTERNAL_IF_OPER_STATUS
_INTLIST=INTLIST
_IO_COUNTERS=IO_COUNTERS
_IO_IRP_EXT_TRACK_OFFSET_HEADER=IO_IRP_EXT_TRACK_OFFSET_HEADER
_IO_STATUS_BLOCK=IO_STATUS_BLOCK
_IP4_ARRAY=IP4_ARRAY
_IPV6_ADDRESS_EX=IPV6_ADDRESS_EX
_IP_ADAPTER_ADDRESSES_LH=IP_ADAPTER_ADDRESSES_LH
Expand Down Expand Up @@ -2929,7 +2932,9 @@ _KERB_TICKET_UNLOCK_LOGON=KERB_TICKET_UNLOCK_LOGON
_KERB_TRANSFER_CRED_REQUEST=KERB_TRANSFER_CRED_REQUEST
_KERNEL_CET_CONTEXT=KERNEL_CET_CONTEXT
_KEY_EVENT_RECORD=KEY_EVENT_RECORD
_KEY_SET_INFORMATION_CLASS=KEY_SET_INFORMATION_CLASS
_KEY_TYPE_SUBTYPE=KEY_TYPE_SUBTYPE
_KEY_VALUE_ENTRY=KEY_VALUE_ENTRY
_KF_DEFINITION_FLAGS=@KF_DEFINITION_FLAGS
_KF_REDIRECTION_CAPABILITIES=@KF_REDIRECTION_CAPABILITIES
_KF_REDIRECT_FLAGS=@KF_REDIRECT_FLAGS
Expand Down Expand Up @@ -2969,6 +2974,7 @@ _KTMOBJECT_TYPE=KTMOBJECT_TYPE
_LANA_ENUM=LANA_ENUM
_LARGE_INTEGER=LARGE_INTEGER
_ldiv_t=ldiv_t
_LDR_DATA_TABLE_ENTRY=LDR_DATA_TABLE_ENTRY
_LDT_ENTRY=LDT_ENTRY
_lengthAdjust=lengthAdjust
_LINE_DIRECTION=LINE_DIRECTION
Expand Down Expand Up @@ -3580,10 +3586,12 @@ _NUMA_NODE_RELATIONSHIP=NUMA_NODE_RELATIONSHIP
_numberfmtA=NUMBERFMTA
_numberfmtW=NUMBERFMTW
_NV_MEMORY_RANGE=NV_MEMORY_RANGE
_OBJECT_ATTRIBUTES=OBJECT_ATTRIBUTES
_OBJECTID=OBJECTID
_OBJECTS_AND_NAME_A=OBJECTS_AND_NAME_A
_OBJECTS_AND_NAME_W=OBJECTS_AND_NAME_W
_OBJECTS_AND_SID=OBJECTS_AND_SID
_OBJECT_INFORMATION_CLASS=OBJECT_INFORMATION_CLASS
_OBJECT_TYPE_LIST=OBJECT_TYPE_LIST
_OCSP_BASIC_RESPONSE_ENTRY=OCSP_BASIC_RESPONSE_ENTRY
_OCSP_BASIC_RESPONSE_INFO=OCSP_BASIC_RESPONSE_INFO
Expand Down Expand Up @@ -3641,6 +3649,8 @@ _PARTITION_STYLE=PARTITION_STYLE
_PATHNAME_BUFFER=PATHNAME_BUFFER
_PctPublicKey=PctPublicKey
_PDMODE=@PDMODE
_PEB=PEB
_PEB_LDR_DATA=PEB_LDR_DATA
_PERFORMANCE_DATA=PERFORMANCE_DATA
_PERFORMANCE_INFORMATION=PERFORMANCE_INFORMATION
_PERF_BIN=PERF_BIN
Expand Down Expand Up @@ -3754,6 +3764,8 @@ _PROCESSOR_NUMBER=PROCESSOR_NUMBER
_PROCESSOR_POWER_POLICY=PROCESSOR_POWER_POLICY
_PROCESSOR_POWER_POLICY_INFO=PROCESSOR_POWER_POLICY_INFO
_PROCESSOR_RELATIONSHIP=PROCESSOR_RELATIONSHIP
_PROCESSINFOCLASS=PROCESSINFOCLASS
_PROCESS_BASIC_INFORMATION=PROCESS_BASIC_INFORMATION
_PROCESS_DYNAMIC_EH_CONTINUATION_TARGET=PROCESS_DYNAMIC_EH_CONTINUATION_TARGET
_PROCESS_DYNAMIC_EH_CONTINUATION_TARGETS_INFORMATION=PROCESS_DYNAMIC_EH_CONTINUATION_TARGETS_INFORMATION
_PROCESS_DYNAMIC_ENFORCED_ADDRESS_RANGE=PROCESS_DYNAMIC_ENFORCED_ADDRESS_RANGE
Expand Down Expand Up @@ -3826,6 +3838,8 @@ _PubAppInfo=PUBAPPINFO
_PUBKEY=DHPUBKEY
_PUBKEYVER3=DHPUBKEY_VER3
_PUBLICKEYSTRUC=PUBLICKEYSTRUC
_PUBLIC_OBJECT_BASIC_INFORMATION=PUBLIC_OBJECT_BASIC_INFORMATION
__PUBLIC_OBJECT_TYPE_INFORMATION=PUBLIC_OBJECT_TYPE_INFORMATION
_QCMINFO=QCMINFO
_QCMINFO_IDMAP=QCMINFO_IDMAP
_QCMINFO_IDMAP_PLACEMENT=QCMINFO_IDMAP_PLACEMENT
Expand Down Expand Up @@ -3952,6 +3966,7 @@ _RTL_SRWLOCK=SRWLOCK
_RTL_SYSTEM_GLOBAL_DATA_ID=RTL_SYSTEM_GLOBAL_DATA_ID
_RTL_UMS_SCHEDULER_REASON=UMS_SCHEDULER_REASON
_RTL_UMS_THREAD_INFO_CLASS=UMS_THREAD_INFO_CLASS
_RTL_USER_PROCESS_PARAMETERS=RTL_USER_PROCESS_PARAMETERS
_SAMPR_ENCRYPTED_USER_PASSWORD=SAMPR_ENCRYPTED_USER_PASSWORD
_sandboxAllow=sandboxAllow
_SAVE_SEGMENTS_FLAGS=SAVE_SEGMENTS_FLAGS
Expand Down Expand Up @@ -4423,6 +4438,7 @@ _STREAM_INFORMATION_ENTRY=STREAM_INFORMATION_ENTRY
_STREAM_INFO_LEVELS=STREAM_INFO_LEVELS
_STREAM_LAYOUT_ENTRY=STREAM_LAYOUT_ENTRY
_STREAM_MEDIUM=STREAM_MEDIUM
_STRING=STRING
_STRRET=STRRET
_styleAccelerator=styleAccelerator
_styleAlignContent=styleAlignContent
Expand Down Expand Up @@ -4608,20 +4624,33 @@ _SYSTEM_AUDIT_ACE=SYSTEM_AUDIT_ACE
_SYSTEM_AUDIT_CALLBACK_ACE=SYSTEM_AUDIT_CALLBACK_ACE
_SYSTEM_AUDIT_CALLBACK_OBJECT_ACE=SYSTEM_AUDIT_CALLBACK_OBJECT_ACE
_SYSTEM_AUDIT_OBJECT_ACE=SYSTEM_AUDIT_OBJECT_ACE
_SYSTEM_BASIC_INFORMATION=SYSTEM_BASIC_INFORMATION
_SYSTEM_CODEINTEGRITY_INFORMATION=SYSTEM_CODEINTEGRITY_INFORMATION
_SYSTEM_CPU_SET_INFORMATION=SYSTEM_CPU_SET_INFORMATION
_SYSTEM_EXCEPTION_INFORMATION=SYSTEM_EXCEPTION_INFORMATION
_system_handle_t=system_handle_t
_SYSTEM_INFO=SYSTEM_INFO
_SYSTEM_INFORMATION_CLASS=SYSTEM_INFORMATION_CLASS
_SYSTEM_INTERRUPT_INFORMATION=SYSTEM_INTERRUPT_INFORMATION
_SYSTEM_LOGICAL_PROCESSOR_INFORMATION=SYSTEM_LOGICAL_PROCESSOR_INFORMATION
_SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX=SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX
_SYSTEM_LOOKASIDE_INFORMATION=SYSTEM_LOOKASIDE_INFORMATION
_SYSTEM_MANDATORY_LABEL_ACE=SYSTEM_MANDATORY_LABEL_ACE
_SYSTEM_PERFORMANCE_INFORMATION=SYSTEM_PERFORMANCE_INFORMATION
_SYSTEM_POLICY_INFORMATION=SYSTEM_POLICY_INFORMATION
_SYSTEM_POOL_ZEROING_INFORMATION=SYSTEM_POOL_ZEROING_INFORMATION
_SYSTEM_POWER_POLICY=SYSTEM_POWER_POLICY
_SYSTEM_POWER_STATE=SYSTEM_POWER_STATE
_SYSTEM_POWER_STATUS=SYSTEM_POWER_STATUS
_SYSTEM_PROCESSOR_CYCLE_TIME_INFORMATION=SYSTEM_PROCESSOR_CYCLE_TIME_INFORMATION
_SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION=SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION
_SYSTEM_PROCESS_INFORMATION=SYSTEM_PROCESS_INFORMATION
_SYSTEM_PROCESS_TRUST_LABEL_ACE=SYSTEM_PROCESS_TRUST_LABEL_ACE
_SYSTEM_REGISTRY_QUOTA_INFORMATION=SYSTEM_REGISTRY_QUOTA_INFORMATION
_SYSTEM_RESOURCE_ATTRIBUTE_ACE=SYSTEM_RESOURCE_ATTRIBUTE_ACE
_SYSTEM_SCOPED_POLICY_ID_ACE=SYSTEM_SCOPED_POLICY_ID_ACE
_SYSTEM_THREAD_INFORMATION=SYSTEM_THREAD_INFORMATION
_SYSTEM_TIMEOFDAY_INFORMATION=SYSTEM_TIMEOFDAY_INFORMATION
_tagACENUMOPTION=ACENUMOPTION
_tagADDRESS64=ADDRESS64
_tagADDRESS=ADDRESS
Expand Down Expand Up @@ -4726,11 +4755,14 @@ _TCP_ESTATS_SND_CONG_ROS_v0=TCP_ESTATS_SND_CONG_ROS_v0
_TCP_ESTATS_SND_CONG_RW_v0=TCP_ESTATS_SND_CONG_RW_v0
_TCP_ESTATS_SYN_OPTS_ROS_v0=TCP_ESTATS_SYN_OPTS_ROS_v0
_TCP_TABLE_CLASS=TCP_TABLE_CLASS
_TEB=TEB
_textDecoration=textDecoration
_textpathMethodtype=textpathMethodtype
_textpathSpacingtype=textpathSpacingtype
_THDTYPE=THDTYPE
_THREADINFOCLASS=THREADINFOCLASS
_THREAD_INFORMATION_CLASS=THREAD_INFORMATION_CLASS
_THREAD_NAME_INFORMATION=THREAD_NAME_INFORMATION
_THREAD_POWER_THROTTLING_STATE=THREAD_POWER_THROTTLING_STATE
_THREAD_WRITE_FLAGS=THREAD_WRITE_FLAGS
_timecode=TIMECODE
Expand Down Expand Up @@ -4846,6 +4878,7 @@ _ULARGE_INTEGER=ULARGE_INTEGER
_UMS_CREATE_THREAD_ATTRIBUTES=UMS_CREATE_THREAD_ATTRIBUTES
_UMS_SCHEDULER_STARTUP_INFO=UMS_SCHEDULER_STARTUP_INFO
_UMS_SYSTEM_THREAD_INFORMATION=UMS_SYSTEM_THREAD_INFORMATION
_UNICODE_STRING=UNICODE_STRING
_UNIVERSAL_NAME_INFOA=UNIVERSAL_NAME_INFOA
_UNIVERSAL_NAME_INFOW=UNIVERSAL_NAME_INFOW
_UNLOAD_DLL_DEBUG_INFO=UNLOAD_DLL_DEBUG_INFO
Expand Down Expand Up @@ -4953,6 +4986,8 @@ _WINHTTP_WEB_SOCKET_BUFFER_TYPE=WINHTTP_WEB_SOCKET_BUFFER_TYPE
_WINHTTP_WEB_SOCKET_CLOSE_STATUS=WINHTTP_WEB_SOCKET_CLOSE_STATUS
_WINHTTP_WEB_SOCKET_OPERATION=WINHTTP_WEB_SOCKET_OPERATION
_WINHTTP_WEB_SOCKET_STATUS=WINHTTP_WEB_SOCKET_STATUS
_WINSTATIONINFOCLASS=WINSTATIONINFOCLASS
_WINSTATIONINFORMATIONW=WINSTATIONINFORMATIONW
_WINTRUST_DATA=WINTRUST_DATA
_WIN_CERTIFICATE=WIN_CERTIFICATE
_WIN_SPUB_TRUSTED_PUBLISHER_DATA=WIN_SPUB_TRUSTED_PUBLISHER_DATA
Expand Down
16 changes: 16 additions & 0 deletions sources/Interop/Windows/Windows/um/winternl/CLIENT_ID.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.

// Ported from um/winternl.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.

namespace TerraFX.Interop.Windows;

/// <include file='CLIENT_ID.xml' path='doc/member[@name="CLIENT_ID"]/*' />
public partial struct CLIENT_ID
{
/// <include file='CLIENT_ID.xml' path='doc/member[@name="CLIENT_ID.UniqueProcess"]/*' />
public HANDLE UniqueProcess;

/// <include file='CLIENT_ID.xml' path='doc/member[@name="CLIENT_ID.UniqueThread"]/*' />
public HANDLE UniqueThread;
}
51 changes: 51 additions & 0 deletions sources/Interop/Windows/Windows/um/winternl/CODEINTEGRITY.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.

// Ported from um/winternl.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.

namespace TerraFX.Interop.Windows;

public static partial class CODEINTEGRITY
{
[NativeTypeName("#define CODEINTEGRITY_OPTION_ENABLED 0x01")]
public const int CODEINTEGRITY_OPTION_ENABLED = 0x01;

[NativeTypeName("#define CODEINTEGRITY_OPTION_TESTSIGN 0x02")]
public const int CODEINTEGRITY_OPTION_TESTSIGN = 0x02;

[NativeTypeName("#define CODEINTEGRITY_OPTION_UMCI_ENABLED 0x04")]
public const int CODEINTEGRITY_OPTION_UMCI_ENABLED = 0x04;

[NativeTypeName("#define CODEINTEGRITY_OPTION_UMCI_AUDITMODE_ENABLED 0x08")]
public const int CODEINTEGRITY_OPTION_UMCI_AUDITMODE_ENABLED = 0x08;

[NativeTypeName("#define CODEINTEGRITY_OPTION_UMCI_EXCLUSIONPATHS_ENABLED 0x10")]
public const int CODEINTEGRITY_OPTION_UMCI_EXCLUSIONPATHS_ENABLED = 0x10;

[NativeTypeName("#define CODEINTEGRITY_OPTION_TEST_BUILD 0x20")]
public const int CODEINTEGRITY_OPTION_TEST_BUILD = 0x20;

[NativeTypeName("#define CODEINTEGRITY_OPTION_PREPRODUCTION_BUILD 0x40")]
public const int CODEINTEGRITY_OPTION_PREPRODUCTION_BUILD = 0x40;

[NativeTypeName("#define CODEINTEGRITY_OPTION_DEBUGMODE_ENABLED 0x80")]
public const int CODEINTEGRITY_OPTION_DEBUGMODE_ENABLED = 0x80;

[NativeTypeName("#define CODEINTEGRITY_OPTION_FLIGHT_BUILD 0x100")]
public const int CODEINTEGRITY_OPTION_FLIGHT_BUILD = 0x100;

[NativeTypeName("#define CODEINTEGRITY_OPTION_FLIGHTING_ENABLED 0x200")]
public const int CODEINTEGRITY_OPTION_FLIGHTING_ENABLED = 0x200;

[NativeTypeName("#define CODEINTEGRITY_OPTION_HVCI_KMCI_ENABLED 0x400")]
public const int CODEINTEGRITY_OPTION_HVCI_KMCI_ENABLED = 0x400;

[NativeTypeName("#define CODEINTEGRITY_OPTION_HVCI_KMCI_AUDITMODE_ENABLED 0x800")]
public const int CODEINTEGRITY_OPTION_HVCI_KMCI_AUDITMODE_ENABLED = 0x800;

[NativeTypeName("#define CODEINTEGRITY_OPTION_HVCI_KMCI_STRICTMODE_ENABLED 0x1000")]
public const int CODEINTEGRITY_OPTION_HVCI_KMCI_STRICTMODE_ENABLED = 0x1000;

[NativeTypeName("#define CODEINTEGRITY_OPTION_HVCI_IUM_ENABLED 0x2000")]
public const int CODEINTEGRITY_OPTION_HVCI_IUM_ENABLED = 0x2000;
}
Loading