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/user32/GetSubMenu.S | #include "libc/nt/codegen.h"
.imp user32,__imp_GetSubMenu,GetSubMenu,1951
| 74 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/user32/IsWinEventHookInstalled.S | #include "libc/nt/codegen.h"
.imp user32,__imp_IsWinEventHookInstalled,IsWinEventHookInstalled,2083
| 100 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/user32/CheckDlgButton.S | #include "libc/nt/codegen.h"
.imp user32,__imp_CheckDlgButton,CheckDlgButton,1574
| 82 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/user32/CreatePalmRejectionDelayZone.S | #include "libc/nt/codegen.h"
.imp user32,__imp_CreatePalmRejectionDelayZone,CreatePalmRejectionDelayZone,1503
| 110 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/thunk/synchronization.inc | extern typeof(SleepEx) *const __imp_SleepEx __msabi;
| 53 | 2 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/thunk/thread.inc | #define GetCurrentThread(...) __imp_GetCurrentThread(__VA_ARGS__)
#define GetThreadPriority(...) __imp_GetThreadPriority(__VA_ARGS__)
#define SetThreadPriority(...) __imp_SetThreadPriority(__VA_ARGS__)
extern typeof(GetCurrentThread) *const __imp_GetCurrentThread __msabi;
extern typeof(GetThreadPriority) *const __imp... | 421 | 8 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/thunk/ntdll.inc | #define NtYieldExecution(...) __imp_NtYieldExecution(__VA_ARGS__)
extern typeof(NtYieldExecution) *const __imp_NtYieldExecution __msabi;
| 138 | 4 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/thunk/runtime.inc | #define FreeEnvironmentStrings(...) __imp_FreeEnvironmentStringsW(__VA_ARGS__)
extern typeof(FreeEnvironmentStrings) *const
__imp_FreeEnvironmentStringsW __msabi;
#define GetCommandLine(...) __imp_GetCommandLineW(__VA_ARGS__)
extern typeof(GetCommandLine) *const __imp_GetCommandLineW __msabi;
#define GetEnvironme... | 1,512 | 37 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/thunk/systeminfo.inc | #define GetSystemInfo(...) __imp_GetSystemInfo(__VA_ARGS__)
#define GetTempPath(...) __imp_GetTempPathW(__VA_ARGS__)
extern typeof(GetSystemInfo) *const __imp_GetSystemInfo __msabi;
extern typeof(GetTempPath) *const __imp_GetTempPathW __msabi;
| 245 | 6 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/thunk/files.inc | #define CopyFile(...) __imp_CopyFileW(__VA_ARGS__)
extern typeof(CopyFile) *const __imp_CopyFileW __msabi;
#define GetFileType(...) __imp_GetFileType(__VA_ARGS__)
extern typeof(GetFileType) *const __imp_GetFileType __msabi;
| 225 | 6 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/thunk/signals.inc | #define SetErrorMode(...) __imp_SetErrorMode(__VA_ARGS__)
#define AddVectoredExceptionHandler(...) \
__imp_AddVectoredExceptionHandler(__VA_ARGS__)
#define AddVectoredContinueHandler(...) \
__imp_AddVectoredContinueHandler(__VA_ARGS__)
#define RemoveVectoredExceptionHandler(...) \
__imp_RemoveVectoredExceptionHan... | 1,083 | 24 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/thunk/msabi.h | #ifndef COSMOPOLITAN_LIBC_NT_THUNK_MSABI_H_
#define COSMOPOLITAN_LIBC_NT_THUNK_MSABI_H_
#if !(__ASSEMBLER__ + __LINKER__ + 0)
#ifdef __x86_64__
#if !defined(__STRICT_ANSI__) && \
(__GNUC__ * 100 + __GNUC_MINOR__ >= 408 || \
(__has_attribute(__ms_abi__) || defined(__llvm__)))
/**
* Defines funct... | 1,077 | 38 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/thunk/memory.inc | extern typeof(LocalFree) *const __imp_LocalFree __msabi;
| 57 | 2 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/thunk/accounting.inc | #define GetProcessTimes(...) __imp_GetProcessTimes(__VA_ARGS__)
extern typeof(GetProcessTimes) *const __imp_GetProcessTimes __msabi;
#define GetThreadTimes(...) __imp_GetThreadTimes(__VA_ARGS__)
extern typeof(GetThreadTimes) *const __imp_GetThreadTimes __msabi;
#define GetUserName(...) __imp_GetUserNameW(__VA_ARGS__)... | 383 | 9 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/thunk/process.inc | #define GetEnvironmentVariable(...) __imp_GetEnvironmentVariableW(__VA_ARGS__)
extern typeof(GetEnvironmentVariable) *const
__imp_GetEnvironmentVariableW __msabi;
#define SetEnvironmentVariable(...) __imp_SetEnvironmentVariableW(__VA_ARGS__)
extern typeof(SetEnvironmentVariable) *const
__imp_SetEnvironmentVari... | 891 | 20 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/thunk/ntfile.inc | #define NtQueryInformationFile(...) __imp_NtQueryInformationFile(__VA_ARGS__)
extern typeof(NtQueryInformationFile) *const
__imp_NtQueryInformationFile __msabi;
| 166 | 5 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/thunk/startupinfo.inc | #define GetStartupInfo(...) __imp_GetStartupInfoW(__VA_ARGS__)
extern typeof(GetStartupInfo) *const __imp_GetStartupInfoW __msabi;
| 132 | 4 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/thunk/paint.inc | #define SetPixel(...) __imp_SetPixel(__VA_ARGS__)
#define GetPixel(...) __imp_GetPixel(__VA_ARGS__)
extern typeof(SetPixel) *const __imp_SetPixel __msabi;
extern typeof(GetPixel) *const __imp_GetPixel __msabi;
| 211 | 6 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/thunk/console.inc | #define GetConsoleMode(...) __imp_GetConsoleMode(__VA_ARGS__)
extern typeof(GetConsoleMode) *const __imp_GetConsoleMode __msabi;
#define SetConsoleCP(...) __imp_SetConsoleCP(__VA_ARGS__)
extern typeof(SetConsoleCP) *const __imp_SetConsoleCP __msabi;
#define GetConsoleCP(...) __imp_GetConsoleCP(__VA_ARGS__)
extern typ... | 953 | 21 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/MsWSock/WSARecvEx.S | #include "libc/nt/codegen.h"
.imp MsWSock,__imp_WSARecvEx,WSARecvEx,0
.text.windows
WSARecvEx:
#ifdef __x86_64__
push %rbp
mov %rsp,%rbp
.profilable
mov __imp_WSARecvEx(%rip),%rax
jmp __sysv2nt
#elif defined(__aarch64__)
mov x0,#0
ret
#endif
.endfn WSARecvEx,globl
.previous
| 286 | 18 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/MsWSock/DisconnectEx.S | #include "libc/nt/codegen.h"
.imp MsWSock,__imp_DisconnectEx,DisconnectEx,0
.text.windows
DisconnectEx:
#ifdef __x86_64__
push %rbp
mov %rsp,%rbp
.profilable
mov __imp_DisconnectEx(%rip),%rax
jmp __sysv2nt
#elif defined(__aarch64__)
mov x0,#0
ret
#endif
.endfn DisconnectEx,globl
.previous
| 301 | 18 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/MsWSock/TransmitFile.S | #include "libc/nt/codegen.h"
.imp MsWSock,__imp_TransmitFile,TransmitFile,0
.text.windows
TransmitFile:
#ifdef __x86_64__
push %rbp
mov %rsp,%rbp
.profilable
mov __imp_TransmitFile(%rip),%rax
jmp __sysv2nt8
#elif defined(__aarch64__)
mov x0,#0
ret
#endif
.endfn TransmitFile,globl
.previous
| 302 | 18 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/MsWSock/AcceptEx.S | #include "libc/nt/codegen.h"
.imp MsWSock,__imp_AcceptEx,AcceptEx,0
.text.windows
AcceptEx:
#ifdef __x86_64__
push %rbp
mov %rsp,%rbp
.profilable
mov __imp_AcceptEx(%rip),%rax
jmp __sysv2nt8
#elif defined(__aarch64__)
mov x0,#0
ret
#endif
.endfn AcceptEx,globl
.previous
| 282 | 18 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/MsWSock/GetAcceptExSockaddrs.S | #include "libc/nt/codegen.h"
.imp MsWSock,__imp_GetAcceptExSockaddrs,GetAcceptExSockaddrs,0
.text.windows
GetAcceptExSockaddrs:
#ifdef __x86_64__
push %rbp
mov %rsp,%rbp
.profilable
mov __imp_GetAcceptExSockaddrs(%rip),%rax
jmp __sysv2nt8
#elif defined(__aarch64__)
mov x0,#0
ret
#endif
.endfn GetAcceptExSocka... | 342 | 18 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/struct/pollfd.h | #ifndef COSMOPOLITAN_LIBC_NT_STRUCT_POLLFD_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_POLLFD_H_
#if !(__ASSEMBLER__ + __LINKER__ + 0)
struct sys_pollfd_nt {
int64_t handle;
int16_t events;
int16_t revents;
};
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
#endif /* COSMOPOLITAN_LIBC_NT_STRUCT_POLLFD_H_ */
| 311 | 13 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/struct/imageenclaveimport.internal.h | #ifndef COSMOPOLITAN_LIBC_NT_STRUCT_IMAGEENCLAVEIMPORT_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_IMAGEENCLAVEIMPORT_H_
#include "libc/nt/pedef.internal.h"
#if !(__ASSEMBLER__ + __LINKER__ + 0)
struct NtImageEnclaveImport {
uint32_t MatchType;
uint32_t MinimumSecurityVersion;
uint8_t UniqueOrAuthorID[kNtImageEnclave... | 592 | 18 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/struct/filepipelocalinformation.h | #ifndef COSMOPOLITAN_LIBC_NT_STRUCT_FILEPIPELOCALINFORMATION_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_FILEPIPELOCALINFORMATION_H_
#if !(__ASSEMBLER__ + __LINKER__ + 0)
struct NtFilePipeLocalInformation {
uint32_t NamedPipeType;
uint32_t NamedPipeConfiguration;
uint32_t MaximumInstances;
uint32_t CurrentInstances... | 607 | 20 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/struct/startupinfoex.h | #ifndef COSMOPOLITAN_LIBC_NT_STRUCT_STARTUPINFOEX_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_STARTUPINFOEX_H_
#include "libc/nt/struct/procthreadattributelist.h"
#include "libc/nt/struct/startupinfo.h"
#if !(__ASSEMBLER__ + __LINKER__ + 0)
struct NtStartupInfoEx {
struct NtStartupInfo StartupInfo;
struct NtProcThreadA... | 460 | 14 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/struct/systeminfo.h | #ifndef COSMOPOLITAN_LIBC_NT_STRUCT_SYSTEMINFO_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_SYSTEMINFO_H_
#if !(__ASSEMBLER__ + __LINKER__ + 0)
struct NtSystemInfo {
union {
uint32_t dwOemId;
struct {
uint16_t wProcessorArchitecture;
uint16_t wReserved;
};
};
uint32_t dwPageSize;
void *lpMini... | 677 | 26 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/struct/imagesectionheader.internal.h | #ifndef COSMOPOLITAN_LIBC_NT_STRUCT_IMAGESECTIONHEADER_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_IMAGESECTIONHEADER_H_
#if !(__ASSEMBLER__ + __LINKER__ + 0)
struct NtImageSectionHeader {
uint8_t Name[8];
union {
uint32_t PhysicalAddress;
uint32_t VirtualSize;
} Misc;
uint32_t VirtualAddress;
uint32_t Si... | 634 | 23 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/struct/imagehotpatchhashes.internal.h | #ifndef COSMOPOLITAN_LIBC_NT_STRUCT_IMAGEHOTPATCHHASHES_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_IMAGEHOTPATCHHASHES_H_
#if !(__ASSEMBLER__ + __LINKER__ + 0)
struct NtImageHotPatchHashes {
uint8_t SHA256[32];
uint8_t SHA1[20];
};
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
#endif /* COSMOPOLITAN_LIBC_NT_STRUCT_I... | 345 | 12 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/struct/drawtextparams.h | #ifndef COSMOPOLITAN_LIBC_NT_STRUCT_DRAWTEXTPARAMS_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_DRAWTEXTPARAMS_H_
#if !(__ASSEMBLER__ + __LINKER__ + 0)
COSMOPOLITAN_C_START_
struct NtDrawTextParams {
uint32_t cbSize;
int32_t iTabLength;
int32_t iLeftMargin;
int32_t iRightMargin;
uint32_t uiLengthDrawn;
};
COSMOPO... | 439 | 17 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/struct/userstack.h | #ifndef COSMOPOLITAN_LIBC_NT_STRUCT_NTUSERSTACK_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_NTUSERSTACK_H_
#if !(__ASSEMBLER__ + __LINKER__ + 0)
struct NtUserStack {
void *FixedStackBase;
void *FixedStackLimit;
void *ExpandableStackBase;
void *ExpandableStackLimit;
void *ExpandableStackBottom;
};
#endif /* !(__A... | 408 | 15 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/struct/consolescreenbufferinfoex.h | #ifndef COSMOPOLITAN_LIBC_NT_STRUCT_CONSOLESCREENBUFFERINFOEX_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_CONSOLESCREENBUFFERINFOEX_H_
#include "libc/nt/struct/coord.h"
#include "libc/nt/struct/smallrect.h"
#if !(__ASSEMBLER__ + __LINKER__ + 0)
struct NtConsoleScreenBufferInfoEx {
uint32_t cbSize; /* sizeof(struct NtCons... | 760 | 21 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/struct/pdhfmtcountervalue.h | #ifndef COSMOPOLITAN_LIBC_NT_STRUCT_PDHFMTCOUNTERVALUE_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_PDHFMTCOUNTERVALUE_H_
#if !(__ASSEMBLER__ + __LINKER__ + 0)
COSMOPOLITAN_C_START_
struct NtPdhFmtCountervalue {
uint32_t CStatus;
union {
int32_t longValue;
double doubleValue;
int64_t largeValue;
const ch... | 517 | 20 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/struct/imagedynamicrelocationtable.internal.h | #ifndef COSMOPOLITAN_LIBC_NT_STRUCT_IMAGEDYNAMICRELOCATIONTABLE_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_IMAGEDYNAMICRELOCATIONTABLE_H_
#include "libc/nt/struct/imagedynamicrelocation.internal.h"
#if !(__ASSEMBLER__ + __LINKER__ + 0)
struct NtImageDynamicRelocationTable {
uint32_t Version;
uint32_t Size;
struct Nt... | 489 | 14 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/struct/timeval.h | #ifndef COSMOPOLITAN_LIBC_NT_STRUCT_TIMEVAL_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_TIMEVAL_H_
#if !(__ASSEMBLER__ + __LINKER__ + 0)
COSMOPOLITAN_C_START_
struct NtTimeval {
int32_t tv_sec; /* [sic] */
int32_t tv_usec;
};
COSMOPOLITAN_C_END_
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
#endif /* COSMOPOLITAN_LIB... | 346 | 14 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/struct/overlapped.h | #ifndef COSMOPOLITAN_LIBC_NT_STRUCT_OVERLAPPED_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_OVERLAPPED_H_
#if !(__ASSEMBLER__ + __LINKER__ + 0)
struct NtOverlapped {
uintptr_t Internal;
uintptr_t InternalHigh;
union {
struct {
uint32_t Offset;
uint32_t OffsetHigh;
};
void *Pointer;
};
int64... | 437 | 20 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/struct/fileendoffileinformation.h | #ifndef COSMOPOLITAN_LIBC_NT_STRUCT_FILEENDOFFILEINFORMATION_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_FILEENDOFFILEINFORMATION_H_
#if !(__ASSEMBLER__ + __LINKER__ + 0)
struct FileEndOfFileInformation {
int64_t EndOfFile;
};
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
#endif /* COSMOPOLITAN_LIBC_NT_STRUCT_FILEENDOF... | 342 | 11 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/struct/openfilename.h | #ifndef COSMOPOLITAN_LIBC_NT_STRUCT_OPENFILENAME_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_OPENFILENAME_H_
#include "libc/nt/struct/editmenu.h"
#if !(__ASSEMBLER__ + __LINKER__ + 0)
struct NtOpenFilename {
uint32_t lStructSize;
int64_t hwndOwner;
int64_t hInstance;
const char16_t *lpstrFilter;
char16_t *lpstrCu... | 936 | 34 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/struct/memorystatusex.h | #ifndef COSMOPOLITAN_LIBC_NT_STRUCT_MEMORYSTATUSEX_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_MEMORYSTATUSEX_H_
#if !(__ASSEMBLER__ + __LINKER__ + 0)
struct NtMemoryStatusEx {
uint32_t dwLength;
uint32_t dwMemoryLoad;
uint64_t ullTotalPhys;
uint64_t ullAvailPhys;
uint64_t ullTotalPageFile;
uint64_t ullAvailPag... | 529 | 19 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/struct/imagefileheader.internal.h | #ifndef COSMOPOLITAN_LIBC_NT_STRUCT_IMAGEFILEHEADER_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_IMAGEFILEHEADER_H_
#if !(__ASSEMBLER__ + __LINKER__ + 0)
struct NtImageFileHeader {
uint16_t Machine;
uint16_t NumberOfSections;
uint32_t TimeDateStamp;
uint32_t PointerToSymbolTable;
uint32_t NumberOfSymbols;
uint16... | 484 | 17 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/struct/criticalsectiondebug.h | #ifndef COSMOPOLITAN_LIBC_NT_STRUCT_CRITICALSECTIONDEBUG_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_CRITICALSECTIONDEBUG_H_
#include "libc/nt/struct/criticalsection.h"
#include "libc/nt/struct/linkedlist.h"
#if !(__ASSEMBLER__ + __LINKER__ + 0)
struct NtCriticalSectionDebug {
uint16_t Type;
uint16_t CreatorBackTraceIn... | 598 | 19 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/struct/imageboundimportdescriptor.internal.h | #ifndef COSMOPOLITAN_LIBC_NT_STRUCT_IMAGEBOUNDIMPORTDESCRIPTOR_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_IMAGEBOUNDIMPORTDESCRIPTOR_H_
#if !(__ASSEMBLER__ + __LINKER__ + 0)
struct NtImageBoundImportDescriptor {
uint32_t TimeDateStamp;
uint16_t OffsetModuleName;
uint16_t NumberOfModuleForwarderRefs;
};
#endif /* !(... | 426 | 13 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/struct/imageimportbyname.internal.h | #ifndef COSMOPOLITAN_LIBC_NT_STRUCT_IMAGEIMPORTBYNAME_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_IMAGEIMPORTBYNAME_H_
#if !(__ASSEMBLER__ + __LINKER__ + 0)
struct NtImageImportByName {
uint16_t Hint;
char Name[1];
};
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
#endif /* COSMOPOLITAN_LIBC_NT_STRUCT_IMAGEIMPORTBYNAM... | 328 | 12 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/struct/memoryrangeentry.h | #ifndef COSMOPOLITAN_LIBC_NT_STRUCT_MEMORYRANGEENTRY_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_MEMORYRANGEENTRY_H_
#if !(__ASSEMBLER__ + __LINKER__ + 0)
struct NtMemoryRangeEntry {
void *VirtualAddress;
size_t NumberOfBytes;
};
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
#endif /* COSMOPOLITAN_LIBC_NT_STRUCT_MEMO... | 339 | 12 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/struct/filezerodatainformation.h | #ifndef COSMOPOLITAN_LIBC_NT_STRUCT_FILEZERODATAINFORMATION_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_FILEZERODATAINFORMATION_H_
#if !(__ASSEMBLER__ + __LINKER__ + 0)
struct NtFileZeroDataInformation {
uint64_t FileOffset;
uint64_t BeyondFinalZero;
};
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
#endif /* COSMOPOL... | 370 | 12 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/struct/win32fileattributedata.h | #ifndef COSMOPOLITAN_LIBC_NT_STRUCT_WIN32FILEATTRIBUTEDATA_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_WIN32FILEATTRIBUTEDATA_H_
#include "libc/nt/struct/filetime.h"
#if !(__ASSEMBLER__ + __LINKER__ + 0)
struct NtWin32FileAttributeData {
uint32_t dwFileAttributes; /* âNtFileFlagAndAttributes */
struct NtFileTime ftCr... | 576 | 17 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/struct/memorybasicinformation.h | #ifndef COSMOPOLITAN_LIBC_NT_STRUCT_MEMORYBASICINFORMATION_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_MEMORYBASICINFORMATION_H_
#if !(__ASSEMBLER__ + __LINKER__ + 0)
struct NtMemoryBasicInformation {
void *BaseAddress;
void *AllocationBase;
uint32_t AllocationProtect;
uint64_t RegionSize;
uint32_t State;
uint3... | 468 | 17 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/struct/imageresourcedirstring.internal.h | #ifndef COSMOPOLITAN_LIBC_NT_STRUCT_IMAGERESOURCEDIRSTRING_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_IMAGERESOURCEDIRSTRING_H_
#if !(__ASSEMBLER__ + __LINKER__ + 0)
struct NtImageResourceDirString {
uint16_t Length;
char16_t NameString[1];
};
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
#endif /* COSMOPOLITAN_LIBC... | 360 | 12 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/struct/charinfo.h | #ifndef COSMOPOLITAN_LIBC_NT_STRUCT_CHARINFO_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_CHARINFO_H_
#if !(__ASSEMBLER__ + __LINKER__ + 0)
struct NtCharInfo {
union {
char16_t UnicodeChar;
char AsciiChar;
} Char;
uint16_t Attributes;
};
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
#endif /* COSMOPOLITAN_LI... | 348 | 15 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/struct/systemthreads.h | #ifndef COSMOPOLITAN_LIBC_NT_STRUCT_SYSTEMTHREADS_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_SYSTEMTHREADS_H_
#include "libc/nt/enum/kwaitreason.h"
#include "libc/nt/struct/clientid.h"
#if !(__ASSEMBLER__ + __LINKER__ + 0)
struct NtSystemThreads {
int64_t KernelTime;
int64_t UserTime;
int64_t CreateTime;
uint32_t ... | 602 | 23 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/struct/imageimportdescriptor.internal.h | #ifndef COSMOPOLITAN_LIBC_NT_STRUCT_IMAGEIMPORTDESCRIPTOR_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_IMAGEIMPORTDESCRIPTOR_H_
#if !(__ASSEMBLER__ + __LINKER__ + 0)
struct NtImageImportDescriptor {
union {
uint32_t Characteristics;
uint32_t OriginalFirstThunk;
};
uint32_t TimeDateStamp;
uint32_t ForwarderCh... | 482 | 18 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/struct/filenamesinformation.h | #ifndef COSMOPOLITAN_LIBC_NT_STRUCT_FILENAMESINFORMATION_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_FILENAMESINFORMATION_H_
#if !(__ASSEMBLER__ + __LINKER__ + 0)
struct NtFileNamesInformation {
uint32_t NextEntryOffset;
uint32_t FileIndex;
uint32_t FileNameLength;
char16_t FileName[1];
};
#endif /* !(__ASSEMBLER_... | 408 | 14 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/struct/objectnameinformation.h | #ifndef COSMOPOLITAN_LIBC_NT_STRUCT_OBJECTNAMEINFORMATION_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_OBJECTNAMEINFORMATION_H_
#include "libc/nt/struct/unicodestring.h"
#if !(__ASSEMBLER__ + __LINKER__ + 0)
struct NtObjectNameInformation {
struct NtUnicodeString Name;
};
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
#e... | 384 | 12 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/struct/startupinfo.h | #ifndef COSMOPOLITAN_LIBC_NT_STRUCT_STARTUPINFO_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_STARTUPINFO_H_
#if !(__ASSEMBLER__ + __LINKER__ + 0)
struct NtStartupInfo {
uint32_t cb /* = sizeof(struct NtStartupInfo) */;
uint16_t *lpReserved;
char16_t *lpDesktop;
char16_t *lpTitle; /* title of *new* console window onl... | 893 | 33 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/struct/genericmapping.h | #ifndef COSMOPOLITAN_LIBC_NT_GENERICMAPPING_H_
#define COSMOPOLITAN_LIBC_NT_GENERICMAPPING_H_
#if !(__ASSEMBLER__ + __LINKER__ + 0)
struct NtGenericMapping {
unsigned int GenericRead;
unsigned int GenericWrite;
unsigned int GenericExecute;
unsigned int GenericAll;
};
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0... | 377 | 14 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/struct/fileaccessinformation.h | #ifndef COSMOPOLITAN_LIBC_NT_STRUCT_FILEACCESSINFORMATION_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_FILEACCESSINFORMATION_H_
#if !(__ASSEMBLER__ + __LINKER__ + 0)
struct NtFileAccessInformation {
uint32_t AccessFlags;
};
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
#endif /* COSMOPOLITAN_LIBC_NT_STRUCT_FILEACCESSINF... | 335 | 11 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/struct/teb.h | #ifndef COSMOPOLITAN_LIBC_NT_TEB_H_
#define COSMOPOLITAN_LIBC_NT_TEB_H_
#include "libc/intrin/segmentation.h"
#include "libc/nt/struct/peb.h"
#if !(__ASSEMBLER__ + __LINKER__ + 0)
#if defined(__GNUC__) && !defined(__STRICT_ANSI__)
/*
* These macros address directly into NT's TEB a.k.a. TIB
* Any function that does t... | 1,265 | 29 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/struct/windowplacement.h | #ifndef COSMOPOLITAN_LIBC_NT_STRUCT_WINDOWPLACEMENT_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_WINDOWPLACEMENT_H_
#include "libc/nt/struct/point.h"
#include "libc/nt/struct/rect.h"
#if !(__ASSEMBLER__ + __LINKER__ + 0)
struct NtWindowPlacement {
uint32_t length;
uint32_t flags;
uint32_t showCmd;
struct NtPoint ptM... | 535 | 19 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/struct/objectallinformation.h | #ifndef COSMOPOLITAN_LIBC_NT_STRUCT_OBJECTALLINFORMATION_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_OBJECTALLINFORMATION_H_
#include "libc/nt/struct/objecttypeinformation.h"
#if !(__ASSEMBLER__ + __LINKER__ + 0)
struct NtObjectAllInformation {
uint32_t NumberOfObjects;
struct NtObjectTypeInformation ObjectTypeInformat... | 444 | 13 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/struct/imageresourcedirectoryentry.internal.h | #ifndef COSMOPOLITAN_LIBC_NT_STRUCT_IMAGERESOURCEDIRECTORYENTRY_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_IMAGERESOURCEDIRECTORYENTRY_H_
#if !(__ASSEMBLER__ + __LINKER__ + 0)
struct NtImageResourceDirectoryEntry {
/* TODO(jart): No bitfields. */
union {
struct {
uint32_t NameOffset : 31;
uint32_t Name... | 642 | 26 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/struct/systeminterruptinformation.h | #ifndef COSMOPOLITAN_LIBC_NT_STRUCT_SYSTEMINTERRUPTINFORMATION_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_SYSTEMINTERRUPTINFORMATION_H_
#if !(__ASSEMBLER__ + __LINKER__ + 0)
struct NtSystemInterruptInformation {
unsigned char Reserved1[24];
};
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
#endif /* COSMOPOLITAN_LIBC_N... | 362 | 11 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/struct/processentry32.h | #ifndef COSMOPOLITAN_LIBC_NT_STRUCT_PROCESSENTRY32_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_PROCESSENTRY32_H_
#if !(__ASSEMBLER__ + __LINKER__ + 0)
struct NtProcessEntry32 {
uint32_t dwSize;
uint32_t cntUsage; /* unused */
uint32_t th32ProcessID;
uint64_t th32DefaultHeapID; /* unused */
uint32_t th32ModuleID; ... | 588 | 20 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/struct/systemregistryquotainformation.h | #ifndef COSMOPOLITAN_LIBC_NT_STRUCT_SYSTEMREGISTRYQUOTAINFORMATION_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_SYSTEMREGISTRYQUOTAINFORMATION_H_
#if !(__ASSEMBLER__ + __LINKER__ + 0)
struct NtSystemRegistryQuotaInformation {
uint32_t RegistryQuotaAllowed;
uint32_t RegistryQuotaUsed;
void *Reserved1;
};
#endif /* !(_... | 429 | 13 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/struct/win32finddata.h | #ifndef COSMOPOLITAN_LIBC_NT_STRUCT_WIN32FINDDATA_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_WIN32FINDDATA_H_
#include "libc/nt/struct/filetime.h"
#if !(__ASSEMBLER__ + __LINKER__ + 0)
struct NtWin32FindData {
uint32_t dwFileAttributes;
struct NtFileTime ftCreationTime;
struct NtFileTime ftLastAccessTime;
struct N... | 691 | 24 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/struct/systemexceptioninformation.h | #ifndef COSMOPOLITAN_LIBC_NT_STRUCT_SYSTEMEXCEPTIONINFORMATION_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_SYSTEMEXCEPTIONINFORMATION_H_
#if !(__ASSEMBLER__ + __LINKER__ + 0)
struct NtSystemExceptionInformation {
unsigned char Reserved1[16];
};
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
#endif /* COSMOPOLITAN_LIBC_N... | 362 | 11 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/struct/systemhandleentry.h | #ifndef COSMOPOLITAN_LIBC_NT_STRUCT_SYSTEMHANDLEENTRY_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_SYSTEMHANDLEENTRY_H_
#if !(__ASSEMBLER__ + __LINKER__ + 0)
struct NtSystemHandleEntry {
uint32_t OwnerPid;
unsigned char ObjectType;
unsigned char HandleFlags;
unsigned short HandleValue;
void *ObjectPointer;
uint3... | 449 | 16 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/struct/imageauxsymboltokendef.internal.h | #ifndef COSMOPOLITAN_LIBC_NT_STRUCT_IMAGEAUXSYMBOLTOKENDEF_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_IMAGEAUXSYMBOLTOKENDEF_H_
#if !(__ASSEMBLER__ + __LINKER__ + 0)
struct NtImageAuxSymbolTokenDef {
uint8_t bAuxType;
uint8_t bReserved;
uint32_t SymbolTableIndex;
uint8_t rgbReserved[12];
};
#endif /* !(__ASSEMBLE... | 412 | 14 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/struct/imagelinenumber.internal.h | #ifndef COSMOPOLITAN_LIBC_NT_STRUCT_IMAGELINENUMBER_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_IMAGELINENUMBER_H_
#if !(__ASSEMBLER__ + __LINKER__ + 0)
struct NtImageLinenumber {
union {
uint32_t SymbolTableIndex;
uint32_t VirtualAddress;
} Type;
uint16_t Linenumber;
};
#endif /* !(__ASSEMBLER__ + __LINKER_... | 390 | 15 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/struct/imageboundforwarderref.internal.h | #ifndef COSMOPOLITAN_LIBC_NT_STRUCT_IMAGEBOUNDFORWARDERREF_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_IMAGEBOUNDFORWARDERREF_H_
#if !(__ASSEMBLER__ + __LINKER__ + 0)
struct NtImageBoundForwarderRef {
uint32_t TimeDateStamp;
uint16_t OffsetModuleName;
uint16_t Reserved;
};
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0)... | 391 | 13 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/struct/fdset.h | #ifndef COSMOPOLITAN_LIBC_NT_STRUCT_FDSET_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_FDSET_H_
#if !(__ASSEMBLER__ + __LINKER__ + 0)
COSMOPOLITAN_C_START_
struct NtFdSet {
uint32_t fd_count;
int64_t fd_array[64];
};
COSMOPOLITAN_C_END_
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
#endif /* COSMOPOLITAN_LIBC_NT_STRUC... | 334 | 14 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/struct/imagecoffsymbolsheader.internal.h | #ifndef COSMOPOLITAN_LIBC_NT_STRUCT_IMAGECOFFSYMBOLSHEADER_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_IMAGECOFFSYMBOLSHEADER_H_
#if !(__ASSEMBLER__ + __LINKER__ + 0)
struct NtImageCoffSymbolsHeader {
uint32_t NumberOfSymbols;
uint32_t LvaToFirstSymbol;
uint32_t NumberOfLinenumbers;
uint32_t LvaToFirstLinenumber;
... | 567 | 18 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/struct/filemailslotsetinformation.h | #ifndef COSMOPOLITAN_LIBC_NT_STRUCT_FILEMAILSLOTSETINFORMATION_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_FILEMAILSLOTSETINFORMATION_H_
#if !(__ASSEMBLER__ + __LINKER__ + 0)
struct NtFileMailslotSetInformation {
int64_t ReadTimeout;
};
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
#endif /* COSMOPOLITAN_LIBC_NT_STRUCT... | 354 | 11 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/struct/exceptionframe.h | #ifndef COSMOPOLITAN_LIBC_NT_STRUCT_EXCEPTIONFRAME_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_EXCEPTIONFRAME_H_
#if !(__ASSEMBLER__ + __LINKER__ + 0)
struct NtExceptionFrame {
struct NtExceptionFrame *Prev;
};
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
#endif /* COSMOPOLITAN_LIBC_NT_STRUCT_EXCEPTIONFRAME_H_ */
| 316 | 11 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/struct/filenameinformation.h | #ifndef COSMOPOLITAN_LIBC_NT_STRUCT_FILENAMEINFORMATION_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_FILENAMEINFORMATION_H_
#if !(__ASSEMBLER__ + __LINKER__ + 0)
struct NtFileNameInformation {
uint32_t FileNameLength;
char16_t FileName[1];
};
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
#endif /* COSMOPOLITAN_LIBC_NT... | 354 | 12 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/struct/fileallinformation.h | #ifndef COSMOPOLITAN_LIBC_NT_STRUCT_FILEALLINFORMATION_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_FILEALLINFORMATION_H_
#include "libc/nt/struct/fileaccessinformation.h"
#include "libc/nt/struct/filealignmentinformation.h"
#include "libc/nt/struct/filebasicinformation.h"
#include "libc/nt/struct/fileeainformation.h"
#inclu... | 1,217 | 28 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/struct/msg.h | #ifndef COSMOPOLITAN_LIBC_NT_STRUCT_MSG_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_MSG_H_
#include "libc/nt/struct/point.h"
#if !(__ASSEMBLER__ + __LINKER__ + 0)
struct NtMsg {
int64_t hwnd;
uint32_t message;
uint64_t wParam;
int64_t lParam;
uint32_t time;
struct NtPoint pt;
};
#endif /* !(__ASSEMBLER__ + __L... | 384 | 17 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/struct/imageruntimefunctionentry.internal.h | #ifndef COSMOPOLITAN_LIBC_NT_STRUCT_IMAGERUNTIMEFUNCTIONENTRY_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_IMAGERUNTIMEFUNCTIONENTRY_H_
#if !(__ASSEMBLER__ + __LINKER__ + 0)
struct NtImageRuntimeFunctionEntry {
uint32_t BeginAddress;
uint32_t EndAddress;
union {
uint32_t UnwindInfoAddress;
uint32_t UnwindData;... | 447 | 16 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/struct/tokenprivileges.h | #ifndef COSMOPOLITAN_LIBC_NT_STRUCT_TOKENPRIVILEGES_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_TOKENPRIVILEGES_H_
#include "libc/nt/struct/luidandattributes.h"
#if !(__ASSEMBLER__ + __LINKER__ + 0)
struct NtTokenPrivileges {
uint32_t PrivilegeCount;
struct NtLuidAndAttributes Privileges[1];
};
#endif /* !(__ASSEMBLER... | 404 | 13 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/struct/imageresourcedataentry.internal.h | #ifndef COSMOPOLITAN_LIBC_NT_STRUCT_IMAGERESOURCEDATAENTRY_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_IMAGERESOURCEDATAENTRY_H_
#if !(__ASSEMBLER__ + __LINKER__ + 0)
struct NtImageResourceDataEntry {
uint32_t OffsetToData;
uint32_t Size;
uint32_t CodePage;
uint32_t Reserved;
};
#endif /* !(__ASSEMBLER__ + __LINKE... | 399 | 14 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/struct/ldr.h | #ifndef COSMOPOLITAN_LIBC_NT_STRUCT_LDR_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_LDR_H_
#include "libc/nt/struct/linkedlist.h"
#if !(__ASSEMBLER__ + __LINKER__ + 0)
struct NtLdr {
uint32_t SizeOfThis; /* msdn:reserved */
uint32_t IsInitialized; /* msdn:reserved */
void *SsH... | 677 | 17 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/struct/point.h | #ifndef COSMOPOLITAN_LIBC_NT_STRUCT_POINT_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_POINT_H_
#if !(__ASSEMBLER__ + __LINKER__ + 0)
struct NtPoint {
int32_t x;
int32_t y;
};
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
#endif /* COSMOPOLITAN_LIBC_NT_STRUCT_POINT_H_ */
| 273 | 12 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/struct/imageepiloguedynamicrelocationheader.internal.h | #ifndef COSMOPOLITAN_LIBC_NT_STRUCT_IMAGEEPILOGUEDYNAMICRELOCATIONHEADER_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_IMAGEEPILOGUEDYNAMICRELOCATIONHEADER_H_
#if !(__ASSEMBLER__ + __LINKER__ + 0)
struct NtImageEpilogueDynamicRelocationHeader {
uint32_t EpilogueCount;
uint8_t EpilogueByteCount;
uint8_t BranchDescriptor... | 594 | 17 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/struct/iocounters.h | #ifndef COSMOPOLITAN_LIBC_NT_STRUCT_IOCOUNTERS_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_IOCOUNTERS_H_
#if !(__ASSEMBLER__ + __LINKER__ + 0)
struct NtIoCounters {
uint64_t ReadOperationCount;
uint64_t WriteOperationCount;
uint64_t OtherOperationCount;
uint64_t ReadTransferCount;
uint64_t WriteTransferCount;
u... | 454 | 16 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/struct/consoleselectioninfo.h | #ifndef COSMOPOLITAN_LIBC_NT_STRUCT_CONSOLESELECTIONINFO_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_CONSOLESELECTIONINFO_H_
#include "libc/nt/struct/coord.h"
#include "libc/nt/struct/smallrect.h"
#if !(__ASSEMBLER__ + __LINKER__ + 0)
struct NtConsoleSelectionInfo {
uint32_t dwFlags;
struct NtCoord dwSelectionAnchor;
... | 469 | 15 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/struct/fileeainformation.h | #ifndef COSMOPOLITAN_LIBC_NT_STRUCT_FILEEAINFORMATION_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_FILEEAINFORMATION_H_
#if !(__ASSEMBLER__ + __LINKER__ + 0)
struct NtFileEaInformation {
uint32_t EaSize;
};
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
#endif /* COSMOPOLITAN_LIBC_NT_STRUCT_FILEEAINFORMATION_H_ */
| 314 | 11 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/struct/linkedlist.h | #ifndef COSMOPOLITAN_LIBC_NT_STRUCT_LINKEDLIST_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_LINKEDLIST_H_
#if !(__ASSEMBLER__ + __LINKER__ + 0)
/**
* Dynamic linked list overlay.
*/
struct NtLinkedList {
struct NtLinkedList *Next;
struct NtLinkedList *Prev;
};
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
#endif /* ... | 365 | 15 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/struct/osversioninfo.h | #ifndef COSMOPOLITAN_LIBC_NT_STRUCT_OSVERSIONINFO_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_OSVERSIONINFO_H_
#if !(__ASSEMBLER__ + __LINKER__ + 0)
COSMOPOLITAN_C_START_
struct NtOsVersionInfo {
uint32_t dwOSVersionInfoSize;
uint32_t dwMajorVersion;
uint32_t dwMinorVersion;
uint32_t dwBuildNumber;
uint32_t dwPla... | 616 | 23 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/struct/imagetlsdirectory.internal.h | #ifndef COSMOPOLITAN_LIBC_NT_STRUCT_IMAGETLSDIRECTORY_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_IMAGETLSDIRECTORY_H_
#if !(__ASSEMBLER__ + __LINKER__ + 0)
struct NtImageTlsDirectory {
uint64_t StartAddressOfRawData;
uint64_t EndAddressOfRawData;
uint64_t AddressOfIndex;
uint64_t AddressOfCallBacks;
uint32_t Siz... | 474 | 16 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/struct/coord.h | #ifndef COSMOPOLITAN_LIBC_NT_ENUM_COORD_H_
#define COSMOPOLITAN_LIBC_NT_ENUM_COORD_H_
#if !(__ASSEMBLER__ + __LINKER__ + 0)
struct NtCoord {
int16_t X;
int16_t Y;
};
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_COORD_H_ */
| 267 | 12 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/struct/filecompressioninfo.h | #ifndef COSMOPOLITAN_LIBC_NT_STRUCT_FILECOMPRESSIONINFO_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_FILECOMPRESSIONINFO_H_
#if !(__ASSEMBLER__ + __LINKER__ + 0)
struct NtFileCompressionInfo {
int64_t CompressedFileSize;
uint16_t CompressionFormat;
uint8_t CompressionUnitShift;
uint8_t ChunkShift;
uint8_t ClusterS... | 464 | 16 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/struct/filedispositioninformation.h | #ifndef COSMOPOLITAN_LIBC_NT_STRUCT_FILEDISPOSITIONINFORMATION_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_FILEDISPOSITIONINFORMATION_H_
#if !(__ASSEMBLER__ + __LINKER__ + 0)
struct NtFileDispositionInformation {
bool32 DoDeleteFile;
};
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
#endif /* COSMOPOLITAN_LIBC_NT_STRUCT... | 354 | 11 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/struct/imageexportdirectory.internal.h | #ifndef COSMOPOLITAN_LIBC_NT_STRUCT_IMAGEEXPORTDIRECTORY_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_IMAGEEXPORTDIRECTORY_H_
#if !(__ASSEMBLER__ + __LINKER__ + 0)
struct NtImageExportDirectory {
uint32_t Characteristics;
uint32_t TimeDateStamp;
uint16_t MajorVersion;
uint16_t MinorVersion;
uint32_t Name;
uint32... | 593 | 21 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/struct/filemodeinformation.h | #ifndef COSMOPOLITAN_LIBC_NT_STRUCT_FILEMODEINFORMATION_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_FILEMODEINFORMATION_H_
#if !(__ASSEMBLER__ + __LINKER__ + 0)
struct NtFileModeInformation {
uint32_t Mode;
};
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
#endif /* COSMOPOLITAN_LIBC_NT_STRUCT_FILEMODEINFORMATION_H_ */
| 320 | 11 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/struct/filefsfullsizeinformation.h | #ifndef COSMOPOLITAN_LIBC_NT_STRUCT_FILEFSFULLSIZEINFORMATION_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_FILEFSFULLSIZEINFORMATION_H_
#if !(__ASSEMBLER__ + __LINKER__ + 0)
COSMOPOLITAN_C_START_
struct NtFileFsFullSizeInformation {
int64_t TotalAllocationUnits;
int64_t CallerAvailableAllocationUnits;
int64_t ActualAv... | 549 | 17 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/struct/fileattributetaginformation.h | #ifndef COSMOPOLITAN_LIBC_NT_STRUCT_FILEATTRIBUTETAGINFORMATION_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_FILEATTRIBUTETAGINFORMATION_H_
#if !(__ASSEMBLER__ + __LINKER__ + 0)
struct NtFileAttributeTagInformation {
uint32_t FileAttributes;
uint32_t ReparseTag;
};
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
#endif ... | 385 | 12 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/struct/imagedosheader.internal.h | #ifndef COSMOPOLITAN_LIBC_NT_STRUCT_IMAGEDOSHEADER_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_IMAGEDOSHEADER_H_
#if !(__ASSEMBLER__ + __LINKER__ + 0)
struct NtImageDosHeader {
uint16_t e_magic;
uint16_t e_cblp;
uint16_t e_cp;
uint16_t e_crlc;
uint16_t e_cparhdr;
uint16_t e_minalloc;
uint16_t e_maxalloc;
ui... | 660 | 29 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/struct/paintstruct.h | #ifndef COSMOPOLITAN_LIBC_NT_STRUCT_PAINTSTRUCT_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_PAINTSTRUCT_H_
#include "libc/nt/struct/rect.h"
#if !(__ASSEMBLER__ + __LINKER__ + 0)
struct NtPaintStruct {
int64_t hdc;
bool32 fErase;
struct NtRect rcPaint;
bool32 fRestore;
bool32 fIncUpdate;
uint8_t rgbReserved[32];... | 428 | 17 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/struct/imageauxsymbolex.internal.h | #ifndef COSMOPOLITAN_LIBC_NT_STRUCT_IMAGEAUXSYMBOLEX_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_IMAGEAUXSYMBOLEX_H_
#include "libc/nt/struct/imageauxsymboltokendef.internal.h"
#include "libc/nt/struct/imagesymbolex.internal.h"
#if !(__ASSEMBLER__ + __LINKER__ + 0)
union NtImageAuxSymbolEx {
struct {
uint32_t WeakDef... | 997 | 39 | jart/cosmopolitan | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.