windows.cfg: Added support for some constants from winnt.h

This commit is contained in:
orbitcowboy 2020-11-19 23:44:23 +01:00
parent 9c27ba835d
commit 317a2d039f
1 changed files with 132 additions and 0 deletions

View File

@ -13478,4 +13478,136 @@ HFONT CreateFont(
<define name="SIID_MEDIABDRE" value="139"/>
<define name="SIID_CLUSTEREDDRIVE" value="140"/>
<define name="SIID_MAX_ICONS" value="181"/>
<!-- constants from winnt.h -->
<define name="VBS_BASIC_PAGE_MEASURED_DATA" value="0x00000001"/>
<define name="VBS_BASIC_PAGE_UNMEASURED_DATA" value="0x00000002"/>
<define name="VBS_BASIC_PAGE_ZERO_FILL" value="0x00000003"/>
<define name="VBS_BASIC_PAGE_THREAD_DESCRIPTOR" value="0x00000004"/>
<define name="VBS_BASIC_PAGE_SYSTEM_CALL" value="0x00000005"/>
<define name="ENCLAVE_VBS_FLAG_DEBUG" value="0x00000001"/>
<define name="ENCLAVE_TYPE_VBS_BASIC" value="0x00000011"/>
<define name="ENCLAVE_TYPE_VBS" value="0x00000010"/>
<define name="MEM_PRIVATE" value="0x00020000"/>
<define name="MEM_MAPPED" value="0x00040000"/>
<define name="MEM_IMAGE" value="0x01000000"/>
<define name="WRITE_WATCH_FLAG_RESET" value="0x01"/>
<define name="ENCLAVE_TYPE_SGX" value="0x00000001"/>
<define name="ENCLAVE_TYPE_SGX2" value="0x00000002"/>
<define name="SEC_PARTITION_OWNER_HANDLE" value="0x00040000"/>
<define name="SEC_64K_PAGES" value="0x00080000"/>
<define name="SEC_FILE" value="0x00800000"/>
<define name="SEC_IMAGE" value="0x01000000"/>
<define name="SEC_PROTECTED_IMAGE" value="0x02000000"/>
<define name="SEC_RESERVE" value="0x04000000"/>
<define name="SEC_COMMIT" value="0x08000000"/>
<define name="SEC_NOCACHE" value="0x10000000"/>
<define name="SEC_WRITECOMBINE" value="0x40000000"/>
<define name="SEC_LARGE_PAGES" value="0x80000000"/>
<define name="MEM_EXTENDED_PARAMETER_NONPAGED" value="0x00000002"/>
<define name="MEM_EXTENDED_PARAMETER_ZERO_PAGES_OPTIONAL" value="0x00000004"/>
<define name="MEM_EXTENDED_PARAMETER_NONPAGED_LARGE" value="0x00000008"/>
<define name="MEM_EXTENDED_PARAMETER_NONPAGED_HUGE" value="0x00000010"/>
<define name="PAGE_NOACCESS" value="0x01"/>
<define name="PAGE_READONLY" value="0x02"/>
<define name="PAGE_READWRITE" value="0x04"/>
<define name="PAGE_WRITECOPY" value="0x08"/>
<define name="PAGE_EXECUTE" value="0x10"/>
<define name="PAGE_EXECUTE_READ" value="0x20"/>
<define name="PAGE_EXECUTE_READWRITE" value="0x40"/>
<define name="PAGE_EXECUTE_WRITECOPY" value="0x80"/>
<define name="PAGE_GUARD" value="0x100"/>
<define name="PAGE_NOCACHE" value="0x200"/>
<define name="PAGE_WRITECOMBINE" value="0x400"/>
<define name="PAGE_GRAPHICS_NOACCESS" value="0x0800"/>
<define name="PAGE_GRAPHICS_READONLY" value="0x1000"/>
<define name="PAGE_GRAPHICS_READWRITE" value="0x2000"/>
<define name="PAGE_GRAPHICS_EXECUTE" value="0x4000"/>
<define name="PAGE_GRAPHICS_EXECUTE_READ" value="0x8000"/>
<define name="PAGE_GRAPHICS_EXECUTE_READWRITE" value="0x10000"/>
<define name="PAGE_GRAPHICS_COHERENT" value="0x20000"/>
<define name="PAGE_ENCLAVE_THREAD_CONTROL" value="0x80000000"/>
<define name="PAGE_REVERT_TO_FILE_MAP" value="0x80000000"/>
<define name="PAGE_TARGETS_NO_UPDATE" value="0x40000000"/>
<define name="PAGE_TARGETS_INVALID" value="0x40000000"/>
<define name="PAGE_ENCLAVE_UNVALIDATED" value="0x20000000"/>
<define name="PAGE_ENCLAVE_DECOMMIT" value="0x10000000"/>
<define name="MEM_COMMIT" value="0x00001000"/>
<define name="MEM_RESERVE" value="0x00002000"/>
<define name="MEM_REPLACE_PLACEHOLDER" value="0x00004000"/>
<define name="MEM_RESERVE_PLACEHOLDER" value="0x00040000"/>
<define name="MEM_RESET" value="0x00080000"/>
<define name="MEM_TOP_DOWN" value="0x00100000"/>
<define name="MEM_WRITE_WATCH" value="0x00200000"/>
<define name="MEM_PHYSICAL" value="0x00400000"/>
<define name="MEM_ROTATE" value="0x00800000"/>
<define name="MEM_DIFFERENT_IMAGE_BASE_OK" value="0x00800000"/>
<define name="MEM_RESET_UNDO" value="0x01000000"/>
<define name="MEM_LARGE_PAGES" value="0x20000000"/>
<define name="MEM_4MB_PAGES" value="0x80000000"/>
<define name="MEM_UNMAP_WITH_TRANSIENT_BOOST" value="0x00000001"/>
<define name="MEM_COALESCE_PLACEHOLDERS" value="0x00000001"/>
<define name="MEM_PRESERVE_PLACEHOLDER" value="0x00000002"/>
<define name="MEM_DECOMMIT" value="0x00004000"/>
<define name="MEM_RELEASE" value="0x00008000"/>
<define name="MEM_FREE" value="0x00010000"/>
<define name="FILE_SHARE_READ" value="0x00000001"/>
<define name="FILE_SHARE_WRITE" value="0x00000002"/>
<define name="TREE_CONNECT_ATTRIBUTE_PRIVACY" value="0x00004000"/>
<define name="TREE_CONNECT_ATTRIBUTE_INTEGRITY" value="0x00008000"/>
<define name="TREE_CONNECT_ATTRIBUTE_GLOBAL" value="0x00000004"/>
<define name="TREE_CONNECT_ATTRIBUTE_PINNED" value="0x00000002"/>
<define name="FILE_ATTRIBUTE_STRICTLY_SEQUENTIAL" value="0x20000000"/>
<define name="FILE_NOTIFY_CHANGE_FILE_NAME" value="0x00000001"/>
<define name="FILE_NOTIFY_CHANGE_DIR_NAME" value="0x00000002"/>
<define name="FILE_NOTIFY_CHANGE_ATTRIBUTES" value="0x00000004"/>
<define name="FILE_NOTIFY_CHANGE_SIZE" value="0x00000008"/>
<define name="FILE_NOTIFY_CHANGE_LAST_WRITE" value="0x00000010"/>
<define name="FILE_NOTIFY_CHANGE_LAST_ACCESS" value="0x00000020"/>
<define name="FILE_NOTIFY_CHANGE_CREATION" value="0x00000040"/>
<define name="FILE_NOTIFY_CHANGE_SECURITY" value="0x00000100"/>
<define name="FILE_ACTION_ADDED" value="0x00000001"/>
<define name="FILE_ACTION_REMOVED" value="0x00000002"/>
<define name="FILE_ACTION_MODIFIED" value="0x00000003"/>
<define name="FILE_ACTION_RENAMED_OLD_NAME" value="0x00000004"/>
<define name="FILE_ACTION_RENAMED_NEW_NAME" value="0x00000005"/>
<define name="MAILSLOT_NO_MESSAGE" value="((DWORD)-1)"/>
<define name="MAILSLOT_WAIT_FOREVER" value="((DWORD)-1)"/>
<define name="FILE_CASE_SENSITIVE_SEARCH" value="0x00000001"/>
<define name="FILE_CASE_PRESERVED_NAMES" value="0x00000002"/>
<define name="FILE_UNICODE_ON_DISK" value="0x00000004"/>
<define name="FILE_PERSISTENT_ACLS" value="0x00000008"/>
<define name="FILE_FILE_COMPRESSION" value="0x00000010"/>
<define name="FILE_VOLUME_QUOTAS" value="0x00000020"/>
<define name="FILE_SUPPORTS_SPARSE_FILES" value="0x00000040"/>
<define name="FILE_SUPPORTS_REPARSE_POINTS" value="0x00000080"/>
<define name="FILE_SUPPORTS_REMOTE_STORAGE" value="0x00000100"/>
<define name="FILE_RETURNS_CLEANUP_RESULT_INFO" value="0x00000200"/>
<define name="FILE_SUPPORTS_POSIX_UNLINK_RENAME" value="0x00000400"/>
<define name="FILE_VOLUME_IS_COMPRESSED" value="0x00008000"/>
<define name="FILE_SUPPORTS_OBJECT_IDS" value="0x00010000"/>
<define name="FILE_SUPPORTS_ENCRYPTION" value="0x00020000"/>
<define name="FILE_NAMED_STREAMS" value="0x00040000"/>
<define name="FILE_READ_ONLY_VOLUME" value="0x00080000"/>
<define name="FILE_SEQUENTIAL_WRITE_ONCE" value="0x00100000"/>
<define name="FILE_SUPPORTS_TRANSACTIONS" value="0x00200000"/>
<define name="FILE_SUPPORTS_HARD_LINKS" value="0x00400000"/>
<define name="FILE_SUPPORTS_EXTENDED_ATTRIBUTES" value="0x00800000"/>
<define name="FILE_SUPPORTS_OPEN_BY_FILE_ID" value="0x01000000"/>
<define name="FILE_SUPPORTS_USN_JOURNAL" value="0x02000000"/>
<define name="FILE_SUPPORTS_INTEGRITY_STREAMS" value="0x04000000"/>
<define name="FILE_SUPPORTS_BLOCK_REFCOUNTING" value="0x08000000"/>
<define name="FILE_SUPPORTS_SPARSE_VDL" value="0x10000000"/>
<define name="FILE_DAX_VOLUME" value="0x20000000"/>
<define name="FILE_SUPPORTS_GHOSTING" value="0x40000000"/>
<define name="FILE_INVALID_FILE_ID" value="((LONGLONG)-1LL)"/>
<define name="SESSION_QUERY_ACCESS" value="0x0001"/>
<define name="SESSION_MODIFY_ACCESS" value="0x0002"/>
<define name="SECTION_QUERY" value="0x0001"/>
<define name="SECTION_MAP_WRITE" value="0x0002"/>
<define name="SECTION_MAP_READ" value="0x0004"/>
<define name="SECTION_MAP_EXECUTE" value="0x0008"/>
<define name="SECTION_EXTEND_SIZE" value="0x0010"/>
<define name="SECTION_MAP_EXECUTE_EXPLICIT" value="0x0020"/>
<define name="CFG_CALL_TARGET_VALID" value="(0x00000001)"/>
<define name="CFG_CALL_TARGET_PROCESSED" value="(0x00000002)"/>
</def>