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/pdh/PdhLookupPerfIndexByNameW.S | #include "libc/nt/codegen.h"
.imp pdh,__imp_PdhLookupPerfIndexByNameW,PdhLookupPerfIndexByNameW,0
| 98 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/pdh/PdhCollectQueryDataWithTime.S | #include "libc/nt/codegen.h"
.imp pdh,__imp_PdhCollectQueryDataWithTime,PdhCollectQueryDataWithTime,0
| 102 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/pdh/PerfQueryCounterSetRegistrationInfo.S | #include "libc/nt/codegen.h"
.imp pdh,__imp_PerfQueryCounterSetRegistrationInfo,PerfQueryCounterSetRegistrationInfo,0
| 118 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/pdh/CounterPathCallBack.S | #include "libc/nt/codegen.h"
.imp pdh,__imp_CounterPathCallBack,CounterPathCallBack,0
| 86 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/pdh/PdhOpenQueryW.S | #include "libc/nt/codegen.h"
.imp pdh,__imp_PdhOpenQueryW,PdhOpenQueryW,0
.text.windows
PdhOpenQuery:
#ifdef __x86_64__
push %rbp
mov %rsp,%rbp
.profilable
mov __imp_PdhOpenQueryW(%rip),%rax
jmp __sysv2nt
#elif defined(__aarch64__)
mov x0,#0
ret
#endif
.endfn PdhOpenQuery,globl
.previous
| 300 | 18 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/pdh/PdhCloseLog.S | #include "libc/nt/codegen.h"
.imp pdh,__imp_PdhCloseLog,PdhCloseLog,0
| 70 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/pdh/PdhCollectQueryDataEx.S | #include "libc/nt/codegen.h"
.imp pdh,__imp_PdhCollectQueryDataEx,PdhCollectQueryDataEx,0
.text.windows
PdhCollectQueryDataEx:
#ifdef __x86_64__
push %rbp
mov %rsp,%rbp
.profilable
mov __imp_PdhCollectQueryDataEx(%rip),%rax
jmp __sysv2nt
#elif defined(__aarch64__)
mov x0,#0
ret
#endif
.endfn PdhCollectQueryDa... | 342 | 18 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/pdh/PdhEnumLogSetNamesW.S | #include "libc/nt/codegen.h"
.imp pdh,__imp_PdhEnumLogSetNamesW,PdhEnumLogSetNamesW,0
| 86 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/pdh/PdhOpenLogW.S | #include "libc/nt/codegen.h"
.imp pdh,__imp_PdhOpenLogW,PdhOpenLogW,0
| 70 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/pdh/PdhIsRealTimeQuery.S | #include "libc/nt/codegen.h"
.imp pdh,__imp_PdhIsRealTimeQuery,PdhIsRealTimeQuery,0
| 84 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/pdh/PerfDeleteInstance.S | #include "libc/nt/codegen.h"
.imp pdh,__imp_PerfDeleteInstance,PerfDeleteInstance,0
| 84 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/pdh/PdhGetDllVersion.S | #include "libc/nt/codegen.h"
.imp pdh,__imp_PdhGetDllVersion,PdhGetDllVersion,0
| 80 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/pdh/PerfDeleteCounters.S | #include "libc/nt/codegen.h"
.imp pdh,__imp_PerfDeleteCounters,PerfDeleteCounters,0
| 84 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/pdh/PdhEnumMachinesW.S | #include "libc/nt/codegen.h"
.imp pdh,__imp_PdhEnumMachinesW,PdhEnumMachinesW,0
| 80 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/pdh/PdhFormatFromRawValue.S | #include "libc/nt/codegen.h"
.imp pdh,__imp_PdhFormatFromRawValue,PdhFormatFromRawValue,0
| 90 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/pdh/PdhBrowseCountersHW.S | #include "libc/nt/codegen.h"
.imp pdh,__imp_PdhBrowseCountersHW,PdhBrowseCountersHW,0
| 86 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/pdh/PdhGetLogFileSize.S | #include "libc/nt/codegen.h"
.imp pdh,__imp_PdhGetLogFileSize,PdhGetLogFileSize,0
| 82 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/pdh/PdhGetDefaultPerfObjectW.S | #include "libc/nt/codegen.h"
.imp pdh,__imp_PdhGetDefaultPerfObjectW,PdhGetDefaultPerfObjectW,0
| 96 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/pdh/PerfSetULongCounterValue.S | #include "libc/nt/codegen.h"
.imp pdh,__imp_PerfSetULongCounterValue,PerfSetULongCounterValue,0
| 96 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/pdh/PdhValidatePathW.S | #include "libc/nt/codegen.h"
.imp pdh,__imp_PdhValidatePathW,PdhValidatePathW,0
| 80 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/pdh/PdhEnumObjectsW.S | #include "libc/nt/codegen.h"
.imp pdh,__imp_PdhEnumObjectsW,PdhEnumObjectsW,0
| 78 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/pdh/PdhComputeCounterStatistics.S | #include "libc/nt/codegen.h"
.imp pdh,__imp_PdhComputeCounterStatistics,PdhComputeCounterStatistics,0
| 102 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/pdh/PerfDecrementULongCounterValue.S | #include "libc/nt/codegen.h"
.imp pdh,__imp_PerfDecrementULongCounterValue,PerfDecrementULongCounterValue,0
| 108 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/pdh/PdhParseCounterPathW.S | #include "libc/nt/codegen.h"
.imp pdh,__imp_PdhParseCounterPathW,PdhParseCounterPathW,0
| 88 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/pdh/PdhAddCounterW.S | #include "libc/nt/codegen.h"
.imp pdh,__imp_PdhAddCounterW,PdhAddCounterW,0
| 76 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/pdh/PerfEnumerateCounterSet.S | #include "libc/nt/codegen.h"
.imp pdh,__imp_PerfEnumerateCounterSet,PerfEnumerateCounterSet,0
| 94 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/pdh/PerfOpenQueryHandle.S | #include "libc/nt/codegen.h"
.imp pdh,__imp_PerfOpenQueryHandle,PerfOpenQueryHandle,0
| 86 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/pdh/PdhGetDefaultPerfObjectHW.S | #include "libc/nt/codegen.h"
.imp pdh,__imp_PdhGetDefaultPerfObjectHW,PdhGetDefaultPerfObjectHW,0
| 98 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/pdh/PerfCloseQueryHandle.S | #include "libc/nt/codegen.h"
.imp pdh,__imp_PerfCloseQueryHandle,PerfCloseQueryHandle,0
| 88 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/pdh/PdhEnumObjectItemsW.S | #include "libc/nt/codegen.h"
.imp pdh,__imp_PdhEnumObjectItemsW,PdhEnumObjectItemsW,0
| 86 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/pdh/PdhBindInputDataSourceW.S | #include "libc/nt/codegen.h"
.imp pdh,__imp_PdhBindInputDataSourceW,PdhBindInputDataSourceW,0
| 94 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/pdh/PdhReadRawLogRecord.S | #include "libc/nt/codegen.h"
.imp pdh,__imp_PdhReadRawLogRecord,PdhReadRawLogRecord,0
| 86 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/pdh/PdhLookupPerfNameByIndexW.S | #include "libc/nt/codegen.h"
.imp pdh,__imp_PdhLookupPerfNameByIndexW,PdhLookupPerfNameByIndexW,0
| 98 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/pdh/PdhSetCounterScaleFactor.S | #include "libc/nt/codegen.h"
.imp pdh,__imp_PdhSetCounterScaleFactor,PdhSetCounterScaleFactor,0
| 96 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/pdh/PdhEnumMachinesHW.S | #include "libc/nt/codegen.h"
.imp pdh,__imp_PdhEnumMachinesHW,PdhEnumMachinesHW,0
| 82 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/pdh/LoadPerfCounterTextStringsW.S | #include "libc/nt/codegen.h"
.imp pdh,__imp_LoadPerfCounterTextStringsW,LoadPerfCounterTextStringsW,0
| 102 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/pdh/PdhSetQueryTimeRange.S | #include "libc/nt/codegen.h"
.imp pdh,__imp_PdhSetQueryTimeRange,PdhSetQueryTimeRange,0
| 88 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/pdh/PdhExpandWildCardPathW.S | #include "libc/nt/codegen.h"
.imp pdh,__imp_PdhExpandWildCardPathW,PdhExpandWildCardPathW,0
| 92 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/pdh/PdhParseInstanceNameW.S | #include "libc/nt/codegen.h"
.imp pdh,__imp_PdhParseInstanceNameW,PdhParseInstanceNameW,0
| 90 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/pdh/PdhGetFormattedCounterValue.S | #include "libc/nt/codegen.h"
.imp pdh,__imp_PdhGetFormattedCounterValue,PdhGetFormattedCounterValue,0
.text.windows
PdhGetFormattedCounterValue:
#ifdef __x86_64__
push %rbp
mov %rsp,%rbp
.profilable
mov __imp_PdhGetFormattedCounterValue(%rip),%rax
jmp __sysv2nt
#elif defined(__aarch64__)
mov x0,#0
ret
#endif
... | 372 | 18 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/pdh/PerfStartProviderEx.S | #include "libc/nt/codegen.h"
.imp pdh,__imp_PerfStartProviderEx,PerfStartProviderEx,0
| 86 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/pdh/PdhExpandWildCardPathHW.S | #include "libc/nt/codegen.h"
.imp pdh,__imp_PdhExpandWildCardPathHW,PdhExpandWildCardPathHW,0
| 94 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/pdh/PerfCreateInstance.S | #include "libc/nt/codegen.h"
.imp pdh,__imp_PerfCreateInstance,PerfCreateInstance,0
| 84 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/pdh/PdhSetDefaultRealTimeDataSource.S | #include "libc/nt/codegen.h"
.imp pdh,__imp_PdhSetDefaultRealTimeDataSource,PdhSetDefaultRealTimeDataSource,0
| 110 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/pdh/PdhGetFormattedCounterArrayW.S | #include "libc/nt/codegen.h"
.imp pdh,__imp_PdhGetFormattedCounterArrayW,PdhGetFormattedCounterArrayW,0
| 104 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/pdh/PdhGetDefaultPerfCounterW.S | #include "libc/nt/codegen.h"
.imp pdh,__imp_PdhGetDefaultPerfCounterW,PdhGetDefaultPerfCounterW,0
| 98 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/pdh/PdhCollectQueryData.S | #include "libc/nt/codegen.h"
.imp pdh,__imp_PdhCollectQueryData,PdhCollectQueryData,0
| 86 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/pdh/PdhBrowseCountersW.S | #include "libc/nt/codegen.h"
.imp pdh,__imp_PdhBrowseCountersW,PdhBrowseCountersW,0
| 84 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/pdh/PdhOpenQueryH.S | #include "libc/nt/codegen.h"
.imp pdh,__imp_PdhOpenQueryH,PdhOpenQueryH,0
| 74 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/pdh/PdhAddEnglishCounterW.S | #include "libc/nt/codegen.h"
.imp pdh,__imp_PdhAddEnglishCounterW,PdhAddEnglishCounterW,0
.text.windows
PdhAddEnglishCounter:
#ifdef __x86_64__
push %rbp
mov %rsp,%rbp
.profilable
mov __imp_PdhAddEnglishCounterW(%rip),%rax
jmp __sysv2nt
#elif defined(__aarch64__)
mov x0,#0
ret
#endif
.endfn PdhAddEnglishCount... | 340 | 18 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/pdh/PdhEnumObjectItemsHW.S | #include "libc/nt/codegen.h"
.imp pdh,__imp_PdhEnumObjectItemsHW,PdhEnumObjectItemsHW,0
| 88 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/pdh/PdhMakeCounterPathW.S | #include "libc/nt/codegen.h"
.imp pdh,__imp_PdhMakeCounterPathW,PdhMakeCounterPathW,0
| 86 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/pdh/PerfDecrementULongLongCounterValue.S | #include "libc/nt/codegen.h"
.imp pdh,__imp_PerfDecrementULongLongCounterValue,PerfDecrementULongLongCounterValue,0
| 116 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/pdh/PdhGetDataSourceTimeRangeH.S | #include "libc/nt/codegen.h"
.imp pdh,__imp_PdhGetDataSourceTimeRangeH,PdhGetDataSourceTimeRangeH,0
| 100 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/pdh/PerfStopProvider.S | #include "libc/nt/codegen.h"
.imp pdh,__imp_PerfStopProvider,PerfStopProvider,0
| 80 | 3 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/nt/thread.h | #ifndef COSMOPOLITAN_LIBC_NT_NT_THREAD_H_
#define COSMOPOLITAN_LIBC_NT_NT_THREAD_H_
#include "libc/nt/enum/status.h"
#include "libc/nt/enum/threadinfoclass.h"
#if !(__ASSEMBLER__ + __LINKER__ + 0)
COSMOPOLITAN_C_START_
/* ââââ
ââââââââââââ... | 5,742 | 78 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/nt/ipc.h | #ifndef COSMOPOLITAN_LIBC_NT_NT_IPC_H_
#define COSMOPOLITAN_LIBC_NT_NT_IPC_H_
#include "libc/nt/enum/status.h"
#if !(__ASSEMBLER__ + __LINKER__ + 0)
COSMOPOLITAN_C_START_
/* ââââ
âââââââââââââââââ
âââ... | 4,532 | 51 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/nt/signing.h | #ifndef COSMOPOLITAN_LIBC_NT_NT_SIGNING_H_
#define COSMOPOLITAN_LIBC_NT_NT_SIGNING_H_
#include "libc/nt/enum/status.h"
#if !(__ASSEMBLER__ + __LINKER__ + 0)
COSMOPOLITAN_C_START_
/* ââââ
âââââââââââââââââ
â... | 3,962 | 41 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/nt/memory.h | #ifndef COSMOPOLITAN_LIBC_NT_NT_MEMORY_H_
#define COSMOPOLITAN_LIBC_NT_NT_MEMORY_H_
#include "libc/nt/enum/memoryinformationclass.h"
#include "libc/nt/enum/status.h"
#if !(__ASSEMBLER__ + __LINKER__ + 0)
COSMOPOLITAN_C_START_
/* ââââ
ââââââââââ... | 5,098 | 58 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/nt/process.h | #ifndef COSMOPOLITAN_LIBC_NT_NT_PROCESS_H_
#define COSMOPOLITAN_LIBC_NT_NT_PROCESS_H_
#include "libc/nt/enum/status.h"
#include "libc/nt/thunk/msabi.h"
#if !(__ASSEMBLER__ + __LINKER__ + 0)
COSMOPOLITAN_C_START_
/* ââââ
ââââââââââââââ... | 6,064 | 86 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/nt/debug.h | #ifndef COSMOPOLITAN_LIBC_NT_NT_DEBUG_H_
#define COSMOPOLITAN_LIBC_NT_NT_DEBUG_H_
#include "libc/nt/enum/status.h"
#include "libc/nt/struct/context.h"
#if !(__ASSEMBLER__ + __LINKER__ + 0)
COSMOPOLITAN_C_START_
/* ââââ
âââââââââââââââ... | 3,932 | 41 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/nt/sections.h | #ifndef COSMOPOLITAN_LIBC_NT_NT_SECTIONS_H_
#define COSMOPOLITAN_LIBC_NT_NT_SECTIONS_H_
#include "libc/nt/enum/status.h"
#include "libc/nt/struct/objectattributes.h"
#if !(__ASSEMBLER__ + __LINKER__ + 0)
COSMOPOLITAN_C_START_
NtStatus NtCreateSection(int64_t *out_SectionHandle, uint32_t DesiredAccess,
... | 1,467 | 28 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/nt/key.h | #ifndef COSMOPOLITAN_LIBC_NT_NT_EVENT_H_
#define COSMOPOLITAN_LIBC_NT_NT_EVENT_H_
#include "libc/nt/enum/status.h"
#include "libc/nt/struct/objectattributes.h"
#if !(__ASSEMBLER__ + __LINKER__ + 0)
COSMOPOLITAN_C_START_
/* ââââ
ââââââââââââ... | 4,347 | 49 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/nt/file.h | #ifndef COSMOPOLITAN_LIBC_NT_NT_FILE_H_
#define COSMOPOLITAN_LIBC_NT_NT_FILE_H_
#include "libc/nt/enum/fileinformationclass.h"
#include "libc/nt/enum/status.h"
#include "libc/nt/struct/iostatusblock.h"
#include "libc/nt/thunk/msabi.h"
#include "libc/nt/typedef/ioapcroutine.h"
#if !(__ASSEMBLER__ + __LINKER__ + 0)
COSMO... | 6,720 | 99 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/nt/loader.h | #ifndef COSMOPOLITAN_LIBC_NT_NT_LOADER_H_
#define COSMOPOLITAN_LIBC_NT_NT_LOADER_H_
#include "libc/nt/enum/status.h"
#include "libc/nt/typedef/wambda.h"
#if !(__ASSEMBLER__ + __LINKER__ + 0)
COSMOPOLITAN_C_START_
/* ââââ
ââââââââââââââ... | 4,599 | 55 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/nt/time.h | #ifndef COSMOPOLITAN_LIBC_NT_NT_THREAD_H_
#define COSMOPOLITAN_LIBC_NT_NT_THREAD_H_
#include "libc/nt/enum/status.h"
#include "libc/nt/thunk/msabi.h"
#if !(__ASSEMBLER__ + __LINKER__ + 0)
COSMOPOLITAN_C_START_
/* ââââ
âââââââââââââââ... | 4,052 | 44 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/nt/thunk/time.inc | #define NtDelayExecution(...) __imp_NtDelayExecution(__VA_ARGS__)
extern typeof(NtDelayExecution) *const __imp_NtDelayExecution __msabi;
| 138 | 4 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/nt/thunk/process.inc | #define NtQueryInformationProcess(...) \
__imp_NtQueryInformationProcess(__VA_ARGS__)
extern typeof(NtQueryInformationProcess) *const
__imp_NtQueryInformationProcess __msabi;
| 182 | 6 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/enum/errormodeflags.h | #ifndef COSMOPOLITAN_LIBC_NT_ENUM_ERRORMODEFLAGS_H_
#define COSMOPOLITAN_LIBC_NT_ENUM_ERRORMODEFLAGS_H_
#define kNtErrorModeDefault 0x0
#define kNtSemFailcriticalerrors 0x1
#define kNtSemNogpfaulterrorbox 0x2
#define kNtSemNoopenfileerrorbox 0x8000
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_ERRORMODEFLAGS_H_ */
| 314 | 10 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/enum/sectioninherit.h | #ifndef COSMOPOLITAN_LIBC_NT_ENUM_SECTIONINHERIT_H_
#define COSMOPOLITAN_LIBC_NT_ENUM_SECTIONINHERIT_H_
#if !(__ASSEMBLER__ + __LINKER__ + 0)
enum NtSectionInherit { kNtViewShare = 1, kNtViewUnmap = 2 };
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_SECTIONINHERIT_H_ */
| 310 | 9 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/enum/sc.h | #ifndef COSMOPOLITAN_LIBC_NT_ENUM_SC_H_
#define COSMOPOLITAN_LIBC_NT_ENUM_SC_H_
#define kNtScSize 0xF000
#define kNtScMove 0xF010
#define kNtScMinimize 0xF020
#define kNtScMaximize 0xF030
#define kNtScNextwindow 0xF040
#define kNtScPrevwindow 0xF050
#define kNtScClose 0xF060
#define ... | 787 | 26 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/enum/lockfile.h | #ifndef COSMOPOLITAN_LIBC_NT_ENUM_LOCKFILE_H_
#define COSMOPOLITAN_LIBC_NT_ENUM_LOCKFILE_H_
#define kNtLockfileFailImmediately 1
#define kNtLockfileExclusiveLock 2
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_LOCKFILE_H_ */
| 219 | 8 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/enum/version.h | #ifndef COSMOPOLITAN_LIBC_NT_ENUM_VERSION_H_
#define COSMOPOLITAN_LIBC_NT_ENUM_VERSION_H_
#if !(__ASSEMBLER__ + __LINKER__ + 0)
/**
* Known versions of the New Technology executive.
* @see IsAtLeastWindows10()
* @see NtGetVersion()
*/
#define kNtVersionWindows10 0x0a00
#define kNtVersionWindows81 0x0603
#def... | 771 | 22 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/enum/ioctl.h | #ifndef COSMOPOLITAN_LIBC_NT_ENUM_IOCTL_H_
#define COSMOPOLITAN_LIBC_NT_ENUM_IOCTL_H_
#define kNtIoctlDiskGetDriveGeometry 0x00070000u
#define kNtIoctlAfdPoll 0x00012024u
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_IOCTL_H_ */
| 234 | 8 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/enum/filemapflags.h | #ifndef COSMOPOLITAN_LIBC_NT_ENUM_FILEMAPFLAGS_H_
#define COSMOPOLITAN_LIBC_NT_ENUM_FILEMAPFLAGS_H_
#define kNtFileMapCopy 0x00000001u
#define kNtFileMapWrite 0x00000002u
#define kNtFileMapRead 0x00000004u
#define kNtFileMapExecute 0x00000020u
#define kNtFileMapReserve 0x8000... | 472 | 13 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/enum/wsa.h | #ifndef COSMOPOLITAN_LIBC_NT_ENUM_WSA_H_
#define COSMOPOLITAN_LIBC_NT_ENUM_WSA_H_
#include "libc/nt/errors.h"
#define kNtWsaInvalidHandle kNtErrorInvalidHandle
#define kNtWsaNotEnoughMemory kNtErrorNotEnoughMemory
#define kNtWsaInvalidParameter kNtErrorInvalidParameter
#define kNtWsaIoPending kNtErrorIoPend... | 479 | 13 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/enum/keyinformationclass.h | #ifndef COSMOPOLITAN_LIBC_NT_ENUM_KEYINFORMATIONCLASS_H_
#define COSMOPOLITAN_LIBC_NT_ENUM_KEYINFORMATIONCLASS_H_
#define kNtKeyBasicInformation 0
#define kNtKeyNodeInformation 1
#define kNtKeyFullInformation 2
#define kNtKeyNameInformation 3
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_KEYINFORMATIONCLASS_H_ */
| 310 | 10 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/enum/wm.h | #ifndef COSMOPOLITAN_LIBC_NT_ENUM_WM_H_
#define COSMOPOLITAN_LIBC_NT_ENUM_WM_H_
#define kNtWmNull 0x0000
#define kNtWmCreate 0x0001
#define kNtWmDestroy 0x0002
#define kNtWmMove 0x0003
#define kNtWmSize 0x0005
#define kNtWmActivate ... | 7,878 | 186 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/enum/pdh.h | #ifndef COSMOPOLITAN_LIBC_NT_ENUM_PDH_H_
#define COSMOPOLITAN_LIBC_NT_ENUM_PDH_H_
#define kNtPdhFmtRaw 0x00000010u
#define kNtPdhFmtAnsi 0x00000020u
#define kNtPdhFmtUnicode 0x00000040u
#define kNtPdhFmtLong 0x00000100u
#define kNtPdhFmtDouble 0x00000200u
#define kNtPdhFmtLarge ... | 634 | 18 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/enum/ctrlevent.h | #ifndef COSMOPOLITAN_LIBC_NT_ENUM_CTRLEVENT_H_
#define COSMOPOLITAN_LIBC_NT_ENUM_CTRLEVENT_H_
#define kNtCtrlCEvent 0 /* SIGINT */
#define kNtCtrlBreakEvent 1 /* SIGQUIT */
#define kNtCtrlCloseEvent 2 /* SIGHUP */
#define kNtCtrlLogoffEvent 5 /* SIGTERM */
#define kNtCtrlShutdownEvent 6
#endif /* COSMOPOLITAN_... | 349 | 11 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/enum/keyedevent.h | #ifndef COSMOPOLITAN_LIBC_NT_ENUM_KEYEDEVENT_H_
#define COSMOPOLITAN_LIBC_NT_ENUM_KEYEDEVENT_H_
#include "libc/nt/enum/accessmask.h"
#define kNtKeyedeventWait 0x00000001u
#define kNtKeyedeventWake 0x00000002u
#define kNtKeyedeventAllAccess \
(kNtStandardRightsRequired | kNtKeyedeventWait | kNtKeyedeventWake)
#endif... | 367 | 11 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/enum/memflags.h | #ifndef COSMOPOLITAN_LIBC_NT_ENUM_MEMFLAGS_H_
#define COSMOPOLITAN_LIBC_NT_ENUM_MEMFLAGS_H_
#define kNtMemCommit 0x1000 /* perform physical memory reservation step */
#define kNtMemReserve 0x2000 /* perform virtual memory reservation step */
#define kNtMemDecommit 0x4000
#define kNtMemRelease 0x8000
#defin... | 707 | 20 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/enum/filetype.h | #ifndef COSMOPOLITAN_LIBC_NT_ENUM_FILETYPE_H_
#define COSMOPOLITAN_LIBC_NT_ENUM_FILETYPE_H_
#define kNtFileTypeUnknown 0x0000
#define kNtFileTypeDisk 0x0001 /* @see S_ISBLK() */
#define kNtFileTypeChar 0x0002 /* @see S_ISCHR() */
#define kNtFileTypePipe 0x0003 /* @see S_ISFIFO() */
#define kNtFileTypeRemote ... | 398 | 11 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/enum/ht.h | #ifndef COSMOPOLITAN_LIBC_NT_ENUM_HT_H_
#define COSMOPOLITAN_LIBC_NT_ENUM_HT_H_
#define kNtHterror -2
#define kNtHttransparent -1
#define kNtHtnowhere 0
#define kNtHtclient 1
#define kNtHtcaption 2
#define kNtHtsysmenu 3
#define kNtHtgrowbox 4
#define kNtHtsize kNtHtgrowbox
#define kN... | 984 | 35 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/enum/startf.h | #ifndef COSMOPOLITAN_LIBC_NT_ENUM_STARTF_H_
#define COSMOPOLITAN_LIBC_NT_ENUM_STARTF_H_
#define kNtStartfUseshowwindow 0x00000001 /* otherwise wShowWindow ignored */
#define kNtStartfUsesize 0x00000002 /* otherwise dwX / dwY ignored */
#define kNtStartfUseposition 0x00000004 /* otherwise dwX/YSize ignored */
#... | 919 | 20 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/enum/imageauxsymboltype.h | #ifndef COSMOPOLITAN_LIBC_NT_ENUM_IMAGEAUXSYMBOLTYPE_H_
#define COSMOPOLITAN_LIBC_NT_ENUM_IMAGEAUXSYMBOLTYPE_H_
#define kNtImageAuxSymbolTypeTokenDef 1
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_IMAGEAUXSYMBOLTYPE_H_ */
| 215 | 7 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/enum/progress.h | #ifndef COSMOPOLITAN_LIBC_NT_ENUM_PROGRESS_H_
#define COSMOPOLITAN_LIBC_NT_ENUM_PROGRESS_H_
#define kNtProgressContinue 0
#define kNtProgressCancel 1
#define kNtProgressStop 2
#define kNtProgressQuiet 3
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_PROGRESS_H_ */
| 265 | 10 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/enum/fileinfobyhandleclass.h | #ifndef COSMOPOLITAN_LIBC_NT_ENUM_FILEINFOBYHANDLECLASS_H_
#define COSMOPOLITAN_LIBC_NT_ENUM_FILEINFOBYHANDLECLASS_H_
#if !(__ASSEMBLER__ + __LINKER__ + 0)
#define kNtFileBasicInfo 0 /* struct NtFileBasicInformation */
#define kNtFileStandardInfo 1 /* struct NtFileStandardInformation */
#define kNtFileNameI... | 1,543 | 32 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/enum/event.h | #ifndef COSMOPOLITAN_LIBC_NT_ENUM_EVENT_H_
#define COSMOPOLITAN_LIBC_NT_ENUM_EVENT_H_
#define kNtEventSystemSound 0x0001
#define kNtEventSystemAlert 0x0002
#define kNtEventSystemForeground 0x0003
#define kNtEventSystemMenustart 0x0004
#define kNtEventSystemMenuend 0x0005
#de... | 2,418 | 57 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/enum/consolemodeflags.h | #ifndef COSMOPOLITAN_LIBC_NT_ENUM_CONSOLEMODEFLAGS_H_
#define COSMOPOLITAN_LIBC_NT_ENUM_CONSOLEMODEFLAGS_H_
/* input mode */
#define kNtEnableProcessedInput 0x0001u
#define kNtEnableLineInput 0x0002u
#define kNtEnableEchoInput 0x0004u
#define kNtEnableWindowInput 0x0008u
#define kNtEnableMouseInput 0x0010u
#define kNt... | 805 | 24 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/enum/eventtype.h | #ifndef COSMOPOLITAN_LIBC_NT_ENUM_EVENTTYPE_H_
#define COSMOPOLITAN_LIBC_NT_ENUM_EVENTTYPE_H_
#define kNtNotificationEvent 0
#define kNtSynchronizationEvent 1
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_EVENTTYPE_H_ */
| 216 | 8 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/enum/accessmask.h | #ifndef COSMOPOLITAN_LIBC_NT_ENUM_ACCESSMASK_H_
#define COSMOPOLITAN_LIBC_NT_ENUM_ACCESSMASK_H_
/**
* Can also be described as follows:
*
* struct NtAccessMask {
* union {
* uint32_t value;
* struct {
* uint16_t SpecificRights;
* unsigned char StandardRights;
* unsign... | 3,923 | 89 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/enum/tpm.h | #ifndef COSMOPOLITAN_LIBC_NT_ENUM_TPM_H_
#define COSMOPOLITAN_LIBC_NT_ENUM_TPM_H_
#define kNtTpmLeftbutton 0x00000
#define kNtTpmRightbutton 0x00002
#define kNtTpmLeftalign 0x00000
#define kNtTpmCenteralign 0x00004
#define kNtTpmRightalign 0x00008
#define kNtTpmTopalign 0x00000
#define k... | 890 | 26 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/enum/processinfoclass.h | #ifndef COSMOPOLITAN_LIBC_NT_ENUM_PROCESSINFOCLASS_H_
#define COSMOPOLITAN_LIBC_NT_ENUM_PROCESSINFOCLASS_H_
#define kNtProcessBasicInformation 0
#define kNtProcessQuotaLimits 1
#define kNtProcessIoCounters 2
#define kNtProcessVmCounters 3
#define kNtProcessTimes 4
#define kNtProcessBasePrio... | 615 | 18 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/enum/filesharemode.h | #ifndef COSMOPOLITAN_LIBC_NT_ENUM_FILESHAREFLAGS_H_
#define COSMOPOLITAN_LIBC_NT_ENUM_FILESHAREFLAGS_H_
#define kNtFileShareExclusive 0x00000000u
#define kNtFileShareRead 0x00000001u
#define kNtFileShareWrite 0x00000002u
#define kNtFileShareDelete 0x00000004u
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_FILESHAREFLAGS_H_ */
| 319 | 10 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/enum/threadpriority.h | #ifndef COSMOPOLITAN_LIBC_NT_ENUM_THREADPRIORITY_H_
#define COSMOPOLITAN_LIBC_NT_ENUM_THREADPRIORITY_H_
#define kNtThreadBasePriorityIdle (-15)
#define kNtThreadBasePriorityMin (-2)
#define kNtThreadBasePriorityMax 2
#define kNtThreadBasePriorityLowrt 15
#define kNtThreadPriorityIdle kNtThreadBasePriorit... | 752 | 18 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/enum/importobjecttype.h | #ifndef COSMOPOLITAN_LIBC_NT_ENUM_IMPORTOBJECTTYPE_H_
#define COSMOPOLITAN_LIBC_NT_ENUM_IMPORTOBJECTTYPE_H_
#if !(__ASSEMBLER__ + __LINKER__ + 0)
enum NtImportObjectType {
IMPORT_OBJECT_CODE,
IMPORT_OBJECT_DATA,
IMPORT_OBJECT_CONST
};
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
#endif /* COSMOPOLITAN_LIBC_NT... | 349 | 13 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/enum/io.h | #ifndef COSMOPOLITAN_LIBC_NT_ENUM_IO_H_
#define COSMOPOLITAN_LIBC_NT_ENUM_IO_H_
#define kNtIoReparseTagSymlink 0xa000000c
#define kNtIoReparseTagMountPoint 0xa0000003
#endif /* COSMOPOLITAN_LIBC_NT_ENUM_IO_H_ */
| 217 | 8 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/enum/fileinformationclass.h | #ifndef COSMOPOLITAN_LIBC_NT_ENUM_FILEINFORMATIONCLASS_H_
#define COSMOPOLITAN_LIBC_NT_ENUM_FILEINFORMATIONCLASS_H_
#define kNtFileDirectoryInformation 1 /*â struct NtFileDirectoryInformation */
#define kNtFileFullDirectoryInformation 2 /*â etc. */
#define kNtFileBothDirectoryInformation 3
#define kNtFileBasicInfo... | 1,814 | 47 | jart/cosmopolitan | false |
cosmopolitan/libc/nt/enum/kwaitreason.h | #ifndef COSMOPOLITAN_LIBC_NT_ENUM_KWAITREASON_H_
#define COSMOPOLITAN_LIBC_NT_ENUM_KWAITREASON_H_
#if !(__ASSEMBLER__ + __LINKER__ + 0)
#define kNtExecutive 0
#define kNtFreePage 1
#define kNtPageIn 2
#define kNtPoolAllocation 3
#define kNtDelayExecution 4
#define kNtSuspended 5
#define kNtUserRequest 6
#define kNtWrE... | 936 | 36 | jart/cosmopolitan | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.