path
stringlengths
14
112
content
stringlengths
0
6.32M
size
int64
0
6.32M
max_lines
int64
1
100k
repo_name
stringclasses
2 values
autogenerated
bool
1 class
cosmopolitan/libc/nt/enum/fillattribute.h
#ifndef COSMOPOLITAN_LIBC_NT_NTFILLATTRIBUTE_H_ #define COSMOPOLITAN_LIBC_NT_NTFILLATTRIBUTE_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) #define kNtForegroundBlue 0x0001 #define kNtForegroundGreen 0x0002 #define kNtForegroundRed 0x0004 #define kNtForegroundIntensity 0x0008 #define kNtBackgroundBlue 0x0010 #define kNtBack...
510
16
jart/cosmopolitan
false
cosmopolitan/libc/nt/enum/filelockflags.h
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_FILELOCKFLAGS_H_ #define COSMOPOLITAN_LIBC_NT_ENUM_FILELOCKFLAGS_H_ #define kNtLockfileFailImmediately 1 #define kNtLockfileExclusiveLock 2 #endif /* COSMOPOLITAN_LIBC_NT_ENUM_FILELOCKFLAGS_H_ */
234
8
jart/cosmopolitan
false
cosmopolitan/libc/nt/enum/heap.h
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_HEAP_H_ #define COSMOPOLITAN_LIBC_NT_ENUM_HEAP_H_ #define kNtHeapNoSerialize 1 #define kNtHeapGenerateExceptions 4 #define kNtHeapZeroMemory 8 #define kNtHeapReallocInPlaceOnly 16 #endif /* COSMOPOLITAN_LIBC_NT_ENUM_HEAP_H_ */
278
10
jart/cosmopolitan
false
cosmopolitan/libc/nt/enum/regtype.h
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_REGTYPE_H_ #define COSMOPOLITAN_LIBC_NT_ENUM_REGTYPE_H_ #define kNtRegNone 0 #define kNtRegSz 1 /* UTF-16 string */ #define kNtRegExpandSz 2 /* UTF-16 string w/ env vars refs */ #define kNtRegBinary 3 #define ...
728
18
jart/cosmopolitan
false
cosmopolitan/libc/nt/enum/objectinformationclass.h
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_OBJECTINFORMATIONCLASS_H_ #define COSMOPOLITAN_LIBC_NT_ENUM_OBJECTINFORMATIONCLASS_H_ #define kNtObjectBasicInformation 0 /*→ struct NtObjectBasicInformation */ #define kNtObjectNameInformation 1 /*→ etc. */ #define kNtObjectTypeInformation 2 #define kNtObjectAllInformation 3 ...
422
11
jart/cosmopolitan
false
cosmopolitan/libc/nt/enum/mf.h
#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...
1,207
33
jart/cosmopolitan
false
cosmopolitan/libc/nt/enum/keyaccess.h
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_KEYACCESS_H_ #define COSMOPOLITAN_LIBC_NT_ENUM_KEYACCESS_H_ #define kNtKeyRead 0x00020019 #define kNtKeyWrite 0x00020006 #define kNtKeyExecute 0x00020019 #define kNtKeyAllAccess 0x000f003f #endif /* COSMOPOLITAN_LIBC_NT_ENUM_KEYACCESS_H_ */
288
10
jart/cosmopolitan
false
cosmopolitan/libc/nt/enum/bitblt.h
#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 0x00440328...
878
21
jart/cosmopolitan
false
cosmopolitan/libc/nt/enum/mk.h
#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...
330
13
jart/cosmopolitan
false
cosmopolitan/libc/nt/enum/threadinfoclass.h
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_THREADINFOCLASS_H_ #define COSMOPOLITAN_LIBC_NT_ENUM_THREADINFOCLASS_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) enum NtThreadInfoClass { kNtThreadBasicInformation, kNtThreadTimes, kNtThreadPriority, kNtThreadBasePriority, kNtThreadAffinityMask, kNtThreadImpersonationToken, ...
809
29
jart/cosmopolitan
false
cosmopolitan/libc/nt/enum/color.h
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_COLOR_H_ #define COSMOPOLITAN_LIBC_NT_ENUM_COLOR_H_ #define kNtColorScrollbar 0 #define kNtColorBackground 1 #define kNtColorActivecaption 2 #define kNtColorInactivecaption 3 #define kNtColorMenu 4 #define kNtColorWindow ...
1,416
36
jart/cosmopolitan
false
cosmopolitan/libc/nt/enum/status.h
#ifndef COSMOPOLITAN_LIBC_NT_STATUS_H_ #define COSMOPOLITAN_LIBC_NT_STATUS_H_ /* high two bits = {success,informational,warning,error} */ #define kNtStatusSuccess 0x00000000 /* success statuses */ #define kNtStatusWait0 0x00000000 #define kNtStatusAbandonedWait0 0x00000080...
3,951
84
jart/cosmopolitan
false
cosmopolitan/libc/nt/enum/replacefile.h
#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_ */
280
9
jart/cosmopolitan
false
cosmopolitan/libc/nt/enum/th32cs.h
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_TH32CS_H_ #define COSMOPOLITAN_LIBC_NT_ENUM_TH32CS_H_ #define kNtTh32csInherit 0x80000000 #define kNtTh32csSnapheaplist 0x00000001 #define kNtTh32csSnapmodule 0x00000008 #define kNtTh32csSnapmodule32 0x00000010 #define kNtTh32csSnapprocess 0x00000002 #define kNtTh32csSnapthrea...
385
12
jart/cosmopolitan
false
cosmopolitan/libc/nt/enum/idc.h
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_IDC_H_ #define COSMOPOLITAN_LIBC_NT_ENUM_IDC_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ #define kNtIdcArrow ((const char16_t *)32512) #define kNtIdcIbeam ((const char16_t *)32513) #define kNtIdcWait ((const char16_t *)32514) #define kNtIdcCross ((const...
992
25
jart/cosmopolitan
false
cosmopolitan/libc/nt/enum/memoryinformationclass.h
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_MEMORYINFORMATIONCLASS_H_ #define COSMOPOLITAN_LIBC_NT_ENUM_MEMORYINFORMATIONCLASS_H_ #define kNtMemoryBasicInformation 0 #define kNtMemoryWorkingSetList 1 #define kNtMemorySectionName 2 #define kNtMemoryBasicVlmInformation 3 #endif /* COSMOPOLITAN_LIBC_NT_ENUM_MEMORY...
343
10
jart/cosmopolitan
false
cosmopolitan/libc/nt/enum/cs.h
#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...
647
19
jart/cosmopolitan
false
cosmopolitan/libc/nt/enum/jobobjectinfoclass.h
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_JOBOBJECTINFOCLASS_H_ #define COSMOPOLITAN_LIBC_NT_ENUM_JOBOBJECTINFOCLASS_H_ #define kNtJobObjectBasicAccountingInformation 1 #define kNtJobObjectBasicLimitInformation 2 #define kNtJobObjectBasicProcessIdList 3 #define kNtJobObjectBasicUIRestricti...
746
16
jart/cosmopolitan
false
cosmopolitan/libc/nt/enum/offerpriority.h
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_OFFERPRIORITY_H_ #define COSMOPOLITAN_LIBC_NT_ENUM_OFFERPRIORITY_H_ /* TODO(jart): Are these values correct? */ #define kNtVmOfferPriorityVeryLow 1 /* 0x00001000? */ #define kNtVmOfferPriorityLow 2 /* 0x00002000? */ #define kNtVmOfferPriorityBelowNormal 3 /* 0x00002000? */...
436
11
jart/cosmopolitan
false
cosmopolitan/libc/nt/enum/getfileexinfolevels.h
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_GETFILEEXINFOLEVELS_H_ #define COSMOPOLITAN_LIBC_NT_ENUM_GETFILEEXINFOLEVELS_H_ #define kNtGetFileExInfoStandard 0 #endif /* COSMOPOLITAN_LIBC_NT_ENUM_GETFILEEXINFOLEVELS_H_ */
213
7
jart/cosmopolitan
false
cosmopolitan/libc/nt/enum/ws.h
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_WS_H_ #define COSMOPOLITAN_LIBC_NT_ENUM_WS_H_ #define kNtWsOverlapped 0x00000000 #define kNtWsPopup 0x80000000 #define kNtWsChild 0x40000000 #define kNtWsMinimize 0x20000000 #define kNtWsVisible 0x10000000 #define kNtWsDisabled 0x08000000 #define kNtWsClip...
2,556
63
jart/cosmopolitan
false
cosmopolitan/libc/nt/enum/mb.h
#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 k...
2,011
45
jart/cosmopolitan
false
cosmopolitan/libc/nt/enum/filemovemethod.h
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_FILEMOVEMETHOD_H_ #define COSMOPOLITAN_LIBC_NT_ENUM_FILEMOVEMETHOD_H_ #define kNtFileBegin 0 #define kNtFileCurrent 1 #define kNtFileEnd 2 #endif /* COSMOPOLITAN_LIBC_NT_ENUM_FILEMOVEMETHOD_H_ */
238
9
jart/cosmopolitan
false
cosmopolitan/libc/nt/enum/processaccess.h
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_PROCESSACCESS_H_ #define COSMOPOLITAN_LIBC_NT_ENUM_PROCESSACCESS_H_ #include "libc/nt/enum/accessmask.h" #define kNtProcessCreateProcess 0x0080u #define kNtProcessCreateThread 0x0002u #define kNtProcessDupHandle 0x0040u #define kNtProcessQueryInformation 0x0400u #define kNtProcessQuer...
794
22
jart/cosmopolitan
false
cosmopolitan/libc/nt/enum/threadstate.h
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_THREADSTATE_H_ #define COSMOPOLITAN_LIBC_NT_ENUM_THREADSTATE_H_ #define kNtStateInitialized 0 #define kNtStateReady 1 #define kNtStateRunning 2 #define kNtStateStandby 3 #define kNtStateTerminated 4 #define kNtStateWait 5 #define kNtStateTransition 6 #define kNt...
394
14
jart/cosmopolitan
false
cosmopolitan/libc/nt/enum/signal.h
#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 ...
1,315
30
jart/cosmopolitan
false
cosmopolitan/libc/nt/enum/copyfile.h
#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 #de...
891
18
jart/cosmopolitan
false
cosmopolitan/libc/nt/enum/callback.h
#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_ */
215
8
jart/cosmopolitan
false
cosmopolitan/libc/nt/enum/pwr.h
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_PWR_H_ #define COSMOPOLITAN_LIBC_NT_ENUM_PWR_H_ #define kNtPwrOk 1 #define kNtPwrFail (-1) #define kNtPwrSuspendrequest 1 #define kNtPwrSuspendresume 2 #define kNtPwrCriticalresume 3 #endif /* COSMOPOLITAN_LIBC_NT_ENUM_PWR_H_ */
288
11
jart/cosmopolitan
false
cosmopolitan/libc/nt/enum/cw.h
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_CW_H_ #define COSMOPOLITAN_LIBC_NT_ENUM_CW_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) #define kNtCwUsedefault ((int)0x80000000) #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LIBC_NT_ENUM_CW_H_ */
254
9
jart/cosmopolitan
false
cosmopolitan/libc/nt/enum/loadlibrarysearch.h
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_LOADLIBRARYSEARCH_H_ #define COSMOPOLITAN_LIBC_NT_ENUM_LOADLIBRARYSEARCH_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) #define kNtLoadLibrarySearchApplicationDir 0x00000200u #define kNtLoadLibrarySearchSearchSystem32 0x00000800u #define kNtLoadLibrarySearchUserDirs 0x00000400u #defin...
477
12
jart/cosmopolitan
false
cosmopolitan/libc/nt/enum/wait.h
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_WAIT_H_ #define COSMOPOLITAN_LIBC_NT_ENUM_WAIT_H_ #define kNtWaitFailed 0xffffffffu #define kNtWaitTimeout 0x00000102u #endif /* COSMOPOLITAN_LIBC_NT_ENUM_WAIT_H_ */
203
8
jart/cosmopolitan
false
cosmopolitan/libc/nt/enum/creationdisposition.h
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_CREATIONDISPOSITION_H_ #define COSMOPOLITAN_LIBC_NT_ENUM_CREATIONDISPOSITION_H_ #define kNtCreateNew 1 #define kNtCreateAlways 2 #define kNtOpenExisting 3 #define kNtOpenAlways 4 #define kNtTruncateExisting 5 #endif /* COSMOPOLITAN_LIBC_NT_ENUM_CREATIONDISPOSITION_H_ */
307
11
jart/cosmopolitan
false
cosmopolitan/libc/nt/enum/dialogresult.h
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_DIALOGRESULT_H_ #define COSMOPOLITAN_LIBC_NT_ENUM_DIALOGRESULT_H_ #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 #de...
423
17
jart/cosmopolitan
false
cosmopolitan/libc/nt/enum/sectionmapflags.h
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_SECTIONMAPFLAGS_H_ #define COSMOPOLITAN_LIBC_NT_ENUM_SECTIONMAPFLAGS_H_ #define kNtSectionQuery 0x0001 #define kNtSectionMapWrite 0x0002 #define kNtSectionMapRead 0x0004 #define kNtSectionMapExecute 0x0008 #define kNtSectionExtendSize ...
430
12
jart/cosmopolitan
false
cosmopolitan/libc/nt/enum/tokentype.h
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_TOKENTYPE_H_ #define COSMOPOLITAN_LIBC_NT_ENUM_TOKENTYPE_H_ #define kNtTokenPrimary 1 #define kNtTokenImpersonation 2 #endif /* COSMOPOLITAN_LIBC_NT_ENUM_TOKENTYPE_H_ */
212
8
jart/cosmopolitan
false
cosmopolitan/libc/nt/enum/securityimpersonationlevel.h
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_SECURITYIMPERSONATIONLEVEL_H_ #define COSMOPOLITAN_LIBC_NT_ENUM_SECURITYIMPERSONATIONLEVEL_H_ #define kNtSecurityAnonymous 0 #define kNtSecurityIdentification 1 #define kNtSecurityImpersonation 2 #define kNtSecurityDelegation 3 #endif /* COSMOPOLITAN_LIBC_NT_ENUM_SECURITYIM...
343
10
jart/cosmopolitan
false
cosmopolitan/libc/nt/enum/sio.h
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_SIO_H_ #define COSMOPOLITAN_LIBC_NT_ENUM_SIO_H_ #define kNtSioAbsorbRtralert 0x98000005u #define kNtSioAcquirePortReservation 0x98000064u #define kNtSioAddressListChange 0x28000017u #define kNtSioAddressListQuery 0...
4,036
69
jart/cosmopolitan
false
cosmopolitan/libc/nt/enum/fsctl.h
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_FSCTL_H_ #define COSMOPOLITAN_LIBC_NT_ENUM_FSCTL_H_ #define kNtFsctlDisableLocalBuffering 0x000902B8u #define kNtFsctlFilePrefetch 0x00090120u #define kNtFsctlFilesystemGetStatistics 0x00090060u #define kNtFsctlGetCompression 0x0009003Cu #define kNtFsctlGetNtfsFi...
812
19
jart/cosmopolitan
false
cosmopolitan/libc/nt/enum/processcreationflags.h
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_PROCESSCREATIONFLAGS_H_ #define COSMOPOLITAN_LIBC_NT_ENUM_PROCESSCREATIONFLAGS_H_ #define kNtIdlePriorityClass 0x00000040u #define kNtBelowNormalPriorityClass 0x00004000u #define kNtNormalPriorityClass 0x00000020u #define kNtAboveNormalPriorityClass 0x00008000u #define kNt...
1,718
37
jart/cosmopolitan
false
cosmopolitan/libc/nt/enum/tokeninformationclass.h
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_TOKENINFORMATIONCLASS_H_ #define COSMOPOLITAN_LIBC_NT_ENUM_TOKENINFORMATIONCLASS_H_ #define kNtTokenUser 1 #define kNtTokenGroups 2 #define kNtTokenPrivileges 3 #define kNtTokenOwner 4 #define kNtTokenPrimaryGroup 5 #define kNtTokenDefaultDacl 6 #define kNtTokenSource 7 #define kNtTok...
721
24
jart/cosmopolitan
false
cosmopolitan/libc/nt/enum/statfs.h
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_STATFS_H_ #define COSMOPOLITAN_LIBC_NT_ENUM_STATFS_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ #define kNtFileCasePreservedNames 0x00000002 #define kNtFileCaseSensitiveSearch 0x00000001 #define kNtFileFileCompression 0x00000010 #define kNtF...
1,342
30
jart/cosmopolitan
false
cosmopolitan/libc/nt/enum/rdw.h
#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 kNtRdwN...
574
18
jart/cosmopolitan
false
cosmopolitan/libc/nt/enum/threadaccess.h
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_THREADACCESS_H_ #define COSMOPOLITAN_LIBC_NT_ENUM_THREADACCESS_H_ #include "libc/nt/enum/accessmask.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) #define kNtThreadTerminate 0x0001 #define kNtThreadSuspendResume 0x0002 #define kNtThreadGetContext 0x0008 #define kNtThreadSetContext 0x0010 #d...
826
22
jart/cosmopolitan
false
cosmopolitan/libc/nt/enum/movefileexflags.h
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_MOVEFILEEXFLAGS_H_ #define COSMOPOLITAN_LIBC_NT_ENUM_MOVEFILEEXFLAGS_H_ #define kNtMovefileReplaceExisting 1 #define kNtMovefileCopyAllowed 2 #define kNtMovefileDelayUntilReboot 4 #define kNtMovefileWriteThrough 8 #define kNtMovefileCreateHardlink 16 #define kNtM...
408
12
jart/cosmopolitan
false
cosmopolitan/libc/nt/enum/findexinfolevels.h
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_FINDEXINFOLEVELS_H_ #define COSMOPOLITAN_LIBC_NT_ENUM_FINDEXINFOLEVELS_H_ #define kNtFindExInfoStandard 0 #define kNtFindExInfoBasic 1 #define kNtFindExInfoMaxInfoLevel 2 #endif /* COSMOPOLITAN_LIBC_NT_ENUM_FINDEXINFOLEVELS_H_ */
277
9
jart/cosmopolitan
false
cosmopolitan/libc/nt/enum/pageflags.h
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_PAGEFLAGS_H_ #define COSMOPOLITAN_LIBC_NT_ENUM_PAGEFLAGS_H_ /* Pick One */ #define kNtPageNoaccess 0x001 #define kNtPageReadonly 0x002 #define kNtPageReadwrite 0x004 #define kNtPageWritecopy 0x008 #define kNtPageExecute 0x010 #define kNtPageExecu...
900
27
jart/cosmopolitan
false
cosmopolitan/libc/nt/enum/lang.h
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_LANG_H_ #define COSMOPOLITAN_LIBC_NT_ENUM_LANG_H_ #define MAKELANGID(p, s) ((((uint16_t)(s)) << 10) | (uint16_t)(p)) #define kNtLangNeutral 0x00 #define kNtLangInvariant 0x7f #define kNtLangAfrikaans 0x36 #define kNtLangAlbanian 0x1c #define kNt...
19,332
393
jart/cosmopolitan
false
cosmopolitan/libc/nt/enum/wa.h
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_WA_H_ #define COSMOPOLITAN_LIBC_NT_ENUM_WA_H_ #define kNtWaInactive 0 #define kNtWaActive 1 #define kNtWaClickactive 2 #endif /* COSMOPOLITAN_LIBC_NT_ENUM_WA_H_ */
208
9
jart/cosmopolitan
false
cosmopolitan/libc/nt/enum/size.h
#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_ */
268
11
jart/cosmopolitan
false
cosmopolitan/libc/nt/enum/valueinformationclass.h
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_VALUEINFORMATIONCLASS_H_ #define COSMOPOLITAN_LIBC_NT_ENUM_VALUEINFORMATIONCLASS_H_ #define kNtKeyValueBasicInformation 0 #define kNtKeyValueFullInformation 1 #define kNtKeyValuePartialInformation 2 #define kNtKeyValueFullInformationAlign64 3 #define kNtKe...
419
11
jart/cosmopolitan
false
cosmopolitan/libc/nt/enum/afd.h
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_AFD_H_ #define COSMOPOLITAN_LIBC_NT_ENUM_AFD_H_ #define kNtAfdPollReceive 0x0001 #define kNtAfdPollReceiveExpedited 0x0002 #define kNtAfdPollSend 0x0004 #define kNtAfdPollDisconnect 0x0008 #define kNtAfdPollAbort 0x0010 #define kNtAfdPollLocalClos...
466
14
jart/cosmopolitan
false
cosmopolitan/libc/nt/enum/importobjectnametype.h
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_IMPORTOBJECTNAMETYPE_H_ #define COSMOPOLITAN_LIBC_NT_ENUM_IMPORTOBJECTNAMETYPE_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) enum NtImportObjectNameType { IMPORT_OBJECT_ORDINAL, IMPORT_OBJECT_NAME, IMPORT_OBJECT_NAME_NO_PREFIX, IMPORT_OBJECT_NAME_UNDECORATE, IMPORT_OBJECT_NAME_EX...
441
15
jart/cosmopolitan
false
cosmopolitan/libc/nt/enum/procthreadattributes.h
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_PROCTHREADATTRIBUTES_H_ #define COSMOPOLITAN_LIBC_NT_ENUM_PROCTHREADATTRIBUTES_H_ #define kNtProcThreadAttributeReplaceValue 1 #define kNtProcThreadAttributeHandleList 0x00020002 #endif /* COSMOPOLITAN_LIBC_NT_ENUM_PROCTHREADATTRIBUTES_H_ */
278
8
jart/cosmopolitan
false
cosmopolitan/libc/nt/enum/vk.h
#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 #def...
8,457
183
jart/cosmopolitan
false
cosmopolitan/libc/nt/enum/findexsearchops.h
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_FINDEXSEARCHOPS_H_ #define COSMOPOLITAN_LIBC_NT_ENUM_FINDEXSEARCHOPS_H_ #define kNtFindExSearchNameMatch 0 #define kNtFindExSearchLimitToDirectories 1 #define kNtFindExSearchLimitToDevices 2 #define kNtFindExSearchMaxSearchOp 3 #endif /* COSMOPOLITAN_LIBC_NT_ENUM_...
342
10
jart/cosmopolitan
false
cosmopolitan/libc/nt/enum/formatmessageflags.h
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_FORMATMESSAGEFLAGS_H_ #define COSMOPOLITAN_LIBC_NT_ENUM_FORMATMESSAGEFLAGS_H_ #define kNtFormatMessageAllocateBuffer 0x100 #define kNtFormatMessageIgnoreInserts 0x200 #define kNtFormatMessageFromString 0x400 #define kNtFormatMessageFromHmodule 0x800 #define kNtFormatMessageFro...
491
13
jart/cosmopolitan
false
cosmopolitan/libc/nt/enum/systeminformationclass.h
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_SYSTEMINFORMATIONCLASS_H_ #define COSMOPOLITAN_LIBC_NT_ENUM_SYSTEMINFORMATIONCLASS_H_ #define kNtSystemBasicInformation 0 #define kNtSystemProcessorInformation 1 #define kNtSystemPerformanceInformation 2 #define kNtSystemTimeOfDayInformation 3 #define kNtSystemProcessInformation 5 #de...
765
21
jart/cosmopolitan
false
cosmopolitan/libc/nt/enum/sectioninformationclass.h
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_SECTIONINFORMATIONCLASS_H_ #define COSMOPOLITAN_LIBC_NT_ENUM_SECTIONINFORMATIONCLASS_H_ #define kNtSectionBasicInformation 0 #define kNtSectionImageInformation 1 #endif /* COSMOPOLITAN_LIBC_NT_ENUM_SECTIONINFORMATIONCLASS_H_ */
264
8
jart/cosmopolitan
false
cosmopolitan/libc/nt/enum/fsinformationclass.h
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_FSINFORMATIONCLASS_H_ #define COSMOPOLITAN_LIBC_NT_ENUM_FSINFORMATIONCLASS_H_ #define kNtFileFsVolumeInformation 1 #define kNtFileFsLabelInformation 2 #define kNtFileFsSizeInformation 3 #define kNtFileFsDeviceInformation 4 #define kNtFileFsAttributeInformation 5 #define kNtFileFsContr...
553
16
jart/cosmopolitan
false
cosmopolitan/libc/nt/enum/exceptionhandleractions.h
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_EXCEPTIONHANDLERACTIONS_H_ #define COSMOPOLITAN_LIBC_NT_ENUM_EXCEPTIONHANDLERACTIONS_H_ #define kNtExceptionExecuteHandler 0x1u #define kNtExceptionContinueExecution 0xffffffffu #define kNtExceptionContinueSearch 0x0u #endif /* COSMOPOLITAN_LIBC_NT_ENUM_EXCEPTIONHANDLERACTIONS_H_ */
320
9
jart/cosmopolitan
false
cosmopolitan/libc/nt/enum/wsaid.h
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_WSAID_H_ #define COSMOPOLITAN_LIBC_NT_ENUM_WSAID_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ #define WSAID_WSAPOLL \ { \ 0x18C76F85, 0xDC66, 0x4964, { \ 0x...
2,782
72
jart/cosmopolitan
false
cosmopolitan/libc/nt/enum/ofn.h
#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...
1,326
32
jart/cosmopolitan
false
cosmopolitan/libc/nt/enum/fileflagandattributes.h
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_FILEFLAGANDATTRIBUTES_H_ #define COSMOPOLITAN_LIBC_NT_ENUM_FILEFLAGANDATTRIBUTES_H_ /** * MS-DOS File Attributes. * * @see GetFileInformationByHandle() * @see libc/sysv/consts.sh */ #define kNtFileAttributeReadonly 0x00000001u #define kNtFileAttributeHidden 0x00000002u #d...
1,659
46
jart/cosmopolitan
false
cosmopolitan/libc/nt/enum/consoleselectionflags.h
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_CONSOLESELECTIONFLAGS_H_ #define COSMOPOLITAN_LIBC_NT_ENUM_CONSOLESELECTIONFLAGS_H_ #define kNtConsoleNoSelection 0x0000u #define kNtConsoleSelectionInProgress 0x0001u #define kNtConsoleSelectionNotEmpty 0x0002u #define kNtConsoleMouseSelection 0x0004u #define kNtConsoleMouseDown 0x00...
389
11
jart/cosmopolitan
false
cosmopolitan/libc/nt/enum/sw.h
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_SW_H_ #define COSMOPOLITAN_LIBC_NT_ENUM_SW_H_ #define kNtSwHide 0 #define kNtSwShownormal 1 #define kNtSwNormal 1 #define kNtSwShowminimized 2 #define kNtSwShowmaximized 3 #define kNtSwMaximize 3 #define kNtSwShownoactivate 4 #define kNtSwShow ...
563
20
jart/cosmopolitan
false
cosmopolitan/libc/nt/enum/computernameformat.h
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_COMPUTERNAMEFORMAT_H_ #define COSMOPOLITAN_LIBC_NT_ENUM_COMPUTERNAMEFORMAT_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) #define kNtComputerNameNetBios 0 #define kNtComputerNameDnsHostname 1 #define kNtComputerNameDnsDomain 2 #define kNtCompu...
719
17
jart/cosmopolitan
false
cosmopolitan/libc/nt/enum/symboliclink.h
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_SYMBOLICLINK_H_ #define COSMOPOLITAN_LIBC_NT_ENUM_SYMBOLICLINK_H_ #define kNtSymbolicLinkFlagDirectory 1 #define kNtSymbolicLinkFlagAllowUnprivilegedCreate 2 #endif /* COSMOPOLITAN_LIBC_NT_ENUM_SYMBOLICLINK_H_ */
263
8
jart/cosmopolitan
false
cosmopolitan/libc/nt/enum/securityinformation.h
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_SECURITYINFORMATION_H_ #define COSMOPOLITAN_LIBC_NT_ENUM_SECURITYINFORMATION_H_ #define kNtOwnerSecurityInformation 0x00000001 #define kNtGroupSecurityInformation 0x00000002 #define kNtDaclSecurityInformation 0x00000004 #define kNtSaclSecurityInformation 0x00000008 #define kNtLabelSec...
894
20
jart/cosmopolitan
false
cosmopolitan/libc/nt/enum/wt.h
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_WT_H_ #define COSMOPOLITAN_LIBC_NT_ENUM_WT_H_ #define kNtWtExecutedefault 0x00000000u #define kNtWtExecuteonlyonce 0x00000008u #define kNtWtExecuteintimerthread 0x00000020u #define kNtWtExecuteinpersistentthread 0x00000080u #define kNtWtExecutelongfunction ...
439
12
jart/cosmopolitan
false
cosmopolitan/libc/nt/enum/reggetvalueflags.h
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_REGGETVALUEFLAGS_H_ #define COSMOPOLITAN_LIBC_NT_ENUM_REGGETVALUEFLAGS_H_ #define kNtRrfRtRegNone 0x00000001 #define kNtRrfRtRegSz 0x00000002 #define kNtRrfRtRegExpandSz 0x00000004 #define kNtRrfRtRegBinary 0x00000008 #define kNtRrfRtRegDword 0x00000010 #...
855
21
jart/cosmopolitan
false
cosmopolitan/libc/nt/user32/OpenClipboard.S
#include "libc/nt/codegen.h" .imp user32,__imp_OpenClipboard,OpenClipboard,2187
80
3
jart/cosmopolitan
false
cosmopolitan/libc/nt/user32/UserRealizePalette.S
#include "libc/nt/codegen.h" .imp user32,__imp_UserRealizePalette,UserRealizePalette,2481
90
3
jart/cosmopolitan
false
cosmopolitan/libc/nt/user32/GetShellWindow.S
#include "libc/nt/codegen.h" .imp user32,__imp_GetShellWindow,GetShellWindow,1950 .text.windows GetShellWindow: #ifdef __x86_64__ push %rbp mov %rsp,%rbp .profilable sub $32,%rsp call *__imp_GetShellWindow(%rip) leave #elif defined(__aarch64__) mov x0,#0 #endif ret .endfn GetShellWindow,globl .previous
316
19
jart/cosmopolitan
false
cosmopolitan/libc/nt/user32/GetDCEx.S
#include "libc/nt/codegen.h" .imp user32,__imp_GetDCEx,GetDCEx,1831
68
3
jart/cosmopolitan
false
cosmopolitan/libc/nt/user32/SystemParametersInfoW.S
#include "libc/nt/codegen.h" .imp user32,__imp_SystemParametersInfoW,SystemParametersInfoW,2433
96
3
jart/cosmopolitan
false
cosmopolitan/libc/nt/user32/SetProcessWindowStation.S
#include "libc/nt/codegen.h" .imp user32,__imp_SetProcessWindowStation,SetProcessWindowStation,2364
100
3
jart/cosmopolitan
false
cosmopolitan/libc/nt/user32/SetThreadDpiAwarenessContext.S
#include "libc/nt/codegen.h" .imp user32,__imp_SetThreadDpiAwarenessContext,SetThreadDpiAwarenessContext,2381
110
3
jart/cosmopolitan
false
cosmopolitan/libc/nt/user32/CreateDialogIndirectParamW.S
#include "libc/nt/codegen.h" .imp user32,__imp_CreateDialogIndirectParamW,CreateDialogIndirectParamW,1612
106
3
jart/cosmopolitan
false
cosmopolitan/libc/nt/user32/MakeThreadTSFEventAware.S
#include "libc/nt/codegen.h" .imp user32,__imp_MakeThreadTSFEventAware,MakeThreadTSFEventAware,2151
100
3
jart/cosmopolitan
false
cosmopolitan/libc/nt/user32/GetMenuContextHelpId.S
#include "libc/nt/codegen.h" .imp user32,__imp_GetMenuContextHelpId,GetMenuContextHelpId,1884
94
3
jart/cosmopolitan
false
cosmopolitan/libc/nt/user32/MessageBoxExW.S
#include "libc/nt/codegen.h" .imp user32,__imp_MessageBoxExW,MessageBoxExW,2165 .text.windows MessageBoxEx: #ifdef __x86_64__ push %rbp mov %rsp,%rbp .profilable mov __imp_MessageBoxExW(%rip),%rax jmp __sysv2nt6 #elif defined(__aarch64__) mov x0,#0 ret #endif .endfn MessageBoxEx,globl .previous
307
18
jart/cosmopolitan
false
cosmopolitan/libc/nt/user32/DlgDirListComboBoxW.S
#include "libc/nt/codegen.h" .imp user32,__imp_DlgDirListComboBoxW,DlgDirListComboBoxW,1704
92
3
jart/cosmopolitan
false
cosmopolitan/libc/nt/user32/CtxInitUser32.S
#include "libc/nt/codegen.h" .imp user32,__imp_CtxInitUser32,CtxInitUser32,1632
80
3
jart/cosmopolitan
false
cosmopolitan/libc/nt/user32/MonitorFromPoint.S
#include "libc/nt/codegen.h" .imp user32,__imp_MonitorFromPoint,MonitorFromPoint,2173
86
3
jart/cosmopolitan
false
cosmopolitan/libc/nt/user32/RegisterUserApiHook.S
#include "libc/nt/codegen.h" .imp user32,__imp_RegisterUserApiHook,RegisterUserApiHook,2276
92
3
jart/cosmopolitan
false
cosmopolitan/libc/nt/user32/UserClientDllInitialize.S
#include "libc/nt/codegen.h" .imp user32,__imp_UserClientDllInitialize,UserClientDllInitialize,2477
100
3
jart/cosmopolitan
false
cosmopolitan/libc/nt/user32/DeferWindowPosAndBand.S
#include "libc/nt/codegen.h" .imp user32,__imp_DeferWindowPosAndBand,DeferWindowPosAndBand,1680
96
3
jart/cosmopolitan
false
cosmopolitan/libc/nt/user32/SetDesktopColorTransform.S
#include "libc/nt/codegen.h" .imp user32,__imp_SetDesktopColorTransform,SetDesktopColorTransform,2326
102
3
jart/cosmopolitan
false
cosmopolitan/libc/nt/user32/CalculatePopupWindowPosition.S
#include "libc/nt/codegen.h" .imp user32,__imp_CalculatePopupWindowPosition,CalculatePopupWindowPosition,1531
110
3
jart/cosmopolitan
false
cosmopolitan/libc/nt/user32/SetMagnificationDesktopMagnification.S
#include "libc/nt/codegen.h" .imp user32,__imp_SetMagnificationDesktopMagnification,SetMagnificationDesktopMagnification,2344
126
3
jart/cosmopolitan
false
cosmopolitan/libc/nt/user32/IsWindowInDestroy.S
#include "libc/nt/codegen.h" .imp user32,__imp_IsWindowInDestroy,IsWindowInDestroy,2087
88
3
jart/cosmopolitan
false
cosmopolitan/libc/nt/user32/LogicalToPhysicalPointForPerMonitorDPI.S
#include "libc/nt/codegen.h" .imp user32,__imp_LogicalToPhysicalPointForPerMonitorDPI,LogicalToPhysicalPointForPerMonitorDPI,2122
130
3
jart/cosmopolitan
false
cosmopolitan/libc/nt/user32/SetShellWindow.S
#include "libc/nt/codegen.h" .imp user32,__imp_SetShellWindow,SetShellWindow,2373
82
3
jart/cosmopolitan
false
cosmopolitan/libc/nt/user32/GetKeyboardState.S
#include "libc/nt/codegen.h" .imp user32,__imp_GetKeyboardState,GetKeyboardState,1871
86
3
jart/cosmopolitan
false
cosmopolitan/libc/nt/user32/DestroyMenu.S
#include "libc/nt/codegen.h" .imp user32,__imp_DestroyMenu,DestroyMenu,1688 .text.windows DestroyMenu: #ifdef __x86_64__ push %rbp mov %rsp,%rbp .profilable mov %rdi,%rcx sub $32,%rsp call *__imp_DestroyMenu(%rip) leave #elif defined(__aarch64__) mov x0,#0 #endif ret .endfn DestroyMenu,globl .previous
316
20
jart/cosmopolitan
false
cosmopolitan/libc/nt/user32/SwitchToThisWindow.S
#include "libc/nt/codegen.h" .imp user32,__imp_SwitchToThisWindow,SwitchToThisWindow,2430
90
3
jart/cosmopolitan
false
cosmopolitan/libc/nt/user32/ReleaseCapture.S
#include "libc/nt/codegen.h" .imp user32,__imp_ReleaseCapture,ReleaseCapture,2279 .text.windows ReleaseCapture: #ifdef __x86_64__ push %rbp mov %rsp,%rbp .profilable sub $32,%rsp call *__imp_ReleaseCapture(%rip) leave #elif defined(__aarch64__) mov x0,#0 #endif ret .endfn ReleaseCapture,globl .previous
316
19
jart/cosmopolitan
false
cosmopolitan/libc/nt/user32/TrackPopupMenu.S
#include "libc/nt/codegen.h" .imp user32,__imp_TrackPopupMenu,TrackPopupMenu,2443 .text.windows TrackPopupMenu: #ifdef __x86_64__ push %rbp mov %rsp,%rbp .profilable mov __imp_TrackPopupMenu(%rip),%rax jmp __sysv2nt8 #elif defined(__aarch64__) mov x0,#0 ret #endif .endfn TrackPopupMenu,globl .previous
314
18
jart/cosmopolitan
false
cosmopolitan/libc/nt/user32/GetClipboardSequenceNumber.S
#include "libc/nt/codegen.h" .imp user32,__imp_GetClipboardSequenceNumber,GetClipboardSequenceNumber,1822
106
3
jart/cosmopolitan
false