mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-12 05:59:10 +00:00
Get Cosmopolitan into releasable state
A new rollup tool now exists for flattening out the headers in a way that works better for our purposes than cpp. A lot of the API clutter has been removed. APIs that aren't a sure thing in terms of general recommendation are now marked internal. There's now a smoke test for the amalgamation archive and gigantic header file. So we can now guarantee you can use this project on the easiest difficulty setting without the gigantic repository. A website is being created, which is currently a work in progress: https://justine.storage.googleapis.com/cosmopolitan/index.html
This commit is contained in:
parent
dba7552c1e
commit
ea0b5d9d1c
775 changed files with 6864 additions and 3963 deletions
20
libc/nt/enum/bitblt.h
Normal file
20
libc/nt/enum/bitblt.h
Normal file
|
@ -0,0 +1,20 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_BITBLT_H_
|
||||
#define COSMOPOLITAN_LIBC_NT_ENUM_BITBLT_H_
|
||||
|
||||
#define kNtSrccopy 0x00CC0020u /* src */
|
||||
#define kNtSrcpaint 0x00EE0086u /* src | dst */
|
||||
#define kNtSrcand 0x008800C6u /* src & dst */
|
||||
#define kNtSrcinvert 0x00660046u /* src ^ dst */
|
||||
#define kNtSrcerase 0x00440328u /* src & ~dst */
|
||||
#define kNtNotsrccopy 0x00330008u /* ~src */
|
||||
#define kNtNotsrcerase 0x001100A6u /* ~src & ~dst */
|
||||
#define kNtMergecopy 0x00C000CAu /* (src & pattern) */
|
||||
#define kNtMergepaint 0x00BB0226u /* ~src | dst */
|
||||
#define kNtPatcopy 0x00F00021u /* pat */
|
||||
#define kNtPatpaint 0x00FB0A09u /* wut */
|
||||
#define kNtPatinvert 0x005A0049u /* pat ^ dst */
|
||||
#define kNtDstinvert 0x00550009u /* ~dst */
|
||||
#define kNtBlackness 0x00000042u /* black */
|
||||
#define kNtWhiteness 0x00FF0062u /* white */
|
||||
|
||||
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_BITBLT_H_ */
|
7
libc/nt/enum/callback.h
Normal file
7
libc/nt/enum/callback.h
Normal file
|
@ -0,0 +1,7 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_CALLBACK_H_
|
||||
#define COSMOPOLITAN_LIBC_NT_ENUM_CALLBACK_H_
|
||||
|
||||
#define kNtCallbackChunkFinished 0
|
||||
#define kNtCallbackStreamSwitch 1
|
||||
|
||||
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_CALLBACK_H_ */
|
17
libc/nt/enum/copyfile.h
Normal file
17
libc/nt/enum/copyfile.h
Normal file
|
@ -0,0 +1,17 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_COPYFILE_H_
|
||||
#define COSMOPOLITAN_LIBC_NT_ENUM_COPYFILE_H_
|
||||
|
||||
#define kNtCopyFileFailIfExists 0x00000001
|
||||
#define kNtCopyFileRestartable 0x00000002
|
||||
#define kNtCopyFileOpenSourceForWrite 0x00000004
|
||||
#define kNtCopyFileAllowDecryptedDestination 0x00000008
|
||||
#define kNtCopyFileCopySymlink 0x00000800
|
||||
#define kNtCopyFileNoBuffering 0x00001000
|
||||
#define kNtCopyFileRequestSecurityPrivileges 0x00002000 /* Win8+ */
|
||||
#define kNtCopyFileResumeFromPause 0x00004000 /* Win8+ */
|
||||
#define kNtCopyFileRequestSecurityPrivileges 0x00002000 /* Win8+ */
|
||||
#define kNtCopyFileNoOffload 0x00040000 /* Win8+ */
|
||||
#define kNtCopyFileIgnoreEdpBlock 0x00400000 /* Win10+ */
|
||||
#define kNtCopyFileIgnoreSourceEncryption 0x00800000 /* Win10+ */
|
||||
|
||||
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_COPYFILE_H_ */
|
18
libc/nt/enum/cs.h
Normal file
18
libc/nt/enum/cs.h
Normal file
|
@ -0,0 +1,18 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_CS_H_
|
||||
#define COSMOPOLITAN_LIBC_NT_ENUM_CS_H_
|
||||
|
||||
#define kNtCsVredraw 0x00000001
|
||||
#define kNtCsHredraw 0x00000002
|
||||
#define kNtCsDblclks 0x00000008
|
||||
#define kNtCsOwndc 0x00000020
|
||||
#define kNtCsClassdc 0x00000040
|
||||
#define kNtCsParentdc 0x00000080
|
||||
#define kNtCsNoclose 0x00000200
|
||||
#define kNtCsSavebits 0x00000800
|
||||
#define kNtCsBytealignclient 0x00001000
|
||||
#define kNtCsBytealignwindow 0x00002000
|
||||
#define kNtCsGlobalclass 0x00004000
|
||||
#define kNtCsIme 0x00010000
|
||||
#define kNtCsDropshadow 0x00020000
|
||||
|
||||
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_CS_H_ */
|
|
@ -1,20 +1,16 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_DIALOGRESULT_H_
|
||||
#define COSMOPOLITAN_LIBC_NT_ENUM_DIALOGRESULT_H_
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
|
||||
enum DialogResult {
|
||||
kNtIdok = 1,
|
||||
kNtIdcancel = 2,
|
||||
kNtIdabort = 3,
|
||||
kNtIdretry = 4,
|
||||
kNtIdignore = 5,
|
||||
kNtIdyes = 6,
|
||||
kNtIdno = 7,
|
||||
kNtIdclose = 8,
|
||||
kNtIdhelp = 9,
|
||||
kNtIdtryagain = 10,
|
||||
kNtIdcontinue = 11
|
||||
};
|
||||
#define kNtIdok 1
|
||||
#define kNtIdcancel 2
|
||||
#define kNtIdabort 3
|
||||
#define kNtIdretry 4
|
||||
#define kNtIdignore 5
|
||||
#define kNtIdyes 6
|
||||
#define kNtIdno 7
|
||||
#define kNtIdclose 8
|
||||
#define kNtIdhelp 9
|
||||
#define kNtIdtryagain 10
|
||||
#define kNtIdcontinue 11
|
||||
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_DIALOGRESULT_H_ */
|
||||
|
|
|
@ -1,15 +1,9 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_ERRORMODEFLAGS_H_
|
||||
#define COSMOPOLITAN_LIBC_NT_ENUM_ERRORMODEFLAGS_H_
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
enum NtErrorModeFlags {
|
||||
kNtErrorModeDefault = 0x0,
|
||||
kNtSemFailcriticalerrors = 0x1,
|
||||
kNtSemNogpfaulterrorbox = 0x2,
|
||||
kNtSemNoopenfileerrorbox = 0x8000
|
||||
};
|
||||
#define kNtErrorModeDefault 0x0
|
||||
#define kNtSemFailcriticalerrors 0x1
|
||||
#define kNtSemNogpfaulterrorbox 0x2
|
||||
#define kNtSemNoopenfileerrorbox 0x8000
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_ERRORMODEFLAGS_H_ */
|
||||
|
|
56
libc/nt/enum/event.h
Normal file
56
libc/nt/enum/event.h
Normal file
|
@ -0,0 +1,56 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_EVENT_H_
|
||||
#define COSMOPOLITAN_LIBC_NT_ENUM_EVENT_H_
|
||||
|
||||
#define kNtEventSystemSound 0x0001
|
||||
#define kNtEventSystemAlert 0x0002
|
||||
#define kNtEventSystemForeground 0x0003
|
||||
#define kNtEventSystemMenustart 0x0004
|
||||
#define kNtEventSystemMenuend 0x0005
|
||||
#define kNtEventSystemMenupopupstart 0x0006
|
||||
#define kNtEventSystemMenupopupend 0x0007
|
||||
#define kNtEventSystemCapturestart 0x0008
|
||||
#define kNtEventSystemCaptureend 0x0009
|
||||
#define kNtEventSystemMovesizestart 0x000A
|
||||
#define kNtEventSystemMovesizeend 0x000B
|
||||
#define kNtEventSystemContexthelpstart 0x000C
|
||||
#define kNtEventSystemContexthelpend 0x000D
|
||||
#define kNtEventSystemDragdropstart 0x000E
|
||||
#define kNtEventSystemDragdropend 0x000F
|
||||
#define kNtEventSystemDialogstart 0x0010
|
||||
#define kNtEventSystemDialogend 0x0011
|
||||
#define kNtEventSystemScrollingstart 0x0012
|
||||
#define kNtEventSystemScrollingend 0x0013
|
||||
#define kNtEventSystemSwitchstart 0x0014
|
||||
#define kNtEventSystemSwitchend 0x0015
|
||||
#define kNtEventSystemMinimizestart 0x0016
|
||||
#define kNtEventSystemMinimizeend 0x0017
|
||||
|
||||
#define kNtEventConsoleCaret 0x4001
|
||||
#define kNtEventConsoleUpdateRegion 0x4002
|
||||
#define kNtEventConsoleUpdateSimple 0x4003
|
||||
#define kNtEventConsoleUpdateScroll 0x4004
|
||||
#define kNtEventConsoleLayout 0x4005
|
||||
#define kNtEventConsoleStartApplication 0x4006
|
||||
#define kNtEventConsoleEndApplication 0x4007
|
||||
|
||||
#define kNtEventObjectCreate 0x8000
|
||||
#define kNtEventObjectDestroy 0x8001
|
||||
#define kNtEventObjectShow 0x8002
|
||||
#define kNtEventObjectHide 0x8003
|
||||
#define kNtEventObjectReorder 0x8004
|
||||
#define kNtEventObjectFocus 0x8005
|
||||
#define kNtEventObjectSelection 0x8006
|
||||
#define kNtEventObjectSelectionadd 0x8007
|
||||
#define kNtEventObjectSelectionremove 0x8008
|
||||
#define kNtEventObjectSelectionwithin 0x8009
|
||||
#define kNtEventObjectStatechange 0x800A
|
||||
#define kNtEventObjectLocationchange 0x800B
|
||||
#define kNtEventObjectNamechange 0x800C
|
||||
#define kNtEventObjectDescriptionchange 0x800D
|
||||
#define kNtEventObjectValuechange 0x800E
|
||||
#define kNtEventObjectParentchange 0x800F
|
||||
#define kNtEventObjectHelpchange 0x8010
|
||||
#define kNtEventObjectDefactionchange 0x8011
|
||||
#define kNtEventObjectAcceleratorchange 0x8012
|
||||
|
||||
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_EVENT_H_ */
|
|
@ -1,8 +1,7 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_EVENTTYPE_H_
|
||||
#define COSMOPOLITAN_LIBC_NT_ENUM_EVENTTYPE_H_
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
|
||||
enum NtEventType { kNtNotificationEvent, kNtSynchronizationEvent };
|
||||
#define kNtNotificationEvent 0
|
||||
#define kNtSynchronizationEvent 1
|
||||
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_EVENTTYPE_H_ */
|
||||
|
|
|
@ -1,11 +1,7 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_FILELOCKFLAGS_H_
|
||||
#define COSMOPOLITAN_LIBC_NT_ENUM_FILELOCKFLAGS_H_
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
|
||||
enum NtFileLockFlags {
|
||||
kNtLockfileFailImmediately = 1,
|
||||
kNtLockfileExclusiveLock = 2,
|
||||
};
|
||||
#define kNtLockfileFailImmediately 1
|
||||
#define kNtLockfileExclusiveLock 2
|
||||
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_FILELOCKFLAGS_H_ */
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_FILEMOVEMETHOD_H_
|
||||
#define COSMOPOLITAN_LIBC_NT_ENUM_FILEMOVEMETHOD_H_
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
|
||||
enum NtFileMoveMethod { kNtFileBegin, kNtFileCurrent, kNtFileEnd };
|
||||
#define kNtFileBegin 0
|
||||
#define kNtFileCurrent 1
|
||||
#define kNtFileEnd 2
|
||||
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_FILEMOVEMETHOD_H_ */
|
||||
|
|
|
@ -1,20 +1,10 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_FILETYPE_H_
|
||||
#define COSMOPOLITAN_LIBC_NT_ENUM_FILETYPE_H_
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
|
||||
/**
|
||||
* NT Device File Types.
|
||||
*
|
||||
* @see GetFileType()
|
||||
* @see libc/sysv/consts.sh
|
||||
*/
|
||||
enum NtFileType {
|
||||
kNtFileTypeUnknown = 0x0000,
|
||||
kNtFileTypeDisk = 0x0001, /* @see S_ISBLK() */
|
||||
kNtFileTypeChar = 0x0002, /* @see S_ISCHR() */
|
||||
kNtFileTypePipe = 0x0003, /* @see S_ISFIFO() */
|
||||
kNtFileTypeRemote = 0x8000 /* unused -MSDN */
|
||||
};
|
||||
#define kNtFileTypeUnknown 0x0000
|
||||
#define kNtFileTypeDisk 0x0001 /* @see S_ISBLK() */
|
||||
#define kNtFileTypeChar 0x0002 /* @see S_ISCHR() */
|
||||
#define kNtFileTypePipe 0x0003 /* @see S_ISFIFO() */
|
||||
#define kNtFileTypeRemote 0x8000 /* unused -MSDN */
|
||||
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_FILETYPE_H_ */
|
||||
|
|
|
@ -1,12 +1,8 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_FINDEXINFOLEVELS_H_
|
||||
#define COSMOPOLITAN_LIBC_NT_ENUM_FINDEXINFOLEVELS_H_
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
|
||||
enum NtFindexInfoLevels {
|
||||
kNtFindExInfoStandard,
|
||||
kNtFindExInfoBasic,
|
||||
kNtFindExInfoMaxInfoLevel
|
||||
};
|
||||
#define kNtFindExInfoStandard 0
|
||||
#define kNtFindExInfoBasic 1
|
||||
#define kNtFindExInfoMaxInfoLevel 2
|
||||
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_FINDEXINFOLEVELS_H_ */
|
||||
|
|
|
@ -1,13 +1,9 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_FINDEXSEARCHOPS_H_
|
||||
#define COSMOPOLITAN_LIBC_NT_ENUM_FINDEXSEARCHOPS_H_
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
|
||||
enum NtFindexSearchOps {
|
||||
kNtFindExSearchNameMatch,
|
||||
kNtFindExSearchLimitToDirectories,
|
||||
kNtFindExSearchLimitToDevices,
|
||||
kNtFindExSearchMaxSearchOp
|
||||
};
|
||||
#define kNtFindExSearchNameMatch 0
|
||||
#define kNtFindExSearchLimitToDirectories 1
|
||||
#define kNtFindExSearchLimitToDevices 2
|
||||
#define kNtFindExSearchMaxSearchOp 3
|
||||
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_FINDEXSEARCHOPS_H_ */
|
||||
|
|
|
@ -1,16 +1,12 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_FORMATMESSAGEFLAGS_H_
|
||||
#define COSMOPOLITAN_LIBC_NT_ENUM_FORMATMESSAGEFLAGS_H_
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
|
||||
enum NtFormatMessageFlags {
|
||||
kNtFormatMessageAllocateBuffer = 0x100,
|
||||
kNtFormatMessageIgnoreInserts = 0x200,
|
||||
kNtFormatMessageFromString = 0x400,
|
||||
kNtFormatMessageFromHmodule = 0x800,
|
||||
kNtFormatMessageFromSystem = 0x1000,
|
||||
kNtFormatMessageArgumentArray = 0x2000,
|
||||
kNtFormatMessageMaxWidthMask = 0xff
|
||||
};
|
||||
#define kNtFormatMessageAllocateBuffer 0x100
|
||||
#define kNtFormatMessageIgnoreInserts 0x200
|
||||
#define kNtFormatMessageFromString 0x400
|
||||
#define kNtFormatMessageFromHmodule 0x800
|
||||
#define kNtFormatMessageFromSystem 0x1000
|
||||
#define kNtFormatMessageArgumentArray 0x2000
|
||||
#define kNtFormatMessageMaxWidthMask 0xff
|
||||
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_FORMATMESSAGEFLAGS_H_ */
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_GETFILEEXINFOLEVELS_H_
|
||||
#define COSMOPOLITAN_LIBC_NT_ENUM_GETFILEEXINFOLEVELS_H_
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
|
||||
enum NtGetFileexInfoLevels { kNtGetFileExInfoStandard, kNtGetFile_MAX };
|
||||
#define kNtGetFileExInfoStandard 0
|
||||
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_GETFILEEXINFOLEVELS_H_ */
|
||||
|
|
34
libc/nt/enum/ht.h
Normal file
34
libc/nt/enum/ht.h
Normal file
|
@ -0,0 +1,34 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_HT_H_
|
||||
#define COSMOPOLITAN_LIBC_NT_ENUM_HT_H_
|
||||
|
||||
#define kNtHterror -2
|
||||
#define kNtHttransparent -1
|
||||
#define kNtHtnowhere 0
|
||||
#define kNtHtclient 1
|
||||
#define kNtHtcaption 2
|
||||
#define kNtHtsysmenu 3
|
||||
#define kNtHtgrowbox 4
|
||||
#define kNtHtsize kNtHtgrowbox
|
||||
#define kNtHtmenu 5
|
||||
#define kNtHthscroll 6
|
||||
#define kNtHtvscroll 7
|
||||
#define kNtHtminbutton 8
|
||||
#define kNtHtmaxbutton 9
|
||||
#define kNtHtleft 10
|
||||
#define kNtHtright 11
|
||||
#define kNtHttop 12
|
||||
#define kNtHttopleft 13
|
||||
#define kNtHttopright 14
|
||||
#define kNtHtbottom 15
|
||||
#define kNtHtbottomleft 16
|
||||
#define kNtHtbottomright 17
|
||||
#define kNtHtborder 18
|
||||
#define kNtHtreduce kNtHtminbutton
|
||||
#define kNtHtzoom kNtHtmaxbutton
|
||||
#define kNtHtsizefirst kNtHtleft
|
||||
#define kNtHtsizelast kNtHtbottomright
|
||||
#define kNtHtobject 19
|
||||
#define kNtHtclose 20
|
||||
#define kNtHthelp 21
|
||||
|
||||
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_HT_H_ */
|
|
@ -1,8 +1,6 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_IMAGEAUXSYMBOLTYPE_H_
|
||||
#define COSMOPOLITAN_LIBC_NT_ENUM_IMAGEAUXSYMBOLTYPE_H_
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
|
||||
enum NtImageAuxSymbolType { IMAGE_AUX_SYMBOL_TYPE_TOKEN_DEF = 1 };
|
||||
#define kNtImageAuxSymbolTypeTokenDef 1
|
||||
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_IMAGEAUXSYMBOLTYPE_H_ */
|
||||
|
|
|
@ -1,20 +1,15 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_JOBOBJECTINFOCLASS_H_
|
||||
#define COSMOPOLITAN_LIBC_NT_ENUM_JOBOBJECTINFOCLASS_H_
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
|
||||
enum NtJobObjectInfoClass {
|
||||
kNtJobObjectBasicAccountingInformation = 1,
|
||||
kNtJobObjectBasicLimitInformation,
|
||||
kNtJobObjectBasicProcessIdList,
|
||||
kNtJobObjectBasicUIRestrictions,
|
||||
kNtJobObjectSecurityLimitInformation,
|
||||
kNtJobObjectEndOfJobTimeInformation,
|
||||
kNtJobObjectAssociateCompletionPortInformation,
|
||||
kNtJobObjectBasicAndIoAccountingInformation,
|
||||
kNtJobObjectExtendedLimitInformation,
|
||||
kNtJobObjectJobSetInformation,
|
||||
kNtJobObjectInfoClass_MAX
|
||||
};
|
||||
#define kNtJobObjectBasicAccountingInformation 1
|
||||
#define kNtJobObjectBasicLimitInformation 2
|
||||
#define kNtJobObjectBasicProcessIdList 3
|
||||
#define kNtJobObjectBasicUIRestrictions 4
|
||||
#define kNtJobObjectSecurityLimitInformation 5
|
||||
#define kNtJobObjectEndOfJobTimeInformation 6
|
||||
#define kNtJobObjectAssociateCompletionPortInformation 7
|
||||
#define kNtJobObjectBasicAndIoAccountingInformation 8
|
||||
#define kNtJobObjectExtendedLimitInformation 9
|
||||
#define kNtJobObjectJobSetInformation 10
|
||||
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_JOBOBJECTINFOCLASS_H_ */
|
||||
|
|
|
@ -1,13 +1,9 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_KEYACCESS_H_
|
||||
#define COSMOPOLITAN_LIBC_NT_ENUM_KEYACCESS_H_
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
|
||||
enum NtKeyAccess {
|
||||
kNtKeyRead = 0x00020019,
|
||||
kNtKeyWrite = 0x00020006,
|
||||
kNtKeyExecute = 0x00020019,
|
||||
kNtKeyAllAccess = 0x000f003f
|
||||
};
|
||||
#define kNtKeyRead 0x00020019
|
||||
#define kNtKeyWrite 0x00020006
|
||||
#define kNtKeyExecute 0x00020019
|
||||
#define kNtKeyAllAccess 0x000f003f
|
||||
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_KEYACCESS_H_ */
|
||||
|
|
|
@ -1,13 +1,9 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_KEYINFORMATIONCLASS_H_
|
||||
#define COSMOPOLITAN_LIBC_NT_ENUM_KEYINFORMATIONCLASS_H_
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
|
||||
enum NtKeyInformationClass {
|
||||
kNtKeyBasicInformation,
|
||||
kNtKeyNodeInformation,
|
||||
kNtKeyFullInformation,
|
||||
kNtKeyNameInformation
|
||||
};
|
||||
#define kNtKeyBasicInformation 0
|
||||
#define kNtKeyNodeInformation 1
|
||||
#define kNtKeyFullInformation 2
|
||||
#define kNtKeyNameInformation 3
|
||||
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_KEYINFORMATIONCLASS_H_ */
|
||||
|
|
44
libc/nt/enum/mb.h
Normal file
44
libc/nt/enum/mb.h
Normal file
|
@ -0,0 +1,44 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_MB_H_
|
||||
#define COSMOPOLITAN_LIBC_NT_ENUM_MB_H_
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
|
||||
#define kNtMbOk 0x00000000
|
||||
#define kNtMbOkcancel 0x00000001
|
||||
#define kNtMbAbortretryignore 0x00000002
|
||||
#define kNtMbYesnocancel 0x00000003
|
||||
#define kNtMbYesno 0x00000004
|
||||
#define kNtMbRetrycancel 0x00000005
|
||||
#define kNtMbCanceltrycontinue 0x00000006
|
||||
#define kNtMbIconhand 0x00000010
|
||||
#define kNtMbIconquestion 0x00000020
|
||||
#define kNtMbIconexclamation 0x00000030
|
||||
#define kNtMbIconasterisk 0x00000040
|
||||
#define kNtMbUsericon 0x00000080
|
||||
#define kNtMbIconwarning kNtMbIconexclamation
|
||||
#define kNtMbIconerror kNtMbIconhand
|
||||
#define kNtMbIconinformation kNtMbIconasterisk
|
||||
#define kNtMbIconstop kNtMbIconhand
|
||||
#define kNtMbDefbutton1 0x00000000
|
||||
#define kNtMbDefbutton2 0x00000100
|
||||
#define kNtMbDefbutton3 0x00000200
|
||||
#define kNtMbDefbutton4 0x00000300
|
||||
#define kNtMbApplmodal 0x00000000
|
||||
#define kNtMbSystemmodal 0x00001000
|
||||
#define kNtMbTaskmodal 0x00002000
|
||||
#define kNtMbHelp 0x00004000
|
||||
#define kNtMbNofocus 0x00008000
|
||||
#define kNtMbSetforeground 0x00010000
|
||||
#define kNtMbDefaultDesktopOnly 0x00020000
|
||||
#define kNtMbTopmost 0x00040000
|
||||
#define kNtMbRight 0x00080000
|
||||
#define kNtMbRtlreading 0x00100000
|
||||
#define kNtMbServiceNotification 0x00200000
|
||||
#define kNtMbServiceNotificationNt3x 0x00040000
|
||||
#define kNtMbTypemask 0x0000000F
|
||||
#define kNtMbIconmask 0x000000F0
|
||||
#define kNtMbDefmask 0x00000F00
|
||||
#define kNtMbModemask 0x00003000
|
||||
#define kNtMbMiscmask 0x0000C000
|
||||
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_MB_H_ */
|
|
@ -1,13 +1,9 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_MEMORYINFORMATIONCLASS_H_
|
||||
#define COSMOPOLITAN_LIBC_NT_ENUM_MEMORYINFORMATIONCLASS_H_
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
|
||||
enum NtMemoryInformationClass {
|
||||
kNtMemoryBasicInformation,
|
||||
kNtMemoryWorkingSetList,
|
||||
kNtMemorySectionName,
|
||||
kNtMemoryBasicVlmInformation
|
||||
};
|
||||
#define kNtMemoryBasicInformation 0
|
||||
#define kNtMemoryWorkingSetList 1
|
||||
#define kNtMemorySectionName 2
|
||||
#define kNtMemoryBasicVlmInformation 3
|
||||
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_MEMORYINFORMATIONCLASS_H_ */
|
||||
|
|
|
@ -1,46 +0,0 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_MESSAGEBOXTYPE_H_
|
||||
#define COSMOPOLITAN_LIBC_NT_ENUM_MESSAGEBOXTYPE_H_
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
|
||||
enum MessageBoxType {
|
||||
kNtMbOk = 0x00000000,
|
||||
kNtMbOkcancel = 0x00000001,
|
||||
kNtMbAbortretryignore = 0x00000002,
|
||||
kNtMbYesnocancel = 0x00000003,
|
||||
kNtMbYesno = 0x00000004,
|
||||
kNtMbRetrycancel = 0x00000005,
|
||||
kNtMbCanceltrycontinue = 0x00000006,
|
||||
kNtMbIconhand = 0x00000010,
|
||||
kNtMbIconquestion = 0x00000020,
|
||||
kNtMbIconexclamation = 0x00000030,
|
||||
kNtMbIconasterisk = 0x00000040,
|
||||
kNtMbUsericon = 0x00000080,
|
||||
kNtMbIconwarning = kNtMbIconexclamation,
|
||||
kNtMbIconerror = kNtMbIconhand,
|
||||
kNtMbIconinformation = kNtMbIconasterisk,
|
||||
kNtMbIconstop = kNtMbIconhand,
|
||||
kNtMbDefbutton1 = 0x00000000,
|
||||
kNtMbDefbutton2 = 0x00000100,
|
||||
kNtMbDefbutton3 = 0x00000200,
|
||||
kNtMbDefbutton4 = 0x00000300,
|
||||
kNtMbApplmodal = 0x00000000,
|
||||
kNtMbSystemmodal = 0x00001000,
|
||||
kNtMbTaskmodal = 0x00002000,
|
||||
kNtMbHelp = 0x00004000,
|
||||
kNtMbNofocus = 0x00008000,
|
||||
kNtMbSetforeground = 0x00010000,
|
||||
kNtMbDefaultDesktopOnly = 0x00020000,
|
||||
kNtMbTopmost = 0x00040000,
|
||||
kNtMbRight = 0x00080000,
|
||||
kNtMbRtlreading = 0x00100000,
|
||||
kNtMbServiceNotification = 0x00200000,
|
||||
kNtMbServiceNotificationNt3x = 0x00040000,
|
||||
kNtMbTypemask = 0x0000000F,
|
||||
kNtMbIconmask = 0x000000F0,
|
||||
kNtMbDefmask = 0x00000F00,
|
||||
kNtMbModemask = 0x00003000,
|
||||
kNtMbMiscmask = 0x0000C000
|
||||
};
|
||||
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_MESSAGEBOXTYPE_H_ */
|
32
libc/nt/enum/mf.h
Normal file
32
libc/nt/enum/mf.h
Normal file
|
@ -0,0 +1,32 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_MF_H_
|
||||
#define COSMOPOLITAN_LIBC_NT_ENUM_MF_H_
|
||||
|
||||
#define kNtMfInsert 0x00000000
|
||||
#define kNtMfChange 0x00000080
|
||||
#define kNtMfAppend 0x00000100
|
||||
#define kNtMfDelete 0x00000200
|
||||
#define kNtMfRemove 0x00001000
|
||||
#define kNtMfBycommand 0x00000000
|
||||
#define kNtMfByposition 0x00000400
|
||||
#define kNtMfSeparator 0x00000800
|
||||
#define kNtMfEnabled 0x00000000
|
||||
#define kNtMfGrayed 0x00000001
|
||||
#define kNtMfDisabled 0x00000002
|
||||
#define kNtMfUnchecked 0x00000000
|
||||
#define kNtMfChecked 0x00000008
|
||||
#define kNtMfUsecheckbitmaps 0x00000200
|
||||
#define kNtMfString 0x00000000
|
||||
#define kNtMfBitmap 0x00000004
|
||||
#define kNtMfOwnerdraw 0x00000100
|
||||
#define kNtMfPopup 0x00000010
|
||||
#define kNtMfMenubarbreak 0x00000020
|
||||
#define kNtMfMenubreak 0x00000040
|
||||
#define kNtMfUnhilite 0x00000000
|
||||
#define kNtMfHilite 0x00000080
|
||||
#define kNtMfDefault 0x00001000
|
||||
#define kNtMfSysmenu 0x00002000
|
||||
#define kNtMfHelp 0x00004000
|
||||
#define kNtMfRightjustify 0x00004000
|
||||
#define kNtMfMouseselect 0x00008000
|
||||
|
||||
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_MF_H_ */
|
12
libc/nt/enum/mk.h
Normal file
12
libc/nt/enum/mk.h
Normal file
|
@ -0,0 +1,12 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_MK_H_
|
||||
#define COSMOPOLITAN_LIBC_NT_ENUM_MK_H_
|
||||
|
||||
#define kNtMkLbutton 0x0001
|
||||
#define kNtMkRbutton 0x0002
|
||||
#define kNtMkShift 0x0004
|
||||
#define kNtMkControl 0x0008
|
||||
#define kNtMkMbutton 0x0010
|
||||
#define kNtMkXbutton1 0x0020
|
||||
#define kNtMkXbutton2 0x0040
|
||||
|
||||
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_MK_H_ */
|
|
@ -1,15 +1,11 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_MOVEFILEEXFLAGS_H_
|
||||
#define COSMOPOLITAN_LIBC_NT_ENUM_MOVEFILEEXFLAGS_H_
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
|
||||
enum NtMoveFileExFlags {
|
||||
kNtMovefileReplaceExisting = 1,
|
||||
kNtMovefileCopyAllowed = 2,
|
||||
kNtMovefileDelayUntilReboot = 4,
|
||||
kNtMovefileCreateHardlink = 16,
|
||||
kNtMovefileFailIfNotTrackable = 32,
|
||||
kNtMovefileWriteThrough = 8
|
||||
};
|
||||
#define kNtMovefileReplaceExisting 1
|
||||
#define kNtMovefileCopyAllowed 2
|
||||
#define kNtMovefileDelayUntilReboot 4
|
||||
#define kNtMovefileCreateHardlink 16
|
||||
#define kNtMovefileFailIfNotTrackable 32
|
||||
#define kNtMovefileWriteThrough 8
|
||||
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_MOVEFILEEXFLAGS_H_ */
|
||||
|
|
|
@ -1,14 +1,10 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_OBJECTINFORMATIONCLASS_H_
|
||||
#define COSMOPOLITAN_LIBC_NT_ENUM_OBJECTINFORMATIONCLASS_H_
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
|
||||
enum NtObjectInformationClass {
|
||||
kNtObjectBasicInformation, /*→ struct NtObjectBasicInformation */
|
||||
kNtObjectNameInformation, /*→ etc. */
|
||||
kNtObjectTypeInformation,
|
||||
kNtObjectAllInformation,
|
||||
kNtObjectDataInformation
|
||||
};
|
||||
#define kNtObjectBasicInformation 0 /*→ struct NtObjectBasicInformation */
|
||||
#define kNtObjectNameInformation 1 /*→ etc. */
|
||||
#define kNtObjectTypeInformation 2
|
||||
#define kNtObjectAllInformation 3
|
||||
#define kNtObjectDataInformation 4
|
||||
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_OBJECTINFORMATIONCLASS_H_ */
|
||||
|
|
|
@ -1,14 +1,10 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_OFFERPRIORITY_H_
|
||||
#define COSMOPOLITAN_LIBC_NT_ENUM_OFFERPRIORITY_H_
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
|
||||
enum NtOfferPriority {
|
||||
/* TODO(jart): Are these values correct? */
|
||||
kNtVmOfferPriorityVeryLow = 1, /* 0x00001000? */
|
||||
kNtVmOfferPriorityLow, /* 0x00002000? */
|
||||
kNtVmOfferPriorityBelowNormal, /* 0x00002000? */
|
||||
kNtVmOfferPriorityNormal /* 0x00002000? */
|
||||
};
|
||||
/* TODO(jart): Are these values correct? */
|
||||
#define kNtVmOfferPriorityVeryLow 1 /* 0x00001000? */
|
||||
#define kNtVmOfferPriorityLow 2 /* 0x00002000? */
|
||||
#define kNtVmOfferPriorityBelowNormal 3 /* 0x00002000? */
|
||||
#define kNtVmOfferPriorityNormal 4 /* 0x00002000? */
|
||||
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_OFFERPRIORITY_H_ */
|
||||
|
|
31
libc/nt/enum/ofn.h
Normal file
31
libc/nt/enum/ofn.h
Normal file
|
@ -0,0 +1,31 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_OFN_H_
|
||||
#define COSMOPOLITAN_LIBC_NT_ENUM_OFN_H_
|
||||
|
||||
#define kNtOfnReadonly 0x00000001
|
||||
#define kNtOfnOverwriteprompt 0x00000002
|
||||
#define kNtOfnHidereadonly 0x00000004
|
||||
#define kNtOfnNochangedir 0x00000008
|
||||
#define kNtOfnShowhelp 0x00000010
|
||||
#define kNtOfnEnablehook 0x00000020
|
||||
#define kNtOfnEnabletemplate 0x00000040
|
||||
#define kNtOfnEnabletemplatehandle 0x00000080
|
||||
#define kNtOfnNovalidate 0x00000100
|
||||
#define kNtOfnAllowmultiselect 0x00000200
|
||||
#define kNtOfnExtensiondifferent 0x00000400
|
||||
#define kNtOfnPathmustexist 0x00000800
|
||||
#define kNtOfnFilemustexist 0x00001000
|
||||
#define kNtOfnCreateprompt 0x00002000
|
||||
#define kNtOfnShareaware 0x00004000
|
||||
#define kNtOfnNoreadonlyreturn 0x00008000
|
||||
#define kNtOfnNotestfilecreate 0x00010000
|
||||
#define kNtOfnNonetworkbutton 0x00020000
|
||||
#define kNtOfnNolongnames 0x00040000
|
||||
#define kNtOfnExplorer 0x00080000
|
||||
#define kNtOfnNodereferencelinks 0x00100000
|
||||
#define kNtOfnLongnames 0x00200000
|
||||
#define kNtOfnEnableincludenotify 0x00400000
|
||||
#define kNtOfnEnablesizing 0x00800000
|
||||
#define kNtOfnDontaddtorecent 0x02000000
|
||||
#define kNtOfnForceshowhidden 0x10000000
|
||||
|
||||
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_OFN_H_ */
|
|
@ -1,21 +1,17 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_PROCESSINFOCLASS_H_
|
||||
#define COSMOPOLITAN_LIBC_NT_ENUM_PROCESSINFOCLASS_H_
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
|
||||
enum NtProcessInfoClass {
|
||||
kNtProcessBasicInformation = 0,
|
||||
kNtProcessQuotaLimits = 1,
|
||||
kNtProcessIoCounters = 2,
|
||||
kNtProcessVmCounters = 3,
|
||||
kNtProcessTimes = 4,
|
||||
kNtProcessBasePriority = 5,
|
||||
kNtProcessRaisePriority = 6,
|
||||
kNtProcessDebugPort = 7,
|
||||
kNtProcessExceptionPort = 8,
|
||||
kNtProcessAccessToken = 9,
|
||||
kNtProcessWow64Information = 26,
|
||||
kNtProcessImageFileName = 27
|
||||
};
|
||||
#define kNtProcessBasicInformation 0
|
||||
#define kNtProcessQuotaLimits 1
|
||||
#define kNtProcessIoCounters 2
|
||||
#define kNtProcessVmCounters 3
|
||||
#define kNtProcessTimes 4
|
||||
#define kNtProcessBasePriority 5
|
||||
#define kNtProcessRaisePriority 6
|
||||
#define kNtProcessDebugPort 7
|
||||
#define kNtProcessExceptionPort 8
|
||||
#define kNtProcessAccessToken 9
|
||||
#define kNtProcessWow64Information 26
|
||||
#define kNtProcessImageFileName 27
|
||||
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_PROCESSINFOCLASS_H_ */
|
||||
|
|
9
libc/nt/enum/progress.h
Normal file
9
libc/nt/enum/progress.h
Normal file
|
@ -0,0 +1,9 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_PROGRESS_H_
|
||||
#define COSMOPOLITAN_LIBC_NT_ENUM_PROGRESS_H_
|
||||
|
||||
#define kNtProgressContinue 0
|
||||
#define kNtProgressCancel 1
|
||||
#define kNtProgressStop 2
|
||||
#define kNtProgressQuiet 3
|
||||
|
||||
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_PROGRESS_H_ */
|
17
libc/nt/enum/rdw.h
Normal file
17
libc/nt/enum/rdw.h
Normal file
|
@ -0,0 +1,17 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_RDW_H_
|
||||
#define COSMOPOLITAN_LIBC_NT_ENUM_RDW_H_
|
||||
|
||||
#define kNtRdwInvalidate 0x0001
|
||||
#define kNtRdwInternalpaint 0x0002
|
||||
#define kNtRdwErase 0x0004
|
||||
#define kNtRdwValidate 0x0008
|
||||
#define kNtRdwNointernalpaint 0x0010
|
||||
#define kNtRdwNoerase 0x0020
|
||||
#define kNtRdwNochildren 0x0040
|
||||
#define kNtRdwAllchildren 0x0080
|
||||
#define kNtRdwUpdatenow 0x0100
|
||||
#define kNtRdwErasenow 0x0200
|
||||
#define kNtRdwFrame 0x0400
|
||||
#define kNtRdwNoframe 0x0800
|
||||
|
||||
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_RDW_H_ */
|
|
@ -1,24 +1,20 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_REGGETVALUEFLAGS_H_
|
||||
#define COSMOPOLITAN_LIBC_NT_ENUM_REGGETVALUEFLAGS_H_
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
|
||||
enum NtRegGetValueFlags {
|
||||
kNtRrfRtRegNone = 0x00000001,
|
||||
kNtRrfRtRegSz = 0x00000002,
|
||||
kNtRrfRtRegExpandSz = 0x00000004,
|
||||
kNtRrfRtRegBinary = 0x00000008,
|
||||
kNtRrfRtRegDword = 0x00000010,
|
||||
kNtRrfRtRegMultiSz = 0x00000020,
|
||||
kNtRrfRtRegQword = 0x00000040,
|
||||
kNtRrfRtDword = kNtRrfRtRegBinary | kNtRrfRtRegDword,
|
||||
kNtRrfRtQword = kNtRrfRtRegBinary | kNtRrfRtRegQword,
|
||||
kNtRrfRtAny = 0x0000ffff,
|
||||
kNtRrfSubkeyWow6464key = 0x00010000,
|
||||
kNtRrfSubkeyWow6432key = 0x00020000,
|
||||
kNtRrfWow64Mask = 0x00030000,
|
||||
kNtRrfNoexpand = 0x10000000,
|
||||
kNtRrfZeroonfailure = 0x20000000
|
||||
};
|
||||
#define kNtRrfRtRegNone 0x00000001
|
||||
#define kNtRrfRtRegSz 0x00000002
|
||||
#define kNtRrfRtRegExpandSz 0x00000004
|
||||
#define kNtRrfRtRegBinary 0x00000008
|
||||
#define kNtRrfRtRegDword 0x00000010
|
||||
#define kNtRrfRtRegMultiSz 0x00000020
|
||||
#define kNtRrfRtRegQword 0x00000040
|
||||
#define kNtRrfRtDword (kNtRrfRtRegBinary | kNtRrfRtRegDword)
|
||||
#define kNtRrfRtQword (kNtRrfRtRegBinary | kNtRrfRtRegQword)
|
||||
#define kNtRrfRtAny 0x0000ffff
|
||||
#define kNtRrfSubkeyWow6464key 0x00010000
|
||||
#define kNtRrfSubkeyWow6432key 0x00020000
|
||||
#define kNtRrfWow64Mask 0x00030000
|
||||
#define kNtRrfNoexpand 0x10000000
|
||||
#define kNtRrfZeroonfailure 0x20000000
|
||||
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_REGGETVALUEFLAGS_H_ */
|
||||
|
|
|
@ -1,21 +1,17 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_REGTYPE_H_
|
||||
#define COSMOPOLITAN_LIBC_NT_ENUM_REGTYPE_H_
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
|
||||
enum NtRegType {
|
||||
kNtRegNone = 0,
|
||||
kNtRegSz = 1, /* UTF-16 NUL-terminated string */
|
||||
kNtRegExpandSz = 2, /* UTF-16 NUL-terminated string w/ env vars refs */
|
||||
kNtRegBinary = 3,
|
||||
kNtRegDword = 4,
|
||||
kNtRegDwordBigEndian = 5,
|
||||
kNtRegLink = 6,
|
||||
kNtRegMultiSz = 7, /* UTF-16 double-NUL-terminated string list */
|
||||
kNtRegResourceList = 8,
|
||||
kNtRegFullResourceDescriptor = 9,
|
||||
kNtRegResourceRequirementsList = 10,
|
||||
kNtRegQword = 11,
|
||||
};
|
||||
#define kNtRegNone 0
|
||||
#define kNtRegSz 1 /* UTF-16 string */
|
||||
#define kNtRegExpandSz 2 /* UTF-16 string w/ env vars refs */
|
||||
#define kNtRegBinary 3
|
||||
#define kNtRegDword 4
|
||||
#define kNtRegDwordBigEndian 5
|
||||
#define kNtRegLink 6
|
||||
#define kNtRegMultiSz 7 /* UTF-16 double-nul-terminated */
|
||||
#define kNtRegResourceList 8
|
||||
#define kNtRegFullResourceDescriptor 9
|
||||
#define kNtRegResourceRequirementsList 10
|
||||
#define kNtRegQword 11
|
||||
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_REGTYPE_H_ */
|
||||
|
|
8
libc/nt/enum/replacefile.h
Normal file
8
libc/nt/enum/replacefile.h
Normal file
|
@ -0,0 +1,8 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_REPLACEFILE_H_
|
||||
#define COSMOPOLITAN_LIBC_NT_ENUM_REPLACEFILE_H_
|
||||
|
||||
#define kNtReplacefileWriteThrough 1
|
||||
#define kNtReplacefileIgnoreMergeErrors 2
|
||||
#define kNtReplacefileIgnoreAclErrors 4
|
||||
|
||||
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_REPLACEFILE_H_ */
|
25
libc/nt/enum/sc.h
Normal file
25
libc/nt/enum/sc.h
Normal file
|
@ -0,0 +1,25 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_SC_H_
|
||||
#define COSMOPOLITAN_LIBC_NT_ENUM_SC_H_
|
||||
|
||||
#define kNtScSize 0xF000
|
||||
#define kNtScMove 0xF010
|
||||
#define kNtScMinimize 0xF020
|
||||
#define kNtScMaximize 0xF030
|
||||
#define kNtScNextwindow 0xF040
|
||||
#define kNtScPrevwindow 0xF050
|
||||
#define kNtScClose 0xF060
|
||||
#define kNtScVscroll 0xF070
|
||||
#define kNtScHscroll 0xF080
|
||||
#define kNtScMousemenu 0xF090
|
||||
#define kNtScKeymenu 0xF100
|
||||
#define kNtScArrange 0xF110
|
||||
#define kNtScRestore 0xF120
|
||||
#define kNtScTasklist 0xF130
|
||||
#define kNtScScreensave 0xF140
|
||||
#define kNtScHotkey 0xF150
|
||||
#define kNtScDefault 0xF160
|
||||
#define kNtScMonitorpower 0xF170
|
||||
#define kNtScContexthelp 0xF180
|
||||
#define kNtScSeparator 0xF00F
|
||||
|
||||
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_SC_H_ */
|
|
@ -1,11 +1,7 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_SECTIONINFORMATIONCLASS_H_
|
||||
#define COSMOPOLITAN_LIBC_NT_ENUM_SECTIONINFORMATIONCLASS_H_
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
|
||||
enum NtSectionInformationClass {
|
||||
kNtSectionBasicInformation,
|
||||
kNtSectionImageInformation
|
||||
};
|
||||
#define kNtSectionBasicInformation 0
|
||||
#define kNtSectionImageInformation 1
|
||||
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_SECTIONINFORMATIONCLASS_H_ */
|
||||
|
|
|
@ -1,15 +1,11 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_SECTIONMAPFLAGS_H_
|
||||
#define COSMOPOLITAN_LIBC_NT_ENUM_SECTIONMAPFLAGS_H_
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
|
||||
enum NtSectionMapFlags {
|
||||
kNtSectionQuery = 0x0001,
|
||||
kNtSectionMapWrite = 0x0002,
|
||||
kNtSectionMapRead = 0x0004,
|
||||
kNtSectionMapExecute = 0x0008,
|
||||
kNtSectionExtendSize = 0x0010,
|
||||
kNtSectionMapExecuteExplicit = 0x0020
|
||||
};
|
||||
#define kNtSectionQuery 0x0001
|
||||
#define kNtSectionMapWrite 0x0002
|
||||
#define kNtSectionMapRead 0x0004
|
||||
#define kNtSectionMapExecute 0x0008
|
||||
#define kNtSectionExtendSize 0x0010
|
||||
#define kNtSectionMapExecuteExplicit 0x0020
|
||||
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_SECTIONMAPFLAGS_H_ */
|
||||
|
|
|
@ -1,13 +1,9 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_SECURITYIMPERSONATIONLEVEL_H_
|
||||
#define COSMOPOLITAN_LIBC_NT_ENUM_SECURITYIMPERSONATIONLEVEL_H_
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
|
||||
enum NtSecurityImpersonationLevel {
|
||||
kNtSecurityAnonymous,
|
||||
kNtSecurityIdentification,
|
||||
kNtSecurityImpersonation,
|
||||
kNtSecurityDelegation
|
||||
};
|
||||
#define kNtSecurityAnonymous 0
|
||||
#define kNtSecurityIdentification 1
|
||||
#define kNtSecurityImpersonation 2
|
||||
#define kNtSecurityDelegation 3
|
||||
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_SECURITYIMPERSONATIONLEVEL_H_ */
|
||||
|
|
29
libc/nt/enum/signal.h
Normal file
29
libc/nt/enum/signal.h
Normal file
|
@ -0,0 +1,29 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_SIGNAL_H_
|
||||
#define COSMOPOLITAN_LIBC_NT_ENUM_SIGNAL_H_
|
||||
|
||||
#define kNtSignalBreakpoint 0x80000003u
|
||||
#define kNtSignalIllegalInstruction 0xC000001Du
|
||||
#define kNtSignalPrivInstruction 0xC0000096u
|
||||
#define kNtSignalGuardPage 0x80000001u
|
||||
#define kNtSignalAccessViolation 0xC0000005u
|
||||
#define kNtSignalInPageError 0xC0000006u
|
||||
#define kNtSignalInvalidHandle 0xC0000008u
|
||||
#define kNtSignalInvalidParameter 0xC000000du
|
||||
#define kNtSignalFltDenormalOperand 0xC000008Du
|
||||
#define kNtSignalFltDivideByZero 0xC000008Eu
|
||||
#define kNtSignalFltInexactResult 0xC000008Fu
|
||||
#define kNtSignalFltInvalidOperation 0xC0000090u
|
||||
#define kNtSignalFltOverflow 0xC0000091u
|
||||
#define kNtSignalFltStackCheck 0xC0000092u
|
||||
#define kNtSignalFltUnderflow 0xC0000093u
|
||||
#define kNtSignalIntegerDivideByZero 0xC0000094u
|
||||
#define kNtSignalDllNotFound 0xC0000135u
|
||||
#define kNtSignalOrdinalNotFound 0xC0000138u
|
||||
#define kNtSignalEntrypointNotFound 0xC0000139u
|
||||
#define kNtSignalControlCExit 0xC000013Au
|
||||
#define kNtSignalDllInitFailed 0xC0000142u
|
||||
#define kNtSignalFloatMultipleFaults 0xC00002B4u
|
||||
#define kNtSignalFloatMultipleTraps 0xC00002B5u
|
||||
#define kNtSignalAssertionFailure 0xC0000420u
|
||||
|
||||
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_SIGNAL_H_ */
|
10
libc/nt/enum/size.h
Normal file
10
libc/nt/enum/size.h
Normal file
|
@ -0,0 +1,10 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_SIZE_H_
|
||||
#define COSMOPOLITAN_LIBC_NT_ENUM_SIZE_H_
|
||||
|
||||
#define kNtSizeRestored 0
|
||||
#define kNtSizeMinimized 1
|
||||
#define kNtSizeMaximized 2
|
||||
#define kNtSizeMaxshow 3
|
||||
#define kNtSizeMaxhide 4
|
||||
|
||||
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_SIZE_H_ */
|
|
@ -1,19 +1,13 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_THREADSTATE_H_
|
||||
#define COSMOPOLITAN_LIBC_NT_ENUM_THREADSTATE_H_
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
enum NtThreadState {
|
||||
kNtStateInitialized = 0,
|
||||
kNtStateReady,
|
||||
kNtStateRunning,
|
||||
kNtStateStandby,
|
||||
kNtStateTerminated,
|
||||
kNtStateWait,
|
||||
kNtStateTransition,
|
||||
kNtStateUnknown
|
||||
};
|
||||
#define kNtStateInitialized 0
|
||||
#define kNtStateReady 1
|
||||
#define kNtStateRunning 2
|
||||
#define kNtStateStandby 3
|
||||
#define kNtStateTerminated 4
|
||||
#define kNtStateWait 5
|
||||
#define kNtStateTransition 6
|
||||
#define kNtStateUnknown 7
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_THREADSTATE_H_ */
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_TOKENTYPE_H_
|
||||
#define COSMOPOLITAN_LIBC_NT_ENUM_TOKENTYPE_H_
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
|
||||
enum NtTokenType { kNtTokenPrimary = 1, kNtTokenImpersonation };
|
||||
#define kNtTokenPrimary 1
|
||||
#define kNtTokenImpersonation 2
|
||||
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_TOKENTYPE_H_ */
|
||||
|
|
25
libc/nt/enum/tpm.h
Normal file
25
libc/nt/enum/tpm.h
Normal file
|
@ -0,0 +1,25 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_TPM_H_
|
||||
#define COSMOPOLITAN_LIBC_NT_ENUM_TPM_H_
|
||||
|
||||
#define kNtTpmLeftbutton 0x00000
|
||||
#define kNtTpmRightbutton 0x00002
|
||||
#define kNtTpmLeftalign 0x00000
|
||||
#define kNtTpmCenteralign 0x00004
|
||||
#define kNtTpmRightalign 0x00008
|
||||
#define kNtTpmTopalign 0x00000
|
||||
#define kNtTpmVcenteralign 0x00010
|
||||
#define kNtTpmBottomalign 0x00020
|
||||
#define kNtTpmHorizontal 0x00000
|
||||
#define kNtTpmVertical 0x00040
|
||||
#define kNtTpmNonotify 0x00080
|
||||
#define kNtTpmReturncmd 0x00100
|
||||
#define kNtTpmRecurse 0x00001
|
||||
#define kNtTpmHorposanimation 0x00400
|
||||
#define kNtTpmHorneganimation 0x00800
|
||||
#define kNtTpmVerposanimation 0x01000
|
||||
#define kNtTpmVerneganimation 0x02000
|
||||
#define kNtTpmNoanimation 0x04000
|
||||
#define kNtTpmLayoutrtl 0x08000
|
||||
#define kNtTpmWorkarea 0x10000
|
||||
|
||||
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_TPM_H_ */
|
|
@ -1,14 +1,10 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_VALUEINFORMATIONCLASS_H_
|
||||
#define COSMOPOLITAN_LIBC_NT_ENUM_VALUEINFORMATIONCLASS_H_
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
|
||||
enum NtKeyValueInformationClass {
|
||||
kNtKeyValueBasicInformation,
|
||||
kNtKeyValueFullInformation,
|
||||
kNtKeyValuePartialInformation,
|
||||
kNtKeyValueFullInformationAlign64,
|
||||
kNtKeyValuePartialInformationAlign64
|
||||
};
|
||||
#define kNtKeyValueBasicInformation 0
|
||||
#define kNtKeyValueFullInformation 1
|
||||
#define kNtKeyValuePartialInformation 2
|
||||
#define kNtKeyValueFullInformationAlign64 3
|
||||
#define kNtKeyValuePartialInformationAlign64 4
|
||||
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_VALUEINFORMATIONCLASS_H_ */
|
||||
|
|
182
libc/nt/enum/vk.h
Normal file
182
libc/nt/enum/vk.h
Normal file
|
@ -0,0 +1,182 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_VK_H_
|
||||
#define COSMOPOLITAN_LIBC_NT_ENUM_VK_H_
|
||||
|
||||
#define kNtVkLbutton 0x01
|
||||
#define kNtVkRbutton 0x02
|
||||
#define kNtVkCancel 0x03
|
||||
#define kNtVkMbutton 0x04
|
||||
#define kNtVkXbutton1 0x05
|
||||
#define kNtVkXbutton2 0x06
|
||||
#define kNtVkBack 0x08
|
||||
#define kNtVkTab 0x09
|
||||
#define kNtVkClear 0x0C
|
||||
#define kNtVkReturn 0x0D
|
||||
#define kNtVkShift 0x10
|
||||
#define kNtVkControl 0x11
|
||||
#define kNtVkMenu 0x12 /* alt? */
|
||||
#define kNtVkPause 0x13
|
||||
#define kNtVkCapital 0x14
|
||||
#define kNtVkKana 0x15
|
||||
#define kNtVkHangul 0x15
|
||||
#define kNtVkJunja 0x17
|
||||
#define kNtVkFinal 0x18
|
||||
#define kNtVkHanja 0x19
|
||||
#define kNtVkKanji 0x19
|
||||
#define kNtVkEscape 0x1B
|
||||
#define kNtVkConvert 0x1C
|
||||
#define kNtVkNonconvert 0x1D
|
||||
#define kNtVkAccept 0x1E
|
||||
#define kNtVkModechange 0x1F
|
||||
#define kNtVkSpace 0x20
|
||||
#define kNtVkPrior 0x21
|
||||
#define kNtVkNext 0x22
|
||||
#define kNtVkEnd 0x23
|
||||
#define kNtVkHome 0x24
|
||||
#define kNtVkLeft 0x25
|
||||
#define kNtVkUp 0x26
|
||||
#define kNtVkRight 0x27
|
||||
#define kNtVkDown 0x28
|
||||
#define kNtVkSelect 0x29
|
||||
#define kNtVkPrint 0x2A
|
||||
#define kNtVkExecute 0x2B
|
||||
#define kNtVkSnapshot 0x2C
|
||||
#define kNtVkInsert 0x2D
|
||||
#define kNtVkDelete 0x2E
|
||||
#define kNtVkHelp 0x2F
|
||||
#define kNtVkLwin 0x5B
|
||||
#define kNtVkRwin 0x5C
|
||||
#define kNtVkApps 0x5D
|
||||
#define kNtVkSleep 0x5F
|
||||
#define kNtVkNumpad0 0x60
|
||||
#define kNtVkNumpad1 0x61
|
||||
#define kNtVkNumpad2 0x62
|
||||
#define kNtVkNumpad3 0x63
|
||||
#define kNtVkNumpad4 0x64
|
||||
#define kNtVkNumpad5 0x65
|
||||
#define kNtVkNumpad6 0x66
|
||||
#define kNtVkNumpad7 0x67
|
||||
#define kNtVkNumpad8 0x68
|
||||
#define kNtVkNumpad9 0x69
|
||||
#define kNtVkMultiply 0x6A
|
||||
#define kNtVkAdd 0x6B
|
||||
#define kNtVkSeparator 0x6C
|
||||
#define kNtVkSubtract 0x6D
|
||||
#define kNtVkDecimal 0x6E
|
||||
#define kNtVkDivide 0x6F
|
||||
#define kNtVkF1 0x70
|
||||
#define kNtVkF2 0x71
|
||||
#define kNtVkF3 0x72
|
||||
#define kNtVkF4 0x73
|
||||
#define kNtVkF5 0x74
|
||||
#define kNtVkF6 0x75
|
||||
#define kNtVkF7 0x76
|
||||
#define kNtVkF8 0x77
|
||||
#define kNtVkF9 0x78
|
||||
#define kNtVkF10 0x79
|
||||
#define kNtVkF11 0x7A
|
||||
#define kNtVkF12 0x7B
|
||||
#define kNtVkF13 0x7C
|
||||
#define kNtVkF14 0x7D
|
||||
#define kNtVkF15 0x7E
|
||||
#define kNtVkF16 0x7F
|
||||
#define kNtVkF17 0x80
|
||||
#define kNtVkF18 0x81
|
||||
#define kNtVkF19 0x82
|
||||
#define kNtVkF20 0x83
|
||||
#define kNtVkF21 0x84
|
||||
#define kNtVkF22 0x85
|
||||
#define kNtVkF23 0x86
|
||||
#define kNtVkF24 0x87
|
||||
#define kNtVkNumlock 0x90
|
||||
#define kNtVkScroll 0x91
|
||||
#define kNtVkLshift 0xA0
|
||||
#define kNtVkRshift 0xA1
|
||||
#define kNtVkLcontrol 0xA2
|
||||
#define kNtVkRcontrol 0xA3
|
||||
#define kNtVkLmenu 0xA4
|
||||
#define kNtVkRmenu 0xA5
|
||||
#define kNtVkBrowserBack 0xA6
|
||||
#define kNtVkBrowserForward 0xA7
|
||||
#define kNtVkBrowserRefresh 0xA8
|
||||
#define kNtVkBrowserStop 0xA9
|
||||
#define kNtVkBrowserSearch 0xAA
|
||||
#define kNtVkBrowserFavorites 0xAB
|
||||
#define kNtVkBrowserHome 0xAC
|
||||
#define kNtVkVolumeMute 0xAD
|
||||
#define kNtVkVolumeDown 0xAE
|
||||
#define kNtVkVolumeUp 0xAF
|
||||
#define kNtVkMediaNextTrack 0xB0
|
||||
#define kNtVkMediaPrevTrack 0xB1
|
||||
#define kNtVkMediaStop 0xB2
|
||||
#define kNtVkMediaPlayPause 0xB3
|
||||
#define kNtVkLaunchMail 0xB4
|
||||
#define kNtVkLaunchMediaSelect 0xB5
|
||||
#define kNtVkLaunchApp1 0xB6
|
||||
#define kNtVkLaunchApp2 0xB7
|
||||
#define kNtVkOem_1 0xBA
|
||||
#define kNtVkOemPlus 0xBB
|
||||
#define kNtVkOemComma 0xBC
|
||||
#define kNtVkOemMinus 0xBD
|
||||
#define kNtVkOemPeriod 0xBE
|
||||
#define kNtVkOem_2 0xBF
|
||||
#define kNtVkOem_3 0xC0
|
||||
#define kNtVkGamepadA 0xC3
|
||||
#define kNtVkGamepadB 0xC4
|
||||
#define kNtVkGamepadX 0xC5
|
||||
#define kNtVkGamepadY 0xC6
|
||||
#define kNtVkGamepadRightShoulder 0xC7
|
||||
#define kNtVkGamepadLeftShoulder 0xC8
|
||||
#define kNtVkGamepadLeftTrigger 0xC9
|
||||
#define kNtVkGamepadRightTrigger 0xCA
|
||||
#define kNtVkGamepadDpadUp 0xCB
|
||||
#define kNtVkGamepadDpadDown 0xCC
|
||||
#define kNtVkGamepadDpadLeft 0xCD
|
||||
#define kNtVkGamepadDpadRight 0xCE
|
||||
#define kNtVkGamepadMenu 0xCF
|
||||
#define kNtVkGamepadView 0xD0
|
||||
#define kNtVkGamepadLeftThumbstickButton 0xD1
|
||||
#define kNtVkGamepadRightThumbstickButton 0xD2
|
||||
#define kNtVkGamepadLeftThumbstickUp 0xD3
|
||||
#define kNtVkGamepadLeftThumbstickDown 0xD4
|
||||
#define kNtVkGamepadLeftThumbstickRight 0xD5
|
||||
#define kNtVkGamepadLeftThumbstickLeft 0xD6
|
||||
#define kNtVkGamepadRightThumbstickUp 0xD7
|
||||
#define kNtVkGamepadRightThumbstickDown 0xD8
|
||||
#define kNtVkGamepadRightThumbstickRight 0xD9
|
||||
#define kNtVkGamepadRightThumbstickLeft 0xDA
|
||||
#define kNtVkOem_4 0xDB
|
||||
#define kNtVkOem_5 0xDC
|
||||
#define kNtVkOem_6 0xDD
|
||||
#define kNtVkOem_7 0xDE
|
||||
#define kNtVkOem_8 0xDF
|
||||
#define kNtVkOemAx 0xE1
|
||||
#define kNtVkOem_102 0xE2
|
||||
#define kNtVkIcoHelp 0xE3
|
||||
#define kNtVkIco_00 0xE4
|
||||
#define kNtVkProcesskey 0xE5
|
||||
#define kNtVkIcoClear 0xE6
|
||||
#define kNtVkPacket 0xE7
|
||||
#define kNtVkOemReset 0xE9
|
||||
#define kNtVkOemJump 0xEA
|
||||
#define kNtVkOemPa1 0xEB
|
||||
#define kNtVkOemPa2 0xEC
|
||||
#define kNtVkOemPa3 0xED
|
||||
#define kNtVkOemWsctrl 0xEE
|
||||
#define kNtVkOemCusel 0xEF
|
||||
#define kNtVkOemAttn 0xF0
|
||||
#define kNtVkOemFinish 0xF1
|
||||
#define kNtVkOemCopy 0xF2
|
||||
#define kNtVkOemAuto 0xF3
|
||||
#define kNtVkOemEnlw 0xF4
|
||||
#define kNtVkOemBacktab 0xF5
|
||||
#define kNtVkAttn 0xF6
|
||||
#define kNtVkCrsel 0xF7
|
||||
#define kNtVkExsel 0xF8
|
||||
#define kNtVkEreof 0xF9
|
||||
#define kNtVkPlay 0xFA
|
||||
#define kNtVkZoom 0xFB
|
||||
#define kNtVkNoname 0xFC
|
||||
#define kNtVkPa1 0xFD
|
||||
#define kNtVkOemClear 0xFE
|
||||
|
||||
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_VK_H_ */
|
Loading…
Add table
Add a link
Reference in a new issue