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/struct/filefulleainformation.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_FILEFULLEAINFORMATION_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_FILEFULLEAINFORMATION_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtFileFullEaInformation { uint32_t NextEntryOffset; uint8_t Flags; uint8_t EaNameLength; uint16_t EaValueLength; char EaName[1]; }; #endif /*...
424
15
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/processbasicinformation.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_PROCESSBASICINFORMATION_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_PROCESSBASICINFORMATION_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtProcessBasicInformation { int32_t ExitStatus; struct NtPeb *PebBaseAddress; uint32_t *AffinityMask; int32_t BasePriority; int64_t Unique...
490
16
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/iovec.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_IOVEC_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_IOVEC_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ struct NtIovec { uint32_t len; char *buf; }; void DescribeIovNt(const struct NtIovec *, uint32_t, ssize_t); COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKE...
382
16
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/systemprocessorperformanceinformation.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_SYSTEMPROCESSORPERFORMANCEINFORMATION_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_SYSTEMPROCESSORPERFORMANCEINFORMATION_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtSystemProcessorPerformanceInformation { int64_t IdleTime; int64_t KernelTime; int64_t UserTime; int64_t Reserv...
482
15
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/nonpageddebuginfo.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_NONPAGEDDEBUGINFO_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_NONPAGEDDEBUGINFO_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtNonPagedDebugInfo { uint16_t Signature; uint16_t Flags; uint32_t Size; uint16_t Machine; uint16_t Characteristics; uint32_t TimeDateStamp; uint3...
493
19
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/objectbasicinformation.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_OBJECTBASICINFORMATION_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_OBJECTBASICINFORMATION_H_ #include "libc/nt/enum/accessmask.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtObjectBasicInformation { uint32_t Attributes; uint32_t GrantedAccess; uint32_t HandleCount; uint32_t Po...
658
22
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/imagehotpatchinfo.internal.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_IMAGEHOTPATCHINFO_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_IMAGEHOTPATCHINFO_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtImageHotPatchInfo { uint32_t Version; uint32_t Size; uint32_t SequenceNumber; uint32_t BaseImageList; uint32_t BaseImageCount; uint32_t BufferOffs...
437
16
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/imagedebugdirectory.internal.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_IMAGEDEBUGDIRECTORY_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_IMAGEDEBUGDIRECTORY_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtImageDebugDirectory { uint32_t Characteristics; uint32_t TimeDateStamp; uint16_t MajorVersion; uint16_t MinorVersion; uint32_t Type; uint32_t ...
505
18
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/securitydescriptor.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_SECURITYDESCRIPTOR_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_SECURITYDESCRIPTOR_H_ #include "libc/nt/struct/acl.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtSecurityDescriptor { uint8_t Revision; uint8_t Sbz1; uint16_t Control; void *Owner; void *Group; struct NtAcl *S...
461
18
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/filestreaminformation.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_FILESTREAMINFORMATION_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_FILESTREAMINFORMATION_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtFileStreamInformation { uint32_t NextEntryOffset; uint32_t StreamNameLength; int64_t StreamSize; int64_t StreamAllocationSize; char16_t Stre...
448
15
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/filesegmentelement.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_FILESEGMENTELEMENT_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_FILESEGMENTELEMENT_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) union NtFileSegmentElement { void *Buffer; uint64_t Alignment; }; #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LIBC_NT_STRUCT_FILESEGME...
336
12
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/reparsedatabuffer.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_REPARSEDATABUFFER_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_REPARSEDATABUFFER_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ struct NtReparseDataBuffer { uint32_t ReparseTag; uint16_t ReparseDataLength; uint16_t Reserved; union { struct { uint16_t Subs...
944
35
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/ipadapteraddresses.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_IP_ADAPTER_ADDRESSES_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_IP_ADAPTER_ADDRESSES_H_ #include "libc/nt/struct/guid.h" #include "libc/nt/winsock.h" /* Constants ----------------------------------------------------------- */ #define kNtMaxAdapterAddressLength 8 #define kNtMaxDnsSuffi...
6,784
205
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/imagedelayloaddescriptor.internal.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_IMAGEDELAYLOADDESCRIPTOR_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_IMAGEDELAYLOADDESCRIPTOR_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtImageDelayloadDescriptor { union { uint32_t AllAttributes; struct { uint32_t RvaBased : 1; uint32_t ReservedAttributes : 3...
685
24
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/rtluserprocessinformation.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_RTLUSERPROCESSINFORMATION_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_RTLUSERPROCESSINFORMATION_H_ #include "libc/nt/struct/clientid.h" #include "libc/nt/struct/sectionimageinformation.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtRtlUserProcessInformation { uint32_t SizeOfThis; ...
571
17
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/sectionimageinformation.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_SECTIONIMAGEINFORMATION_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_SECTIONIMAGEINFORMATION_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtSectionImageInformation { void *EntryPoint; uint32_t Unknown1; uint32_t StackReserve; uint32_t StackCommit; uint32_t Subsystem; uint16...
637
23
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/consolescreenbufferinfo.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_CONSOLESCREENBUFFERINFO_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_CONSOLESCREENBUFFERINFO_H_ #include "libc/nt/struct/coord.h" #include "libc/nt/struct/smallrect.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtConsoleScreenBufferInfo { struct NtCoord dwSize; struct NtCoord dwCurs...
544
17
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/iostatusblock.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_IOSTATUSBLOCK_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_IOSTATUSBLOCK_H_ #include "libc/nt/enum/status.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtIoStatusBlock { union { NtStatus Status; void *Pointer; /* reserved for internal use */ }; uint32_t *Information; /* re...
448
16
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/imagedynamicrelocationv2.internal.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_IMAGEDYNAMICRELOCATIONV2_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_IMAGEDYNAMICRELOCATIONV2_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtImageDynamicRelocationV2 { uint32_t HeaderSize; uint32_t FixupInfoSize; uint64_t Symbol; uint32_t SymbolGroup; uint32_t Flags; uint8...
457
16
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/imageloadconfigdirectory.internal.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_IMAGELOADCONFIGDIRECTORY_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_IMAGELOADCONFIGDIRECTORY_H_ #include "libc/nt/struct/imageloadconfigcodeintegrity.internal.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtImageLoadConfigDirectory { uint32_t Size; uint32_t TimeDateStamp; uint16...
1,761
52
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/context.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_CONTEXT_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_CONTEXT_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtM128A { uint64_t Low; int64_t High; }; struct NtXmmSaveArea32 { /* basically same as struct FpuState */ uint16_t ControlWord; uint16_t StatusWord; uint8_t TagWord; u...
1,625
60
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/filepositioninformation.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_FILEPOSITIONINFORMATION_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_FILEPOSITIONINFORMATION_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtFilePositionInformation { int64_t CurrentByteOffset; }; #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LIBC_NT_STRUCT_FI...
348
11
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/kernelusertimes.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_KERNELUSERTIMES_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_KERNELUSERTIMES_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtKernelUserTimes { uint64_t CreateFileTime; uint64_t ExitFileTime; int64_t KernelTime; int64_t UserTime; }; #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */...
381
14
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/clientid.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_CLIENTID_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_CLIENTID_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtClientId { void *UniqueProcess; void *UniqueThread; }; #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LIBC_NT_STRUCT_CLIENTID_H_ */
304
12
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/filestandardinformation.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_FILESTANDARDINFORMATION_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_FILESTANDARDINFORMATION_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtFileStandardInformation { int64_t AllocationSize; int64_t EndOfFile; uint32_t NumberOfLinks; bool32 DeletePending; bool32 Directory; }; ...
436
15
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/inputrecord.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_INPUTRECORD_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_INPUTRECORD_H_ #include "libc/nt/struct/coord.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtKeyEventRecord { bool32 bKeyDown; uint16_t wRepeatCount; uint16_t wVirtualKeyCode; uint16_t wVirtualScanCode; union { int1...
1,117
50
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/criticalsection.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_CRITICALSECTION_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_CRITICALSECTION_H_ #include "libc/nt/struct/criticalsectiondebug.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtCriticalSection { struct NtCriticalSectionDebug *DebugInfo; int32_t LockCount; int32_t RecursionCount; vo...
495
17
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/peb.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_PEB_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_PEB_H_ #include "libc/nt/struct/ldr.h" #include "libc/nt/struct/unicodestring.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtPeb { union { struct { unsigned char InheritedAddressSpace; unsigned char ReadImageFileExecOpt...
2,566
97
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/filealignmentinformation.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_FILEALIGNMENTINFORMATION_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_FILEALIGNMENTINFORMATION_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtFileAlignmentInformation { uint32_t AlignmentRequirement; }; #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LIBC_NT_ST...
356
11
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/systemtimeofdayinformation.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_SYSTEMTIMEOFDAYINFORMATION_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_SYSTEMTIMEOFDAYINFORMATION_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtSystemTimeofdayInformation { int64_t BootTime; int64_t CurrentTime; int64_t TimeZoneBias; uint32_t CurrentTimeZoneId; unsigned cha...
459
15
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/unicodestring.h
#ifndef COSMOPOLITAN_LIBC_NT_UNICODE_H_ #define COSMOPOLITAN_LIBC_NT_UNICODE_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtUnicodeString { uint16_t Length; uint16_t MaxLength; char16_t *Data; }; #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LIBC_NT_UNICODE_H_ */
299
13
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/wndclass.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_WNDCLASS_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_WNDCLASS_H_ #include "libc/nt/typedef/wndproc.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ struct NtWndClass { uint32_t style; NtWndProc lpfnWndProc; int32_t cbClsExtra; int32_t cbWndExtra; int64_t hInstance...
572
23
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/fpodata.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_FPODATA_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_FPODATA_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtFpoData { /* TODO(jart): No bitfields. */ uint32_t ulOffStart; uint32_t cbProcSize; uint32_t cdwLocals; uint16_t cdwParams; uint16_t cbProlog : 8; uint16_t cbRegs :...
523
21
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/editmenu.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_EDITMENU_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_EDITMENU_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtEditMenu { int64_t hmenu; uint16_t idEdit; uint16_t idCut; uint16_t idCopy; uint16_t idPaste; uint16_t idClear; uint16_t idUndo; }; #endif /* !(__ASSEMBLER__ + _...
391
17
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/valent.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_VALENT_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_VALENT_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtValent { char16_t *ve_valuename; uint32_t ve_valuelen; uintptr_t ve_valueptr; uint32_t ve_type; }; #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LI...
346
14
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/fileinternalinformation.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_FILEINTERNALINFORMATION_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_FILEINTERNALINFORMATION_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtFileInternalInformation { int64_t IndexNumber; }; #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LIBC_NT_STRUCT_FILEINTE...
342
11
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/rtluserprocessparameters.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_RTLUSERPROCESSPARAMETERS_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_RTLUSERPROCESSPARAMETERS_H_ #include "libc/nt/struct/unicodestring.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtRtlUserProcessParameters { uint32_t MaximumLength; uint32_t Length; uint32_t Flags; uint32_t D...
1,185
39
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/processmemorycounters.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_PROCESSMEMORYCOUNTERS_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_PROCESSMEMORYCOUNTERS_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ struct NtProcessMemoryCountersEx { uint32_t cb; /* count bytes */ uint32_t PageFaultCount; uint64_t PeakWorkingSetSize; uint64_t ...
696
23
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/systemhandleinformation.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_SYSTEMHANDLEINFORMATION_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_SYSTEMHANDLEINFORMATION_H_ #include "libc/nt/struct/systemhandleentry.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtSystemHandleInformation { uint32_t Count; struct NtSystemHandleEntry Handle[1]; }; #endif /* !(...
423
13
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/systemlookasideinformation.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_SYSTEMLOOKASIDEINFORMATION_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_SYSTEMLOOKASIDEINFORMATION_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtSystemLookasideInformation { unsigned char Reserved1[32]; }; #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LIBC_N...
362
11
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/imagedatadirectory.internal.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_IMAGEDATADIRECTORY_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_IMAGEDATADIRECTORY_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtImageDataDirectory { uint32_t VirtualAddress; uint32_t Size; }; #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LIBC_NT_STRUCT_IM...
343
12
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/consolecursorinfo.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_CONSOLECURSORINFO_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_CONSOLECURSORINFO_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtConsoleCursorInfo { uint32_t dwSize; bool32 bVisible; }; #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LIBC_NT_STRUCT_CONSOLECURS...
333
12
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/systemprocessinformation.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_SYSTEMPROCESSINFORMATION_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_SYSTEMPROCESSINFORMATION_H_ #include "libc/nt/struct/iocounters.h" #include "libc/nt/struct/unicodestring.h" #include "libc/nt/struct/vmcounters.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtSystemProcessInformation...
895
29
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/linger.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_LINGER_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_LINGER_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ struct linger_nt { uint16_t l_onoff; /* on/off */ uint16_t l_linger; /* seconds */ }; COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /...
363
14
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/securityattributes.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_SECURITYATTRIBUTES_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_SECURITYATTRIBUTES_H_ #include "libc/nt/struct/securitydescriptor.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtSecurityAttributes { uint32_t nLength; struct NtSecurityDescriptor *lpSecurityDescriptor; bool32 bInher...
518
16
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/systemperformanceinformation.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_SYSTEMPERFORMANCEINFORMATION_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_SYSTEMPERFORMANCEINFORMATION_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtSystemPerformanceInformation { int64_t IdleTime; int64_t ReadTransferCount; int64_t WriteTransferCount; int64_t OtherTransferCou...
2,482
84
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/vmcounters.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_VMCOUNTERS_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_VMCOUNTERS_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtVmCounters { size_t PeakVirtualSize; size_t VirtualSize; uint32_t PageFaultCount; size_t PeakWorkingSetSize; size_t WorkingSetSize; size_t QuotaPeakPagedPoolUsa...
582
21
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/fileallocationinformation.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_FILEALLOCATIONINFORMATION_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_FILEALLOCATIONINFORMATION_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtFileAllocationInformation { int64_t AllocationSize; }; #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LIBC_NT_STRUCT...
353
11
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/systemprocessorinformation.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_SYSTEMPROCESSORINFORMATION_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_SYSTEMPROCESSORINFORMATION_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtSystemProcessorInformation { unsigned short ProcessorArchitecture; unsigned short ProcessorLevel; unsigned short ProcessorRevision; ...
490
15
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/imagesymbolex.internal.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_IMAGESYMBOLEX_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_IMAGESYMBOLEX_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtImageSymbolEx { union { uint8_t ShortName[8]; struct { uint32_t Short; uint32_t Long; } Name; uint32_t LongName[2]; } N; uint32_t Va...
530
23
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/imagethunkdata.internal.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_IMAGETHUNKDATA_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_IMAGETHUNKDATA_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtImageThunkData { union { uint64_t ForwarderString; uint64_t Function; uint64_t Ordinal; uint64_t AddressOfData; } u1; }; #endif /* !(__ASSEMBLE...
404
16
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/filenetworkopeninformation.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_FILENETWORKOPENINFORMATION_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_FILENETWORKOPENINFORMATION_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtFileNetworkOpenInformation { int64_t CreationTime; int64_t LastAccessTime; int64_t LastWriteTime; int64_t ChangeTime; int64_t Allo...
502
17
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/imageoptionalheader.internal.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_IMAGEOPTIONALHEADER_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_IMAGEOPTIONALHEADER_H_ #include "libc/nt/pedef.internal.h" #include "libc/nt/struct/imagedatadirectory.internal.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtImageOptionalHeader { uint16_t Magic; uint8_t MajorLinkerV...
1,315
42
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/overlappedentry.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_OVERLAPPEDENTRY_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_OVERLAPPEDENTRY_H_ #include "libc/nt/struct/overlapped.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ struct NtOverlappedEntry { uint32_t *lpCompletionKey; struct NtOverlapped *lpOverlapped; uint32_t *Inter...
495
17
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/imagehotpatchbase.internal.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_IMAGEHOTPATCHBASE_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_IMAGEHOTPATCHBASE_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtImageHotPatchBase { uint32_t SequenceNumber; uint32_t Flags; uint32_t OriginalTimeDateStamp; uint32_t OriginalCheckSum; uint32_t CodeIntegrityInfo; ...
511
18
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/filerenameinformation.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_FILERENAMEINFORMATION_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_FILERENAMEINFORMATION_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtFileRenameInformation { bool32 Replace; void *RootDir; uint32_t FileNameLength; char16_t FileName[1]; }; #endif /* !(__ASSEMBLER__ + __LINKER...
397
14
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/imageceruntimefunctionentry.internal.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_IMAGECERUNTIMEFUNCTIONENTRY_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_IMAGECERUNTIMEFUNCTIONENTRY_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtImageCeRuntimeFunctionEntry { uint32_t FuncStart; uint32_t PrologLen : 8; uint32_t FuncLen : 22; uint32_t ThirtyTwoBit : 1; uint...
467
15
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/imageseparatedebugheader.internal.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_IMAGESEPARATEDEBUGHEADER_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_IMAGESEPARATEDEBUGHEADER_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtImageSeparateDebugHeader { uint16_t Signature; uint16_t Flags; uint16_t Machine; uint16_t Characteristics; uint32_t TimeDateStamp; u...
647
23
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/guid.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_GUID_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_GUID_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ struct NtGuid { uint32_t Data1; uint16_t Data2; uint16_t Data3; uint8_t Data4[8]; }; COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* ...
359
16
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/filebasicinfo.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_FILEBASICINFO_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_FILEBASICINFO_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtFileBasicInfo { int64_t CreationTime; /* in 100ns units */ int64_t LastAccessTime; /* in 100ns units */ int64_t LastWriteTime; /* in 100ns units */ int6...
524
15
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/filefulldirectoryinformation.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_FILEFULLDIRECTORYINFORMATION_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_FILEFULLDIRECTORYINFORMATION_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtFileFullDirectoryInformation { uint32_t NextEntryOffset; uint32_t FileIndex; int64_t CreationTime; int64_t LastAccessTime; int...
630
22
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/imagentheaders.internal.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_IMAGENTHEADERS_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_IMAGENTHEADERS_H_ #include "libc/nt/struct/imagefileheader.internal.h" #include "libc/nt/struct/imageoptionalheader.internal.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtImageNtHeaders { uint32_t Signature; struct NtImag...
501
15
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/imagearchivememberheader.internal.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_IMAGEARCHIVEMEMBERHEADER_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_IMAGEARCHIVEMEMBERHEADER_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtImageArchiveMemberHeader { uint8_t Name[16]; uint8_t Date[12]; uint8_t UserID[6]; uint8_t GroupID[6]; uint8_t Mode[8]; uint8_t Size[...
469
17
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/imagebaserelocation.internal.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_IMAGEBASERELOCATION_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_IMAGEBASERELOCATION_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtImageBaseRelocation { uint32_t VirtualAddress; uint32_t SizeOfBlock; }; #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LIBC_NT...
354
12
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/filetime.h
#ifndef COSMOPOLITAN_LIBC_NT_FILETIME_H_ #define COSMOPOLITAN_LIBC_NT_FILETIME_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtFileTime { uint32_t dwLowDateTime; uint32_t dwHighDateTime; }; #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LIBC_NT_FILETIME_H_ */
291
12
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/wndclassex.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_WNDCLASSEX_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_WNDCLASSEX_H_ #include "libc/nt/typedef/wndproc.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ struct NtWndClassEx { uint32_t cbSize; uint32_t style; NtWndProc lpfnWndProc; int32_t cbClsExtra; int32_t cbWndE...
618
25
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/smallrect.h
#ifndef COSMOPOLITAN_LIBC_NT_ENUM_SMALLRECT_H_ #define COSMOPOLITAN_LIBC_NT_ENUM_SMALLRECT_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtSmallRect { int16_t Left; int16_t Top; int16_t Right; int16_t Bottom; }; #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LIBC_NT_ENUM_SMALLRECT_H_ ...
323
14
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/imagedynamicrelocation.internal.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_IMAGEDYNAMICRELOCATION_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_IMAGEDYNAMICRELOCATION_H_ #include "libc/nt/struct/imagebaserelocation.internal.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtImageDynamicRelocation { uint64_t Symbol; uint32_t BaseRelocSize; struct NtImageBaseR...
468
14
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/privilegeset.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_PRIVILEGESET_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_PRIVILEGESET_H_ #include "libc/nt/struct/luidandattributes.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtPrivilegeSet { uint32_t PrivilegeCount; uint32_t Control; struct NtLuidAndAttributes Privilege[1]; }; #endif /* !(_...
411
14
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/systemtime.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_SYSTEMTIME_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_SYSTEMTIME_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtSystemTime { uint16_t wYear; uint16_t wMonth; uint16_t wDayOfWeek; uint16_t wDay; uint16_t wHour; uint16_t wMinute; uint16_t wSecond; uint16_t wMilliseconds...
428
18
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/byhandlefileinformation.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_BYHANDLEFILEINFORMATION_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_BYHANDLEFILEINFORMATION_H_ #include "libc/nt/struct/filetime.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtByHandleFileInformation { uint32_t dwFileAttributes; /* ←NtFileFlagAndAttributes */ struct NtFileTime f...
705
21
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/imageenclaveconfig.internal.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_IMAGEENCLAVECONFIG_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_IMAGEENCLAVECONFIG_H_ #include "libc/nt/pedef.internal.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtImageEnclaveConfig { uint32_t Size; uint32_t MinimumRequiredConfigSize; uint32_t PolicyFlags; uint32_t NumberOfI...
722
24
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/imageresourcedirectory.internal.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_IMAGERESOURCEDIRECTORY_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_IMAGERESOURCEDIRECTORY_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtImageResourceDirectory { uint32_t Characteristics; uint32_t TimeDateStamp; uint16_t MajorVersion; uint16_t MinorVersion; uint16_t NumberOf...
482
16
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/acl.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_ACL_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_ACL_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtAcl { uint8_t AclRevision; uint8_t Sbz1; uint16_t AclSize; uint16_t AceCount; uint16_t Sbz2; }; #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LIBC_NT_S...
336
15
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/filebasicinformation.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_FILEBASICINFORMATION_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_FILEBASICINFORMATION_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtFileBasicInformation { int64_t CreationTime; /* in 100ns units */ int64_t LastAccessTime; /* in 100ns units */ int64_t LastWriteTime; /* in ...
552
15
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/ansistring.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_ANSISTRING_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_ANSISTRING_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtAnsiString { unsigned short Length; unsigned short MaximumLength; char *Buffer; }; #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LIBC_NT_STRU...
340
13
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/imageromoptionalheader.internal.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_IMAGEROMOPTIONALHEADER_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_IMAGEROMOPTIONALHEADER_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtImageRomOptionalHeader { uint16_t Magic; uint8_t MajorLinkerVersion; uint8_t MinorLinkerVersion; uint32_t SizeOfCode; uint32_t SizeOfIniti...
649
23
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/systembasicinformation.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_SYSTEMBASICINFORMATION_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_SYSTEMBASICINFORMATION_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtSystemBasicInformation { unsigned char Reserved1[4]; uint32_t MaximumIncrement; uint32_t PhysicalPageSize; uint32_t NumberOfPhysicalPages; ...
651
21
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/size.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_SIZE_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_SIZE_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ struct NtSize { int32_t cx; int32_t cy; }; COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LIBC_NT_STRUCT_SIZE_H_ */
313
14
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/objectattributes.h
#ifndef COSMOPOLITAN_LIBC_NT_I_OBJECTATTRIBUTES_H_ #define COSMOPOLITAN_LIBC_NT_I_OBJECTATTRIBUTES_H_ #include "libc/nt/struct/rtluserprocessparameters.h" #include "libc/nt/struct/securityattributes.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtObjectAttributes { uint32_t Length; int64_t RootDirectory; struc...
590
18
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/imagesymbol.internal.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_IMAGESYMBOL_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_IMAGESYMBOL_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtImageSymbol { union { uint8_t ShortName[8]; struct { uint32_t Short; uint32_t Long; } Name; uint32_t LongName[2]; } N; uint32_t Value; ...
523
23
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/afd.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_AFD_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_AFD_H_ #include "libc/nt/enum/status.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ struct NtAfdPollHandleInfo { int64_t Handle; uint32_t Events; NtStatus Status; }; struct NtAfdPollInfo { int64_t Timeout; uint32_...
521
23
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/rect.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_RECT_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_RECT_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtRect { int32_t left; int32_t top; int32_t right; int32_t bottom; }; #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LIBC_NT_STRUCT_RECT_H_ */
309
14
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/filebothdirectoryinformation.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_FILEBOTHDIRECTORYINFORMATION_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_FILEBOTHDIRECTORYINFORMATION_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ struct NtFileBothDirectoryInformation { uint32_t NextEntryOffset; uint32_t FileIndex; int64_t CreationTime; int64_t...
731
26
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/objecttypeinformation.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_OBJECTTYPEINFORMATION_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_OBJECTTYPEINFORMATION_H_ #include "libc/nt/struct/genericmapping.h" #include "libc/nt/struct/unicodestring.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtObjectTypeInformation { struct NtUnicodeString TypeName; uint...
1,102
33
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/ntexceptionpointers.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_NTEXCEPTIONPOINTERS_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_NTEXCEPTIONPOINTERS_H_ #include "libc/nt/struct/context.h" #include "libc/nt/struct/ntexceptionrecord.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtExceptionPointers { struct NtExceptionRecord *ExceptionRecord; struc...
463
14
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/luidandattributes.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_LUIDANDATTRIBUTES_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_LUIDANDATTRIBUTES_H_ #include "libc/nt/struct/luid.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtLuidAndAttributes { struct NtLuid Luid; uint32_t Attributes; }; #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /*...
373
13
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/imageauxsymbol.internal.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_IMAGEAUXSYMBOL_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_IMAGEAUXSYMBOL_H_ #include "libc/nt/pedef.internal.h" #include "libc/nt/struct/imageauxsymboltokendef.internal.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) union NtImageAuxSymbol { struct { uint32_t TagIndex; union { ...
1,172
50
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/imageloadconfigcodeintegrity.internal.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_IMAGELOADCONFIGCODEINTEGRITY_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_IMAGELOADCONFIGCODEINTEGRITY_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtImageLoadConfigCodeIntegrity { uint16_t Flags; uint16_t Catalog; uint32_t CatalogOffset; uint32_t Reserved; }; #endif /* !(__AS...
424
14
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/luid.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_LUID_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_LUID_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtLuid { uint32_t LowPart; int32_t HighPart; }; #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LIBC_NT_STRUCT_LUID_H_ */
283
12
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/procthreadattributelist.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_PROCTHREADATTRIBUTELIST_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_PROCTHREADATTRIBUTELIST_H_ struct NtProcThreadAttributeList; #endif /* COSMOPOLITAN_LIBC_NT_STRUCT_PROCTHREADATTRIBUTELIST_H_ */
230
7
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/imageprologuedynamicrelocationheader.internal.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_IMAGEPROLOGUEDYNAMICRELOCATIONHEADER_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_IMAGEPROLOGUEDYNAMICRELOCATIONHEADER_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtImagePrologueDynamicRelocationHeader { uint8_t PrologueByteCount; uint8_t PrologueBytes[0]; }; #endif /* !(__ASSEMB...
438
13
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/ldrdatatableentry.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_LDRDATATABLEENTRY_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_LDRDATATABLEENTRY_H_ #include "libc/nt/struct/linkedlist.h" #include "libc/nt/struct/unicodestring.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtLdrDataTableEntry { struct NtLinkedList InLoadOrderLinks; /* msdn:reserved ...
1,252
45
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/importobjectheader.internal.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_IMPORTOBJECTHEADER_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_IMPORTOBJECTHEADER_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtImportObjectHeader { /* TODO(jart): No bitfields. */ uint16_t Sig1; uint16_t Sig2; uint16_t Version; uint16_t Machine; uint32_t TimeDateStamp; ...
584
24
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/ntexceptionrecord.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_NTEXCEPTIONRECORD_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_NTEXCEPTIONRECORD_H_ #define kNtExceptionMaximumParameters 15 #define kNtExceptionNoncontinuable 1 #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtExceptionRecord { uint32_t ExceptionCode; /* kNtException...
781
20
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/filedirectoryinformation.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_FILEDIRECTORYINFORMATION_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_FILEDIRECTORYINFORMATION_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtFileDirectoryInformation { uint32_t NextEntryOffset; uint32_t FileIndex; int64_t CreationTime; int64_t LastAccessTime; int64_t LastWri...
595
21
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/imagedebugmisc.internal.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_IMAGEDEBUGMISC_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_IMAGEDEBUGMISC_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtImageDebugMisc { uint32_t DataType; uint32_t Length; bool32 Unicode; uint8_t Reserved[3]; uint8_t Data[1]; }; #endif /* !(__ASSEMBLER__ + __LINKER__ + 0)...
383
15
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/imagerelocation.internal.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_IMAGERELOCATION_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_IMAGERELOCATION_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtImageRelocation { union { uint32_t VirtualAddress; uint32_t RelocCount; }; uint32_t SymbolTableIndex; uint16_t Type; }; #endif /* !(__ASSEMBLER__...
402
16
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/processinformation.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_PROCESSINFORMATION_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_PROCESSINFORMATION_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtProcessInformation { int64_t hProcess; int64_t hThread; uint32_t dwProcessId; uint32_t dwThreadId; }; #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) *...
385
14
jart/cosmopolitan
false
cosmopolitan/libc/nt/struct/filemailslotqueryinformation.h
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_FILEMAILSLOTQUERYINFORMATION_H_ #define COSMOPOLITAN_LIBC_NT_STRUCT_FILEMAILSLOTQUERYINFORMATION_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) struct NtFileMailslotQueryInformation { uint32_t MaximumMessageSize; uint32_t MailslotQuota; uint32_t NextMessageSize; uint32_t MessagesA...
477
15
jart/cosmopolitan
false