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 kNtBackgroundGreen 0x0020
#define kNtBackgroundRed 0x0040
#define kNtBackgroundIntensity 0x0080
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
#endif /* COSMOPOLITAN_LIBC_NT_NTFILLATTRIBUTE_H_ */
| 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 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 /* COSMOPOLITAN_LIBC_NT_ENUM_REGTYPE_H_ */
| 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
#define kNtObjectDataInformation 4
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_OBJECTINFORMATIONCLASS_H_ */
| 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
#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_ */
| 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 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_ */
| 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_MK_H_ */
| 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,
kNtThreadDescriptorTableEntry,
kNtThreadEnableAlignmentFaultFixup,
kNtThreadEventPair_Reusable,
kNtThreadQuerySetWin32StartAddress,
kNtThreadZeroTlsCell,
kNtThreadPerformanceCount,
kNtThreadAmILastThread,
kNtThreadIdealProcessor,
kNtThreadPriorityBoost,
kNtThreadSetTlsArrayAddress,
kNtThreadIsIoPending,
kNtThreadHideFromDebugger,
kNtThreadInfoClass_MAX
};
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_THREADINFOCLASS_H_ */
| 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 5
#define kNtColorWindowframe 6
#define kNtColorMenutext 7
#define kNtColorWindowtext 8
#define kNtColorCaptiontext 9
#define kNtColorActiveborder 10
#define kNtColorInactiveborder 11
#define kNtColorAppworkspace 12
#define kNtColorHighlight 13
#define kNtColorHighlighttext 14
#define kNtColorBtnface 15
#define kNtColorBtnshadow 16
#define kNtColorGraytext 17
#define kNtColorBtntext 18
#define kNtColorInactivecaptiontext 19
#define kNtColorBtnhighlight 20
#define kNtColor3ddkshadow 21
#define kNtColor3dlight 22
#define kNtColorInfotext 23
#define kNtColorInfobk 24
#define kNtColorHotlight 26
#define kNtColorGradientactivecaption 27
#define kNtColorGradientinactivecaption 28
#define kNtColorMenuhilight 29
#define kNtColorMenubar 30
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_COLOR_H_ */
| 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
#define kNtStatusUserApc 0x000000C0
#define kNtStatusTimeout 0x00000102
#define kNtStatusPending 0x00000103
#define kNtStatusGuardPageViolation 0x80000001 /* warning statuses */
#define kNtStatusDatatypeMisalignment 0x80000002
#define kNtStatusBreakpoint 0x80000003
#define kNtStatusSingleStep 0x80000004
#define kNtStatusLongjump 0x80000026
#define kNtStatusUnwindConsolidate 0x80000029
#define kNtStatusAccessViolation 0xC0000005 /* error statuses */
#define kNtStatusInPageError 0xC0000006
#define kNtStatusInvalidHandle 0xC0000008
#define kNtStatusInvalidParameter 0xC000000D
#define kNtStatusNoMemory 0xC0000017
#define kNtStatusIllegalInstruction 0xC000001D
#define kNtStatusNoncontinuableException 0xC0000025
#define kNtStatusInvalidDisposition 0xC0000026
#define kNtStatusArrayBoundsExceeded 0xC000008C
#define kNtStatusFloatDenormalOperand 0xC000008D
#define kNtStatusFloatDivideByZero 0xC000008E
#define kNtStatusFloatInexactResult 0xC000008F
#define kNtStatusFloatInvalidOperation 0xC0000090
#define kNtStatusFloatOverflow 0xC0000091
#define kNtStatusFloatStackCheck 0xC0000092
#define kNtStatusFloatUnderflow 0xC0000093
#define kNtStatusIntegerDivideBYZero 0xC0000094
#define kNtStatusIntegerOverflow 0xC0000095
#define kNtStatusPrivilegedInstruction 0xC0000096
#define kNtStatusStackOverflow 0xC00000FD
#define kNtStatusDllNotFound 0xC0000135
#define kNtStatusOrdinalNotFound 0xC0000138
#define kNtStatusEntrypointNotFound 0xC0000139
#define kNtStatusControlCExit 0xC000013A
#define kNtStatusDllInitFailed 0xC0000142
#define kNtStatusFloatMultipleFaults 0xC00002B4
#define kNtStatusFloatMultipleTraps 0xC00002B5
#define kNtStatusRegNatConsumption 0xC00002C9
#define kNtStatusHeapCorruption 0xC0000374
#define kNtStatusStackBufferOverrun 0xC0000409
#define kNtStatusInvalidCruntimeParameter 0xC0000417
#define kNtStatusAssertionFailure 0xC0000420
#define kNtStatusEnclaveViolation 0xC00004A2
#define kNtStatusSegmentNotification 0x40000005
#define kNtStatusFatalAppExit 0x40000015
#define kNtStatusNotFound 0xC0000225
#define kNtStatusCancelled 0xC0000120
#define kNtDbgExceptionHandled 0x00010001
#define kNtDbgContinue 0x00010002
#define kNtDbgReplyLater 0x40010001
#define kNtDbgTerminateThread 0x40010003
#define kNtDbgTerminateProcess 0x40010004
#define kNtDbgControlC 0x40010005
#define kNtDbgPrintexceptionC 0x40010006
#define kNtDbgRipexception 0x40010007
#define kNtDbgControlBreak 0x40010008
#define kNtDbgCommandException 0x40010009
#define kNtDbgPrintexceptionWideC 0x4001000A
#define kNtDbgExceptionNotHandled 0x80010001
#define kNtStillActive kNtStatusPending
#if !(__ASSEMBLER__ + __LINKER__ + 0)
typedef uint32_t NtStatus;
#define NtSuccess(s) ((NtStatus)(s) >= 0)
#define NtInformation(s) (NtSeverity(s) == 1)
#define NtWarning(s) (NtSeverity(s) == 2)
#define NtError(s) (NtSeverity(s) == 3)
#define NtCode(s) ((NtStatus)(s)&0xffff)
#define NtSeverity(s) ((NtStatus)(s) >> 30)
#define NtFacility(s) (((NtStatus)(s) >> 16) & 0xfff)
#define NtFacilityCode(s) ((NtStatus)(s)&0x0FFFFFFF)
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
#endif /* COSMOPOLITAN_LIBC_NT_STATUS_H_ */
| 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 kNtTh32csSnapthread 0x00000004
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_TH32CS_H_ */
| 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 char16_t *)32515)
#define kNtIdcUparrow ((const char16_t *)32516)
#define kNtIdcSizenwse ((const char16_t *)32642)
#define kNtIdcSizenesw ((const char16_t *)32643)
#define kNtIdcSizewe ((const char16_t *)32644)
#define kNtIdcSizens ((const char16_t *)32645)
#define kNtIdcSizeall ((const char16_t *)32646)
#define kNtIdcNo ((const char16_t *)32648)
#define kNtIdcHand ((const char16_t *)32649)
#define kNtIdcHelp ((const char16_t *)32651)
#define kNtIdcPin ((const char16_t *)32671)
#define kNtIdcPerson ((const char16_t *)32672)
COSMOPOLITAN_C_END_
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_IDC_H_ */
| 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_MEMORYINFORMATIONCLASS_H_ */
| 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
#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_ */
| 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 kNtJobObjectBasicUIRestrictions 4
#define kNtJobObjectSecurityLimitInformation 5
#define kNtJobObjectEndOfJobTimeInformation 6
#define kNtJobObjectAssociateCompletionPortInformation 7
#define kNtJobObjectBasicAndIoAccountingInformation 8
#define kNtJobObjectExtendedLimitInformation 9
#define kNtJobObjectJobSetInformation 10
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_JOBOBJECTINFOCLASS_H_ */
| 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? */
#define kNtVmOfferPriorityNormal 4 /* 0x00002000? */
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_OFFERPRIORITY_H_ */
| 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 kNtWsClipsiblings 0x04000000
#define kNtWsClipchildren 0x02000000
#define kNtWsMaximize 0x01000000
#define kNtWsCaption 0x00C00000
#define kNtWsBorder 0x00800000
#define kNtWsDlgframe 0x00400000
#define kNtWsVscroll 0x00200000
#define kNtWsHscroll 0x00100000
#define kNtWsSysmenu 0x00080000
#define kNtWsThickframe 0x00040000
#define kNtWsGroup 0x00020000
#define kNtWsTabstop 0x00010000
#define kNtWsMinimizebox 0x00020000
#define kNtWsMaximizebox 0x00010000
#define kNtWsTiled kNtWsOverlapped
#define kNtWsIconic kNtWsMinimize
#define kNtWsSizebox kNtWsThickframe
#define kNtWsTiledwindow kNtWsOverlappedwindow
#define kNtWsOverlappedwindow \
(kNtWsOverlapped | kNtWsCaption | kNtWsSysmenu | kNtWsThickframe | \
kNtWsMinimizebox | kNtWsMaximizebox)
#define kNtWsPopupwindow (kNtWsPopup | kNtWsBorder | kNtWsSysmenu)
#define kNtWsExDlgmodalframe 0x00000001
#define kNtWsExNoparentnotify 0x00000004
#define kNtWsExTopmost 0x00000008
#define kNtWsExAcceptfiles 0x00000010
#define kNtWsExTransparent 0x00000020
#define kNtWsExMdichild 0x00000040
#define kNtWsExToolwindow 0x00000080
#define kNtWsExWindowedge 0x00000100
#define kNtWsExClientedge 0x00000200
#define kNtWsExContexthelp 0x00000400
#define kNtWsExRight 0x00001000
#define kNtWsExLeft 0x00000000
#define kNtWsExRtlreading 0x00002000
#define kNtWsExLtrreading 0x00000000
#define kNtWsExLeftscrollbar 0x00004000
#define kNtWsExRightscrollbar 0x00000000
#define kNtWsExControlparent 0x00010000
#define kNtWsExStaticedge 0x00020000
#define kNtWsExAppwindow 0x00040000
#define kNtWsExNoinheritlayout 0x00100000
#define kNtWsExNoredirectionbitmap 0x00200000
#define kNtWsExLayoutrtl 0x00400000
#define kNtWsExComposited 0x02000000
#define kNtWsExNoactivate 0x08000000
#define kNtWsExOverlappedwindow (kNtWsExWindowedge | kNtWsExClientedge)
#define kNtWsExPalettewindow \
(kNtWsExWindowedge | kNtWsExToolwindow | kNtWsExTopmost)
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_WS_H_ */
| 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 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_ */
| 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 kNtProcessQueryLimitedInformation 0x1000u
#define kNtProcessSetInformation 0x0200u
#define kNtProcessSetQuota 0x0100u
#define kNtProcessSuspendResume 0x0800u
#define kNtProcessTerminate 0x0001u
#define kNtProcessVmOperation 0x0008u
#define kNtProcessVmRead 0x0010u
#define kNtProcessVmWrite 0x0020u
#define kNtProcessSynchronize kNtSynchronize
#define kNtProcessAllAccess \
(kNtStandardRightsRequired | kNtSynchronize | 0xffffu)
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_PROCESSACCESS_H_ */
| 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 kNtStateUnknown 7
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_THREADSTATE_H_ */
| 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 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_ */
| 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
#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_ */
| 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
#define kNtLoadLibrarySearchDefaultDirs 0x00001000u
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_LOADLIBRARYSEARCH_H_ */
| 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
#define kNtIdtryagain 10
#define kNtIdcontinue 11
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_DIALOGRESULT_H_ */
| 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 0x0010
#define kNtSectionMapExecuteExplicit 0x0020
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_SECTIONMAPFLAGS_H_ */
| 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_SECURITYIMPERSONATIONLEVEL_H_ */
| 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 0x48000016u
#define kNtSioAddressListSort 0xc8000019u
#define kNtSioApplyTransportSetting 0x98000013u
#define kNtSioAssociateHandle 0x88000001u
#define kNtSioAssociatePortReservation 0x98000066u
#define kNtSioBaseHandle 0x48000022u
#define kNtSioBspHandlePoll 0x4800001Du
#define kNtSioDeletePeerTargetName 0x980000cbu
#define kNtSioEnableCircularQueueing 0x28000002u
#define kNtSioFindRoute 0x48000003u
#define kNtSioFlush 0x28000004u
#define kNtSioGetBroadcastAddress 0x48000005u
#define kNtSioGetExtensionFunctionPointer 0xc8000006u
#define kNtSioGetGroupQos 0xc8000008u
#define kNtSioGetInterfaceList 0x4008747fu
#define kNtSioGetMultipleExtensionFunctionPointer 0xc8000024u
#define kNtSioGetQos 0xc8000007u
#define kNtSioIndexAddMcast 0x9800000au
#define kNtSioIndexBind 0x98000008u
#define kNtSioIndexDelMcast 0x9800000bu
#define kNtSioIndexMcastif 0x98000009u
#define kNtSioKeepaliveVals 0x98000004u
#define kNtSioLimitBroadcasts 0x98000007u
#define kNtSioLoopbackFastPath 0x98000010u
#define kNtSioMulticastScope 0x8800000au
#define kNtSioMultipointLoopback 0x88000009u
#define kNtSioQueryRssProcessorInfo 0x48000025u
#define kNtSioQueryRssScalabilityInfo 0x580000d2u
#define kNtSioQuerySecurity 0xd80000c9u
#define kNtSioQueryTargetPnpHandle 0x48000018u
#define kNtSioQueryTransportSetting 0x98000014u
#define kNtSioQueryWfpAleEndpointHandle 0x580000cdu
#define kNtSioQueryWfpConnectionRedirectContext 0x980000ddu
#define kNtSioQueryWfpConnectionRedirectRecords 0x980000dcu
#define kNtSioRcvall 0x98000001u
#define kNtSioRcvallIf 0x9800000eu
#define kNtSioRcvallIgmpmcast 0x98000003u
#define kNtSioRcvallMcast 0x98000002u
#define kNtSioRcvallMcastIf 0x9800000du
#define kNtSioReleasePortReservation 0x98000065u
#define kNtSioReserved1 0x8800001au
#define kNtSioReserved2 0x88000021u
#define kNtSioRoutingInterfaceChange 0x88000015u
#define kNtSioRoutingInterfaceQuery 0xc8000014u
#define kNtSioSetGroupQos 0x8800000cu
#define kNtSioSetPeerTargetName 0x980000cau
#define kNtSioSetPriorityHint 0x98000018u
#define kNtSioSetQos 0x8800000bu
#define kNtSioSetSecurity 0x980000c8u
#define kNtSioSetWfpConnectionRedirectRecords 0x980000deu
#define kNtSioSocketCloseNotify 0x9800000du
#define kNtSioSocketUsageNotification 0x980000ccu
#define kNtSioTcpInfo 0xd8000027u
#define kNtSioTcpInitialRto 0x98000011u
#define kNtSioTcpSetAckFrequency 0x98000017u
#define kNtSioTcpSetIcw 0x98000016u
#define kNtSioTranslateHandle 0xc800000du
#define kNtSioUcastIf 0x98000006u
#define kNtSioUdpConnreset 0x9800000cu
#define kNtSioUdpNetreset 0x9800000fu
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_SIO_H_ */
| 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 kNtFsctlGetNtfsFileRecord 0x00090068u
#define kNtFsctlGetNtfsVolumeData 0x00090064u
#define kNtFsctlQueryAllocatedRanges 0x000940CFu
#define kNtFsctlScrubData 0x000902B0u
#define kNtFsctlSetCompression 0x0009C040u
#define kNtFsctlSetSparse 0x000900C4u
#define kNtFsctlSetZeroData 0x000980C8u
#define kNtFsctlGetReparsePoint 0x000900a8u
#define kNtFsctlSetReparsePoint 0x000900a4u
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_FSCTL_H_ */
| 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 kNtHighPriorityClass 0x00000080u
#define kNtRealtimePriorityClass 0x00000100u
#define kNtDebugProcess 0x00000001u
#define kNtDebugOnlyThisProcess 0x00000002u
#define kNtCreateSuspended 0x00000004u
#define kNtDetachedProcess 0x00000008u
#define kNtCreateNewConsole 0x00000010u
#define kNtCreateNewProcessGroup 0x00000200u
#define kNtCreateUnicodeEnvironment 0x00000400u
#define kNtCreateSeparateWowVdm 0x00000800u
#define kNtCreateSharedWowVdm 0x00001000u
#define kNtCreateForcedos 0x00002000u
#define kNtInheritParentAffinity 0x00010000u
#define kNtCreateProtectedProcess 0x00040000u
#define kNtExtendedStartupinfoPresent 0x00080000u
#define kNtProcessModeBackgroundBegin 0x00100000u
#define kNtProcessModeBackgroundEnd 0x00200000u
#define kNtCreateSecureProcess 0x00400000u
#define kNtCreateBreakawayFromJob 0x01000000u
#define kNtCreatePreserveCodeAuthzLevel 0x02000000u
#define kNtCreateDefaultErrorMode 0x04000000u
#define kNtCreateNoWindow 0x08000000u
#define kNtProfileUser 0x10000000u
#define kNtProfileKernel 0x20000000u
#define kNtProfileServer 0x40000000u
#define kNtCreateIgnoreSystemDefault 0x80000000u
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_PROCESSCREATIONFLAGS_H_ */
| 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 kNtTokenType 8
#define kNtTokenImpersonationLevel 9
#define kNtTokenStatistics 10
#define kNtTokenRestrictedSids 11
#define kNtTokenSessionId 12
#define kNtTokenGroupsAndPrivileges 13
#define kNtTokenSessionReference 14
#define kNtTokenSandBoxInert 15
#define kNtTokenAuditPolicy 16
#define kNtTokenOrigin 17
#define kNtTokenInfoClass_MAX 18
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_TOKENINFORMATIONCLASS_H_ */
| 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 kNtFileNamedStreams 0x00040000
#define kNtFilePersistentAcls 0x00000008
#define kNtFileReadOnlyVolume 0x00080000 /* ST_RDONLY */
#define kNtFileSequentialWriteOnce 0x00100000
#define kNtFileSupportsEncryption 0x00020000
#define kNtFileSupportsExtendedAttributes 0x00800000
#define kNtFileSupportsHardLinks 0x00400000
#define kNtFileSupportsObjectIds 0x00010000
#define kNtFileSupportsOpenByFileId 0x01000000
#define kNtFileSupportsReparsePoints 0x00000080
#define kNtFileSupportsSparseFiles 0x00000040
#define kNtFileSupportsTransactions 0x00200000
#define kNtFileSupportsUsnJournal 0x02000000
#define kNtFileUnicodeOnDisk 0x00000004
#define kNtFileVolumeIsCompressed 0x00008000
#define kNtFileVolumeQuotas 0x00000020
#define kNtFileSupportsBlockRefcounting 0x08000000
COSMOPOLITAN_C_END_
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_STATFS_H_ */
| 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 kNtRdwNochildren 0x0040
#define kNtRdwAllchildren 0x0080
#define kNtRdwUpdatenow 0x0100
#define kNtRdwErasenow 0x0200
#define kNtRdwFrame 0x0400
#define kNtRdwNoframe 0x0800
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_RDW_H_ */
| 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
#define kNtThreadQueryInformation 0x0040
#define kNtThreadSetInformation 0x0020
#define kNtThreadSetThreadToken 0x0080
#define kNtThreadImpersonate 0x0100
#define kNtThreadDirectImpersonation 0x0200
#define kNtThreadSetLimitedInformation 0x0400
#define kNtThreadQueryLimitedInformation 0x0800
#define kNtThreadResume 0x1000
#define kNtThreadAllAccess (kNtStandardRightsRequired | kNtSynchronize | 0xFFFF)
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_THREADACCESS_H_ */
| 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 kNtMovefileFailIfNotTrackable 32
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_MOVEFILEEXFLAGS_H_ */
| 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 kNtPageExecuteRead 0x020
#define kNtPageExecuteReadwrite 0x040
#define kNtPageExecuteWritecopy 0x080
#define kNtPageGuard 0x100
#define kNtPageNocache 0x200
#define kNtPageWritecombine 0x400
/* These may be OR'd */
#define kNtSecReserve 0x04000000
#define kNtSecCommit 0x08000000 /* default */
#define kNtSecImageNoExecute 0x11000000
#define kNtSecImage 0x01000000
#define kNtSecNocache 0x10000000
#define kNtSecLargePages 0x80000000
#define kNtSecWritecombine 0x40000000
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_PAGEFLAGS_H_ */
| 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 kNtLangAlsatian 0x84
#define kNtLangAmharic 0x5e
#define kNtLangArabic 0x01
#define kNtLangArmenian 0x2b
#define kNtLangAssamese 0x4d
#define kNtLangAzeri 0x2c
#define kNtLangAzerbaijani 0x2c
#define kNtLangBangla 0x45
#define kNtLangBashkir 0x6d
#define kNtLangBasque 0x2d
#define kNtLangBelarusian 0x23
#define kNtLangBengali 0x45
#define kNtLangBreton 0x7e
#define kNtLangBosnian 0x1a
#define kNtLangBosnianNeutral 0x781a
#define kNtLangBulgarian 0x02
#define kNtLangCatalan 0x03
#define kNtLangCentralKurdish 0x92
#define kNtLangCherokee 0x5c
#define kNtLangChinese 0x04
#define kNtLangChineseSimplified 0x04
#define kNtLangChineseTraditional 0x7c04
#define kNtLangCorsican 0x83
#define kNtLangCroatian 0x1a
#define kNtLangCzech 0x05
#define kNtLangDanish 0x06
#define kNtLangDari 0x8c
#define kNtLangDivehi 0x65
#define kNtLangDutch 0x13
#define kNtLangEnglish 0x09
#define kNtLangEstonian 0x25
#define kNtLangFaeroese 0x38
#define kNtLangFarsi 0x29
#define kNtLangFilipino 0x64
#define kNtLangFinnish 0x0b
#define kNtLangFrench 0x0c
#define kNtLangFrisian 0x62
#define kNtLangFulah 0x67
#define kNtLangGalician 0x56
#define kNtLangGeorgian 0x37
#define kNtLangGerman 0x07
#define kNtLangGreek 0x08
#define kNtLangGreenlandic 0x6f
#define kNtLangGujarati 0x47
#define kNtLangHausa 0x68
#define kNtLangHawaiian 0x75
#define kNtLangHebrew 0x0d
#define kNtLangHindi 0x39
#define kNtLangHungarian 0x0e
#define kNtLangIcelandic 0x0f
#define kNtLangIgbo 0x70
#define kNtLangIndonesian 0x21
#define kNtLangInuktitut 0x5d
#define kNtLangIrish 0x3c
#define kNtLangItalian 0x10
#define kNtLangJapanese 0x11
#define kNtLangKannada 0x4b
#define kNtLangKashmiri 0x60
#define kNtLangKazak 0x3f
#define kNtLangKhmer 0x53
#define kNtLangKiche 0x86
#define kNtLangKinyarwanda 0x87
#define kNtLangKonkani 0x57
#define kNtLangKorean 0x12
#define kNtLangKyrgyz 0x40
#define kNtLangLao 0x54
#define kNtLangLatvian 0x26
#define kNtLangLithuanian 0x27
#define kNtLangLowerSorbian 0x2e
#define kNtLangLuxembourgish 0x6e
#define kNtLangMacedonian 0x2f
#define kNtLangMalay 0x3e
#define kNtLangMalayalam 0x4c
#define kNtLangMaltese 0x3a
#define kNtLangManipuri 0x58
#define kNtLangMaori 0x81
#define kNtLangMapudungun 0x7a
#define kNtLangMarathi 0x4e
#define kNtLangMohawk 0x7c
#define kNtLangMongolian 0x50
#define kNtLangNepali 0x61
#define kNtLangNorwegian 0x14
#define kNtLangOccitan 0x82
#define kNtLangOdia 0x48
#define kNtLangOriya 0x48
#define kNtLangPashto 0x63
#define kNtLangPersian 0x29
#define kNtLangPolish 0x15
#define kNtLangPortuguese 0x16
#define kNtLangPular 0x67
#define kNtLangPunjabi 0x46
#define kNtLangQuechua 0x6b
#define kNtLangRomanian 0x18
#define kNtLangRomansh 0x17
#define kNtLangRussian 0x19
#define kNtLangSakha 0x85
#define kNtLangSami 0x3b
#define kNtLangSanskrit 0x4f
#define kNtLangScottishGaelic 0x91
#define kNtLangSerbian 0x1a
#define kNtLangSerbianNeutral 0x7c1a
#define kNtLangSindhi 0x59
#define kNtLangSinhalese 0x5b
#define kNtLangSlovak 0x1b
#define kNtLangSlovenian 0x24
#define kNtLangSotho 0x6c
#define kNtLangSpanish 0x0a
#define kNtLangSwahili 0x41
#define kNtLangSwedish 0x1d
#define kNtLangSyriac 0x5a
#define kNtLangTajik 0x28
#define kNtLangTamazight 0x5f
#define kNtLangTamil 0x49
#define kNtLangTatar 0x44
#define kNtLangTelugu 0x4a
#define kNtLangThai 0x1e
#define kNtLangTibetan 0x51
#define kNtLangTigrigna 0x73
#define kNtLangTigrinya 0x73
#define kNtLangTswana 0x32
#define kNtLangTurkish 0x1f
#define kNtLangTurkmen 0x42
#define kNtLangUighur 0x80
#define kNtLangUkrainian 0x22
#define kNtLangUpperSorbian 0x2e
#define kNtLangUrdu 0x20
#define kNtLangUzbek 0x43
#define kNtLangValencian 0x03
#define kNtLangVietnamese 0x2a
#define kNtLangWelsh 0x52
#define kNtLangWolof 0x88
#define kNtLangXhosa 0x34
#define kNtLangYakut 0x85
#define kNtLangYi 0x78
#define kNtLangYoruba 0x6a
#define kNtLangZulu 0x35
#define kNtSublangNeutral 0x00
#define kNtSublangDefault 0x01
#define kNtSublangSysDefault 0x02
#define kNtSublangCustomDefault 0x03
#define kNtSublangCustomUnspecified 0x04
#define kNtSublangUiCustomDefault 0x05
#define kNtSublangAfrikaansSouthAfrica 0x01
#define kNtSublangAlbanianAlbania 0x01
#define kNtSublangAlsatianFrance 0x01
#define kNtSublangAmharicEthiopia 0x01
#define kNtSublangArabicSaudiArabia 0x01
#define kNtSublangArabicIraq 0x02
#define kNtSublangArabicEgypt 0x03
#define kNtSublangArabicLibya 0x04
#define kNtSublangArabicAlgeria 0x05
#define kNtSublangArabicMorocco 0x06
#define kNtSublangArabicTunisia 0x07
#define kNtSublangArabicOman 0x08
#define kNtSublangArabicYemen 0x09
#define kNtSublangArabicSyria 0x0a
#define kNtSublangArabicJordan 0x0b
#define kNtSublangArabicLebanon 0x0c
#define kNtSublangArabicKuwait 0x0d
#define kNtSublangArabicUae 0x0e
#define kNtSublangArabicBahrain 0x0f
#define kNtSublangArabicQatar 0x10
#define kNtSublangArmenianArmenia 0x01
#define kNtSublangAssameseIndia 0x01
#define kNtSublangAzeriLatin 0x01
#define kNtSublangAzeriCyrillic 0x02
#define kNtSublangAzerbaijaniAzerbaijanLatin 0x01
#define kNtSublangAzerbaijaniAzerbaijanCyrillic 0x02
#define kNtSublangBanglaIndia 0x01
#define kNtSublangBanglaBangladesh 0x02
#define kNtSublangBashkirRussia 0x01
#define kNtSublangBasqueBasque 0x01
#define kNtSublangBelarusianBelarus 0x01
#define kNtSublangBengaliIndia 0x01
#define kNtSublangBengaliBangladesh 0x02
#define kNtSublangBosnianBosniaHerzegovinaLatin 0x05
#define kNtSublangBosnianBosniaHerzegovinaCyrillic 0x08
#define kNtSublangBretonFrance 0x01
#define kNtSublangBulgarianBulgaria 0x01
#define kNtSublangCatalanCatalan 0x01
#define kNtSublangCentralKurdishIraq 0x01
#define kNtSublangCherokeeCherokee 0x01
#define kNtSublangChineseTraditional 0x01
#define kNtSublangChineseSimplified 0x02
#define kNtSublangChineseHongkong 0x03
#define kNtSublangChineseSingapore 0x04
#define kNtSublangChineseMacau 0x05
#define kNtSublangCorsicanFrance 0x01
#define kNtSublangCzechCzechRepublic 0x01
#define kNtSublangCroatianCroatia 0x01
#define kNtSublangCroatianBosniaHerzegovinaLatin 0x04
#define kNtSublangDanishDenmark 0x01
#define kNtSublangDariAfghanistan 0x01
#define kNtSublangDivehiMaldives 0x01
#define kNtSublangDutch 0x01
#define kNtSublangDutchBelgian 0x02
#define kNtSublangEnglishUs 0x01
#define kNtSublangEnglishUk 0x02
#define kNtSublangEnglishAus 0x03
#define kNtSublangEnglishCan 0x04
#define kNtSublangEnglishNz 0x05
#define kNtSublangEnglishEire 0x06
#define kNtSublangEnglishSouthAfrica 0x07
#define kNtSublangEnglishJamaica 0x08
#define kNtSublangEnglishCaribbean 0x09
#define kNtSublangEnglishBelize 0x0a
#define kNtSublangEnglishTrinidad 0x0b
#define kNtSublangEnglishZimbabwe 0x0c
#define kNtSublangEnglishPhilippines 0x0d
#define kNtSublangEnglishIndia 0x10
#define kNtSublangEnglishMalaysia 0x11
#define kNtSublangEnglishSingapore 0x12
#define kNtSublangEstonianEstonia 0x01
#define kNtSublangFaeroeseFaroeIslands 0x01
#define kNtSublangFilipinoPhilippines 0x01
#define kNtSublangFinnishFinland 0x01
#define kNtSublangFrench 0x01
#define kNtSublangFrenchBelgian 0x02
#define kNtSublangFrenchCanadian 0x03
#define kNtSublangFrenchSwiss 0x04
#define kNtSublangFrenchLuxembourg 0x05
#define kNtSublangFrenchMonaco 0x06
#define kNtSublangFrisianNetherlands 0x01
#define kNtSublangFulahSenegal 0x02
#define kNtSublangGalicianGalician 0x01
#define kNtSublangGeorgianGeorgia 0x01
#define kNtSublangGerman 0x01
#define kNtSublangGermanSwiss 0x02
#define kNtSublangGermanAustrian 0x03
#define kNtSublangGermanLuxembourg 0x04
#define kNtSublangGermanLiechtenstein 0x05
#define kNtSublangGreekGreece 0x01
#define kNtSublangGreenlandicGreenland 0x01
#define kNtSublangGujaratiIndia 0x01
#define kNtSublangHausaNigeriaLatin 0x01
#define kNtSublangHawaiianUs 0x01
#define kNtSublangHebrewIsrael 0x01
#define kNtSublangHindiIndia 0x01
#define kNtSublangHungarianHungary 0x01
#define kNtSublangIcelandicIceland 0x01
#define kNtSublangIgboNigeria 0x01
#define kNtSublangIndonesianIndonesia 0x01
#define kNtSublangInuktitutCanada 0x01
#define kNtSublangInuktitutCanadaLatin 0x02
#define kNtSublangIrishIreland 0x02
#define kNtSublangItalian 0x01
#define kNtSublangItalianSwiss 0x02
#define kNtSublangJapaneseJapan 0x01
#define kNtSublangKannadaIndia 0x01
#define kNtSublangKashmiriSasia 0x02
#define kNtSublangKashmiriIndia 0x02
#define kNtSublangKazakKazakhstan 0x01
#define kNtSublangKhmerCambodia 0x01
#define kNtSublangKicheGuatemala 0x01
#define kNtSublangKinyarwandaRwanda 0x01
#define kNtSublangKonkaniIndia 0x01
#define kNtSublangKorean 0x01
#define kNtSublangKyrgyzKyrgyzstan 0x01
#define kNtSublangLaoLao 0x01
#define kNtSublangLatvianLatvia 0x01
#define kNtSublangLithuanian 0x01
#define kNtSublangLowerSorbianGermany 0x02
#define kNtSublangLuxembourgishLuxembourg 0x01
#define kNtSublangMacedonianMacedonia 0x01
#define kNtSublangMalayMalaysia 0x01
#define kNtSublangMalayBruneiDarussalam 0x02
#define kNtSublangMalayalamIndia 0x01
#define kNtSublangMalteseMalta 0x01
#define kNtSublangMaoriNewZealand 0x01
#define kNtSublangMapudungunChile 0x01
#define kNtSublangMarathiIndia 0x01
#define kNtSublangMohawkMohawk 0x01
#define kNtSublangMongolianCyrillicMongolia 0x01
#define kNtSublangMongolianPrc 0x02
#define kNtSublangNepaliIndia 0x02
#define kNtSublangNepaliNepal 0x01
#define kNtSublangNorwegianBokmal 0x01
#define kNtSublangNorwegianNynorsk 0x02
#define kNtSublangOccitanFrance 0x01
#define kNtSublangOdiaIndia 0x01
#define kNtSublangOriyaIndia 0x01
#define kNtSublangPashtoAfghanistan 0x01
#define kNtSublangPersianIran 0x01
#define kNtSublangPolishPoland 0x01
#define kNtSublangPortuguese 0x02
#define kNtSublangPortugueseBrazilian 0x01
#define kNtSublangPularSenegal 0x02
#define kNtSublangPunjabiIndia 0x01
#define kNtSublangPunjabiPakistan 0x02
#define kNtSublangQuechuaBolivia 0x01
#define kNtSublangQuechuaEcuador 0x02
#define kNtSublangQuechuaPeru 0x03
#define kNtSublangRomanianRomania 0x01
#define kNtSublangRomanshSwitzerland 0x01
#define kNtSublangRussianRussia 0x01
#define kNtSublangSakhaRussia 0x01
#define kNtSublangSamiNorthernNorway 0x01
#define kNtSublangSamiNorthernSweden 0x02
#define kNtSublangSamiNorthernFinland 0x03
#define kNtSublangSamiLuleNorway 0x04
#define kNtSublangSamiLuleSweden 0x05
#define kNtSublangSamiSouthernNorway 0x06
#define kNtSublangSamiSouthernSweden 0x07
#define kNtSublangSamiSkoltFinland 0x08
#define kNtSublangSamiInariFinland 0x09
#define kNtSublangSanskritIndia 0x01
#define kNtSublangScottishGaelic 0x01
#define kNtSublangSerbianBosniaHerzegovinaLatin 0x06
#define kNtSublangSerbianBosniaHerzegovinaCyrillic 0x07
#define kNtSublangSerbianMontenegroLatin 0x0b
#define kNtSublangSerbianMontenegroCyrillic 0x0c
#define kNtSublangSerbianSerbiaLatin 0x09
#define kNtSublangSerbianSerbiaCyrillic 0x0a
#define kNtSublangSerbianCroatia 0x01
#define kNtSublangSerbianLatin 0x02
#define kNtSublangSerbianCyrillic 0x03
#define kNtSublangSindhiIndia 0x01
#define kNtSublangSindhiPakistan 0x02
#define kNtSublangSindhiAfghanistan 0x02
#define kNtSublangSinhaleseSriLanka 0x01
#define kNtSublangSothoNorthernSouthAfrica 0x01
#define kNtSublangSlovakSlovakia 0x01
#define kNtSublangSlovenianSlovenia 0x01
#define kNtSublangSpanish 0x01
#define kNtSublangSpanishMexican 0x02
#define kNtSublangSpanishModern 0x03
#define kNtSublangSpanishGuatemala 0x04
#define kNtSublangSpanishCostaRica 0x05
#define kNtSublangSpanishPanama 0x06
#define kNtSublangSpanishDominicanRepublic 0x07
#define kNtSublangSpanishVenezuela 0x08
#define kNtSublangSpanishColombia 0x09
#define kNtSublangSpanishPeru 0x0a
#define kNtSublangSpanishArgentina 0x0b
#define kNtSublangSpanishEcuador 0x0c
#define kNtSublangSpanishChile 0x0d
#define kNtSublangSpanishUruguay 0x0e
#define kNtSublangSpanishParaguay 0x0f
#define kNtSublangSpanishBolivia 0x10
#define kNtSublangSpanishElSalvador 0x11
#define kNtSublangSpanishHonduras 0x12
#define kNtSublangSpanishNicaragua 0x13
#define kNtSublangSpanishPuertoRico 0x14
#define kNtSublangSpanishUs 0x15
#define kNtSublangSwahiliKenya 0x01
#define kNtSublangSwedish 0x01
#define kNtSublangSwedishFinland 0x02
#define kNtSublangSyriacSyria 0x01
#define kNtSublangTajikTajikistan 0x01
#define kNtSublangTamazightAlgeriaLatin 0x02
#define kNtSublangTamazightMoroccoTifinagh 0x04
#define kNtSublangTamilIndia 0x01
#define kNtSublangTamilSriLanka 0x02
#define kNtSublangTatarRussia 0x01
#define kNtSublangTeluguIndia 0x01
#define kNtSublangThaiThailand 0x01
#define kNtSublangTibetanPrc 0x01
#define kNtSublangTigrignaEritrea 0x02
#define kNtSublangTigrinyaEritrea 0x02
#define kNtSublangTigrinyaEthiopia 0x01
#define kNtSublangTswanaBotswana 0x02
#define kNtSublangTswanaSouthAfrica 0x01
#define kNtSublangTurkishTurkey 0x01
#define kNtSublangTurkmenTurkmenistan 0x01
#define kNtSublangUighurPrc 0x01
#define kNtSublangUkrainianUkraine 0x01
#define kNtSublangUpperSorbianGermany 0x01
#define kNtSublangUrduPakistan 0x01
#define kNtSublangUrduIndia 0x02
#define kNtSublangUzbekLatin 0x01
#define kNtSublangUzbekCyrillic 0x02
#define kNtSublangValencianValencia 0x02
#define kNtSublangVietnameseVietnam 0x01
#define kNtSublangWelshUnitedKingdom 0x01
#define kNtSublangWolofSenegal 0x01
#define kNtSublangXhosaSouthAfrica 0x01
#define kNtSublangYakutRussia 0x01
#define kNtSublangYiPrc 0x01
#define kNtSublangYorubaNigeria 0x01
#define kNtSublangZuluSouthAfrica 0x01
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_LANG_H_ */
| 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 kNtKeyValuePartialInformationAlign64 4
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_VALUEINFORMATIONCLASS_H_ */
| 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 kNtAfdPollLocalClose 0x0020
#define kNtAfdPollAccept 0x0080
#define kNtAfdPollConnectFail 0x0100
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_AFD_H_ */
| 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_EXPORTAS
};
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_IMPORTOBJECTNAMETYPE_H_ */
| 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
#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_ */
| 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_FINDEXSEARCHOPS_H_ */
| 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 kNtFormatMessageFromSystem 0x1000
#define kNtFormatMessageArgumentArray 0x2000
#define kNtFormatMessageMaxWidthMask 0xff
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_FORMATMESSAGEFLAGS_H_ */
| 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
#define kNtSystemProcessorTimes 8
#define kNtSystemGlobalFlag 9
#define kNtSystemModuleInformation 11
#define kNtSystemLockInformation 12
#define kNtSystemHandleInformation 16
#define kNtSystemObjectInformation 17
#define kNtSystemInterruptInformation 23
#define kNtSystemExceptionInformation 33
#define kNtSystemRegistryQuotaInformation 37
#define kNtSystemLookasideInformation 45
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_SYSTEMINFORMATIONCLASS_H_ */
| 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 kNtFileFsControlInformation 6
#define kNtFileFsFullSizeInformation 7
#define kNtFileFsObjectIdInformation 8
#define kNtFileFsDriverPathInformation 9
#define kNtFileFsInformation_MAX 10
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_FSINFORMATIONCLASS_H_ */
| 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, { \
0x97, 0x2E, 0x23, 0xC2, 0x72, 0x38, 0x31, 0x2B \
} \
}
#define WSAID_WSARECVMSG \
{ \
0xf689d7c8, 0x6f1f, 0x436b, { \
0x8a, 0x53, 0xe5, 0x4f, 0xe3, 0x51, 0xc3, 0x22 \
} \
}
#define WSAID_WSASENDMSG \
{ \
0xa441e712, 0x754f, 0x43ca, { \
0x84, 0xa7, 0x0d, 0xee, 0x44, 0xcf, 0x60, 0x6d \
} \
}
#define WSAID_CONNECTEX \
{ \
0x25a207b9, 0xddf3, 0x4660, { \
0x8e, 0xe9, 0x76, 0xe5, 0x8c, 0x74, 0x06, 0x3e \
} \
}
#define WSAID_ACCEPTEX \
{ \
0xb5367df1, 0xcbac, 0x11cf, { \
0x95, 0xca, 0x00, 0x80, 0x5f, 0x48, 0xa1, 0x92 \
} \
}
#define WSAID_GETACCEPTEXSOCKADDRS \
{ \
0xb5367df2, 0xcbac, 0x11cf, { \
0x95, 0xca, 0x00, 0x80, 0x5f, 0x48, 0xa1, 0x92 \
} \
}
#define WSAID_TRANSMITFILE \
{ \
0xb5367df0, 0xcbac, 0x11cf, { \
0x95, 0xca, 0x00, 0x80, 0x5f, 0x48, 0xa1, 0x92 \
} \
}
#define WSAID_TRANSMITPACKETS \
{ \
0xd9689da0, 0x1f90, 0x11d3, { \
0x99, 0x71, 0x00, 0xc0, 0x4f, 0x68, 0xc8, 0x76 \
} \
}
#define WSAID_DISCONNECTEX \
{ \
0x7fda2e11, 0x8630, 0x436f, { \
0xa0, 0x31, 0xf5, 0x36, 0xa6, 0xee, 0xc1, 0x57 \
} \
}
COSMOPOLITAN_C_END_
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_WSAID_H_ */
| 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 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,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
#define kNtFileAttributeSystem 0x00000004u
#define kNtFileAttributeVolumelabel 0x00000008u
#define kNtFileAttributeDirectory 0x00000010u
#define kNtFileAttributeArchive 0x00000020u
/**
* NT File Attributes.
*/
#define kNtFileAttributeDevice 0x00000040u
#define kNtFileAttributeNormal 0x00000080u
#define kNtFileAttributeTemporary 0x00000100u
#define kNtFileAttributeSparseFile 0x00000200u
#define kNtFileAttributeReparsePoint 0x00000400u
#define kNtFileAttributeCompressed 0x00000800u
#define kNtFileAttributeOffline 0x00001000u
#define kNtFileAttributeNotContentIndexed 0x00002000u
#define kNtFileAttributeEncrypted 0x00004000u
/**
* NT File Flags.
*/
#define kNtFileFlagWriteThrough 0x80000000u
#define kNtFileFlagOverlapped 0x40000000u
#define kNtFileFlagNoBuffering 0x20000000u
#define kNtFileFlagRandomAccess 0x10000000u
#define kNtFileFlagSequentialScan 0x08000000u
#define kNtFileFlagDeleteOnClose 0x04000000u
#define kNtFileFlagBackupSemantics 0x02000000u
#define kNtFileFlagPosixSemantics 0x01000000u
#define kNtFileFlagOpenReparsePoint 0x00200000u
#define kNtFileFlagOpenNoRecall 0x00100000u
#define kNtFileFlagFirstPipeInstance 0x00080000u
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_FILEFLAGANDATTRIBUTES_H_ */
| 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 0x0008u
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_CONSOLESELECTIONFLAGS_H_ */
| 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 5
#define kNtSwMinimize 6
#define kNtSwShowminnoactive 7
#define kNtSwShowna 8
#define kNtSwRestore 9
#define kNtSwShowdefault 10
#define kNtSwForceminimize 11
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_SW_H_ */
| 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 kNtComputerNameDnsFullyQualified 3
#define kNtComputerNamePhysicalNetBios 4
#define kNtComputerNamePhysicalDnsHostname 5
#define kNtComputerNamePhysicalDnsDomain 6
#define kNtComputerNamePhysicalDnsFullyQualified 7
#define kNtComputerName_MAX 8
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_COMPUTERNAMEFORMAT_H_ */
| 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 kNtLabelSecurityInformation 0x00000010
#define kNtAttributeSecurityInformation 0x00000020
#define kNtScopeSecurityInformation 0x00000040
#define kNtProcessTrustLabelSecurityInformation 0x00000080
#define kNtAccessFilterSecurityInformation 0x00000100
#define kNtBackupSecurityInformation 0x00010000
#define kNtProtectedDaclSecurityInformation 0x80000000
#define kNtProtectedSaclSecurityInformation 0x40000000
#define kNtUnprotectedDaclSecurityInformation 0x20000000
#define kNtUnprotectedSaclSecurityInformation 0x10000000
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_SECURITYINFORMATION_H_ */
| 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 0x00000010u
#define kNtWtTransferImpersonation 0ðµ00000100ð²
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_WT_H_ */
| 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
#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 /* COSMOPOLITAN_LIBC_NT_ENUM_REGGETVALUEFLAGS_H_ */
| 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 |