diff --git a/libc/calls/clock.c b/libc/calls/clock.c index 9b63e1fd8..884f74c86 100644 --- a/libc/calls/clock.c +++ b/libc/calls/clock.c @@ -16,11 +16,11 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ +#include "libc/sysv/consts/clock.h" #include "libc/calls/struct/rusage.h" #include "libc/calls/struct/timespec.h" #include "libc/calls/struct/timeval.h" #include "libc/errno.h" -#include "libc/sysv/consts/clock.h" #include "libc/sysv/consts/rusage.h" #include "libc/time/time.h" diff --git a/libc/calls/copyfile.c b/libc/calls/copyfile.c index be9fa71a6..d7500e279 100644 --- a/libc/calls/copyfile.c +++ b/libc/calls/copyfile.c @@ -16,8 +16,8 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/calls/calls.h" #include "libc/calls/copyfile.h" +#include "libc/calls/calls.h" #include "libc/calls/struct/stat.h" #include "libc/calls/syscall_support-nt.internal.h" #include "libc/dce.h" diff --git a/libc/calls/fchown.c b/libc/calls/fchown.c index 8b33937f8..12d07d627 100644 --- a/libc/calls/fchown.c +++ b/libc/calls/fchown.c @@ -17,8 +17,8 @@ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/calls/calls.h" -#include "libc/intrin/strace.internal.h" #include "libc/calls/syscall-sysv.internal.h" +#include "libc/intrin/strace.internal.h" #include "libc/sysv/consts/at.h" /** diff --git a/libc/calls/getdomainname.c b/libc/calls/getdomainname.c index 54df42ee0..fb2e0cb19 100644 --- a/libc/calls/getdomainname.c +++ b/libc/calls/getdomainname.c @@ -17,10 +17,10 @@ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/calls/calls.h" -#include "libc/intrin/strace.internal.h" #include "libc/calls/syscall_support-sysv.internal.h" #include "libc/dce.h" #include "libc/intrin/kprintf.h" +#include "libc/intrin/strace.internal.h" #include "libc/macros.internal.h" #include "libc/nt/enum/computernameformat.h" #include "libc/str/str.h" diff --git a/libc/calls/gethostname.c b/libc/calls/gethostname.c index 0b8e2ecff..23d91548d 100644 --- a/libc/calls/gethostname.c +++ b/libc/calls/gethostname.c @@ -17,10 +17,10 @@ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/calls/calls.h" -#include "libc/intrin/strace.internal.h" #include "libc/calls/syscall_support-sysv.internal.h" #include "libc/dce.h" #include "libc/intrin/kprintf.h" +#include "libc/intrin/strace.internal.h" #include "libc/nt/enum/computernameformat.h" #include "libc/sysv/errfuns.h" diff --git a/libc/calls/getitimer.c b/libc/calls/getitimer.c index 9dd4aa8ee..56422ac39 100644 --- a/libc/calls/getitimer.c +++ b/libc/calls/getitimer.c @@ -17,11 +17,11 @@ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/calls/calls.h" -#include "libc/intrin/strace.internal.h" #include "libc/calls/struct/itimerval.h" #include "libc/calls/struct/itimerval.internal.h" #include "libc/dce.h" #include "libc/intrin/asan.internal.h" +#include "libc/intrin/strace.internal.h" #include "libc/sysv/errfuns.h" /** diff --git a/libc/calls/getpgid.c b/libc/calls/getpgid.c index 73c6ef63a..e24f92388 100644 --- a/libc/calls/getpgid.c +++ b/libc/calls/getpgid.c @@ -17,9 +17,9 @@ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/calls/calls.h" -#include "libc/intrin/strace.internal.h" #include "libc/calls/syscall-sysv.internal.h" #include "libc/dce.h" +#include "libc/intrin/strace.internal.h" /** * Returns process group id. diff --git a/libc/calls/getresgid.c b/libc/calls/getresgid.c index 4f2816a70..e8e7e3f78 100644 --- a/libc/calls/getresgid.c +++ b/libc/calls/getresgid.c @@ -17,9 +17,9 @@ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/calls/calls.h" -#include "libc/intrin/strace.internal.h" #include "libc/calls/syscall-sysv.internal.h" #include "libc/dce.h" +#include "libc/intrin/strace.internal.h" /** * Gets real, effective, and "saved" group ids. diff --git a/libc/calls/getresuid.c b/libc/calls/getresuid.c index 1b9042be6..d79679d9b 100644 --- a/libc/calls/getresuid.c +++ b/libc/calls/getresuid.c @@ -17,9 +17,9 @@ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/calls/calls.h" -#include "libc/intrin/strace.internal.h" #include "libc/calls/syscall-sysv.internal.h" #include "libc/dce.h" +#include "libc/intrin/strace.internal.h" /** * Gets real, effective, and "saved" user ids. diff --git a/libc/calls/getrlimit.c b/libc/calls/getrlimit.c index eb3168aaa..52b57eea0 100644 --- a/libc/calls/getrlimit.c +++ b/libc/calls/getrlimit.c @@ -17,11 +17,11 @@ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/calls/calls.h" -#include "libc/intrin/strace.internal.h" #include "libc/calls/struct/rlimit.internal.h" #include "libc/dce.h" #include "libc/intrin/asan.internal.h" #include "libc/intrin/describeflags.internal.h" +#include "libc/intrin/strace.internal.h" #include "libc/sysv/consts/rlimit.h" #include "libc/sysv/errfuns.h" diff --git a/libc/calls/getrusage.c b/libc/calls/getrusage.c index 029dcef13..0b306166e 100644 --- a/libc/calls/getrusage.c +++ b/libc/calls/getrusage.c @@ -17,11 +17,11 @@ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/calls/calls.h" -#include "libc/intrin/strace.internal.h" #include "libc/calls/struct/rusage.h" #include "libc/calls/struct/rusage.internal.h" #include "libc/dce.h" #include "libc/intrin/asan.internal.h" +#include "libc/intrin/strace.internal.h" #include "libc/sysv/errfuns.h" /** diff --git a/libc/calls/getsid.c b/libc/calls/getsid.c index d5369a990..510dbce55 100644 --- a/libc/calls/getsid.c +++ b/libc/calls/getsid.c @@ -17,8 +17,8 @@ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/calls/calls.h" -#include "libc/intrin/strace.internal.h" #include "libc/calls/syscall-sysv.internal.h" +#include "libc/intrin/strace.internal.h" /** * Creates session and sets the process group id. diff --git a/libc/calls/ioctl_fioclex.c b/libc/calls/ioctl_fioclex.c index 09e4bef16..825285d76 100644 --- a/libc/calls/ioctl_fioclex.c +++ b/libc/calls/ioctl_fioclex.c @@ -18,9 +18,9 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/calls/internal.h" #include "libc/calls/ioctl.h" -#include "libc/intrin/strace.internal.h" #include "libc/calls/syscall-sysv.internal.h" #include "libc/dce.h" +#include "libc/intrin/strace.internal.h" #include "libc/sysv/consts/o.h" #include "libc/sysv/errfuns.h" diff --git a/libc/calls/ioctl_tcsets-nt.c b/libc/calls/ioctl_tcsets-nt.c index a0775290b..a31ff27cd 100644 --- a/libc/calls/ioctl_tcsets-nt.c +++ b/libc/calls/ioctl_tcsets-nt.c @@ -17,10 +17,10 @@ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/calls/internal.h" -#include "libc/intrin/strace.internal.h" #include "libc/calls/struct/metatermios.internal.h" #include "libc/calls/termios.internal.h" #include "libc/intrin/describeflags.internal.h" +#include "libc/intrin/strace.internal.h" #include "libc/nt/console.h" #include "libc/nt/enum/consolemodeflags.h" #include "libc/nt/enum/version.h" diff --git a/libc/calls/ioctl_tiocgwinsz.c b/libc/calls/ioctl_tiocgwinsz.c index e8bd6c85d..c5a53fc3c 100644 --- a/libc/calls/ioctl_tiocgwinsz.c +++ b/libc/calls/ioctl_tiocgwinsz.c @@ -18,12 +18,12 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/calls/internal.h" #include "libc/calls/ioctl.h" -#include "libc/intrin/strace.internal.h" #include "libc/calls/struct/winsize.h" #include "libc/calls/struct/winsize.internal.h" #include "libc/calls/syscall-sysv.internal.h" #include "libc/dce.h" #include "libc/intrin/asan.internal.h" +#include "libc/intrin/strace.internal.h" #include "libc/sysv/consts/termios.h" #include "libc/sysv/errfuns.h" diff --git a/libc/calls/isatty.c b/libc/calls/isatty.c index 7c633db07..92553fa36 100644 --- a/libc/calls/isatty.c +++ b/libc/calls/isatty.c @@ -18,12 +18,12 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/calls/calls.h" #include "libc/calls/internal.h" -#include "libc/intrin/strace.internal.h" #include "libc/calls/struct/winsize.h" #include "libc/calls/syscall-nt.internal.h" #include "libc/calls/syscall-sysv.internal.h" #include "libc/calls/syscall_support-sysv.internal.h" #include "libc/errno.h" +#include "libc/intrin/strace.internal.h" #include "libc/sysv/consts/termios.h" #include "libc/sysv/errfuns.h" diff --git a/libc/calls/issetugid.c b/libc/calls/issetugid.c index f07f998a4..b10a9eb69 100644 --- a/libc/calls/issetugid.c +++ b/libc/calls/issetugid.c @@ -16,11 +16,11 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/intrin/_getauxval.internal.h" #include "libc/calls/calls.h" -#include "libc/intrin/strace.internal.h" #include "libc/calls/syscall-sysv.internal.h" #include "libc/dce.h" +#include "libc/intrin/_getauxval.internal.h" +#include "libc/intrin/strace.internal.h" #include "libc/sysv/consts/auxv.h" /** diff --git a/libc/calls/landlock.h b/libc/calls/landlock.h index 108534191..e689188d4 100644 --- a/libc/calls/landlock.h +++ b/libc/calls/landlock.h @@ -29,7 +29,8 @@ /** * Control file truncation. * - * @see https://lore.kernel.org/all/20221018182216.301684-1-gnoack3000@gmail.com/ + * @see + * https://lore.kernel.org/all/20221018182216.301684-1-gnoack3000@gmail.com/ * @see https://docs.kernel.org/userspace-api/landlock.html * @note ABI 3+ */ diff --git a/libc/calls/madvise.c b/libc/calls/madvise.c index 24d8cbc33..124de44dd 100644 --- a/libc/calls/madvise.c +++ b/libc/calls/madvise.c @@ -17,11 +17,11 @@ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/calls/calls.h" -#include "libc/intrin/strace.internal.h" #include "libc/calls/syscall-nt.internal.h" #include "libc/calls/syscall-sysv.internal.h" #include "libc/dce.h" #include "libc/intrin/asan.internal.h" +#include "libc/intrin/strace.internal.h" #include "libc/sysv/errfuns.h" /** diff --git a/libc/calls/memfd_create.c b/libc/calls/memfd_create.c index 6107cf156..9932d0527 100644 --- a/libc/calls/memfd_create.c +++ b/libc/calls/memfd_create.c @@ -17,8 +17,8 @@ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/calls/calls.h" -#include "libc/intrin/strace.internal.h" #include "libc/calls/syscall-sysv.internal.h" +#include "libc/intrin/strace.internal.h" /** * Creates anonymous file. diff --git a/libc/calls/mincore.c b/libc/calls/mincore.c index 05e774690..17ef029c7 100644 --- a/libc/calls/mincore.c +++ b/libc/calls/mincore.c @@ -17,8 +17,8 @@ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/calls/calls.h" -#include "libc/intrin/strace.internal.h" #include "libc/calls/syscall-sysv.internal.h" +#include "libc/intrin/strace.internal.h" /** * Tells you which pages are resident in memory. diff --git a/libc/calls/mkntpathat.c b/libc/calls/mkntpathat.c index 408f6057e..5bdf76c32 100644 --- a/libc/calls/mkntpathat.c +++ b/libc/calls/mkntpathat.c @@ -17,8 +17,8 @@ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/calls/internal.h" -#include "libc/intrin/strace.internal.h" #include "libc/calls/syscall_support-nt.internal.h" +#include "libc/intrin/strace.internal.h" #include "libc/macros.internal.h" #include "libc/nt/files.h" #include "libc/str/str.h" diff --git a/libc/calls/mremap-sysv.greg.c b/libc/calls/mremap-sysv.greg.c index 1eff68e55..db843ea64 100644 --- a/libc/calls/mremap-sysv.greg.c +++ b/libc/calls/mremap-sysv.greg.c @@ -17,10 +17,10 @@ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/calls/calls.h" -#include "libc/intrin/strace.internal.h" #include "libc/dce.h" #include "libc/errno.h" #include "libc/intrin/asmflag.h" +#include "libc/intrin/strace.internal.h" #include "libc/sysv/consts/map.h" #include "libc/sysv/consts/mremap.h" #include "libc/sysv/errfuns.h" diff --git a/libc/calls/openat-metal.c b/libc/calls/openat-metal.c index 8b59cdb21..ed74b3e7c 100644 --- a/libc/calls/openat-metal.c +++ b/libc/calls/openat-metal.c @@ -40,14 +40,13 @@ int sys_openat_metal(int dirfd, const char *file, int flags, unsigned mode) { struct MetalFile *state; if (dirfd != AT_FDCWD || strcmp(file, APE_COM_NAME)) return enoent(); if (flags != O_RDONLY) return eacces(); - if (!_weaken(__ape_com_base) || !_weaken(__ape_com_size)) - return eopnotsupp(); + if (!_weaken(__ape_com_base) || !_weaken(__ape_com_size)) return eopnotsupp(); if ((fd = __reservefd(-1)) == -1) return -1; if (!_weaken(calloc) || !_weaken(free)) { struct DirectMap dm; dm = sys_mmap_metal(NULL, ROUNDUP(sizeof(struct MetalFile), 4096), - PROT_READ | PROT_WRITE, MAP_SHARED | MAP_ANONYMOUS, - -1, 0); + PROT_READ | PROT_WRITE, MAP_SHARED | MAP_ANONYMOUS, -1, + 0); state = dm.addr; if (state == (void *)-1) return -1; } else { diff --git a/libc/calls/pivot_root.c b/libc/calls/pivot_root.c index b494bc211..b31bfaffc 100644 --- a/libc/calls/pivot_root.c +++ b/libc/calls/pivot_root.c @@ -17,8 +17,8 @@ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/calls/calls.h" -#include "libc/intrin/strace.internal.h" #include "libc/calls/syscall-sysv.internal.h" +#include "libc/intrin/strace.internal.h" /** * Changes root mount. diff --git a/libc/calls/prctl.c b/libc/calls/prctl.c index 1863f1c00..68ca70202 100644 --- a/libc/calls/prctl.c +++ b/libc/calls/prctl.c @@ -17,10 +17,10 @@ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/calls/calls.h" -#include "libc/intrin/strace.internal.h" #include "libc/dce.h" #include "libc/errno.h" #include "libc/intrin/describeflags.internal.h" +#include "libc/intrin/strace.internal.h" #include "libc/sysv/consts/pr.h" #include "libc/sysv/errfuns.h" diff --git a/libc/calls/ptrace.c b/libc/calls/ptrace.c index 839c86ac2..56bce2e42 100644 --- a/libc/calls/ptrace.c +++ b/libc/calls/ptrace.c @@ -16,11 +16,11 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/intrin/strace.internal.h" +#include "libc/sysv/consts/ptrace.h" #include "libc/calls/syscall-sysv.internal.h" #include "libc/dce.h" #include "libc/intrin/describeflags.internal.h" -#include "libc/sysv/consts/ptrace.h" +#include "libc/intrin/strace.internal.h" #include "libc/sysv/errfuns.h" /** diff --git a/libc/calls/sched_get_priority_max.c b/libc/calls/sched_get_priority_max.c index aaa1df6c8..f2952273e 100644 --- a/libc/calls/sched_get_priority_max.c +++ b/libc/calls/sched_get_priority_max.c @@ -18,9 +18,9 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/calls/calls.h" #include "libc/calls/sched-sysv.internal.h" -#include "libc/intrin/strace.internal.h" #include "libc/dce.h" #include "libc/intrin/describeflags.internal.h" +#include "libc/intrin/strace.internal.h" #include "libc/sysv/consts/sched.h" #include "libc/sysv/errfuns.h" diff --git a/libc/calls/sched_get_priority_min.c b/libc/calls/sched_get_priority_min.c index f545f43a1..6d9c34793 100644 --- a/libc/calls/sched_get_priority_min.c +++ b/libc/calls/sched_get_priority_min.c @@ -18,9 +18,9 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/calls/calls.h" #include "libc/calls/sched-sysv.internal.h" -#include "libc/intrin/strace.internal.h" #include "libc/dce.h" #include "libc/intrin/describeflags.internal.h" +#include "libc/intrin/strace.internal.h" #include "libc/sysv/consts/sched.h" #include "libc/sysv/errfuns.h" diff --git a/libc/calls/seccomp.c b/libc/calls/seccomp.c index 19601e5c2..88a299406 100644 --- a/libc/calls/seccomp.c +++ b/libc/calls/seccomp.c @@ -16,12 +16,12 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/calls/calls.h" -#include "libc/intrin/strace.internal.h" #include "libc/calls/struct/seccomp.h" +#include "libc/calls/calls.h" #include "libc/dce.h" #include "libc/errno.h" #include "libc/intrin/describeflags.internal.h" +#include "libc/intrin/strace.internal.h" #include "libc/sysv/consts/pr.h" #include "libc/sysv/errfuns.h" diff --git a/libc/calls/setregid.c b/libc/calls/setregid.c index 3146d0e44..7eb573a55 100644 --- a/libc/calls/setregid.c +++ b/libc/calls/setregid.c @@ -17,8 +17,8 @@ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/calls/calls.h" -#include "libc/intrin/strace.internal.h" #include "libc/calls/syscall-sysv.internal.h" +#include "libc/intrin/strace.internal.h" /** * Sets real and/or effective group ids. diff --git a/libc/calls/setresgid.c b/libc/calls/setresgid.c index 3fb5e024a..a947b5ace 100644 --- a/libc/calls/setresgid.c +++ b/libc/calls/setresgid.c @@ -17,8 +17,8 @@ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/calls/calls.h" -#include "libc/intrin/strace.internal.h" #include "libc/calls/syscall-sysv.internal.h" +#include "libc/intrin/strace.internal.h" /** * Sets real, effective, and "saved" group ids. diff --git a/libc/calls/setresuid.c b/libc/calls/setresuid.c index 35593b6ab..08a7f30dd 100644 --- a/libc/calls/setresuid.c +++ b/libc/calls/setresuid.c @@ -17,8 +17,8 @@ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/calls/calls.h" -#include "libc/intrin/strace.internal.h" #include "libc/calls/syscall-sysv.internal.h" +#include "libc/intrin/strace.internal.h" /** * Sets real, effective, and "saved" user ids. diff --git a/libc/calls/setreuid.c b/libc/calls/setreuid.c index c2c44e1d0..237ba35f9 100644 --- a/libc/calls/setreuid.c +++ b/libc/calls/setreuid.c @@ -17,8 +17,8 @@ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/calls/calls.h" -#include "libc/intrin/strace.internal.h" #include "libc/calls/syscall-sysv.internal.h" +#include "libc/intrin/strace.internal.h" /** * Sets real and/or effective user ids. diff --git a/libc/calls/setsid.c b/libc/calls/setsid.c index a1e2700c6..8b2d3ab64 100644 --- a/libc/calls/setsid.c +++ b/libc/calls/setsid.c @@ -17,8 +17,8 @@ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/calls/calls.h" -#include "libc/intrin/strace.internal.h" #include "libc/calls/syscall-sysv.internal.h" +#include "libc/intrin/strace.internal.h" /** * Creates session and sets the process group id. diff --git a/libc/calls/sigaction.c b/libc/calls/sigaction.c index b45b98420..db1f5575c 100644 --- a/libc/calls/sigaction.c +++ b/libc/calls/sigaction.c @@ -16,13 +16,13 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ +#include "libc/calls/struct/sigaction.h" #include "libc/assert.h" #include "libc/calls/blocksigs.internal.h" #include "libc/calls/calls.h" #include "libc/calls/internal.h" #include "libc/calls/sig.internal.h" #include "libc/calls/state.internal.h" -#include "libc/calls/struct/sigaction.h" #include "libc/calls/struct/sigaction.internal.h" #include "libc/calls/struct/siginfo.internal.h" #include "libc/calls/struct/sigset.h" @@ -248,8 +248,9 @@ static int __sigaction(int sig, const struct sigaction *act, if (rc != -1 && !__vforked) { if (oldact) { oldrva = __sighandrvas[sig]; - oldact->sa_sigaction = (sigaction_f)( - oldrva < kSigactionMinRva ? oldrva : (intptr_t)&_base + oldrva); + oldact->sa_sigaction = + (sigaction_f)(oldrva < kSigactionMinRva ? oldrva + : (intptr_t)&_base + oldrva); } if (act) { __sighandrvas[sig] = rva; diff --git a/libc/calls/sigaltstack.c b/libc/calls/sigaltstack.c index 6693d5969..74913b80b 100644 --- a/libc/calls/sigaltstack.c +++ b/libc/calls/sigaltstack.c @@ -16,8 +16,8 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/calls/struct/metasigaltstack.h" #include "libc/calls/struct/sigaltstack.h" +#include "libc/calls/struct/metasigaltstack.h" #include "libc/calls/struct/sigaltstack.internal.h" #include "libc/calls/syscall-sysv.internal.h" #include "libc/dce.h" diff --git a/libc/calls/sigtimedwait.c b/libc/calls/sigtimedwait.c index 86cdc3eeb..4ce46fa95 100644 --- a/libc/calls/sigtimedwait.c +++ b/libc/calls/sigtimedwait.c @@ -16,9 +16,9 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ +#include "libc/calls/sigtimedwait.h" #include "libc/calls/asan.internal.h" #include "libc/calls/cp.internal.h" -#include "libc/calls/sigtimedwait.h" #include "libc/calls/sigtimedwait.internal.h" #include "libc/calls/struct/siginfo.internal.h" #include "libc/calls/struct/sigset.internal.h" diff --git a/libc/calls/statvfs.c b/libc/calls/statvfs.c index 773ec8f97..98f2ea7d5 100644 --- a/libc/calls/statvfs.c +++ b/libc/calls/statvfs.c @@ -16,10 +16,10 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ +#include "libc/calls/struct/statvfs.h" #include "libc/calls/calls.h" #include "libc/calls/struct/statfs.h" #include "libc/calls/struct/statfs.internal.h" -#include "libc/calls/struct/statvfs.h" /** * Returns information about filesystem. diff --git a/libc/calls/symlinkat-nt.c b/libc/calls/symlinkat-nt.c index cdb7acc49..0dca1a9c8 100644 --- a/libc/calls/symlinkat-nt.c +++ b/libc/calls/symlinkat-nt.c @@ -19,7 +19,6 @@ #include "libc/calls/calls.h" #include "libc/calls/syscall_support-nt.internal.h" #include "libc/errno.h" -#include "libc/thread/thread.h" #include "libc/nt/enum/accessmask.h" #include "libc/nt/enum/fileflagandattributes.h" #include "libc/nt/enum/symboliclink.h" @@ -32,6 +31,7 @@ #include "libc/nt/struct/tokenprivileges.h" #include "libc/nt/thunk/msabi.h" #include "libc/sysv/errfuns.h" +#include "libc/thread/thread.h" __msabi extern typeof(GetFileAttributes) *const __imp_GetFileAttributesW; diff --git a/libc/calls/sync.c b/libc/calls/sync.c index 95510b487..9fa35a520 100644 --- a/libc/calls/sync.c +++ b/libc/calls/sync.c @@ -17,10 +17,10 @@ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/calls/calls.h" -#include "libc/intrin/strace.internal.h" #include "libc/calls/syscall-nt.internal.h" #include "libc/calls/syscall-sysv.internal.h" #include "libc/dce.h" +#include "libc/intrin/strace.internal.h" /** * Flushes file system changes to disk by any means necessary. diff --git a/libc/calls/syscall-nt.internal.h b/libc/calls/syscall-nt.internal.h index d3bf1fb99..c752eecdc 100644 --- a/libc/calls/syscall-nt.internal.h +++ b/libc/calls/syscall-nt.internal.h @@ -26,7 +26,8 @@ int sys_linkat_nt(int, const char *, int, const char *) _Hide; int sys_madvise_nt(void *, size_t, int) _Hide; int sys_mkdirat_nt(int, const char *, uint32_t) _Hide; int sys_msync_nt(char *, size_t, int) _Hide; -int sys_open_nt(int, const char *, uint32_t, int32_t) dontdiscard _Hide; +int sys_open_nt(int, const char *, uint32_t, int32_t) +dontdiscard _Hide; int sys_pipe_nt(int[hasatleast 2], unsigned) _Hide; int sys_renameat_nt(int, const char *, int, const char *) _Hide; int sys_sched_yield_nt(void) _Hide; diff --git a/libc/calls/sysinfo.c b/libc/calls/sysinfo.c index 95b2f29c1..f0a1138d3 100644 --- a/libc/calls/sysinfo.c +++ b/libc/calls/sysinfo.c @@ -16,8 +16,8 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/calls/calls.h" #include "libc/calls/struct/sysinfo.h" +#include "libc/calls/calls.h" #include "libc/calls/struct/sysinfo.internal.h" #include "libc/calls/struct/timespec.h" #include "libc/calls/struct/timeval.h" diff --git a/libc/calls/time.c b/libc/calls/time.c index 3d10c0aba..538a954f7 100644 --- a/libc/calls/time.c +++ b/libc/calls/time.c @@ -16,11 +16,11 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ +#include "libc/time/time.h" #include "libc/calls/struct/timeval.h" #include "libc/dce.h" #include "libc/intrin/asan.internal.h" #include "libc/sysv/errfuns.h" -#include "libc/time/time.h" /** * Returns time as seconds from UNIX epoch. diff --git a/libc/calls/ttyname_r.c b/libc/calls/ttyname_r.c index 88a72dad1..f44302360 100644 --- a/libc/calls/ttyname_r.c +++ b/libc/calls/ttyname_r.c @@ -19,13 +19,13 @@ #include "libc/assert.h" #include "libc/calls/calls.h" #include "libc/calls/internal.h" -#include "libc/intrin/strace.internal.h" #include "libc/calls/struct/stat.h" #include "libc/calls/syscall-sysv.internal.h" #include "libc/dce.h" #include "libc/errno.h" #include "libc/fmt/fmt.h" #include "libc/fmt/itoa.h" +#include "libc/intrin/strace.internal.h" #include "libc/log/log.h" #include "libc/nt/console.h" #include "libc/nt/enum/consolemodeflags.h" diff --git a/libc/calls/unmount.c b/libc/calls/unmount.c index ef86626b9..8a2f5cbde 100644 --- a/libc/calls/unmount.c +++ b/libc/calls/unmount.c @@ -17,8 +17,8 @@ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/calls/mount.h" -#include "libc/intrin/strace.internal.h" #include "libc/calls/syscall-sysv.internal.h" +#include "libc/intrin/strace.internal.h" /** * Unmounts file system. diff --git a/libc/calls/unveil.c b/libc/calls/unveil.c index 9cde54f8c..f5f7cd01d 100644 --- a/libc/calls/unveil.c +++ b/libc/calls/unveil.c @@ -53,8 +53,9 @@ #define UNVEIL_READ \ (LANDLOCK_ACCESS_FS_READ_FILE | LANDLOCK_ACCESS_FS_READ_DIR | \ LANDLOCK_ACCESS_FS_REFER) -#define UNVEIL_WRITE (LANDLOCK_ACCESS_FS_WRITE_FILE | LANDLOCK_ACCESS_FS_TRUNCATE) -#define UNVEIL_EXEC (LANDLOCK_ACCESS_FS_EXECUTE) +#define UNVEIL_WRITE \ + (LANDLOCK_ACCESS_FS_WRITE_FILE | LANDLOCK_ACCESS_FS_TRUNCATE) +#define UNVEIL_EXEC (LANDLOCK_ACCESS_FS_EXECUTE) #define UNVEIL_CREATE \ (LANDLOCK_ACCESS_FS_MAKE_CHAR | LANDLOCK_ACCESS_FS_MAKE_DIR | \ LANDLOCK_ACCESS_FS_MAKE_REG | LANDLOCK_ACCESS_FS_MAKE_SOCK | \ @@ -89,7 +90,8 @@ static const struct sock_filter kUnveilBlacklistLatestAbi[] = { static int landlock_abi_version; __attribute__((__constructor__)) void init_landlock_version() { - landlock_abi_version = landlock_create_ruleset(0, 0, LANDLOCK_CREATE_RULESET_VERSION); + landlock_abi_version = + landlock_create_ruleset(0, 0, LANDLOCK_CREATE_RULESET_VERSION); } /** @@ -117,8 +119,8 @@ static int unveil_final(void) { }; if (landlock_abi_version < 3) { sandbox = (struct sock_fprog){ - .filter = kUnveilBlacklistAbiVersionBelow3, - .len = ARRAYLEN(kUnveilBlacklistAbiVersionBelow3), + .filter = kUnveilBlacklistAbiVersionBelow3, + .len = ARRAYLEN(kUnveilBlacklistAbiVersionBelow3), }; } e = errno; diff --git a/libc/calls/vdsofunc.greg.c b/libc/calls/vdsofunc.greg.c index 0924b3971..176e00332 100644 --- a/libc/calls/vdsofunc.greg.c +++ b/libc/calls/vdsofunc.greg.c @@ -17,7 +17,6 @@ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/calls/calls.h" -#include "libc/intrin/strace.internal.h" #include "libc/elf/scalar.h" #include "libc/elf/struct/ehdr.h" #include "libc/elf/struct/phdr.h" @@ -26,6 +25,7 @@ #include "libc/elf/struct/verdaux.h" #include "libc/elf/struct/verdef.h" #include "libc/intrin/bits.h" +#include "libc/intrin/strace.internal.h" #include "libc/runtime/runtime.h" #include "libc/sysv/consts/auxv.h" diff --git a/libc/calls/wait4.c b/libc/calls/wait4.c index fdd8ba4af..5cfcf209b 100644 --- a/libc/calls/wait4.c +++ b/libc/calls/wait4.c @@ -16,10 +16,10 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ +#include "libc/calls/wait4.h" #include "libc/calls/calls.h" #include "libc/calls/cp.internal.h" #include "libc/calls/struct/rusage.internal.h" -#include "libc/calls/wait4.h" #include "libc/dce.h" #include "libc/intrin/asan.internal.h" #include "libc/intrin/strace.internal.h" diff --git a/libc/calls/weirdtypes.h b/libc/calls/weirdtypes.h index 20c0ff440..a79967f07 100644 --- a/libc/calls/weirdtypes.h +++ b/libc/calls/weirdtypes.h @@ -29,9 +29,9 @@ #define sa_family_t uint16_t /* bsd:uint8_t */ #define socklen_t uint32_t #define speed_t uint32_t -#define suseconds_t int64_t /* int32_t on xnu */ +#define suseconds_t int64_t /* int32_t on xnu */ #define useconds_t uint64_t /* uint32_t on xnu */ -#define syscall_arg_t int64_t /* uint64_t on xnu */ +#define syscall_arg_t int64_t /* uint64_t on xnu */ #define tcflag_t uint32_t #define time_t int64_t #define timer_t void* diff --git a/libc/dns/dnsheader.c b/libc/dns/dnsheader.c index 057c64f97..2d4fe0ef3 100644 --- a/libc/dns/dnsheader.c +++ b/libc/dns/dnsheader.c @@ -16,8 +16,8 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/intrin/bits.h" #include "libc/dns/dnsheader.h" +#include "libc/intrin/bits.h" #include "libc/sysv/errfuns.h" /** diff --git a/libc/dns/getaddrinfo.c b/libc/dns/getaddrinfo.c index dd75eda1b..f4893b233 100644 --- a/libc/dns/getaddrinfo.c +++ b/libc/dns/getaddrinfo.c @@ -16,15 +16,15 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/intrin/safemacros.internal.h" #include "libc/calls/calls.h" #include "libc/dns/dns.h" #include "libc/dns/hoststxt.h" #include "libc/dns/resolvconf.h" #include "libc/dns/servicestxt.h" #include "libc/fmt/conv.h" -#include "libc/mem/mem.h" +#include "libc/intrin/safemacros.internal.h" #include "libc/mem/gc.h" +#include "libc/mem/mem.h" #include "libc/sock/sock.h" #include "libc/str/str.h" #include "libc/sysv/consts/af.h" diff --git a/libc/dns/gethoststxt.c b/libc/dns/gethoststxt.c index 55fb566a7..6dc6682eb 100644 --- a/libc/dns/gethoststxt.c +++ b/libc/dns/gethoststxt.c @@ -16,19 +16,19 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/intrin/bits.h" -#include "libc/intrin/pushpop.h" -#include "libc/intrin/safemacros.internal.h" #include "libc/calls/calls.h" #include "libc/dce.h" #include "libc/dns/hoststxt.h" #include "libc/fmt/fmt.h" -#include "libc/thread/thread.h" +#include "libc/intrin/bits.h" +#include "libc/intrin/pushpop.h" +#include "libc/intrin/safemacros.internal.h" #include "libc/macros.internal.h" #include "libc/nt/systeminfo.h" #include "libc/runtime/runtime.h" #include "libc/stdio/stdio.h" #include "libc/str/str.h" +#include "libc/thread/thread.h" static struct HostsTxt *g_hoststxt; static struct HostsTxtInitialStaticMemory { diff --git a/libc/dns/getnameinfo.c b/libc/dns/getnameinfo.c index 10c4e5845..20e5ef25c 100644 --- a/libc/dns/getnameinfo.c +++ b/libc/dns/getnameinfo.c @@ -24,7 +24,6 @@ │ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR │ │ OTHER DEALINGS IN THE SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/intrin/safemacros.internal.h" #include "libc/calls/calls.h" #include "libc/dns/consts.h" #include "libc/dns/dns.h" @@ -34,6 +33,7 @@ #include "libc/fmt/conv.h" #include "libc/fmt/fmt.h" #include "libc/fmt/itoa.h" +#include "libc/intrin/safemacros.internal.h" #include "libc/mem/mem.h" #include "libc/sock/sock.h" #include "libc/str/str.h" diff --git a/libc/dns/getresolvconf.c b/libc/dns/getresolvconf.c index 1546ee9c6..c729e2194 100644 --- a/libc/dns/getresolvconf.c +++ b/libc/dns/getresolvconf.c @@ -16,16 +16,16 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/intrin/pushpop.h" #include "libc/dce.h" #include "libc/dns/resolvconf.h" #include "libc/fmt/fmt.h" -#include "libc/thread/thread.h" +#include "libc/intrin/pushpop.h" #include "libc/macros.internal.h" #include "libc/runtime/runtime.h" #include "libc/sock/sock.h" #include "libc/sock/struct/sockaddr.h" #include "libc/stdio/stdio.h" +#include "libc/thread/thread.h" static struct ResolvConf *g_resolvconf; static struct ResolvConfInitialStaticMemory { diff --git a/libc/dns/lookupprotobyname.c b/libc/dns/lookupprotobyname.c index ee97d1332..099e399b8 100644 --- a/libc/dns/lookupprotobyname.c +++ b/libc/dns/lookupprotobyname.c @@ -24,11 +24,11 @@ │ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR │ │ OTHER DEALINGS IN THE SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/intrin/safemacros.internal.h" #include "libc/dce.h" #include "libc/dns/prototxt.h" #include "libc/errno.h" #include "libc/fmt/conv.h" +#include "libc/intrin/safemacros.internal.h" #include "libc/macros.internal.h" #include "libc/mem/mem.h" #include "libc/str/str.h" diff --git a/libc/dns/lookupprotobynumber.c b/libc/dns/lookupprotobynumber.c index 8f92264a5..c1c9235b2 100644 --- a/libc/dns/lookupprotobynumber.c +++ b/libc/dns/lookupprotobynumber.c @@ -24,11 +24,11 @@ │ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR │ │ OTHER DEALINGS IN THE SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/intrin/safemacros.internal.h" #include "libc/dce.h" #include "libc/dns/prototxt.h" #include "libc/errno.h" #include "libc/fmt/conv.h" +#include "libc/intrin/safemacros.internal.h" #include "libc/macros.internal.h" #include "libc/mem/mem.h" #include "libc/str/str.h" diff --git a/libc/dns/lookupservicesbyname.c b/libc/dns/lookupservicesbyname.c index 5a28ca309..b709515ed 100644 --- a/libc/dns/lookupservicesbyname.c +++ b/libc/dns/lookupservicesbyname.c @@ -24,11 +24,11 @@ │ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR │ │ OTHER DEALINGS IN THE SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/intrin/safemacros.internal.h" #include "libc/dce.h" #include "libc/dns/servicestxt.h" #include "libc/errno.h" #include "libc/fmt/conv.h" +#include "libc/intrin/safemacros.internal.h" #include "libc/macros.internal.h" #include "libc/mem/mem.h" #include "libc/str/str.h" diff --git a/libc/dns/lookupservicesbyport.c b/libc/dns/lookupservicesbyport.c index 7b74b05d5..5bbf4f1ed 100644 --- a/libc/dns/lookupservicesbyport.c +++ b/libc/dns/lookupservicesbyport.c @@ -24,11 +24,11 @@ │ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR │ │ OTHER DEALINGS IN THE SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/intrin/safemacros.internal.h" #include "libc/dce.h" #include "libc/dns/servicestxt.h" #include "libc/errno.h" #include "libc/fmt/conv.h" +#include "libc/intrin/safemacros.internal.h" #include "libc/macros.internal.h" #include "libc/mem/mem.h" #include "libc/str/str.h" diff --git a/libc/dns/parsehoststxt.c b/libc/dns/parsehoststxt.c index a7ca33d54..38979f2f0 100644 --- a/libc/dns/parsehoststxt.c +++ b/libc/dns/parsehoststxt.c @@ -16,10 +16,10 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/mem/arraylist.internal.h" #include "libc/dns/dns.h" #include "libc/dns/hoststxt.h" #include "libc/errno.h" +#include "libc/mem/arraylist.internal.h" #include "libc/runtime/runtime.h" #include "libc/sock/sock.h" #include "libc/stdio/stdio.h" diff --git a/libc/dns/parseresolvconf.c b/libc/dns/parseresolvconf.c index 6c14c9243..8a5a255ce 100644 --- a/libc/dns/parseresolvconf.c +++ b/libc/dns/parseresolvconf.c @@ -16,9 +16,9 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/mem/arraylist.internal.h" #include "libc/dns/dns.h" #include "libc/dns/resolvconf.h" +#include "libc/mem/arraylist.internal.h" #include "libc/mem/mem.h" #include "libc/runtime/runtime.h" #include "libc/sock/sock.h" diff --git a/libc/dns/resolvehostsreverse.c b/libc/dns/resolvehostsreverse.c index 5b2976681..395e73efa 100644 --- a/libc/dns/resolvehostsreverse.c +++ b/libc/dns/resolvehostsreverse.c @@ -16,12 +16,12 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/mem/alg.h" -#include "libc/intrin/bits.h" #include "libc/dns/consts.h" #include "libc/dns/dns.h" #include "libc/dns/hoststxt.h" #include "libc/fmt/fmt.h" +#include "libc/intrin/bits.h" +#include "libc/mem/alg.h" #include "libc/sock/sock.h" #include "libc/str/str.h" #include "libc/sysv/consts/af.h" diff --git a/libc/dns/resolvehoststxt.c b/libc/dns/resolvehoststxt.c index 8e5cd0945..147e0ba5e 100644 --- a/libc/dns/resolvehoststxt.c +++ b/libc/dns/resolvehoststxt.c @@ -16,10 +16,10 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/mem/alg.h" #include "libc/dns/consts.h" #include "libc/dns/dns.h" #include "libc/dns/hoststxt.h" +#include "libc/mem/alg.h" #include "libc/sock/sock.h" #include "libc/str/str.h" #include "libc/sysv/consts/af.h" diff --git a/libc/fmt/conv.h b/libc/fmt/conv.h index d0dda329a..b08e6c164 100644 --- a/libc/fmt/conv.h +++ b/libc/fmt/conv.h @@ -17,7 +17,8 @@ COSMOPOLITAN_C_START_ int abs(int) libcesque pureconst; long labs(long) libcesque pureconst; long long llabs(long long) libcesque pureconst; -intmax_t imaxabs(intmax_t) libcesque pureconst; +intmax_t imaxabs(intmax_t) +libcesque pureconst; int atoi(const char *) paramsnonnull() libcesque; long atol(const char *) paramsnonnull() libcesque; long long atoll(const char *) paramsnonnull() libcesque; @@ -44,12 +45,16 @@ size_t wcsxfrm(wchar_t *, const wchar_t *, size_t); ╚────────────────────────────────────────────────────────────────────────────│*/ int64_t DosDateTimeToUnix(unsigned, unsigned) libcesque nosideeffect; -struct timeval WindowsTimeToTimeVal(int64_t) libcesque nosideeffect; -struct timespec WindowsTimeToTimeSpec(int64_t) libcesque nosideeffect; +struct timeval WindowsTimeToTimeVal(int64_t) +libcesque nosideeffect; +struct timespec WindowsTimeToTimeSpec(int64_t) +libcesque nosideeffect; int64_t TimeSpecToWindowsTime(struct timespec) libcesque nosideeffect; int64_t TimeValToWindowsTime(struct timeval) libcesque nosideeffect; -struct timeval WindowsDurationToTimeVal(int64_t) libcesque nosideeffect; -struct timespec WindowsDurationToTimeSpec(int64_t) libcesque nosideeffect; +struct timeval WindowsDurationToTimeVal(int64_t) +libcesque nosideeffect; +struct timespec WindowsDurationToTimeSpec(int64_t) +libcesque nosideeffect; #define MakeFileTime(x) \ ({ \ @@ -119,7 +124,8 @@ imaxdiv_t imaxdiv(intmax_t, intmax_t) pureconst; #if (__GNUC__ * 100 + __GNUC_MINOR__ >= 406 || defined(__llvm__)) && \ !defined(__STRICT_ANSI__) -int128_t i128abs(int128_t) libcesque pureconst; +int128_t i128abs(int128_t) +libcesque pureconst; int128_t strtoi128(const char *, char **, int) paramsnonnull((1)); uint128_t strtou128(const char *, char **, int) paramsnonnull((1)); int128_t wcstoi128(const wchar_t *, wchar_t **, int); diff --git a/libc/fmt/fmt.c b/libc/fmt/fmt.c index ea19f5fb1..6e0f266ca 100644 --- a/libc/fmt/fmt.c +++ b/libc/fmt/fmt.c @@ -17,7 +17,6 @@ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/fmt/fmt.h" - #include "libc/assert.h" #include "libc/errno.h" #include "libc/fmt/conv.h" diff --git a/libc/fmt/formatflex64.c b/libc/fmt/formatflex64.c index 74e654f3d..728d98b05 100644 --- a/libc/fmt/formatflex64.c +++ b/libc/fmt/formatflex64.c @@ -16,8 +16,8 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/intrin/popcnt.h" #include "libc/fmt/itoa.h" +#include "libc/intrin/popcnt.h" /** * Formats integer using decimal or hexadecimal. diff --git a/libc/fmt/itoa128radix10.greg.c b/libc/fmt/itoa128radix10.greg.c index eacb6e86f..bc884f542 100644 --- a/libc/fmt/itoa128radix10.greg.c +++ b/libc/fmt/itoa128radix10.greg.c @@ -16,10 +16,10 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/mem/reverse.internal.h" #include "libc/fmt/conv.h" #include "libc/fmt/itoa.h" #include "libc/limits.h" +#include "libc/mem/reverse.internal.h" uint128_t __udivmodti4(uint128_t, uint128_t, uint128_t *); diff --git a/libc/fmt/itoa64.c b/libc/fmt/itoa64.c index be0cfb497..1905b2520 100644 --- a/libc/fmt/itoa64.c +++ b/libc/fmt/itoa64.c @@ -16,9 +16,9 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/mem/reverse.internal.h" #include "libc/fmt/conv.h" #include "libc/fmt/itoa.h" +#include "libc/mem/reverse.internal.h" dontinline size_t uint64toarray(uint64_t i, char *a, int r) { size_t j; diff --git a/libc/fmt/itoa64radix8.c b/libc/fmt/itoa64radix8.c index 449c67c72..ffd4e94c6 100644 --- a/libc/fmt/itoa64radix8.c +++ b/libc/fmt/itoa64radix8.c @@ -16,10 +16,10 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/mem/reverse.internal.h" #include "libc/fmt/conv.h" #include "libc/fmt/itoa.h" #include "libc/limits.h" +#include "libc/mem/reverse.internal.h" /** * Converts unsigned 64-bit integer to octal string. diff --git a/libc/intrin/bits.h b/libc/intrin/bits.h index 583b308e4..d79a1ed8a 100644 --- a/libc/intrin/bits.h +++ b/libc/intrin/bits.h @@ -15,8 +15,10 @@ uint32_t gray(uint32_t) pureconst; uint32_t ungray(uint32_t) pureconst; int _bitreverse8(int) libcesque pureconst; int _bitreverse16(int) libcesque pureconst; -uint32_t _bitreverse32(uint32_t) libcesque pureconst; -uint64_t _bitreverse64(uint64_t) libcesque pureconst; +uint32_t _bitreverse32(uint32_t) +libcesque pureconst; +uint64_t _bitreverse64(uint64_t) +libcesque pureconst; unsigned long _roundup2pow(unsigned long) libcesque pureconst; unsigned long _roundup2log(unsigned long) libcesque pureconst; unsigned long _rounddown2pow(unsigned long) libcesque pureconst; diff --git a/libc/intrin/countbits.c b/libc/intrin/countbits.c index a7f9c2793..64fa21e5c 100644 --- a/libc/intrin/countbits.c +++ b/libc/intrin/countbits.c @@ -17,8 +17,8 @@ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/assert.h" -#include "libc/intrin/bits.h" #include "libc/dce.h" +#include "libc/intrin/bits.h" #include "libc/nexgen32e/x86feature.h" /** diff --git a/libc/intrin/createdirectory.c b/libc/intrin/createdirectory.c index 85ea3512d..60da1ac9c 100644 --- a/libc/intrin/createdirectory.c +++ b/libc/intrin/createdirectory.c @@ -16,9 +16,9 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/intrin/strace.internal.h" #include "libc/calls/syscall_support-nt.internal.h" #include "libc/intrin/describeflags.internal.h" +#include "libc/intrin/strace.internal.h" #include "libc/nt/files.h" #include "libc/nt/thunk/msabi.h" diff --git a/libc/intrin/createfile.c b/libc/intrin/createfile.c index 21493b1a9..7e5cd12e7 100644 --- a/libc/intrin/createfile.c +++ b/libc/intrin/createfile.c @@ -16,10 +16,10 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/intrin/strace.internal.h" +#include "libc/nt/createfile.h" #include "libc/calls/syscall_support-nt.internal.h" #include "libc/intrin/describeflags.internal.h" -#include "libc/nt/createfile.h" +#include "libc/intrin/strace.internal.h" #include "libc/nt/thunk/msabi.h" __msabi extern typeof(CreateFile) *const __imp_CreateFileW; diff --git a/libc/intrin/createfilemapping.c b/libc/intrin/createfilemapping.c index 97461e03b..0bf7f172b 100644 --- a/libc/intrin/createfilemapping.c +++ b/libc/intrin/createfilemapping.c @@ -16,9 +16,9 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/intrin/strace.internal.h" #include "libc/calls/syscall_support-nt.internal.h" #include "libc/intrin/describeflags.internal.h" +#include "libc/intrin/strace.internal.h" #include "libc/nt/memory.h" #include "libc/nt/struct/securityattributes.h" #include "libc/nt/thunk/msabi.h" diff --git a/libc/intrin/createfilemappingnuma.c b/libc/intrin/createfilemappingnuma.c index 0cee3cb0a..9237ee2ac 100644 --- a/libc/intrin/createfilemappingnuma.c +++ b/libc/intrin/createfilemappingnuma.c @@ -16,15 +16,15 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/intrin/strace.internal.h" #include "libc/calls/syscall_support-nt.internal.h" #include "libc/dce.h" #include "libc/intrin/describeflags.internal.h" +#include "libc/intrin/strace.internal.h" #include "libc/nt/memory.h" #include "libc/nt/struct/securityattributes.h" -__msabi extern typeof(CreateFileMappingNuma) *const - __imp_CreateFileMappingNumaW; +__msabi extern typeof(CreateFileMappingNuma) + *const __imp_CreateFileMappingNumaW; /** * Creates file mapping object on the New Technology. diff --git a/libc/intrin/createnamedpipe.c b/libc/intrin/createnamedpipe.c index 98aa1168a..a05bcd0fb 100644 --- a/libc/intrin/createnamedpipe.c +++ b/libc/intrin/createnamedpipe.c @@ -16,9 +16,9 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/intrin/strace.internal.h" #include "libc/calls/syscall_support-nt.internal.h" #include "libc/intrin/describeflags.internal.h" +#include "libc/intrin/strace.internal.h" #include "libc/nt/ipc.h" #include "libc/nt/struct/securityattributes.h" #include "libc/nt/thunk/msabi.h" diff --git a/libc/intrin/createpipe.c b/libc/intrin/createpipe.c index 1d2002e1d..508e3e767 100644 --- a/libc/intrin/createpipe.c +++ b/libc/intrin/createpipe.c @@ -16,9 +16,9 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/intrin/strace.internal.h" #include "libc/calls/syscall_support-nt.internal.h" #include "libc/intrin/describeflags.internal.h" +#include "libc/intrin/strace.internal.h" #include "libc/nt/ipc.h" #include "libc/nt/struct/securityattributes.h" #include "libc/nt/thunk/msabi.h" diff --git a/libc/intrin/createsymboliclink.c b/libc/intrin/createsymboliclink.c index b8aaa0d84..b51014a93 100644 --- a/libc/intrin/createsymboliclink.c +++ b/libc/intrin/createsymboliclink.c @@ -16,9 +16,9 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/intrin/strace.internal.h" #include "libc/calls/syscall_support-nt.internal.h" #include "libc/intrin/describeflags.internal.h" +#include "libc/intrin/strace.internal.h" #include "libc/nt/files.h" __msabi extern typeof(CreateSymbolicLink) *const __imp_CreateSymbolicLinkW; diff --git a/libc/intrin/cxaatexit.internal.h b/libc/intrin/cxaatexit.internal.h index bf96a4e47..a5b7f9094 100644 --- a/libc/intrin/cxaatexit.internal.h +++ b/libc/intrin/cxaatexit.internal.h @@ -1,8 +1,8 @@ #ifndef COSMOPOLITAN_LIBC_RUNTIME_CXAATEXIT_H_ #define COSMOPOLITAN_LIBC_RUNTIME_CXAATEXIT_H_ #include "libc/intrin/nopl.internal.h" -#include "libc/thread/tls.h" #include "libc/stdio/stdio.h" +#include "libc/thread/tls.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ diff --git a/libc/intrin/deletefile.c b/libc/intrin/deletefile.c index c53263ac3..eda733260 100644 --- a/libc/intrin/deletefile.c +++ b/libc/intrin/deletefile.c @@ -16,8 +16,8 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/intrin/strace.internal.h" #include "libc/calls/syscall_support-nt.internal.h" +#include "libc/intrin/strace.internal.h" #include "libc/nt/files.h" #include "libc/nt/thunk/msabi.h" diff --git a/libc/intrin/describerlimit.c b/libc/intrin/describerlimit.c index c5f1f8a7b..7207aa43f 100644 --- a/libc/intrin/describerlimit.c +++ b/libc/intrin/describerlimit.c @@ -16,11 +16,11 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/intrin/strace.internal.h" #include "libc/calls/struct/rlimit.h" #include "libc/dce.h" #include "libc/intrin/asan.internal.h" #include "libc/intrin/kprintf.h" +#include "libc/intrin/strace.internal.h" const char *DescribeRlimit(char buf[64], int rc, const struct rlimit *rlim) { if (rc == -1) return "n/a"; diff --git a/libc/intrin/directmap-metal.c b/libc/intrin/directmap-metal.c index 2ff56c3a7..bfdc12c2a 100644 --- a/libc/intrin/directmap-metal.c +++ b/libc/intrin/directmap-metal.c @@ -17,9 +17,9 @@ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/calls/calls.h" -#include "libc/intrin/directmap.internal.h" #include "libc/calls/internal.h" #include "libc/calls/metalfile.internal.h" +#include "libc/intrin/directmap.internal.h" #include "libc/macros.internal.h" #include "libc/runtime/pc.internal.h" #include "libc/str/str.h" diff --git a/libc/intrin/exit.c b/libc/intrin/exit.c index 14f4d0acd..00e1311c9 100644 --- a/libc/intrin/exit.c +++ b/libc/intrin/exit.c @@ -16,9 +16,9 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/intrin/strace.internal.h" #include "libc/dce.h" #include "libc/intrin/promises.internal.h" +#include "libc/intrin/strace.internal.h" #include "libc/nexgen32e/vendor.internal.h" #include "libc/nt/runtime.h" #include "libc/runtime/runtime.h" diff --git a/libc/intrin/findclose.c b/libc/intrin/findclose.c index 0177fc8f8..87229a644 100644 --- a/libc/intrin/findclose.c +++ b/libc/intrin/findclose.c @@ -16,8 +16,8 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/intrin/strace.internal.h" #include "libc/calls/syscall_support-nt.internal.h" +#include "libc/intrin/strace.internal.h" #include "libc/nt/files.h" #include "libc/nt/thunk/msabi.h" diff --git a/libc/intrin/findfirstfile.c b/libc/intrin/findfirstfile.c index 8a7a1c5ac..1d1293ed6 100644 --- a/libc/intrin/findfirstfile.c +++ b/libc/intrin/findfirstfile.c @@ -16,9 +16,9 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/intrin/strace.internal.h" #include "libc/calls/syscall_support-nt.internal.h" #include "libc/intrin/describeflags.internal.h" +#include "libc/intrin/strace.internal.h" #include "libc/nt/files.h" #include "libc/nt/memory.h" #include "libc/nt/struct/win32finddata.h" diff --git a/libc/intrin/findnextfile.c b/libc/intrin/findnextfile.c index c2d0c3925..b967c4e1f 100644 --- a/libc/intrin/findnextfile.c +++ b/libc/intrin/findnextfile.c @@ -16,9 +16,9 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/intrin/strace.internal.h" #include "libc/calls/syscall_support-nt.internal.h" #include "libc/intrin/describeflags.internal.h" +#include "libc/intrin/strace.internal.h" #include "libc/nt/errors.h" #include "libc/nt/files.h" #include "libc/nt/memory.h" diff --git a/libc/intrin/flushfilebuffers.c b/libc/intrin/flushfilebuffers.c index aece1bae2..51578420a 100644 --- a/libc/intrin/flushfilebuffers.c +++ b/libc/intrin/flushfilebuffers.c @@ -16,8 +16,8 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/intrin/strace.internal.h" #include "libc/calls/syscall_support-nt.internal.h" +#include "libc/intrin/strace.internal.h" #include "libc/nt/files.h" __msabi extern typeof(FlushFileBuffers) *const __imp_FlushFileBuffers; diff --git a/libc/intrin/flushviewoffile.c b/libc/intrin/flushviewoffile.c index a10acf394..903af9ae3 100644 --- a/libc/intrin/flushviewoffile.c +++ b/libc/intrin/flushviewoffile.c @@ -16,8 +16,8 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/intrin/strace.internal.h" #include "libc/calls/syscall_support-nt.internal.h" +#include "libc/intrin/strace.internal.h" #include "libc/nt/memory.h" __msabi extern typeof(FlushViewOfFile) *const __imp_FlushViewOfFile; diff --git a/libc/intrin/generateconsolectrlevent.c b/libc/intrin/generateconsolectrlevent.c index be4c2dbd8..e020651e9 100644 --- a/libc/intrin/generateconsolectrlevent.c +++ b/libc/intrin/generateconsolectrlevent.c @@ -16,13 +16,13 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/intrin/strace.internal.h" #include "libc/calls/syscall_support-nt.internal.h" +#include "libc/intrin/strace.internal.h" #include "libc/nt/console.h" #include "libc/nt/thunk/msabi.h" -__msabi extern typeof(GenerateConsoleCtrlEvent) *const - __imp_GenerateConsoleCtrlEvent; +__msabi extern typeof(GenerateConsoleCtrlEvent) + *const __imp_GenerateConsoleCtrlEvent; /** * Sends signal to process group that shares console w/ calling process. diff --git a/libc/intrin/getexitcodeprocess.c b/libc/intrin/getexitcodeprocess.c index 2d2727d43..7128138fc 100644 --- a/libc/intrin/getexitcodeprocess.c +++ b/libc/intrin/getexitcodeprocess.c @@ -16,8 +16,8 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/intrin/strace.internal.h" #include "libc/calls/syscall_support-nt.internal.h" +#include "libc/intrin/strace.internal.h" #include "libc/nt/accounting.h" #include "libc/nt/thunk/msabi.h" diff --git a/libc/intrin/getfileattributes.c b/libc/intrin/getfileattributes.c index 0ccff0818..af42a6419 100644 --- a/libc/intrin/getfileattributes.c +++ b/libc/intrin/getfileattributes.c @@ -16,9 +16,9 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/intrin/strace.internal.h" #include "libc/calls/syscall_support-nt.internal.h" #include "libc/intrin/describeflags.internal.h" +#include "libc/intrin/strace.internal.h" #include "libc/nt/enum/fileflagandattributes.h" #include "libc/nt/files.h" #include "libc/nt/thunk/msabi.h" diff --git a/libc/intrin/kmalloc.h b/libc/intrin/kmalloc.h index 0a163ddcd..7e3d751ef 100644 --- a/libc/intrin/kmalloc.h +++ b/libc/intrin/kmalloc.h @@ -3,7 +3,8 @@ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ -void *kmalloc(size_t) mallocesque attributeallocsize((1)) returnsaligned((8)); +void *kmalloc(size_t) +mallocesque attributeallocsize((1)) returnsaligned((8)); void __kmalloc_lock(void); void __kmalloc_unlock(void); diff --git a/libc/intrin/kprintf.greg.c b/libc/intrin/kprintf.greg.c index d67b73a70..a23d63689 100644 --- a/libc/intrin/kprintf.greg.c +++ b/libc/intrin/kprintf.greg.c @@ -17,6 +17,7 @@ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #define ShouldUseMsabiAttribute() 1 +#include "libc/intrin/kprintf.h" #include "libc/calls/calls.h" #include "libc/calls/state.internal.h" #include "libc/calls/syscall-sysv.internal.h" @@ -29,7 +30,6 @@ #include "libc/intrin/atomic.h" #include "libc/intrin/bits.h" #include "libc/intrin/cmpxchg.h" -#include "libc/intrin/kprintf.h" #include "libc/intrin/likely.h" #include "libc/intrin/nomultics.internal.h" #include "libc/intrin/safemacros.internal.h" diff --git a/libc/intrin/mapviewoffileex.c b/libc/intrin/mapviewoffileex.c index 67ce06dc9..da54d10cb 100644 --- a/libc/intrin/mapviewoffileex.c +++ b/libc/intrin/mapviewoffileex.c @@ -17,9 +17,9 @@ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/assert.h" -#include "libc/intrin/strace.internal.h" #include "libc/calls/syscall_support-nt.internal.h" #include "libc/intrin/describeflags.internal.h" +#include "libc/intrin/strace.internal.h" #include "libc/nt/enum/filemapflags.h" #include "libc/nt/memory.h" diff --git a/libc/intrin/mapviewoffileexnuma.c b/libc/intrin/mapviewoffileexnuma.c index 3c06d9151..1cff46562 100644 --- a/libc/intrin/mapviewoffileexnuma.c +++ b/libc/intrin/mapviewoffileexnuma.c @@ -17,10 +17,10 @@ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/assert.h" -#include "libc/intrin/strace.internal.h" #include "libc/calls/syscall_support-nt.internal.h" #include "libc/dce.h" #include "libc/intrin/describeflags.internal.h" +#include "libc/intrin/strace.internal.h" #include "libc/nt/enum/filemapflags.h" #include "libc/nt/memory.h" diff --git a/libc/intrin/memcmp.c b/libc/intrin/memcmp.c index 6826dbfc6..e88869ea8 100644 --- a/libc/intrin/memcmp.c +++ b/libc/intrin/memcmp.c @@ -16,8 +16,8 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/intrin/likely.h" #include "libc/dce.h" +#include "libc/intrin/likely.h" #include "libc/nexgen32e/x86feature.h" #include "libc/str/str.h" diff --git a/libc/intrin/mman.greg.c b/libc/intrin/mman.greg.c index ce3f04b43..56afd783f 100644 --- a/libc/intrin/mman.greg.c +++ b/libc/intrin/mman.greg.c @@ -44,7 +44,7 @@ #include "libc/runtime/runtime.h" #define INVERT(x) (BANE + PHYSICAL(x)) -#define NOPAGE ((uint64_t)-1) +#define NOPAGE ((uint64_t)-1) struct ReclaimedPage { uint64_t next; @@ -133,8 +133,7 @@ static noasan textreal void __normalize_e820(struct mman *mm, uint64_t top) { /** * Identity maps an area of physical memory to its negative address. */ -noasan textreal uint64_t *__invert_memory_area(struct mman *mm, - uint64_t *pml4t, +noasan textreal uint64_t *__invert_memory_area(struct mman *mm, uint64_t *pml4t, uint64_t ps, uint64_t size, uint64_t pte_flags) { uint64_t pe = ps + size, p, *m = NULL; diff --git a/libc/intrin/movefileex.c b/libc/intrin/movefileex.c index 7c045f344..16fe80780 100644 --- a/libc/intrin/movefileex.c +++ b/libc/intrin/movefileex.c @@ -16,9 +16,9 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/intrin/strace.internal.h" #include "libc/calls/syscall_support-nt.internal.h" #include "libc/intrin/describeflags.internal.h" +#include "libc/intrin/strace.internal.h" #include "libc/nt/files.h" #include "libc/nt/memory.h" #include "libc/nt/thunk/msabi.h" diff --git a/libc/intrin/openprocess.c b/libc/intrin/openprocess.c index 39e8142f6..9fe8209a8 100644 --- a/libc/intrin/openprocess.c +++ b/libc/intrin/openprocess.c @@ -16,9 +16,9 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/intrin/strace.internal.h" #include "libc/calls/syscall_support-nt.internal.h" #include "libc/intrin/describeflags.internal.h" +#include "libc/intrin/strace.internal.h" #include "libc/nt/memory.h" #include "libc/nt/process.h" #include "libc/nt/struct/securityattributes.h" diff --git a/libc/intrin/palignr.c b/libc/intrin/palignr.c index 5ddde2c34..0044250d3 100644 --- a/libc/intrin/palignr.c +++ b/libc/intrin/palignr.c @@ -16,8 +16,8 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/assert.h" #include "libc/intrin/palignr.h" +#include "libc/assert.h" #include "libc/macros.internal.h" /** diff --git a/libc/intrin/removedirectory.c b/libc/intrin/removedirectory.c index d9c477e09..4e7894349 100644 --- a/libc/intrin/removedirectory.c +++ b/libc/intrin/removedirectory.c @@ -16,8 +16,8 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/intrin/strace.internal.h" #include "libc/calls/syscall_support-nt.internal.h" +#include "libc/intrin/strace.internal.h" #include "libc/nt/files.h" #include "libc/nt/thunk/msabi.h" diff --git a/libc/intrin/reopenfile.c b/libc/intrin/reopenfile.c index bf1446186..bb81cc056 100644 --- a/libc/intrin/reopenfile.c +++ b/libc/intrin/reopenfile.c @@ -16,9 +16,9 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/intrin/strace.internal.h" #include "libc/calls/syscall_support-nt.internal.h" #include "libc/intrin/describeflags.internal.h" +#include "libc/intrin/strace.internal.h" #include "libc/nt/files.h" #include "libc/nt/thunk/msabi.h" diff --git a/libc/intrin/setcurrentdirectory.c b/libc/intrin/setcurrentdirectory.c index 82fea86ea..6fc19ea9c 100644 --- a/libc/intrin/setcurrentdirectory.c +++ b/libc/intrin/setcurrentdirectory.c @@ -16,8 +16,8 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/intrin/strace.internal.h" #include "libc/calls/syscall_support-nt.internal.h" +#include "libc/intrin/strace.internal.h" #include "libc/nt/files.h" #include "libc/nt/memory.h" #include "libc/nt/thunk/msabi.h" diff --git a/libc/intrin/terminateprocess.c b/libc/intrin/terminateprocess.c index fb2da4468..88da9bf3e 100644 --- a/libc/intrin/terminateprocess.c +++ b/libc/intrin/terminateprocess.c @@ -16,8 +16,8 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/intrin/strace.internal.h" #include "libc/calls/syscall_support-nt.internal.h" +#include "libc/intrin/strace.internal.h" #include "libc/nt/console.h" #include "libc/nt/runtime.h" #include "libc/nt/thunk/msabi.h" diff --git a/libc/intrin/unmapviewoffile.c b/libc/intrin/unmapviewoffile.c index 795c9d7ab..45d677d28 100644 --- a/libc/intrin/unmapviewoffile.c +++ b/libc/intrin/unmapviewoffile.c @@ -16,8 +16,8 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/intrin/strace.internal.h" #include "libc/calls/syscall_support-nt.internal.h" +#include "libc/intrin/strace.internal.h" #include "libc/nt/memory.h" __msabi extern typeof(UnmapViewOfFile) *const __imp_UnmapViewOfFile; diff --git a/libc/intrin/virtualprotect.c b/libc/intrin/virtualprotect.c index 0d81fc951..5a16b535d 100644 --- a/libc/intrin/virtualprotect.c +++ b/libc/intrin/virtualprotect.c @@ -16,9 +16,9 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/intrin/strace.internal.h" #include "libc/calls/syscall_support-nt.internal.h" #include "libc/intrin/describeflags.internal.h" +#include "libc/intrin/strace.internal.h" #include "libc/log/libfatal.internal.h" #include "libc/nt/memory.h" diff --git a/libc/intrin/waitformultipleobjects.c b/libc/intrin/waitformultipleobjects.c index c948c23c2..8382d794d 100644 --- a/libc/intrin/waitformultipleobjects.c +++ b/libc/intrin/waitformultipleobjects.c @@ -16,13 +16,13 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/intrin/strace.internal.h" #include "libc/calls/syscall_support-nt.internal.h" +#include "libc/intrin/strace.internal.h" #include "libc/nt/synchronization.h" #include "libc/nt/thunk/msabi.h" -__msabi extern typeof(WaitForMultipleObjects) *const - __imp_WaitForMultipleObjects; +__msabi extern typeof(WaitForMultipleObjects) + *const __imp_WaitForMultipleObjects; /** * Waits for handles to change status. diff --git a/libc/intrin/waitforsingleobject.c b/libc/intrin/waitforsingleobject.c index d51c4339d..375e70e72 100644 --- a/libc/intrin/waitforsingleobject.c +++ b/libc/intrin/waitforsingleobject.c @@ -16,8 +16,8 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/intrin/strace.internal.h" #include "libc/calls/syscall_support-nt.internal.h" +#include "libc/intrin/strace.internal.h" #include "libc/nt/synchronization.h" #include "libc/nt/thunk/msabi.h" diff --git a/libc/intrin/wsawaitformultipleevents.c b/libc/intrin/wsawaitformultipleevents.c index 667f557fe..fba0cefc0 100644 --- a/libc/intrin/wsawaitformultipleevents.c +++ b/libc/intrin/wsawaitformultipleevents.c @@ -16,14 +16,14 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/intrin/strace.internal.h" #include "libc/calls/syscall_support-nt.internal.h" #include "libc/intrin/describeflags.internal.h" +#include "libc/intrin/strace.internal.h" #include "libc/nt/thunk/msabi.h" #include "libc/nt/winsock.h" -__msabi extern typeof(WSAWaitForMultipleEvents) *const - __imp_WSAWaitForMultipleEvents; +__msabi extern typeof(WSAWaitForMultipleEvents) + *const __imp_WSAWaitForMultipleEvents; /** * Waits for events on Windows sockets. diff --git a/libc/intrin/xmmintrin.internal.h b/libc/intrin/xmmintrin.internal.h index 6ee1d9ebe..27b46b617 100644 --- a/libc/intrin/xmmintrin.internal.h +++ b/libc/intrin/xmmintrin.internal.h @@ -1,7 +1,7 @@ #ifndef COSMOPOLITAN_LIBC_BITS_XMMINTRIN_H_ #define COSMOPOLITAN_LIBC_BITS_XMMINTRIN_H_ -#include "libc/intrin/emmintrin.internal.h" #include "libc/dce.h" +#include "libc/intrin/emmintrin.internal.h" #define _MM_EXCEPT_MASK 0x003f #define _MM_EXCEPT_INVALID 0x0001 diff --git a/libc/linux/clone.h b/libc/linux/clone.h index 9e5a86222..f509c973d 100644 --- a/libc/linux/clone.h +++ b/libc/linux/clone.h @@ -2,13 +2,15 @@ #define COSMOPOLITAN_LIBC_LINUX_CLONE_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) -forceinline long LinuxClone(unsigned long flags, void* stack, int* parent_tid, int* child_tid, void* tls) { +forceinline long LinuxClone(unsigned long flags, void* stack, int* parent_tid, + int* child_tid, void* tls) { long rc; register int* child_tid_ asm("r10") = child_tid; register void* tls_ asm("r8") = tls; asm volatile("syscall" : "=a"(rc) - : "0"(56), "D"(flags), "S"(stack), "d"(parent_tid), "r"(child_tid_), "r"(tls_) + : "0"(56), "D"(flags), "S"(stack), "d"(parent_tid), + "r"(child_tid_), "r"(tls_) : "rcx", "r11", "memory"); return rc; } diff --git a/libc/log/commandvenv.c b/libc/log/commandvenv.c index e255d4b5c..dd4bae822 100644 --- a/libc/log/commandvenv.c +++ b/libc/log/commandvenv.c @@ -16,8 +16,8 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/intrin/safemacros.internal.h" #include "libc/calls/calls.h" +#include "libc/intrin/safemacros.internal.h" #include "libc/log/log.h" #include "libc/mem/mem.h" #include "libc/runtime/runtime.h" diff --git a/libc/log/countbranch_report.c b/libc/log/countbranch_report.c index 4ceab253d..e9eb46f09 100644 --- a/libc/log/countbranch_report.c +++ b/libc/log/countbranch_report.c @@ -16,12 +16,12 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/mem/alg.h" #include "libc/calls/calls.h" #include "libc/intrin/kprintf.h" #include "libc/log/countbranch.h" #include "libc/macros.internal.h" #include "libc/math.h" +#include "libc/mem/alg.h" #include "libc/runtime/runtime.h" #include "libc/stdio/stdio.h" #include "libc/str/str.h" diff --git a/libc/log/gdbexec.c b/libc/log/gdbexec.c index 5d365e397..f46a928af 100644 --- a/libc/log/gdbexec.c +++ b/libc/log/gdbexec.c @@ -16,9 +16,9 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/intrin/safemacros.internal.h" #include "libc/calls/calls.h" #include "libc/fmt/fmt.h" +#include "libc/intrin/safemacros.internal.h" #include "libc/log/gdb.h" #include "libc/log/log.h" #include "libc/nexgen32e/stackframe.h" diff --git a/libc/mem/_gc_free.c b/libc/mem/_gc_free.c index 2eb6f7402..39d00fa12 100644 --- a/libc/mem/_gc_free.c +++ b/libc/mem/_gc_free.c @@ -16,8 +16,8 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/mem/mem.h" #include "libc/mem/gc.h" +#include "libc/mem/mem.h" void _gc_free(void *p) { free(p); diff --git a/libc/mem/arena.c b/libc/mem/arena.c index c0a148801..44b8fd308 100644 --- a/libc/mem/arena.c +++ b/libc/mem/arena.c @@ -16,6 +16,7 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ +#include "libc/mem/arena.h" #include "libc/assert.h" #include "libc/calls/calls.h" #include "libc/dce.h" @@ -26,7 +27,6 @@ #include "libc/limits.h" #include "libc/log/log.h" #include "libc/macros.internal.h" -#include "libc/mem/arena.h" #include "libc/mem/hook/hook.internal.h" #include "libc/runtime/memtrack.internal.h" #include "libc/runtime/runtime.h" diff --git a/libc/nexgen32e/crc32.h b/libc/nexgen32e/crc32.h index b3b1c7e72..56f16002b 100644 --- a/libc/nexgen32e/crc32.h +++ b/libc/nexgen32e/crc32.h @@ -9,8 +9,10 @@ void crc32init(uint32_t[hasatleast 256], uint32_t); uint32_t crc32a(uint32_t, const void *, size_t); uint32_t crc32c(uint32_t, const void *, size_t); uint32_t crc32_z(uint32_t, const void *, size_t); -uint32_t crc32c_pure(uint32_t, const void *, size_t) strlenesque _Hide; -uint32_t crc32c_sse42(uint32_t, const void *, size_t) strlenesque _Hide; +uint32_t crc32c_pure(uint32_t, const void *, size_t) +strlenesque _Hide; +uint32_t crc32c_sse42(uint32_t, const void *, size_t) +strlenesque _Hide; uint32_t crc32_pclmul(uint32_t, const void *, size_t) _Hide; COSMOPOLITAN_C_END_ diff --git a/libc/nexgen32e/msr.internal.h b/libc/nexgen32e/msr.internal.h index 616eb7663..164707998 100644 --- a/libc/nexgen32e/msr.internal.h +++ b/libc/nexgen32e/msr.internal.h @@ -4,188 +4,188 @@ │ cosmopolitan § model specific registers │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#define MSR_P5_TSC 0x10 /* time stamp register */ -#define MSR_P5_CESR 0x11 /* control and event select register */ -#define MSR_P5_CTR0 0x12 /* counter #0 */ -#define MSR_P5_CTR1 0x13 /* counter #1 */ -#define MSR_P5_CESR_PC 0x0200 /* pin control */ -#define MSR_P5_CESR_CC 0x01C0 /* counter control mask */ -#define MSR_P5_CESR_ES 0x003F /* event control mask */ -#define MSR_P5_CESR_SHIFT 16 /* shift to get counter 1 */ -#define MSR_P5_CESR_MASK /* mask Counter */ \ +#define MSR_P5_TSC 0x10 /* time stamp register */ +#define MSR_P5_CESR 0x11 /* control and event select register */ +#define MSR_P5_CTR0 0x12 /* counter #0 */ +#define MSR_P5_CTR1 0x13 /* counter #1 */ +#define MSR_P5_CESR_PC 0x0200 /* pin control */ +#define MSR_P5_CESR_CC 0x01C0 /* counter control mask */ +#define MSR_P5_CESR_ES 0x003F /* event control mask */ +#define MSR_P5_CESR_SHIFT 16 /* shift to get counter 1 */ +#define MSR_P5_CESR_MASK /* mask Counter */ \ (MSR_P5_CESR_PC | MSR_P5_CESR_CC | MSR_P5_CESR_ES) -#define MSR_CORE_THREAD_COUNT 0x35 -#define MSR_FLEX_RATIO 0x194 -#define MSR_IA32_APERF 0xE8 -#define MSR_IA32_APIC_BASE 0x1b -#define MSR_IA32_APIC_BASE_BASE (0xfffff << 12) -#define MSR_IA32_APIC_BASE_BSP (1 << 8) -#define MSR_IA32_APIC_BASE_ENABLE (1 << 11) -#define MSR_IA32_APIC_BASE_EXTENDED (1 << 10) -#define MSR_IA32_BBL_CR_CTL 0x119 -#define MSR_IA32_BIOS_SIGN_ID 0x8b -#define MSR_IA32_CLOCK_MODULATION 0x19a -#define MSR_IA32_CORE_C3_RESIDENCY 0x3FC -#define MSR_IA32_CORE_C6_RESIDENCY 0x3FD -#define MSR_IA32_CORE_C7_RESIDENCY 0x3FE -#define MSR_IA32_CR_PAT 0x277 -#define MSR_IA32_CSTAR 0xC0000083 -#define MSR_IA32_DDR_ENERGY_STATUS 0x619 -#define MSR_IA32_DEBUGCTLMSR 0x1d9 -#define MSR_IA32_DS_AREA 0x600 -#define MSR_IA32_EBL_CR_POWERON 0x2a -#define MSR_IA32_EFER 0xC0000080 -#define MSR_IA32_EFER_LMA 0x00000400 -#define MSR_IA32_EFER_LME 0x00000100 -#define MSR_IA32_EFER_NXE 0x00000800 -#define MSR_IA32_EFER_SCE 0x00000001 -#define MSR_IA32_EVNTSEL0 0x186 -#define MSR_IA32_EVNTSEL1 0x187 -#define MSR_IA32_EVNTSEL2 0x188 -#define MSR_IA32_EVNTSEL3 0x189 -#define MSR_IA32_FEATCTL_CSTATE_SMI (1 << 16) -#define MSR_IA32_FEATCTL_LOCK (1 << 0) -#define MSR_IA32_FEATCTL_VMXON (1 << 2) -#define MSR_IA32_FEATCTL_VMXON_SMX (1 << 1) -#define MSR_IA32_FEATURE_CONTROL 0x3a -#define MSR_IA32_FMASK 0xC0000084 -#define MSR_IA32_FS_BASE 0xC0000100 -#define MSR_IA32_GS_BASE 0xC0000101 -#define MSR_IA32_GS_BASE_KERNEL 0xC0000102 -#define MSR_IA32_GT_PERF_LIMIT_REASONS 0x6B0 -#define MSR_IA32_IA_PERF_LIMIT_REASONS 0x690 -#define MSR_IA32_IA_PERF_LIMIT_REASONS_SKL 0x64F -#define MSR_IA32_LASTBRANCHFROMIP 0x1db -#define MSR_IA32_LASTBRANCHTOIP 0x1dc -#define MSR_IA32_LASTINTFROMIP 0x1dd -#define MSR_IA32_LASTINTTOIP 0x1de +#define MSR_CORE_THREAD_COUNT 0x35 +#define MSR_FLEX_RATIO 0x194 +#define MSR_IA32_APERF 0xE8 +#define MSR_IA32_APIC_BASE 0x1b +#define MSR_IA32_APIC_BASE_BASE (0xfffff << 12) +#define MSR_IA32_APIC_BASE_BSP (1 << 8) +#define MSR_IA32_APIC_BASE_ENABLE (1 << 11) +#define MSR_IA32_APIC_BASE_EXTENDED (1 << 10) +#define MSR_IA32_BBL_CR_CTL 0x119 +#define MSR_IA32_BIOS_SIGN_ID 0x8b +#define MSR_IA32_CLOCK_MODULATION 0x19a +#define MSR_IA32_CORE_C3_RESIDENCY 0x3FC +#define MSR_IA32_CORE_C6_RESIDENCY 0x3FD +#define MSR_IA32_CORE_C7_RESIDENCY 0x3FE +#define MSR_IA32_CR_PAT 0x277 +#define MSR_IA32_CSTAR 0xC0000083 +#define MSR_IA32_DDR_ENERGY_STATUS 0x619 +#define MSR_IA32_DEBUGCTLMSR 0x1d9 +#define MSR_IA32_DS_AREA 0x600 +#define MSR_IA32_EBL_CR_POWERON 0x2a +#define MSR_IA32_EFER 0xC0000080 +#define MSR_IA32_EFER_LMA 0x00000400 +#define MSR_IA32_EFER_LME 0x00000100 +#define MSR_IA32_EFER_NXE 0x00000800 +#define MSR_IA32_EFER_SCE 0x00000001 +#define MSR_IA32_EVNTSEL0 0x186 +#define MSR_IA32_EVNTSEL1 0x187 +#define MSR_IA32_EVNTSEL2 0x188 +#define MSR_IA32_EVNTSEL3 0x189 +#define MSR_IA32_FEATCTL_CSTATE_SMI (1 << 16) +#define MSR_IA32_FEATCTL_LOCK (1 << 0) +#define MSR_IA32_FEATCTL_VMXON (1 << 2) +#define MSR_IA32_FEATCTL_VMXON_SMX (1 << 1) +#define MSR_IA32_FEATURE_CONTROL 0x3a +#define MSR_IA32_FMASK 0xC0000084 +#define MSR_IA32_FS_BASE 0xC0000100 +#define MSR_IA32_GS_BASE 0xC0000101 +#define MSR_IA32_GS_BASE_KERNEL 0xC0000102 +#define MSR_IA32_GT_PERF_LIMIT_REASONS 0x6B0 +#define MSR_IA32_IA_PERF_LIMIT_REASONS 0x690 +#define MSR_IA32_IA_PERF_LIMIT_REASONS_SKL 0x64F +#define MSR_IA32_LASTBRANCHFROMIP 0x1db +#define MSR_IA32_LASTBRANCHTOIP 0x1dc +#define MSR_IA32_LASTINTFROMIP 0x1dd +#define MSR_IA32_LASTINTTOIP 0x1de #define MSR_IA32_LLC_FLUSHED_RESIDENCY_TIMER 0x61D -#define MSR_IA32_LSTAR 0xC0000082 -#define MSR_IA32_MC0_ADDR 0x402 -#define MSR_IA32_MC0_CTL 0x400 -#define MSR_IA32_MC0_MISC 0x403 -#define MSR_IA32_MC0_STATUS 0x401 -#define MSR_IA32_MCG_CAP 0x179 -#define MSR_IA32_MCG_CTL 0x17b -#define MSR_IA32_MCG_STATUS 0x17a -#define MSR_IA32_MISC_ENABLE 0x1a0 -#define MSR_IA32_MPERF 0xE7 -#define MSR_IA32_MTRRCAP 0xfe -#define MSR_IA32_MTRR_DEF_TYPE 0x2ff -#define MSR_IA32_MTRR_FIX16K_80000 0x258 -#define MSR_IA32_MTRR_FIX16K_A0000 0x259 -#define MSR_IA32_MTRR_FIX4K_C0000 0x268 -#define MSR_IA32_MTRR_FIX4K_C8000 0x269 -#define MSR_IA32_MTRR_FIX4K_D0000 0x26a -#define MSR_IA32_MTRR_FIX4K_D8000 0x26b -#define MSR_IA32_MTRR_FIX4K_E0000 0x26c -#define MSR_IA32_MTRR_FIX4K_E8000 0x26d -#define MSR_IA32_MTRR_FIX4K_F0000 0x26e -#define MSR_IA32_MTRR_FIX4K_F8000 0x26f -#define MSR_IA32_MTRR_FIX64K_00000 0x250 -#define MSR_IA32_MTRR_PHYSBASE(n) (0x200 + 2 * (n)) -#define MSR_IA32_MTRR_PHYSMASK(n) (0x200 + 2 * (n) + 1) -#define MSR_IA32_P5_MC_ADDR 0 -#define MSR_IA32_P5_MC_TYPE 1 -#define MSR_IA32_PACKAGE_THERM_INTERRUPT 0x1b2 -#define MSR_IA32_PACKAGE_THERM_STATUS 0x1b1 -#define MSR_IA32_PERFCTR0 0xc1 -#define MSR_IA32_PERFCTR1 0xc2 -#define MSR_IA32_PERFCTR3 0xc3 -#define MSR_IA32_PERFCTR4 0xc4 -#define MSR_IA32_PERF_CTL 0x199 -#define MSR_IA32_PERF_FIXED_CTR0 0x309 -#define MSR_IA32_PERF_FIXED_CTR_CTRL 0x38D -#define MSR_IA32_PERF_GLOBAL_CTRL 0x38F -#define MSR_IA32_PERF_GLOBAL_OVF_CTRL 0x390 -#define MSR_IA32_PERF_GLOBAL_STATUS 0x38E -#define MSR_IA32_PERF_STS 0x198 -#define MSR_IA32_PKG_C10_RESIDENCY 0x632 -#define MSR_IA32_PKG_C2_RESIDENCY 0x60D -#define MSR_IA32_PKG_C3_RESIDENCY 0x3F8 -#define MSR_IA32_PKG_C6_RESIDENCY 0x3F9 -#define MSR_IA32_PKG_C7_RESIDENCY 0x3FA -#define MSR_IA32_PKG_C8_RESIDENCY 0x630 -#define MSR_IA32_PKG_C9_RESIDENCY 0x631 -#define MSR_IA32_PKG_ENERGY_STATUS 0x611 -#define MSR_IA32_PKG_POWER_SKU_UNIT 0x606 -#define MSR_IA32_PLATFORM_ID 0x17 -#define MSR_IA32_PP0_ENERGY_STATUS 0x639 -#define MSR_IA32_PP1_ENERGY_STATUS 0x641 -#define MSR_IA32_RING_PERF_STATUS 0x621 -#define MSR_IA32_STAR 0xC0000081 -#define MSR_IA32_SYSENTER_CS 0x174 -#define MSR_IA32_SYSENTER_EIP 0x176 -#define MSR_IA32_SYSENTER_ESP 0x175 -#define MSR_IA32_TSC_AUX 0xC0000103 -#define MSR_IA32_TSC_DEADLINE 0x6e0 -#define MSR_IA32_UCODE_REV MSR_IA32_BIOS_SIGN_ID -#define MSR_IA32_UCODE_WRITE MSR_IA32_UPDT_TRIG -#define MSR_IA32_UPDT_TRIG 0x79 -#define MSR_IA32_VMX_BASE 0x480 -#define MSR_IA32_VMX_BASIC MSR_IA32_VMX_BASE -#define MSR_IA32_VMX_CR0_FIXED0 MSR_IA32_VMX_BASE + 6 -#define MSR_IA32_VMX_CR0_FIXED1 MSR_IA32_VMX_BASE + 7 -#define MSR_IA32_VMX_CR4_FIXED0 MSR_IA32_VMX_BASE + 8 -#define MSR_IA32_VMX_CR4_FIXED1 MSR_IA32_VMX_BASE + 9 -#define MSR_IA32_VMX_ENTRY_CTLS MSR_IA32_VMX_BASE + 4 -#define MSR_IA32_VMX_EPT_VPID_CAP MSR_IA32_VMX_BASE + 12 -#define MSR_IA32_VMX_EPT_VPID_CAP_AD_SHIFT 21 -#define MSR_IA32_VMX_EXIT_CTLS MSR_IA32_VMX_BASE + 3 -#define MSR_IA32_VMX_MISC MSR_IA32_VMX_BASE + 5 -#define MSR_IA32_VMX_PINBASED_CTLS MSR_IA32_VMX_BASE + 1 -#define MSR_IA32_VMX_PROCBASED_CTLS MSR_IA32_VMX_BASE + 2 -#define MSR_IA32_VMX_PROCBASED_CTLS2 MSR_IA32_VMX_BASE + 11 -#define MSR_IA32_VMX_TRUE_PINBASED_CTLS MSR_IA32_VMX_BASE + 13 -#define MSR_IA32_VMX_TRUE_PROCBASED_CTLS MSR_IA32_VMX_BASE + 14 -#define MSR_IA32_VMX_TRUE_VMENTRY_CTLS MSR_IA32_VMX_BASE + 16 -#define MSR_IA32_VMX_TRUE_VMEXIT_CTLS MSR_IA32_VMX_BASE + 15 -#define MSR_IA32_VMX_VMCS_ENUM MSR_IA32_VMX_BASE + 10 -#define MSR_IA32_VMX_VMFUNC MSR_IA32_VMX_BASE + 17 -#define MSR_P5_CESR_CC_CLOCK 0x0100 /* Clock Counting (otherwise Event) */ -#define MSR_P5_CESR_CC_CPL 0x00C0 /* Count regardless of the CPL */ -#define MSR_P5_CESR_CC_CPL012 0x0040 /* Count if the CPL == 0, 1, 2 */ -#define MSR_P5_CESR_CC_CPL3 0x0080 /* Count if the CPL == 3 */ -#define MSR_P5_CESR_CC_DISABLE 0x0000 /* Disable counter */ -#define MSR_P5_CESR_ES_AGI 0x011111 /* Stall because of AGI */ -#define MSR_P5_CESR_ES_BANK_CONFLICTS 0x001010 /* Bank conflicts */ -#define MSR_P5_CESR_ES_BRANCHE 0x010010 /* Branches */ -#define MSR_P5_CESR_ES_BRANCHE_BTB 0x010100 /* Taken branch or BTB Hit */ -#define MSR_P5_CESR_ES_BREAK_DR0 0x100011 /* Breakpoint matches on DR0 */ -#define MSR_P5_CESR_ES_BREAK_DR1 0x100100 /* Breakpoint matches on DR1 */ -#define MSR_P5_CESR_ES_BREAK_DR2 0x100101 /* Breakpoint matches on DR2 */ -#define MSR_P5_CESR_ES_BREAK_DR3 0x100110 /* Breakpoint matches on DR3 */ -#define MSR_P5_CESR_ES_BTB_HIT 0x010011 /* BTB Hits */ -#define MSR_P5_CESR_ES_BUS_CYCLE 0x011000 /* Clocks while bus cycle */ -#define MSR_P5_CESR_ES_CACHE_SNOOP_HIT 0x001000 /* Data cache snoop hits */ -#define MSR_P5_CESR_ES_CODE_CACHE_MISS 0x001110 /* Code Cache miss */ -#define MSR_P5_CESR_ES_CODE_READ 0x001100 /* Code Read */ -#define MSR_P5_CESR_ES_CODE_TLB_MISS 0x001101 /* Code TLB miss */ -#define MSR_P5_CESR_ES_DATA_CACHE_WB 0x000110 /* Cache lines written back */ -#define MSR_P5_CESR_ES_DATA_MEM_READ 0x011010 /* Pipeline waiting for read */ -#define MSR_P5_CESR_ES_DATA_READ 0x000000 /* Data Read */ -#define MSR_P5_CESR_ES_DATA_READ_MISS 0x000011 /* Data Read Miss */ -#define MSR_P5_CESR_ES_DATA_RW 0x101000 /* Data Read or Write */ -#define MSR_P5_CESR_ES_DATA_RW_MISS 0x101001 /* Data Read or Write Miss */ -#define MSR_P5_CESR_ES_DATA_TLB_MISS 0x000010 /* Data TLB Miss */ -#define MSR_P5_CESR_ES_DATA_WRITE 0x000001 /* Data Write */ -#define MSR_P5_CESR_ES_DATA_WRITE_MISS 0x000100 /* Data Write Miss */ -#define MSR_P5_CESR_ES_EXTERNAL_SNOOP 0x000111 /* External Snoop */ -#define MSR_P5_CESR_ES_FLOP 0x100010 /* Floating Point operations */ -#define MSR_P5_CESR_ES_FULL_WRITE_BUF 0x011001 /* Clocks while full wrt buf */ -#define MSR_P5_CESR_ES_HARDWARE_IT 0x100111 /* Hardware interrupts */ -#define MSR_P5_CESR_ES_HIT_EM 0x000101 /* Write (hit) to M|E state */ -#define MSR_P5_CESR_ES_INSTRUCTION 0x010110 /* Instruction executed */ -#define MSR_P5_CESR_ES_INSTRUCTION_V 0x010111 /* Inst. executed (v-pipe) */ -#define MSR_P5_CESR_ES_IO_CYCLE 0x011101 /* I/O Read or Write cycles */ -#define MSR_P5_CESR_ES_LOCKED_CYCLE 0x011100 /* Locked bus cycles */ -#define MSR_P5_CESR_ES_MEM_ACCESS_PIPE 0x001001 /* mem access both pipes */ -#define MSR_P5_CESR_ES_MISALIGNED 0x001011 /* Misaligned Memory or I/O */ -#define MSR_P5_CESR_ES_NON_CACHEABLE 0x011110 /* Non-cacheable Mem. read */ -#define MSR_P5_CESR_ES_PIPELINE_FLUSH 0x010101 /* Pipeline Flushes */ -#define MSR_P5_CESR_ES_SEGMENT_LOADED 0x001111 /* Any segment reg. loaded */ -#define MSR_P5_CESR_ES_WRITE_EM 0x011011 /* Stall on write E|M state */ -#define MSR_PLATFORM_INFO 0xce +#define MSR_IA32_LSTAR 0xC0000082 +#define MSR_IA32_MC0_ADDR 0x402 +#define MSR_IA32_MC0_CTL 0x400 +#define MSR_IA32_MC0_MISC 0x403 +#define MSR_IA32_MC0_STATUS 0x401 +#define MSR_IA32_MCG_CAP 0x179 +#define MSR_IA32_MCG_CTL 0x17b +#define MSR_IA32_MCG_STATUS 0x17a +#define MSR_IA32_MISC_ENABLE 0x1a0 +#define MSR_IA32_MPERF 0xE7 +#define MSR_IA32_MTRRCAP 0xfe +#define MSR_IA32_MTRR_DEF_TYPE 0x2ff +#define MSR_IA32_MTRR_FIX16K_80000 0x258 +#define MSR_IA32_MTRR_FIX16K_A0000 0x259 +#define MSR_IA32_MTRR_FIX4K_C0000 0x268 +#define MSR_IA32_MTRR_FIX4K_C8000 0x269 +#define MSR_IA32_MTRR_FIX4K_D0000 0x26a +#define MSR_IA32_MTRR_FIX4K_D8000 0x26b +#define MSR_IA32_MTRR_FIX4K_E0000 0x26c +#define MSR_IA32_MTRR_FIX4K_E8000 0x26d +#define MSR_IA32_MTRR_FIX4K_F0000 0x26e +#define MSR_IA32_MTRR_FIX4K_F8000 0x26f +#define MSR_IA32_MTRR_FIX64K_00000 0x250 +#define MSR_IA32_MTRR_PHYSBASE(n) (0x200 + 2 * (n)) +#define MSR_IA32_MTRR_PHYSMASK(n) (0x200 + 2 * (n) + 1) +#define MSR_IA32_P5_MC_ADDR 0 +#define MSR_IA32_P5_MC_TYPE 1 +#define MSR_IA32_PACKAGE_THERM_INTERRUPT 0x1b2 +#define MSR_IA32_PACKAGE_THERM_STATUS 0x1b1 +#define MSR_IA32_PERFCTR0 0xc1 +#define MSR_IA32_PERFCTR1 0xc2 +#define MSR_IA32_PERFCTR3 0xc3 +#define MSR_IA32_PERFCTR4 0xc4 +#define MSR_IA32_PERF_CTL 0x199 +#define MSR_IA32_PERF_FIXED_CTR0 0x309 +#define MSR_IA32_PERF_FIXED_CTR_CTRL 0x38D +#define MSR_IA32_PERF_GLOBAL_CTRL 0x38F +#define MSR_IA32_PERF_GLOBAL_OVF_CTRL 0x390 +#define MSR_IA32_PERF_GLOBAL_STATUS 0x38E +#define MSR_IA32_PERF_STS 0x198 +#define MSR_IA32_PKG_C10_RESIDENCY 0x632 +#define MSR_IA32_PKG_C2_RESIDENCY 0x60D +#define MSR_IA32_PKG_C3_RESIDENCY 0x3F8 +#define MSR_IA32_PKG_C6_RESIDENCY 0x3F9 +#define MSR_IA32_PKG_C7_RESIDENCY 0x3FA +#define MSR_IA32_PKG_C8_RESIDENCY 0x630 +#define MSR_IA32_PKG_C9_RESIDENCY 0x631 +#define MSR_IA32_PKG_ENERGY_STATUS 0x611 +#define MSR_IA32_PKG_POWER_SKU_UNIT 0x606 +#define MSR_IA32_PLATFORM_ID 0x17 +#define MSR_IA32_PP0_ENERGY_STATUS 0x639 +#define MSR_IA32_PP1_ENERGY_STATUS 0x641 +#define MSR_IA32_RING_PERF_STATUS 0x621 +#define MSR_IA32_STAR 0xC0000081 +#define MSR_IA32_SYSENTER_CS 0x174 +#define MSR_IA32_SYSENTER_EIP 0x176 +#define MSR_IA32_SYSENTER_ESP 0x175 +#define MSR_IA32_TSC_AUX 0xC0000103 +#define MSR_IA32_TSC_DEADLINE 0x6e0 +#define MSR_IA32_UCODE_REV MSR_IA32_BIOS_SIGN_ID +#define MSR_IA32_UCODE_WRITE MSR_IA32_UPDT_TRIG +#define MSR_IA32_UPDT_TRIG 0x79 +#define MSR_IA32_VMX_BASE 0x480 +#define MSR_IA32_VMX_BASIC MSR_IA32_VMX_BASE +#define MSR_IA32_VMX_CR0_FIXED0 MSR_IA32_VMX_BASE + 6 +#define MSR_IA32_VMX_CR0_FIXED1 MSR_IA32_VMX_BASE + 7 +#define MSR_IA32_VMX_CR4_FIXED0 MSR_IA32_VMX_BASE + 8 +#define MSR_IA32_VMX_CR4_FIXED1 MSR_IA32_VMX_BASE + 9 +#define MSR_IA32_VMX_ENTRY_CTLS MSR_IA32_VMX_BASE + 4 +#define MSR_IA32_VMX_EPT_VPID_CAP MSR_IA32_VMX_BASE + 12 +#define MSR_IA32_VMX_EPT_VPID_CAP_AD_SHIFT 21 +#define MSR_IA32_VMX_EXIT_CTLS MSR_IA32_VMX_BASE + 3 +#define MSR_IA32_VMX_MISC MSR_IA32_VMX_BASE + 5 +#define MSR_IA32_VMX_PINBASED_CTLS MSR_IA32_VMX_BASE + 1 +#define MSR_IA32_VMX_PROCBASED_CTLS MSR_IA32_VMX_BASE + 2 +#define MSR_IA32_VMX_PROCBASED_CTLS2 MSR_IA32_VMX_BASE + 11 +#define MSR_IA32_VMX_TRUE_PINBASED_CTLS MSR_IA32_VMX_BASE + 13 +#define MSR_IA32_VMX_TRUE_PROCBASED_CTLS MSR_IA32_VMX_BASE + 14 +#define MSR_IA32_VMX_TRUE_VMENTRY_CTLS MSR_IA32_VMX_BASE + 16 +#define MSR_IA32_VMX_TRUE_VMEXIT_CTLS MSR_IA32_VMX_BASE + 15 +#define MSR_IA32_VMX_VMCS_ENUM MSR_IA32_VMX_BASE + 10 +#define MSR_IA32_VMX_VMFUNC MSR_IA32_VMX_BASE + 17 +#define MSR_P5_CESR_CC_CLOCK 0x0100 /* Clock Counting (otherwise Event) */ +#define MSR_P5_CESR_CC_CPL 0x00C0 /* Count regardless of the CPL */ +#define MSR_P5_CESR_CC_CPL012 0x0040 /* Count if the CPL == 0, 1, 2 */ +#define MSR_P5_CESR_CC_CPL3 0x0080 /* Count if the CPL == 3 */ +#define MSR_P5_CESR_CC_DISABLE 0x0000 /* Disable counter */ +#define MSR_P5_CESR_ES_AGI 0x011111 /* Stall because of AGI */ +#define MSR_P5_CESR_ES_BANK_CONFLICTS 0x001010 /* Bank conflicts */ +#define MSR_P5_CESR_ES_BRANCHE 0x010010 /* Branches */ +#define MSR_P5_CESR_ES_BRANCHE_BTB 0x010100 /* Taken branch or BTB Hit */ +#define MSR_P5_CESR_ES_BREAK_DR0 0x100011 /* Breakpoint matches on DR0 */ +#define MSR_P5_CESR_ES_BREAK_DR1 0x100100 /* Breakpoint matches on DR1 */ +#define MSR_P5_CESR_ES_BREAK_DR2 0x100101 /* Breakpoint matches on DR2 */ +#define MSR_P5_CESR_ES_BREAK_DR3 0x100110 /* Breakpoint matches on DR3 */ +#define MSR_P5_CESR_ES_BTB_HIT 0x010011 /* BTB Hits */ +#define MSR_P5_CESR_ES_BUS_CYCLE 0x011000 /* Clocks while bus cycle */ +#define MSR_P5_CESR_ES_CACHE_SNOOP_HIT 0x001000 /* Data cache snoop hits */ +#define MSR_P5_CESR_ES_CODE_CACHE_MISS 0x001110 /* Code Cache miss */ +#define MSR_P5_CESR_ES_CODE_READ 0x001100 /* Code Read */ +#define MSR_P5_CESR_ES_CODE_TLB_MISS 0x001101 /* Code TLB miss */ +#define MSR_P5_CESR_ES_DATA_CACHE_WB 0x000110 /* Cache lines written back */ +#define MSR_P5_CESR_ES_DATA_MEM_READ 0x011010 /* Pipeline waiting for read */ +#define MSR_P5_CESR_ES_DATA_READ 0x000000 /* Data Read */ +#define MSR_P5_CESR_ES_DATA_READ_MISS 0x000011 /* Data Read Miss */ +#define MSR_P5_CESR_ES_DATA_RW 0x101000 /* Data Read or Write */ +#define MSR_P5_CESR_ES_DATA_RW_MISS 0x101001 /* Data Read or Write Miss */ +#define MSR_P5_CESR_ES_DATA_TLB_MISS 0x000010 /* Data TLB Miss */ +#define MSR_P5_CESR_ES_DATA_WRITE 0x000001 /* Data Write */ +#define MSR_P5_CESR_ES_DATA_WRITE_MISS 0x000100 /* Data Write Miss */ +#define MSR_P5_CESR_ES_EXTERNAL_SNOOP 0x000111 /* External Snoop */ +#define MSR_P5_CESR_ES_FLOP 0x100010 /* Floating Point operations */ +#define MSR_P5_CESR_ES_FULL_WRITE_BUF 0x011001 /* Clocks while full wrt buf */ +#define MSR_P5_CESR_ES_HARDWARE_IT 0x100111 /* Hardware interrupts */ +#define MSR_P5_CESR_ES_HIT_EM 0x000101 /* Write (hit) to M|E state */ +#define MSR_P5_CESR_ES_INSTRUCTION 0x010110 /* Instruction executed */ +#define MSR_P5_CESR_ES_INSTRUCTION_V 0x010111 /* Inst. executed (v-pipe) */ +#define MSR_P5_CESR_ES_IO_CYCLE 0x011101 /* I/O Read or Write cycles */ +#define MSR_P5_CESR_ES_LOCKED_CYCLE 0x011100 /* Locked bus cycles */ +#define MSR_P5_CESR_ES_MEM_ACCESS_PIPE 0x001001 /* mem access both pipes */ +#define MSR_P5_CESR_ES_MISALIGNED 0x001011 /* Misaligned Memory or I/O */ +#define MSR_P5_CESR_ES_NON_CACHEABLE 0x011110 /* Non-cacheable Mem. read */ +#define MSR_P5_CESR_ES_PIPELINE_FLUSH 0x010101 /* Pipeline Flushes */ +#define MSR_P5_CESR_ES_SEGMENT_LOADED 0x001111 /* Any segment reg. loaded */ +#define MSR_P5_CESR_ES_WRITE_EM 0x011011 /* Stall on write E|M state */ +#define MSR_PLATFORM_INFO 0xce #endif /* COSMOPOLITAN_LIBC_MSR_H_ */ diff --git a/libc/nexgen32e/rdtscp.h b/libc/nexgen32e/rdtscp.h index f521a9719..ec90a33ef 100644 --- a/libc/nexgen32e/rdtscp.h +++ b/libc/nexgen32e/rdtscp.h @@ -1,7 +1,7 @@ #ifndef COSMOPOLITAN_LIBC_NEXGEN32E_RDTSCP_H_ #define COSMOPOLITAN_LIBC_NEXGEN32E_RDTSCP_H_ -#include "libc/intrin/asmflag.h" #include "libc/dce.h" +#include "libc/intrin/asmflag.h" #include "libc/nexgen32e/x86feature.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ diff --git a/libc/nt/efi.h b/libc/nt/efi.h index 3178a3e86..8d2750068 100644 --- a/libc/nt/efi.h +++ b/libc/nt/efi.h @@ -409,9 +409,8 @@ typedef EFI_STATUS(EFIAPI *EFI_GRAPHICS_OUTPUT_PROTOCOL_SET_MODE)( typedef EFI_STATUS(EFIAPI *EFI_GRAPHICS_OUTPUT_PROTOCOL_BLT)( EFI_GRAPHICS_OUTPUT_PROTOCOL *This, EFI_GRAPHICS_OUTPUT_BLT_PIXEL *BltBuffer, - EFI_GRAPHICS_OUTPUT_BLT_OPERATION BltOperation, - uint32_t SourceX, uint32_t SourceY, - uint32_t DestinationX, uint32_t DestinationY, + EFI_GRAPHICS_OUTPUT_BLT_OPERATION BltOperation, uint32_t SourceX, + uint32_t SourceY, uint32_t DestinationX, uint32_t DestinationY, uint32_t Width, uint32_t Height, uint32_t Delta); typedef EFI_STATUS(EFIAPI *EFI_HANDLE_PROTOCOL)(EFI_HANDLE Handle, diff --git a/libc/nt/errors.h b/libc/nt/errors.h index e15d100ae..c4f6de305 100644 --- a/libc/nt/errors.h +++ b/libc/nt/errors.h @@ -5,2670 +5,2670 @@ #define kNtErrorInsufficientBuffer 122 -#define kNtErrorSuccess 0 -#define kNtErrorInvalidFunction 1 /* ENOSYS */ -#define kNtErrorFileNotFound 2 /* ENOENT */ -#define kNtErrorPathNotFound 3 /* ENOTDIR */ -#define kNtErrorTooManyOpenFiles 4 /* EMFILE */ -#define kNtErrorAccessDenied 5 /* EACCES */ -#define kNtErrorInvalidHandle 6 /* EBADF */ -#define kNtErrorArenaTrashed 7 -#define kNtErrorNotEnoughMemory 8 -#define kNtErrorInvalidBlock 9 -#define kNtErrorBadEnvironment 10 -#define kNtErrorBadFormat 11 -#define kNtErrorInvalidAccess 12 /* EPERM */ -#define kNtErrorInvalidData 13 -#define kNtErrorOutofmemory 14 /* ENOMEM */ -#define kNtErrorInvalidDrive 15 -#define kNtErrorCurrentDirectory 16 -#define kNtErrorNotSameDevice 17 -#define kNtErrorNoMoreFiles 18 -#define kNtErrorWriteProtect 19 -#define kNtErrorBadUnit 20 -#define kNtErrorNotReady 21 -#define kNtErrorBadCommand 22 -#define kNtErrorCrc 23 -#define kNtErrorBadLength 24 -#define kNtErrorSeek 25 /* ESPIPE */ -#define kNtErrorNotDosDisk 26 /* ENOTBLK */ -#define kNtErrorSectorNotFound 27 -#define kNtErrorOutOfPaper 28 -#define kNtErrorWriteFault 29 -#define kNtErrorReadFault 30 -#define kNtErrorGenFailure 31 -#define kNtErrorSharingViolation 32 -#define kNtErrorLockViolation 33 -#define kNtErrorWrongDisk 34 -#define kNtErrorSharingBufferExceeded 36 -#define kNtErrorHandleEof 38 /* w/ GetOverlappedResult() */ -#define kNtErrorHandleDiskFull 39 -#define kNtErrorNotSupported 50 -#define kNtErrorRemNotList 51 -#define kNtErrorDupName 52 -#define kNtErrorBadNetpath 53 -#define kNtErrorNetworkBusy 54 -#define kNtErrorDevNotExist 55 -#define kNtErrorTooManyCmds 56 -#define kNtErrorAdapHdwErr 57 -#define kNtErrorBadNetResp 58 -#define kNtErrorUnexpNetErr 59 -#define kNtErrorBadRemAdap 60 -#define kNtErrorPrintqFull 61 -#define kNtErrorNoSpoolSpace 62 -#define kNtErrorPrintCancelled 63 -#define kNtErrorNetnameDeleted 64 -#define kNtErrorNetworkAccessDenied 65 -#define kNtErrorBadDevType 66 -#define kNtErrorBadNetName 67 -#define kNtErrorTooManyNames 68 -#define kNtErrorTooManySess 69 -#define kNtErrorSharingPaused 70 -#define kNtErrorReqNotAccep 71 -#define kNtErrorRedirPaused 72 -#define kNtErrorFileExists 80 /* EEXIST */ -#define kNtErrorCannotMake 82 -#define kNtErrorFailI24 83 -#define kNtErrorOutOfStructures 84 -#define kNtErrorAlreadyAssigned 85 -#define kNtErrorInvalidPassword 86 -#define kNtErrorInvalidParameter 87 /* EINVAL */ -#define kNtErrorNetWriteFault 88 -#define kNtErrorNoProcSlots 89 -#define kNtErrorTooManySemaphores 100 -#define kNtErrorExclSemAlreadyOwned 101 -#define kNtErrorSemIsSet 102 -#define kNtErrorTooManySemRequests 103 -#define kNtErrorInvalidAtInterruptTime 104 -#define kNtErrorSemOwnerDied 105 /* EOWNERDEAD */ -#define kNtErrorSemUserLimit 106 -#define kNtErrorDiskChange 107 -#define kNtErrorDriveLocked 108 -#define kNtErrorBrokenPipe 109 /* EPIPE; happens on ReadFile() too */ -#define kNtErrorOpenFailed 110 -#define kNtErrorBufferOverflow 111 -#define kNtErrorDiskFull 112 /* ENOSPC */ -#define kNtErrorNoMoreSearchHandles 113 -#define kNtErrorInvalidTargetHandle 114 /* EBADF */ -#define kNtErrorInvalidCategory 117 /* ENOATTR */ -#define kNtErrorInvalidVerifySwitch 118 -#define kNtErrorBadDriverLevel 119 -#define kNtErrorCallNotImplemented 120 -#define kNtErrorSemTimeout 121 -#define kNtErrorInsufficientBuffer 122 -#define kNtErrorInvalidName 123 -#define kNtErrorInvalidLevel 124 -#define kNtErrorNoVolumeLabel 125 -#define kNtErrorModNotFound 126 -#define kNtErrorProcNotFound 127 -#define kNtErrorWaitNoChildren 128 /* ECHILD */ -#define kNtErrorChildNotComplete 129 -#define kNtErrorDirectAccessHandle 130 /* EBADF */ -#define kNtErrorNegativeSeek 131 -#define kNtErrorSeekOnDevice 132 -#define kNtErrorIsJoinTarget 133 -#define kNtErrorIsJoined 134 -#define kNtErrorIsSubsted 135 -#define kNtErrorNotJoined 136 -#define kNtErrorNotSubsted 137 -#define kNtErrorJoinToJoin 138 -#define kNtErrorSubstToSubst 139 -#define kNtErrorJoinToSubst 140 -#define kNtErrorSubstToJoin 141 -#define kNtErrorBusyDrive 142 -#define kNtErrorSameDrive 143 -#define kNtErrorDirNotRoot 144 -#define kNtErrorDirNotEmpty 145 -#define kNtErrorIsSubstPath 146 -#define kNtErrorIsJoinPath 147 -#define kNtErrorPathBusy 148 /* ETXTBSY */ -#define kNtErrorIsSubstTarget 149 -#define kNtErrorSystemTrace 150 -#define kNtErrorInvalidEventCount 151 -#define kNtErrorTooManyMuxwaiters 152 -#define kNtErrorInvalidListFormat 153 -#define kNtErrorLabelTooLong 154 -#define kNtErrorTooManyTcbs 155 -#define kNtErrorSignalRefused 156 -#define kNtErrorDiscarded 157 -#define kNtErrorNotLocked 158 /* ENOLCK */ -#define kNtErrorBadThreadidAddr 159 -#define kNtErrorBadArguments 160 -#define kNtErrorBadPathname 161 -#define kNtErrorSignalPending 162 -#define kNtErrorMaxThrdsReached 164 -#define kNtErrorLockFailed 167 -#define kNtErrorBusy 170 /* EBUSY */ -#define kNtErrorDeviceSupportInProgress 171 -#define kNtErrorCancelViolation 173 -#define kNtErrorAtomicLocksNotSupported 174 -#define kNtErrorInvalidSegmentNumber 180 -#define kNtErrorInvalidOrdinal 182 -#define kNtErrorAlreadyExists 183 /* EEXIST */ -#define kNtErrorInvalidFlagNumber 186 -#define kNtErrorSemNotFound 187 -#define kNtErrorInvalidStartingCodeseg 188 -#define kNtErrorInvalidStackseg 189 -#define kNtErrorInvalidModuletype 190 -#define kNtErrorInvalidExeSignature 191 -#define kNtErrorExeMarkedInvalid 192 /* EBADEXEC */ -#define kNtErrorBadExeFormat 193 /* ENOEXEC */ -#define kNtErrorIteratedDataExceeds_64k 194 -#define kNtErrorInvalidMinallocsize 195 -#define kNtErrorDynlinkFromInvalidRing 196 -#define kNtErrorIoplNotEnabled 197 -#define kNtErrorInvalidSegdpl 198 -#define kNtErrorAutodatasegExceeds_64k 199 -#define kNtErrorRing2segMustBeMovable 200 -#define kNtErrorRelocChainXeedsSeglim 201 -#define kNtErrorInfloopInRelocChain 202 -#define kNtErrorEnvvarNotFound 203 -#define kNtErrorNoSignalSent 205 -#define kNtErrorFilenameExcedRange 206 /* ENAMETOOLONG */ -#define kNtErrorRing2StackInUse 207 -#define kNtErrorMetaExpansionTooLong 208 -#define kNtErrorInvalidSignalNumber 209 -#define kNtErrorThread_1Inactive 210 -#define kNtErrorLocked 212 -#define kNtErrorTooManyModules 214 -#define kNtErrorNestingNotAllowed 215 -#define kNtErrorExeMachineTypeMismatch 216 /* EBADARCH */ -#define kNtErrorExeCannotModifySignedBinary 217 -#define kNtErrorExeCannotModifyStrongSignedBinary 218 -#define kNtErrorFileCheckedOut 220 -#define kNtErrorCheckoutRequired 221 -#define kNtErrorBadFileType 222 /* EFTYPE */ -#define kNtErrorFileTooLarge 223 /* EFBIG */ -#define kNtErrorFormsAuthRequired 224 /* ENEEDAUTH */ -#define kNtErrorVirusInfected 225 -#define kNtErrorVirusDeleted 226 -#define kNtErrorPipeLocal 229 -#define kNtErrorBadPipe 230 -#define kNtErrorPipeBusy 231 -#define kNtErrorNoData 232 -#define kNtErrorPipeNotConnected 233 -#define kNtErrorMoreData 234 -#define kNtErrorNoWorkDone 235 -#define kNtErrorVcDisconnected 240 -#define kNtErrorInvalidEaName 254 -#define kNtErrorEaListInconsistent 255 -#define kNtErrorNoMoreItems 259 -#define kNtErrorCannotCopy 266 -#define kNtErrorDirectory 267 /* EISDIR */ -#define kNtErrorEasDidntFit 275 -#define kNtErrorEaFileCorrupt 276 -#define kNtErrorEaTableFull 277 -#define kNtErrorInvalidEaHandle 278 -#define kNtErrorEasNotSupported 282 -#define kNtErrorNotOwner 288 -#define kNtErrorTooManyPosts 298 -#define kNtErrorPartialCopy 299 -#define kNtErrorOplockNotGranted 300 -#define kNtErrorInvalidOplockProtocol 301 -#define kNtErrorDiskTooFragmented 302 -#define kNtErrorDeletePending 303 -#define kNtErrorIncompatibleWithGlobalShortNameRegistrySetting 304 -#define kNtErrorShortNamesNotEnabledOnVolume 305 -#define kNtErrorSecurityStreamIsInconsistent 306 -#define kNtErrorInvalidLockRange 307 -#define kNtErrorImageSubsystemNotPresent 308 -#define kNtErrorNotificationGuidAlreadyDefined 309 -#define kNtErrorInvalidExceptionHandler 310 -#define kNtErrorDuplicatePrivileges 311 -#define kNtErrorNoRangesProcessed 312 -#define kNtErrorNotAllowedOnSystemFile 313 -#define kNtErrorDiskResourcesExhausted 314 -#define kNtErrorInvalidToken 315 -#define kNtErrorDeviceFeatureNotSupported 316 -#define kNtErrorMrMidNotFound 317 -#define kNtErrorScopeNotFound 318 -#define kNtErrorUndefinedScope 319 -#define kNtErrorInvalidCap 320 -#define kNtErrorDeviceUnreachable 321 -#define kNtErrorDeviceNoResources 322 -#define kNtErrorDataChecksumError 323 -#define kNtErrorIntermixedKernelEaOperation 324 -#define kNtErrorFileLevelTrimNotSupported 326 -#define kNtErrorOffsetAlignmentViolation 327 -#define kNtErrorInvalidFieldInParameterList 328 -#define kNtErrorOperationInProgress 329 /* EPROGUNAVAIL */ -#define kNtErrorBadDevicePath 330 -#define kNtErrorTooManyDescriptors 331 /* ENFILE */ -#define kNtErrorScrubDataDisabled 332 -#define kNtErrorNotRedundantStorage 333 -#define kNtErrorResidentFileNotSupported 334 -#define kNtErrorCompressedFileNotSupported 335 -#define kNtErrorDirectoryNotSupported 336 -#define kNtErrorNotReadFromCopy 337 -#define kNtErrorFtWriteFailure 338 -#define kNtErrorFtDiScanRequired 339 -#define kNtErrorInvalidKernelInfoVersion 340 -#define kNtErrorInvalidPepInfoVersion 341 -#define kNtErrorObjectNotExternallyBacked 342 -#define kNtErrorExternalBackingProviderUnknown 343 -#define kNtErrorCompressionNotBeneficial 344 -#define kNtErrorStorageTopologyIdMismatch 345 -#define kNtErrorBlockedByParentalControls 346 -#define kNtErrorBlockTooManyReferences 347 -#define kNtErrorMarkedToDisallowWrites 348 -#define kNtErrorEnclaveFailure 349 -#define kNtErrorFailNoactionReboot 350 -#define kNtErrorFailShutdown 351 -#define kNtErrorFailRestart 352 -#define kNtErrorMaxSessionsReached 353 -#define kNtErrorNetworkAccessDeniedEdp 354 -#define kNtErrorDeviceHintNameBufferTooSmall 355 -#define kNtErrorEdpPolicyDeniesOperation 356 -#define kNtErrorEdpDplPolicyCantBeSatisfied 357 -#define kNtErrorCloudFileSyncRootMetadataCorrupt 358 -#define kNtErrorDeviceInMaintenance 359 -#define kNtErrorNotSupportedOnDax 360 -#define kNtErrorDaxMappingExists 361 -#define kNtErrorCloudFileProviderNotRunning 362 -#define kNtErrorCloudFileMetadataCorrupt 363 -#define kNtErrorCloudFileMetadataTooLarge 364 -#define kNtErrorCloudFilePropertyBlobTooLarge 365 -#define kNtErrorCloudFilePropertyBlobChecksumMismatch 366 -#define kNtErrorChildProcessBlocked 367 -#define kNtErrorStorageLostDataPersistence 368 -#define kNtErrorFileSystemVirtualizationUnavailable 369 -#define kNtErrorFileSystemVirtualizationMetadataCorrupt 370 -#define kNtErrorFileSystemVirtualizationBusy 371 -#define kNtErrorFileSystemVirtualizationProviderUnknown 372 -#define kNtErrorGdiHandleLeak 373 -#define kNtErrorCloudFileTooManyPropertyBlobs 374 -#define kNtErrorCloudFilePropertyVersionNotSupported 375 -#define kNtErrorNotACloudFile 376 -#define kNtErrorCloudFileNotInSync 377 -#define kNtErrorCloudFileAlreadyConnected 378 -#define kNtErrorCloudFileNotSupported 379 -#define kNtErrorCloudFileInvalidRequest 380 -#define kNtErrorCloudFileReadOnlyVolume 381 -#define kNtErrorCloudFileConnectedProviderOnly 382 -#define kNtErrorCloudFileValidationFailed 383 -#define kNtErrorSmb1NotAvailable 384 -#define kNtErrorFileSystemVirtualizationInvalidOperation 385 -#define kNtErrorCloudFileAuthenticationFailed 386 -#define kNtErrorCloudFileInsufficientResources 387 -#define kNtErrorCloudFileNetworkUnavailable 388 -#define kNtErrorCloudFileUnsuccessful 389 -#define kNtErrorCloudFileNotUnderSyncRoot 390 -#define kNtErrorCloudFileInUse 391 -#define kNtErrorCloudFilePinned 392 -#define kNtErrorCloudFileRequestAborted 393 -#define kNtErrorCloudFilePropertyCorrupt 394 -#define kNtErrorCloudFileAccessDenied 395 -#define kNtErrorCloudFileIncompatibleHardlinks 396 -#define kNtErrorCloudFilePropertyLockConflict 397 -#define kNtErrorCloudFileRequestCanceled 398 -#define kNtErrorExternalSyskeyNotSupported 399 -#define kNtErrorThreadModeAlreadyBackground 400 -#define kNtErrorThreadModeNotBackground 401 -#define kNtErrorProcessModeAlreadyBackground 402 -#define kNtErrorProcessModeNotBackground 403 -#define kNtErrorCloudFileProviderTerminated 404 -#define kNtErrorNotACloudSyncRoot 405 -#define kNtErrorFileProtectedUnderDpl 406 -#define kNtErrorVolumeNotClusterAligned 407 -#define kNtErrorNoPhysicallyAlignedFreeSpaceFound 408 -#define kNtErrorAppxFileNotEncrypted 409 -#define kNtErrorRwrawEncryptedFileNotEncrypted 410 -#define kNtErrorRwrawEncryptedInvalidEdatainfoFileoffset 411 -#define kNtErrorRwrawEncryptedInvalidEdatainfoFilerange 412 -#define kNtErrorRwrawEncryptedInvalidEdatainfoParameter 413 -#define kNtErrorLinuxSubsystemNotPresent 414 -#define kNtErrorCapauthzNotDevunlocked 450 -#define kNtErrorCapauthzChangeType 451 -#define kNtErrorCapauthzNotProvisioned 452 -#define kNtErrorCapauthzNotAuthorized 453 -#define kNtErrorCapauthzNoPolicy 454 -#define kNtErrorCapauthzDbCorrupted 455 -#define kNtErrorCapauthzSccdInvalidCatalog 456 -#define kNtErrorCapauthzSccdNoAuthEntity 457 -#define kNtErrorCapauthzSccdParseError 458 -#define kNtErrorCapauthzSccdDevModeRequired 459 -#define kNtErrorCapauthzSccdNoCapabilityMatch 460 -#define kNtErrorPnpQueryRemoveDeviceTimeout 480 -#define kNtErrorPnpQueryRemoveRelatedDeviceTimeout 481 -#define kNtErrorPnpQueryRemoveUnrelatedDeviceTimeout 482 -#define kNtErrorDeviceHardwareError 483 /* EDEVERR */ -#define kNtErrorInvalidAddress 487 /* EFAULT */ -#define kNtErrorVrfCfgEnabled 1183 -#define kNtErrorPartitionTerminating 1184 -#define kNtErrorUserProfileLoad 500 -#define kNtErrorArithmeticOverflow 534 /* EOVERFLOW */ -#define kNtErrorPipeConnected 535 -#define kNtErrorPipeListening 536 -#define kNtErrorVerifierStop 537 -#define kNtErrorAbiosError 538 -#define kNtErrorWx86Warning 539 -#define kNtErrorWx86Error 540 -#define kNtErrorTimerNotCanceled 541 -#define kNtErrorUnwind 542 -#define kNtErrorBadStack 543 -#define kNtErrorInvalidUnwindTarget 544 -#define kNtErrorInvalidPortAttributes 545 -#define kNtErrorPortMessageTooLong 546 -#define kNtErrorInvalidQuotaLower 547 -#define kNtErrorDeviceAlreadyAttached 548 -#define kNtErrorInstructionMisalignment 549 -#define kNtErrorProfilingNotStarted 550 -#define kNtErrorProfilingNotStopped 551 -#define kNtErrorCouldNotInterpret 552 -#define kNtErrorProfilingAtLimit 553 -#define kNtErrorCantWait 554 -#define kNtErrorCantTerminateSelf 555 -#define kNtErrorUnexpectedMmCreateErr 556 -#define kNtErrorUnexpectedMmMapError 557 -#define kNtErrorUnexpectedMmExtendErr 558 -#define kNtErrorBadFunctionTable 559 -#define kNtErrorNoGuidTranslation 560 -#define kNtErrorInvalidLdtSize 561 -#define kNtErrorInvalidLdtOffset 563 -#define kNtErrorInvalidLdtDescriptor 564 -#define kNtErrorTooManyThreads 565 -#define kNtErrorThreadNotInProcess 566 /* ESRCH */ -#define kNtErrorPagefileQuotaExceeded 567 -#define kNtErrorLogonServerConflict 568 -#define kNtErrorSynchronizationRequired 569 -#define kNtErrorNetOpenFailed 570 -#define kNtErrorIoPrivilegeFailed 571 -#define kNtErrorControlCExit 572 -#define kNtErrorMissingSystemfile 573 -#define kNtErrorUnhandledException 574 -#define kNtErrorAppInitFailure 575 -#define kNtErrorPagefileCreateFailed 576 -#define kNtErrorInvalidImageHash 577 -#define kNtErrorNoPagefile 578 -#define kNtErrorIllegalFloatContext 579 -#define kNtErrorNoEventPair 580 -#define kNtErrorDomainCtrlrConfigError 581 -#define kNtErrorIllegalCharacter 582 /* EILSEQ */ -#define kNtErrorUndefinedCharacter 583 -#define kNtErrorFloppyVolume 584 -#define kNtErrorBiosFailedToConnectInterrupt 585 -#define kNtErrorBackupController 586 -#define kNtErrorMutantLimitExceeded 587 -#define kNtErrorFsDriverRequired 588 -#define kNtErrorCannotLoadRegistryFile 589 -#define kNtErrorDebugAttachFailed 590 -#define kNtErrorSystemProcessTerminated 591 -#define kNtErrorDataNotAccepted 592 -#define kNtErrorVdmHardError 593 -#define kNtErrorDriverCancelTimeout 594 -#define kNtErrorReplyMessageMismatch 595 /* EPROGMISMATCH */ -#define kNtErrorLostWritebehindData 596 -#define kNtErrorClientServerParametersInvalid 597 -#define kNtErrorNotTinyStream 598 -#define kNtErrorStackOverflowRead 599 -#define kNtErrorConvertToLarge 600 -#define kNtErrorFoundOutOfScope 601 -#define kNtErrorAllocateBucket 602 -#define kNtErrorMarshallOverflow 603 -#define kNtErrorInvalidVariant 604 -#define kNtErrorBadCompressionBuffer 605 -#define kNtErrorAuditFailed 606 -#define kNtErrorTimerResolutionNotSet 607 -#define kNtErrorInsufficientLogonInfo 608 -#define kNtErrorBadDllEntrypoint 609 -#define kNtErrorBadServiceEntrypoint 610 -#define kNtErrorIpAddressConflict1 611 -#define kNtErrorIpAddressConflict2 612 -#define kNtErrorRegistryQuotaLimit 613 -#define kNtErrorNoCallbackActive 614 -#define kNtErrorPwdTooShort 615 -#define kNtErrorPwdTooRecent 616 -#define kNtErrorPwdHistoryConflict 617 -#define kNtErrorUnsupportedCompression 618 -#define kNtErrorInvalidHwProfile 619 -#define kNtErrorInvalidPlugplayDevicePath 620 -#define kNtErrorQuotaListInconsistent 621 -#define kNtErrorEvaluationExpiration 622 -#define kNtErrorIllegalDllRelocation 623 -#define kNtErrorDllInitFailedLogoff 624 -#define kNtErrorValidateContinue 625 -#define kNtErrorNoMoreMatches 626 -#define kNtErrorRangeListConflict 627 -#define kNtErrorServerSidMismatch 628 -#define kNtErrorCantEnableDenyOnly 629 -#define kNtErrorFloatMultipleFaults 630 -#define kNtErrorFloatMultipleTraps 631 -#define kNtErrorNointerface 632 -#define kNtErrorDriverFailedSleep 633 -#define kNtErrorCorruptSystemFile 634 -#define kNtErrorCommitmentMinimum 635 -#define kNtErrorPnpRestartEnumeration 636 -#define kNtErrorSystemImageBadSignature 637 -#define kNtErrorPnpRebootRequired 638 -#define kNtErrorInsufficientPower 639 /* EPWROFF */ -#define kNtErrorMultipleFaultViolation 640 -#define kNtErrorSystemShutdown 641 -#define kNtErrorPortNotSet 642 -#define kNtErrorDsVersionCheckFailure 643 -#define kNtErrorRangeNotFound 644 -#define kNtErrorNotSafeModeDriver 646 -#define kNtErrorFailedDriverEntry 647 -#define kNtErrorDeviceEnumerationError 648 -#define kNtErrorMountPointNotResolved 649 -#define kNtErrorInvalidDeviceObjectParameter 650 -#define kNtErrorMcaOccured 651 -#define kNtErrorDriverDatabaseError 652 -#define kNtErrorSystemHiveTooLarge 653 -#define kNtErrorDriverFailedPriorUnload 654 -#define kNtErrorVolsnapPrepareHibernate 655 -#define kNtErrorHibernationFailure 656 -#define kNtErrorPwdTooLong 657 -#define kNtErrorFileSystemLimitation 665 -#define kNtErrorAssertionFailure 668 -#define kNtErrorAcpiError 669 -#define kNtErrorWowAssertion 670 -#define kNtErrorPnpBadMpsTable 671 -#define kNtErrorPnpTranslationFailed 672 -#define kNtErrorPnpIrqTranslationFailed 673 -#define kNtErrorPnpInvalidId 674 -#define kNtErrorWakeSystemDebugger 675 -#define kNtErrorHandlesClosed 676 -#define kNtErrorExtraneousInformation 677 -#define kNtErrorRxactCommitNecessary 678 -#define kNtErrorMediaCheck 679 -#define kNtErrorGuidSubstitutionMade 680 -#define kNtErrorStoppedOnSymlink 681 -#define kNtErrorLongjump 682 -#define kNtErrorPlugplayQueryVetoed 683 -#define kNtErrorUnwindConsolidate 684 -#define kNtErrorRegistryHiveRecovered 685 -#define kNtErrorDllMightBeInsecure 686 -#define kNtErrorDllMightBeIncompatible 687 -#define kNtErrorDbgExceptionNotHandled 688 -#define kNtErrorDbgReplyLater 689 -#define kNtErrorDbgUnableToProvideHandle 690 -#define kNtErrorDbgTerminateThread 691 -#define kNtErrorDbgTerminateProcess 692 -#define kNtErrorDbgControlC 693 -#define kNtErrorDbgPrintexceptionC 694 -#define kNtErrorDbgRipexception 695 -#define kNtErrorDbgControlBreak 696 -#define kNtErrorDbgCommandException 697 -#define kNtErrorObjectNameExists 698 -#define kNtErrorThreadWasSuspended 699 -#define kNtErrorImageNotAtBase 700 -#define kNtErrorRxactStateCreated 701 -#define kNtErrorSegmentNotification 702 -#define kNtErrorBadCurrentDirectory 703 -#define kNtErrorFtReadRecoveryFromBackup 704 -#define kNtErrorFtWriteRecovery 705 -#define kNtErrorImageMachineTypeMismatch 706 -#define kNtErrorReceivePartial 707 -#define kNtErrorReceiveExpedited 708 -#define kNtErrorReceivePartialExpedited 709 -#define kNtErrorEventDone 710 -#define kNtErrorEventPending 711 -#define kNtErrorCheckingFileSystem 712 -#define kNtErrorFatalAppExit 713 -#define kNtErrorPredefinedHandle 714 -#define kNtErrorWasUnlocked 715 -#define kNtErrorServiceNotification 716 -#define kNtErrorWasLocked 717 -#define kNtErrorLogHardError 718 -#define kNtErrorAlreadyWin32 719 -#define kNtErrorImageMachineTypeMismatchExe 720 -#define kNtErrorNoYieldPerformed 721 -#define kNtErrorTimerResumeIgnored 722 -#define kNtErrorArbitrationUnhandled 723 -#define kNtErrorCardbusNotSupported 724 -#define kNtErrorMpProcessorMismatch 725 -#define kNtErrorHibernated 726 -#define kNtErrorResumeHibernation 727 -#define kNtErrorFirmwareUpdated 728 -#define kNtErrorDriversLeakingLockedPages 729 -#define kNtErrorWakeSystem 730 -#define kNtErrorWait_1 731 -#define kNtErrorWait_2 732 -#define kNtErrorWait_3 733 -#define kNtErrorWait_63 734 -#define kNtErrorAbandonedWait_0 735 -#define kNtErrorAbandonedWait_63 736 -#define kNtErrorUserApc 737 -#define kNtErrorKernelApc 738 -#define kNtErrorAlerted 739 -#define kNtErrorElevationRequired 740 -#define kNtErrorReparse 741 -#define kNtErrorOplockBreakInProgress 742 -#define kNtErrorVolumeMounted 743 -#define kNtErrorRxactCommitted 744 -#define kNtErrorNotifyCleanup 745 -#define kNtErrorPrimaryTransportConnectFailed 746 -#define kNtErrorPageFaultTransition 747 -#define kNtErrorPageFaultDemandZero 748 -#define kNtErrorPageFaultCopyOnWrite 749 -#define kNtErrorPageFaultGuardPage 750 -#define kNtErrorPageFaultPagingFile 751 -#define kNtErrorCachePageLocked 752 -#define kNtErrorCrashDump 753 -#define kNtErrorBufferAllZeros 754 -#define kNtErrorReparseObject 755 -#define kNtErrorResourceRequirementsChanged 756 -#define kNtErrorTranslationComplete 757 -#define kNtErrorNothingToTerminate 758 -#define kNtErrorProcessNotInJob 759 -#define kNtErrorProcessInJob 760 -#define kNtErrorVolsnapHibernateReady 761 -#define kNtErrorFsfilterOpCompletedSuccessfully 762 -#define kNtErrorInterruptVectorAlreadyConnected 763 -#define kNtErrorInterruptStillConnected 764 -#define kNtErrorWaitForOplock 765 -#define kNtErrorDbgExceptionHandled 766 -#define kNtErrorDbgContinue 767 -#define kNtErrorCallbackPopStack 768 -#define kNtErrorCompressionDisabled 769 -#define kNtErrorCantfetchbackwards 770 -#define kNtErrorCantscrollbackwards 771 -#define kNtErrorRowsnotreleased 772 -#define kNtErrorBadAccessorFlags 773 -#define kNtErrorErrorsEncountered 774 -#define kNtErrorNotCapable 775 -#define kNtErrorRequestOutOfSequence 776 -#define kNtErrorVersionParseError 777 -#define kNtErrorBadstartposition 778 -#define kNtErrorMemoryHardware 779 -#define kNtErrorDiskRepairDisabled 780 -#define kNtErrorInsufficientResourceForSpecifiedSharedSectionSize 781 -#define kNtErrorSystemPowerstateTransition 782 -#define kNtErrorSystemPowerstateComplexTransition 783 -#define kNtErrorMcaException 784 -#define kNtErrorAccessAuditByPolicy 785 -#define kNtErrorAccessDisabledNoSaferUiByPolicy 786 -#define kNtErrorAbandonHiberfile 787 -#define kNtErrorLostWritebehindDataNetworkDisconnected 788 -#define kNtErrorLostWritebehindDataNetworkServerError 789 -#define kNtErrorLostWritebehindDataLocalDiskError 790 -#define kNtErrorBadMcfgTable 791 -#define kNtErrorDiskRepairRedirected 792 -#define kNtErrorDiskRepairUnsuccessful 793 -#define kNtErrorCorruptLogOverfull 794 -#define kNtErrorCorruptLogCorrupted 795 -#define kNtErrorCorruptLogUnavailable 796 -#define kNtErrorCorruptLogDeletedFull 797 -#define kNtErrorCorruptLogCleared 798 -#define kNtErrorOrphanNameExhausted 799 -#define kNtErrorOplockSwitchedToNewHandle 800 -#define kNtErrorCannotGrantRequestedOplock 801 -#define kNtErrorCannotBreakOplock 802 -#define kNtErrorOplockHandleClosed 803 -#define kNtErrorNoAceCondition 804 -#define kNtErrorInvalidAceCondition 805 -#define kNtErrorFileHandleRevoked 806 -#define kNtErrorImageAtDifferentBase 807 -#define kNtErrorEncryptedIoNotPossible 808 -#define kNtErrorFileMetadataOptimizationInProgress 809 -#define kNtErrorQuotaActivity 810 -#define kNtErrorHandleRevoked 811 -#define kNtErrorCallbackInvokeInline 812 -#define kNtErrorCpuSetInvalid 813 -#define kNtErrorEnclaveNotTerminated 814 -#define kNtErrorEnclaveViolation 815 -#define kNtErrorEaAccessDenied 994 -#define kNtErrorOperationAborted 995 -#define kNtErrorIoIncomplete 996 -#define kNtErrorIoPending 997 -#define kNtErrorNoaccess 998 -#define kNtErrorSwaperror 999 -#define kNtErrorStackOverflow 1001 -#define kNtErrorInvalidMessage 1002 -#define kNtErrorCanNotComplete 1003 -#define kNtErrorInvalidFlags 1004 -#define kNtErrorUnrecognizedVolume 1005 -#define kNtErrorFileInvalid 1006 -#define kNtErrorFullscreenMode 1007 -#define kNtErrorNoToken 1008 -#define kNtErrorBaddb 1009 -#define kNtErrorBadkey 1010 -#define kNtErrorCantopen 1011 -#define kNtErrorCantread 1012 -#define kNtErrorCantwrite 1013 -#define kNtErrorRegistryRecovered 1014 -#define kNtErrorRegistryCorrupt 1015 -#define kNtErrorRegistryIoFailed 1016 -#define kNtErrorNotRegistryFile 1017 -#define kNtErrorKeyDeleted 1018 -#define kNtErrorNoLogSpace 1019 -#define kNtErrorKeyHasChildren 1020 -#define kNtErrorChildMustBeVolatile 1021 -#define kNtErrorNotifyEnumDir 1022 -#define kNtErrorDependentServicesRunning 1051 -#define kNtErrorInvalidServiceControl 1052 -#define kNtErrorServiceRequestTimeout 1053 -#define kNtErrorServiceNoThread 1054 -#define kNtErrorServiceDatabaseLocked 1055 -#define kNtErrorServiceAlreadyRunning 1056 -#define kNtErrorInvalidServiceAccount 1057 -#define kNtErrorServiceDisabled 1058 -#define kNtErrorCircularDependency 1059 -#define kNtErrorServiceDoesNotExist 1060 -#define kNtErrorServiceCannotAcceptCtrl 1061 -#define kNtErrorServiceNotActive 1062 -#define kNtErrorFailedServiceControllerConnect 1063 -#define kNtErrorExceptionInService 1064 -#define kNtErrorDatabaseDoesNotExist 1065 -#define kNtErrorServiceSpecificError 1066 -#define kNtErrorProcessAborted 1067 -#define kNtErrorServiceDependencyFail 1068 -#define kNtErrorServiceLogonFailed 1069 -#define kNtErrorServiceStartHang 1070 -#define kNtErrorInvalidServiceLock 1071 -#define kNtErrorServiceMarkedForDelete 1072 -#define kNtErrorServiceExists 1073 -#define kNtErrorAlreadyRunningLkg 1074 -#define kNtErrorServiceDependencyDeleted 1075 -#define kNtErrorBootAlreadyAccepted 1076 -#define kNtErrorServiceNeverStarted 1077 -#define kNtErrorDuplicateServiceName 1078 -#define kNtErrorDifferentServiceAccount 1079 -#define kNtErrorCannotDetectDriverFailure 1080 -#define kNtErrorCannotDetectProcessAbort 1081 -#define kNtErrorNoRecoveryProgram 1082 -#define kNtErrorServiceNotInExe 1083 -#define kNtErrorNotSafebootService 1084 -#define kNtErrorEndOfMedia 1100 -#define kNtErrorFilemarkDetected 1101 -#define kNtErrorBeginningOfMedia 1102 -#define kNtErrorSetmarkDetected 1103 -#define kNtErrorNoDataDetected 1104 -#define kNtErrorPartitionFailure 1105 -#define kNtErrorInvalidBlockLength 1106 -#define kNtErrorDeviceNotPartitioned 1107 -#define kNtErrorUnableToLockMedia 1108 -#define kNtErrorUnableToUnloadMedia 1109 -#define kNtErrorMediaChanged 1110 -#define kNtErrorBusReset 1111 -#define kNtErrorNoMediaInDrive 1112 /* ENXIO */ -#define kNtErrorNoUnicodeTranslation 1113 -#define kNtErrorDllInitFailed 1114 -#define kNtErrorShutdownInProgress 1115 -#define kNtErrorNoShutdownInProgress 1116 -#define kNtErrorIoDevice 1117 /* EIO */ -#define kNtErrorSerialNoDevice 1118 /* ENOTTY */ -#define kNtErrorIrqBusy 1119 -#define kNtErrorMoreWrites 1120 -#define kNtErrorCounterTimeout 1121 -#define kNtErrorFloppyIdMarkNotFound 1122 -#define kNtErrorFloppyWrongCylinder 1123 -#define kNtErrorFloppyUnknownError 1124 -#define kNtErrorFloppyBadRegisters 1125 -#define kNtErrorDiskRecalibrateFailed 1126 -#define kNtErrorDiskOperationFailed 1127 -#define kNtErrorDiskResetFailed 1128 -#define kNtErrorEomOverflow 1129 -#define kNtErrorNotEnoughServerMemory 1130 -#define kNtErrorPossibleDeadlock 1131 /* EDEADLK */ -#define kNtErrorMappedAlignment 1132 -#define kNtErrorSetPowerStateVetoed 1140 -#define kNtErrorSetPowerStateFailed 1141 -#define kNtErrorTooManyLinks 1142 -#define kNtErrorOldWinVersion 1150 -#define kNtErrorAppWrongOs 1151 -#define kNtErrorSingleInstanceApp 1152 -#define kNtErrorRmodeApp 1153 -#define kNtErrorInvalidDll 1154 -#define kNtErrorNoAssociation 1155 -#define kNtErrorDdeFail 1156 -#define kNtErrorDllNotFound 1157 -#define kNtErrorNoMoreUserHandles 1158 -#define kNtErrorMessageSyncOnly 1159 -#define kNtErrorSourceElementEmpty 1160 -#define kNtErrorDestinationElementFull 1161 -#define kNtErrorIllegalElementAddress 1162 -#define kNtErrorMagazineNotPresent 1163 -#define kNtErrorDeviceReinitializationNeeded 1164 -#define kNtErrorDeviceRequiresCleaning 1165 -#define kNtErrorDeviceDoorOpen 1166 -#define kNtErrorDeviceNotConnected 1167 -#define kNtErrorNotFound 1168 -#define kNtErrorNoMatch 1169 -#define kNtErrorSetNotFound 1170 -#define kNtErrorPointNotFound 1171 -#define kNtErrorNoTrackingService 1172 -#define kNtErrorNoVolumeId 1173 -#define kNtErrorUnableToRemoveReplaced 1175 -#define kNtErrorUnableToMoveReplacement 1176 -#define kNtErrorUnableToMoveReplacement_2 1177 -#define kNtErrorJournalDeleteInProgress 1178 -#define kNtErrorJournalNotActive 1179 -#define kNtErrorPotentialFileFound 1180 -#define kNtErrorJournalEntryDeleted 1181 -#define kNtErrorShutdownIsScheduled 1190 -#define kNtErrorShutdownUsersLoggedOn 1191 -#define kNtErrorBadDevice 1200 /* ENODEV */ -#define kNtErrorConnectionUnavail 1201 -#define kNtErrorDeviceAlreadyRemembered 1202 -#define kNtErrorNoNetOrBadPath 1203 -#define kNtErrorBadProvider 1204 -#define kNtErrorCannotOpenProfile 1205 -#define kNtErrorBadProfile 1206 -#define kNtErrorNotContainer 1207 -#define kNtErrorExtendedError 1208 -#define kNtErrorInvalidGroupname 1209 -#define kNtErrorInvalidComputername 1210 -#define kNtErrorInvalidEventname 1211 -#define kNtErrorInvalidDomainname 1212 -#define kNtErrorInvalidServicename 1213 -#define kNtErrorInvalidNetname 1214 -#define kNtErrorInvalidSharename 1215 -#define kNtErrorInvalidPasswordname 1216 -#define kNtErrorInvalidMessagename 1217 -#define kNtErrorInvalidMessagedest 1218 -#define kNtErrorSessionCredentialConflict 1219 -#define kNtErrorRemoteSessionLimitExceeded 1220 -#define kNtErrorDupDomainname 1221 -#define kNtErrorNoNetwork 1222 -#define kNtErrorCancelled 1223 /* ECANCELED */ -#define kNtErrorUserMappedFile 1224 -#define kNtErrorConnectionRefused 1225 -#define kNtErrorGracefulDisconnect 1226 -#define kNtErrorAddressAlreadyAssociated 1227 -#define kNtErrorAddressNotAssociated 1228 -#define kNtErrorConnectionInvalid 1229 -#define kNtErrorConnectionActive 1230 -#define kNtErrorNetworkUnreachable 1231 -#define kNtErrorHostUnreachable 1232 -#define kNtErrorProtocolUnreachable 1233 /* multimapped to ENETUNREACH */ -#define kNtErrorPortUnreachable 1234 -#define kNtErrorRequestAborted 1235 -#define kNtErrorConnectionAborted 1236 -#define kNtErrorRetry 1237 -#define kNtErrorConnectionCountLimit 1238 -#define kNtErrorLoginTimeRestriction 1239 -#define kNtErrorLoginWkstaRestriction 1240 -#define kNtErrorIncorrectAddress 1241 -#define kNtErrorAlreadyRegistered 1242 -#define kNtErrorServiceNotFound 1243 -#define kNtErrorNotAuthenticated 1244 /* EAUTH */ -#define kNtErrorNotLoggedOn 1245 -#define kNtErrorContinue 1246 -#define kNtErrorAlreadyInitialized 1247 -#define kNtErrorNoMoreDevices 1248 -#define kNtErrorNoSuchSite 1249 -#define kNtErrorDomainControllerExists 1250 -#define kNtErrorOnlyIfConnected 1251 -#define kNtErrorOverrideNochanges 1252 -#define kNtErrorBadUserProfile 1253 -#define kNtErrorNotSupportedOnSbs 1254 -#define kNtErrorServerShutdownInProgress 1255 -#define kNtErrorHostDown 1256 -#define kNtErrorNonAccountSid 1257 -#define kNtErrorNonDomainSid 1258 -#define kNtErrorApphelpBlock 1259 -#define kNtErrorAccessDisabledByPolicy 1260 -#define kNtErrorRegNatConsumption 1261 -#define kNtErrorCscshareOffline 1262 -#define kNtErrorPkinitFailure 1263 -#define kNtErrorSmartcardSubsystemFailure 1264 -#define kNtErrorDowngradeDetected 1265 -#define kNtErrorMachineLocked 1271 -#define kNtErrorSmbGuestLogonBlocked 1272 -#define kNtErrorCallbackSuppliedInvalidData 1273 -#define kNtErrorSyncForegroundRefreshRequired 1274 -#define kNtErrorDriverBlocked 1275 -#define kNtErrorInvalidImportOfNonDll 1276 -#define kNtErrorAccessDisabledWebblade 1277 -#define kNtErrorAccessDisabledWebbladeTamper 1278 -#define kNtErrorRecoveryFailure 1279 -#define kNtErrorAlreadyFiber 1280 -#define kNtErrorAlreadyThread 1281 -#define kNtErrorStackBufferOverrun 1282 -#define kNtErrorParameterQuotaExceeded 1283 -#define kNtErrorDebuggerInactive 1284 -#define kNtErrorDelayLoadFailed 1285 -#define kNtErrorVdmDisallowed 1286 -#define kNtErrorUnidentifiedError 1287 /* EIDRM */ -#define kNtErrorInvalidCruntimeParameter 1288 -#define kNtErrorBeyondVdl 1289 -#define kNtErrorIncompatibleServiceSidType 1290 -#define kNtErrorDriverProcessTerminated 1291 -#define kNtErrorImplementationLimit 1292 -#define kNtErrorProcessIsProtected 1293 -#define kNtErrorServiceNotifyClientLagging 1294 -#define kNtErrorDiskQuotaExceeded 1295 -#define kNtErrorContentBlocked 1296 -#define kNtErrorIncompatibleServicePrivilege 1297 -#define kNtErrorAppHang 1298 -#define kNtErrorInvalidLabel 1299 -#define kNtErrorNotAllAssigned 1300 -#define kNtErrorSomeNotMapped 1301 -#define kNtErrorNoQuotasForAccount 1302 -#define kNtErrorLocalUserSessionKey 1303 -#define kNtErrorNullLmPassword 1304 -#define kNtErrorUnknownRevision 1305 -#define kNtErrorRevisionMismatch 1306 -#define kNtErrorInvalidOwner 1307 -#define kNtErrorInvalidPrimaryGroup 1308 -#define kNtErrorNoImpersonationToken 1309 -#define kNtErrorCantDisableMandatory 1310 -#define kNtErrorNoLogonServers 1311 -#define kNtErrorNoSuchLogonSession 1312 -#define kNtErrorNoSuchPrivilege 1313 -#define kNtErrorPrivilegeNotHeld 1314 -#define kNtErrorInvalidAccountName 1315 -#define kNtErrorUserExists 1316 -#define kNtErrorNoSuchUser 1317 -#define kNtErrorGroupExists 1318 -#define kNtErrorNoSuchGroup 1319 -#define kNtErrorMemberInGroup 1320 -#define kNtErrorMemberNotInGroup 1321 -#define kNtErrorLastAdmin 1322 -#define kNtErrorWrongPassword 1323 -#define kNtErrorIllFormedPassword 1324 -#define kNtErrorPasswordRestriction 1325 -#define kNtErrorLogonFailure 1326 -#define kNtErrorAccountRestriction 1327 -#define kNtErrorInvalidLogonHours 1328 -#define kNtErrorInvalidWorkstation 1329 -#define kNtErrorPasswordExpired 1330 -#define kNtErrorAccountDisabled 1331 -#define kNtErrorNoneMapped 1332 -#define kNtErrorTooManyLuidsRequested 1333 -#define kNtErrorLuidsExhausted 1334 -#define kNtErrorInvalidSubAuthority 1335 -#define kNtErrorInvalidAcl 1336 -#define kNtErrorInvalidSid 1337 -#define kNtErrorInvalidSecurityDescr 1338 -#define kNtErrorBadInheritanceAcl 1340 -#define kNtErrorServerDisabled 1341 -#define kNtErrorServerNotDisabled 1342 -#define kNtErrorInvalidIdAuthority 1343 -#define kNtErrorAllottedSpaceExceeded 1344 -#define kNtErrorInvalidGroupAttributes 1345 -#define kNtErrorBadImpersonationLevel 1346 -#define kNtErrorCantOpenAnonymous 1347 -#define kNtErrorBadValidationClass 1348 -#define kNtErrorBadTokenType 1349 -#define kNtErrorNoSecurityOnObject 1350 -#define kNtErrorCantAccessDomainInfo 1351 -#define kNtErrorInvalidServerState 1352 -#define kNtErrorInvalidDomainState 1353 -#define kNtErrorInvalidDomainRole 1354 -#define kNtErrorNoSuchDomain 1355 -#define kNtErrorDomainExists 1356 -#define kNtErrorDomainLimitExceeded 1357 -#define kNtErrorInternalDbCorruption 1358 -#define kNtErrorInternalError 1359 -#define kNtErrorGenericNotMapped 1360 -#define kNtErrorBadDescriptorFormat 1361 -#define kNtErrorNotLogonProcess 1362 -#define kNtErrorLogonSessionExists 1363 -#define kNtErrorNoSuchPackage 1364 -#define kNtErrorBadLogonSessionState 1365 -#define kNtErrorLogonSessionCollision 1366 -#define kNtErrorInvalidLogonType 1367 -#define kNtErrorCannotImpersonate 1368 -#define kNtErrorRxactInvalidState 1369 -#define kNtErrorRxactCommitFailure 1370 -#define kNtErrorSpecialAccount 1371 -#define kNtErrorSpecialGroup 1372 -#define kNtErrorSpecialUser 1373 -#define kNtErrorMembersPrimaryGroup 1374 -#define kNtErrorTokenAlreadyInUse 1375 -#define kNtErrorNoSuchAlias 1376 -#define kNtErrorMemberNotInAlias 1377 -#define kNtErrorMemberInAlias 1378 -#define kNtErrorAliasExists 1379 -#define kNtErrorLogonNotGranted 1380 -#define kNtErrorTooManySecrets 1381 -#define kNtErrorSecretTooLong 1382 -#define kNtErrorInternalDbError 1383 -#define kNtErrorTooManyContextIds 1384 -#define kNtErrorLogonTypeNotGranted 1385 -#define kNtErrorNtCrossEncryptionRequired 1386 -#define kNtErrorNoSuchMember 1387 -#define kNtErrorInvalidMember 1388 -#define kNtErrorTooManySids 1389 -#define kNtErrorLmCrossEncryptionRequired 1390 -#define kNtErrorNoInheritance 1391 -#define kNtErrorFileCorrupt 1392 -#define kNtErrorDiskCorrupt 1393 -#define kNtErrorNoUserSessionKey 1394 -#define kNtErrorLicenseQuotaExceeded 1395 -#define kNtErrorWrongTargetName 1396 -#define kNtErrorMutualAuthFailed 1397 -#define kNtErrorTimeSkew 1398 -#define kNtErrorCurrentDomainNotAllowed 1399 -#define kNtErrorInvalidWindowHandle 1400 -#define kNtErrorInvalidMenuHandle 1401 -#define kNtErrorInvalidCursorHandle 1402 -#define kNtErrorInvalidAccelHandle 1403 -#define kNtErrorInvalidHookHandle 1404 -#define kNtErrorInvalidDwpHandle 1405 -#define kNtErrorTlwWithWschild 1406 -#define kNtErrorCannotFindWndClass 1407 -#define kNtErrorWindowOfOtherThread 1408 -#define kNtErrorHotkeyAlreadyRegistered 1409 -#define kNtErrorClassAlreadyExists 1410 -#define kNtErrorClassDoesNotExist 1411 -#define kNtErrorClassHasWindows 1412 -#define kNtErrorInvalidIndex 1413 -#define kNtErrorInvalidIconHandle 1414 -#define kNtErrorPrivateDialogIndex 1415 -#define kNtErrorListboxIdNotFound 1416 -#define kNtErrorNoWildcardCharacters 1417 -#define kNtErrorClipboardNotOpen 1418 -#define kNtErrorHotkeyNotRegistered 1419 -#define kNtErrorWindowNotDialog 1420 -#define kNtErrorControlIdNotFound 1421 -#define kNtErrorInvalidComboboxMessage 1422 -#define kNtErrorWindowNotCombobox 1423 -#define kNtErrorInvalidEditHeight 1424 -#define kNtErrorDcNotFound 1425 -#define kNtErrorInvalidHookFilter 1426 -#define kNtErrorInvalidFilterProc 1427 -#define kNtErrorHookNeedsHmod 1428 -#define kNtErrorGlobalOnlyHook 1429 -#define kNtErrorJournalHookSet 1430 -#define kNtErrorHookNotInstalled 1431 -#define kNtErrorInvalidLbMessage 1432 -#define kNtErrorSetcountOnBadLb 1433 -#define kNtErrorLbWithoutTabstops 1434 -#define kNtErrorDestroyObjectOfOtherThread 1435 -#define kNtErrorChildWindowMenu 1436 -#define kNtErrorNoSystemMenu 1437 -#define kNtErrorInvalidMsgboxStyle 1438 -#define kNtErrorInvalidSpiValue 1439 -#define kNtErrorScreenAlreadyLocked 1440 -#define kNtErrorHwndsHaveDiffParent 1441 -#define kNtErrorNotChildWindow 1442 -#define kNtErrorInvalidGwCommand 1443 -#define kNtErrorInvalidThreadId 1444 -#define kNtErrorNonMdichildWindow 1445 -#define kNtErrorPopupAlreadyActive 1446 -#define kNtErrorNoScrollbars 1447 -#define kNtErrorInvalidScrollbarRange 1448 -#define kNtErrorInvalidShowwinCommand 1449 -#define kNtErrorNoSystemResources 1450 -#define kNtErrorNonpagedSystemResources 1451 -#define kNtErrorPagedSystemResources 1452 -#define kNtErrorWorkingSetQuota 1453 -#define kNtErrorPagefileQuota 1454 -#define kNtErrorCommitmentLimit 1455 -#define kNtErrorMenuItemNotFound 1456 -#define kNtErrorInvalidKeyboardHandle 1457 -#define kNtErrorHookTypeNotAllowed 1458 -#define kNtErrorRequiresInteractiveWindowstation 1459 -#define kNtErrorTimeout 1460 /* ETIMEDOUT */ -#define kNtErrorInvalidMonitorHandle 1461 -#define kNtErrorIncorrectSize 1462 -#define kNtErrorSymlinkClassDisabled 1463 -#define kNtErrorSymlinkNotSupported 1464 -#define kNtErrorXmlParseError 1465 -#define kNtErrorXmldsigError 1466 -#define kNtErrorRestartApplication 1467 -#define kNtErrorWrongCompartment 1468 -#define kNtErrorAuthipFailure 1469 -#define kNtErrorNoNvramResources 1470 -#define kNtErrorNotGuiProcess 1471 -#define kNtErrorEventlogFileCorrupt 1500 -#define kNtErrorEventlogCantStart 1501 -#define kNtErrorLogFileFull 1502 -#define kNtErrorEventlogFileChanged 1503 -#define kNtErrorContainerAssigned 1504 -#define kNtErrorJobNoContainer 1505 -#define kNtErrorInvalidTaskName 1550 -#define kNtErrorInvalidTaskIndex 1551 -#define kNtErrorThreadAlreadyInTask 1552 -#define kNtErrorInstallServiceFailure 1601 -#define kNtErrorInstallUserexit 1602 -#define kNtErrorInstallFailure 1603 -#define kNtErrorInstallSuspend 1604 -#define kNtErrorUnknownProduct 1605 -#define kNtErrorUnknownFeature 1606 -#define kNtErrorUnknownComponent 1607 -#define kNtErrorUnknownProperty 1608 -#define kNtErrorInvalidHandleState 1609 -#define kNtErrorBadConfiguration 1610 -#define kNtErrorIndexAbsent 1611 -#define kNtErrorInstallSourceAbsent 1612 -#define kNtErrorInstallPackageVersion 1613 -#define kNtErrorProductUninstalled 1614 -#define kNtErrorBadQuerySyntax 1615 -#define kNtErrorInvalidField 1616 -#define kNtErrorDeviceRemoved 1617 -#define kNtErrorInstallAlreadyRunning 1618 -#define kNtErrorInstallPackageOpenFailed 1619 -#define kNtErrorInstallPackageInvalid 1620 -#define kNtErrorInstallUiFailure 1621 -#define kNtErrorInstallLogFailure 1622 -#define kNtErrorInstallLanguageUnsupported 1623 -#define kNtErrorInstallTransformFailure 1624 -#define kNtErrorInstallPackageRejected 1625 -#define kNtErrorFunctionNotCalled 1626 /* EBADRPC */ -#define kNtErrorFunctionFailed 1627 /* ERPCMISMATCH */ -#define kNtErrorInvalidTable 1628 -#define kNtErrorDatatypeMismatch 1629 -#define kNtErrorUnsupportedType 1630 -#define kNtErrorCreateFailed 1631 -#define kNtErrorInstallTempUnwritable 1632 -#define kNtErrorInstallPlatformUnsupported 1633 -#define kNtErrorInstallNotused 1634 -#define kNtErrorPatchPackageOpenFailed 1635 -#define kNtErrorPatchPackageInvalid 1636 -#define kNtErrorPatchPackageUnsupported 1637 -#define kNtErrorProductVersion 1638 -#define kNtErrorInvalidCommandLine 1639 /* E2BIG */ -#define kNtErrorInstallRemoteDisallowed 1640 -#define kNtErrorSuccessRebootInitiated 1641 -#define kNtErrorPatchTargetNotFound 1642 -#define kNtErrorPatchPackageRejected 1643 -#define kNtErrorInstallTransformRejected 1644 -#define kNtErrorInstallRemoteProhibited 1645 -#define kNtErrorPatchRemovalUnsupported 1646 -#define kNtErrorUnknownPatch 1647 -#define kNtErrorPatchNoSequence 1648 -#define kNtErrorPatchRemovalDisallowed 1649 -#define kNtErrorInvalidPatchXml 1650 -#define kNtErrorPatchManagedAdvertisedProduct 1651 -#define kNtErrorInstallServiceSafeboot 1652 -#define kNtErrorFailFastException 1653 -#define kNtErrorInstallRejected 1654 -#define kNtErrorDynamicCodeBlocked 1655 -#define kNtErrorNotSameObject 1656 -#define kNtErrorStrictCfgViolation 1657 -#define kNtErrorSetContextDenied 1660 -#define kNtErrorCrossPartitionViolation 1661 -#define kNtErrorInvalidUserBuffer 1784 -#define kNtErrorUnrecognizedMedia 1785 -#define kNtErrorNoTrustLsaSecret 1786 -#define kNtErrorNoTrustSamAccount 1787 -#define kNtErrorTrustedDomainFailure 1788 -#define kNtErrorTrustedRelationshipFailure 1789 -#define kNtErrorTrustFailure 1790 -#define kNtErrorNetlogonNotStarted 1792 -#define kNtErrorAccountExpired 1793 -#define kNtErrorRedirectorHasOpenHandles 1794 -#define kNtErrorPrinterDriverAlreadyInstalled 1795 -#define kNtErrorUnknownPort 1796 -#define kNtErrorUnknownPrinterDriver 1797 -#define kNtErrorUnknownPrintprocessor 1798 -#define kNtErrorInvalidSeparatorFile 1799 -#define kNtErrorInvalidPriority 1800 -#define kNtErrorInvalidPrinterName 1801 -#define kNtErrorPrinterAlreadyExists 1802 -#define kNtErrorInvalidPrinterCommand 1803 -#define kNtErrorInvalidDatatype 1804 -#define kNtErrorInvalidEnvironment 1805 -#define kNtErrorNologonInterdomainTrustAccount 1807 -#define kNtErrorNologonWorkstationTrustAccount 1808 -#define kNtErrorNologonServerTrustAccount 1809 -#define kNtErrorDomainTrustInconsistent 1810 -#define kNtErrorServerHasOpenHandles 1811 -#define kNtErrorResourceDataNotFound 1812 -#define kNtErrorResourceTypeNotFound 1813 -#define kNtErrorResourceNameNotFound 1814 -#define kNtErrorResourceLangNotFound 1815 -#define kNtErrorNotEnoughQuota 1816 /* EDQUOT */ -#define kNtErrorInvalidTime 1901 -#define kNtErrorInvalidFormName 1902 -#define kNtErrorInvalidFormSize 1903 -#define kNtErrorAlreadyWaiting 1904 -#define kNtErrorPrinterDeleted 1905 -#define kNtErrorInvalidPrinterState 1906 -#define kNtErrorPasswordMustChange 1907 -#define kNtErrorDomainControllerNotFound 1908 -#define kNtErrorAccountLockedOut 1909 -#define kNtErrorNoSitename 1919 -#define kNtErrorCantAccessFile 1920 -#define kNtErrorCantResolveFilename 1921 -#define kNtErrorKmDriverBlocked 1930 -#define kNtErrorContextExpired 1931 -#define kNtErrorPerUserTrustQuotaExceeded 1932 -#define kNtErrorAllUserTrustQuotaExceeded 1933 -#define kNtErrorUserDeleteTrustQuotaExceeded 1934 -#define kNtErrorAuthenticationFirewallFailed 1935 -#define kNtErrorRemotePrintConnectionsBlocked 1936 -#define kNtErrorNtlmBlocked 1937 -#define kNtErrorPasswordChangeRequired 1938 -#define kNtErrorLostModeLogonRestriction 1939 -#define kNtErrorInvalidPixelFormat 2000 -#define kNtErrorBadDriver 2001 -#define kNtErrorInvalidWindowStyle 2002 -#define kNtErrorMetafileNotSupported 2003 -#define kNtErrorTransformNotSupported 2004 -#define kNtErrorClippingNotSupported 2005 -#define kNtErrorInvalidCmm 2010 -#define kNtErrorInvalidProfile 2011 -#define kNtErrorTagNotFound 2012 -#define kNtErrorTagNotPresent 2013 -#define kNtErrorDuplicateTag 2014 -#define kNtErrorProfileNotAssociatedWithDevice 2015 -#define kNtErrorProfileNotFound 2016 -#define kNtErrorInvalidColorspace 2017 -#define kNtErrorIcmNotEnabled 2018 -#define kNtErrorDeletingIcmXform 2019 -#define kNtErrorInvalidTransform 2020 -#define kNtErrorColorspaceMismatch 2021 -#define kNtErrorInvalidColorindex 2022 -#define kNtErrorProfileDoesNotMatchDevice 2023 -#define kNtErrorConnectedOtherPassword 2108 -#define kNtErrorConnectedOtherPasswordDefault 2109 -#define kNtErrorBadUsername 2202 -#define kNtErrorNotConnected 2250 -#define kNtErrorOpenFiles 2401 -#define kNtErrorActiveConnections 2402 -#define kNtErrorDeviceInUse 2404 -#define kNtErrorUnknownPrintMonitor 3000 -#define kNtErrorPrinterDriverInUse 3001 -#define kNtErrorSpoolFileNotFound 3002 -#define kNtErrorSplNoStartdoc 3003 -#define kNtErrorSplNoAddjob 3004 -#define kNtErrorPrintProcessorAlreadyInstalled 3005 -#define kNtErrorPrintMonitorAlreadyInstalled 3006 -#define kNtErrorInvalidPrintMonitor 3007 -#define kNtErrorPrintMonitorInUse 3008 -#define kNtErrorPrinterHasJobsQueued 3009 -#define kNtErrorSuccessRebootRequired 3010 -#define kNtErrorSuccessRestartRequired 3011 -#define kNtErrorPrinterNotFound 3012 -#define kNtErrorPrinterDriverWarned 3013 -#define kNtErrorPrinterDriverBlocked 3014 -#define kNtErrorPrinterDriverPackageInUse 3015 -#define kNtErrorCoreDriverPackageNotFound 3016 -#define kNtErrorFailRebootRequired 3017 -#define kNtErrorFailRebootInitiated 3018 -#define kNtErrorPrinterDriverDownloadNeeded 3019 -#define kNtErrorPrintJobRestartRequired 3020 -#define kNtErrorInvalidPrinterDriverManifest 3021 -#define kNtErrorPrinterNotShareable 3022 -#define kNtErrorRequestPaused 3050 -#define kNtErrorAppexecConditionNotSatisfied 3060 -#define kNtErrorAppexecHandleInvalidated 3061 -#define kNtErrorAppexecInvalidHostGeneration 3062 -#define kNtErrorAppexecUnexpectedProcessRegistration 3063 -#define kNtErrorAppexecInvalidHostState 3064 -#define kNtErrorAppexecNoDonor 3065 -#define kNtErrorAppexecHostIdMismatch 3066 -#define kNtErrorIoReissueAsCached 3950 -#define kNtErrorWinsInternal 4000 -#define kNtErrorCanNotDelLocalWins 4001 -#define kNtErrorStaticInit 4002 -#define kNtErrorIncBackup 4003 -#define kNtErrorFullBackup 4004 -#define kNtErrorRecNonExistent 4005 -#define kNtErrorRplNotAllowed 4006 -#define kNtErrorDhcpAddressConflict 4100 -#define kNtErrorWmiGuidNotFound 4200 -#define kNtErrorWmiInstanceNotFound 4201 -#define kNtErrorWmiItemidNotFound 4202 -#define kNtErrorWmiTryAgain 4203 -#define kNtErrorWmiDpNotFound 4204 -#define kNtErrorWmiUnresolvedInstanceRef 4205 -#define kNtErrorWmiAlreadyEnabled 4206 -#define kNtErrorWmiGuidDisconnected 4207 -#define kNtErrorWmiServerUnavailable 4208 -#define kNtErrorWmiDpFailed 4209 -#define kNtErrorWmiInvalidMof 4210 -#define kNtErrorWmiInvalidReginfo 4211 -#define kNtErrorWmiAlreadyDisabled 4212 -#define kNtErrorWmiReadOnly 4213 -#define kNtErrorWmiSetFailure 4214 -#define kNtErrorNotAppcontainer 4250 -#define kNtErrorAppcontainerRequired 4251 -#define kNtErrorNotSupportedInAppcontainer 4252 -#define kNtErrorInvalidPackageSidLength 4253 -#define kNtErrorInvalidMedia 4300 -#define kNtErrorInvalidLibrary 4301 -#define kNtErrorInvalidMediaPool 4302 -#define kNtErrorDriveMediaMismatch 4303 -#define kNtErrorMediaOffline 4304 -#define kNtErrorLibraryOffline 4305 -#define kNtErrorEmpty 4306 /* ENOMSG */ -#define kNtErrorNotEmpty 4307 -#define kNtErrorMediaUnavailable 4308 -#define kNtErrorResourceDisabled 4309 -#define kNtErrorInvalidCleaner 4310 -#define kNtErrorUnableToClean 4311 -#define kNtErrorObjectNotFound 4312 -#define kNtErrorDatabaseFailure 4313 -#define kNtErrorDatabaseFull 4314 -#define kNtErrorMediaIncompatible 4315 -#define kNtErrorResourceNotPresent 4316 -#define kNtErrorInvalidOperation 4317 -#define kNtErrorMediaNotAvailable 4318 -#define kNtErrorDeviceNotAvailable 4319 -#define kNtErrorRequestRefused 4320 -#define kNtErrorInvalidDriveObject 4321 -#define kNtErrorLibraryFull 4322 -#define kNtErrorMediumNotAccessible 4323 -#define kNtErrorUnableToLoadMedium 4324 -#define kNtErrorUnableToInventoryDrive 4325 -#define kNtErrorUnableToInventorySlot 4326 -#define kNtErrorUnableToInventoryTransport 4327 -#define kNtErrorTransportFull 4328 -#define kNtErrorControllingIeport 4329 -#define kNtErrorUnableToEjectMountedMedia 4330 -#define kNtErrorCleanerSlotSet 4331 -#define kNtErrorCleanerSlotNotSet 4332 -#define kNtErrorCleanerCartridgeSpent 4333 -#define kNtErrorUnexpectedOmid 4334 -#define kNtErrorCantDeleteLastItem 4335 -#define kNtErrorMessageExceedsMaxSize 4336 -#define kNtErrorVolumeContainsSysFiles 4337 -#define kNtErrorIndigenousType 4338 -#define kNtErrorNoSupportingDrives 4339 -#define kNtErrorCleanerCartridgeInstalled 4340 -#define kNtErrorIeportFull 4341 -#define kNtErrorFileOffline 4350 -#define kNtErrorRemoteStorageNotActive 4351 -#define kNtErrorRemoteStorageMediaError 4352 -#define kNtErrorNotAReparsePoint 4390 -#define kNtErrorReparseAttributeConflict 4391 -#define kNtErrorInvalidReparseData 4392 -#define kNtErrorReparseTagInvalid 4393 -#define kNtErrorReparseTagMismatch 4394 -#define kNtErrorReparsePointEncountered 4395 -#define kNtErrorAppDataNotFound 4400 -#define kNtErrorAppDataExpired 4401 -#define kNtErrorAppDataCorrupt 4402 -#define kNtErrorAppDataLimitExceeded 4403 -#define kNtErrorAppDataRebootRequired 4404 -#define kNtErrorSecurebootRollbackDetected 4420 -#define kNtErrorSecurebootPolicyViolation 4421 -#define kNtErrorSecurebootInvalidPolicy 4422 -#define kNtErrorSecurebootPolicyPublisherNotFound 4423 -#define kNtErrorSecurebootPolicyNotSigned 4424 -#define kNtErrorSecurebootNotEnabled 4425 -#define kNtErrorSecurebootFileReplaced 4426 -#define kNtErrorSecurebootPolicyNotAuthorized 4427 -#define kNtErrorSecurebootPolicyUnknown 4428 -#define kNtErrorSecurebootPolicyMissingAntirollbackversion 4429 -#define kNtErrorSecurebootPlatformIdMismatch 4430 -#define kNtErrorSecurebootPolicyRollbackDetected 4431 -#define kNtErrorSecurebootPolicyUpgradeMismatch 4432 -#define kNtErrorSecurebootRequiredPolicyFileMissing 4433 -#define kNtErrorSecurebootNotBasePolicy 4434 -#define kNtErrorSecurebootNotSupplementalPolicy 4435 -#define kNtErrorOffloadReadFltNotSupported 4440 -#define kNtErrorOffloadWriteFltNotSupported 4441 -#define kNtErrorOffloadReadFileNotSupported 4442 -#define kNtErrorOffloadWriteFileNotSupported 4443 -#define kNtErrorAlreadyHasStreamId 4444 -#define kNtErrorSmrGarbageCollectionRequired 4445 -#define kNtErrorWofWimHeaderCorrupt 4446 -#define kNtErrorWofWimResourceTableCorrupt 4447 -#define kNtErrorWofFileResourceTableCorrupt 4448 -#define kNtErrorVolumeNotSisEnabled 4500 -#define kNtErrorSystemIntegrityRollbackDetected 4550 -#define kNtErrorSystemIntegrityPolicyViolation 4551 -#define kNtErrorSystemIntegrityInvalidPolicy 4552 -#define kNtErrorSystemIntegrityPolicyNotSigned 4553 -#define kNtErrorVsmNotInitialized 4560 -#define kNtErrorVsmDmaProtectionNotInUse 4561 -#define kNtErrorPlatformManifestNotAuthorized 4570 -#define kNtErrorPlatformManifestInvalid 4571 -#define kNtErrorPlatformManifestFileNotAuthorized 4572 -#define kNtErrorPlatformManifestCatalogNotAuthorized 4573 -#define kNtErrorPlatformManifestBinaryIdNotFound 4574 -#define kNtErrorPlatformManifestNotActive 4575 -#define kNtErrorPlatformManifestNotSigned 4576 -#define kNtErrorDependentResourceExists 5001 -#define kNtErrorDependencyNotFound 5002 -#define kNtErrorDependencyAlreadyExists 5003 -#define kNtErrorResourceNotOnline 5004 -#define kNtErrorHostNodeNotAvailable 5005 -#define kNtErrorResourceNotAvailable 5006 -#define kNtErrorResourceNotFound 5007 -#define kNtErrorShutdownCluster 5008 -#define kNtErrorCantEvictActiveNode 5009 -#define kNtErrorObjectAlreadyExists 5010 -#define kNtErrorObjectInList 5011 -#define kNtErrorGroupNotAvailable 5012 -#define kNtErrorGroupNotFound 5013 -#define kNtErrorGroupNotOnline 5014 -#define kNtErrorHostNodeNotResourceOwner 5015 -#define kNtErrorHostNodeNotGroupOwner 5016 -#define kNtErrorResmonCreateFailed 5017 -#define kNtErrorResmonOnlineFailed 5018 -#define kNtErrorResourceOnline 5019 -#define kNtErrorQuorumResource 5020 -#define kNtErrorNotQuorumCapable 5021 -#define kNtErrorClusterShuttingDown 5022 -#define kNtErrorInvalidState 5023 -#define kNtErrorResourcePropertiesStored 5024 -#define kNtErrorNotQuorumClass 5025 -#define kNtErrorCoreResource 5026 -#define kNtErrorQuorumResourceOnlineFailed 5027 -#define kNtErrorQuorumlogOpenFailed 5028 -#define kNtErrorClusterlogCorrupt 5029 -#define kNtErrorClusterlogRecordExceedsMaxsize 5030 -#define kNtErrorClusterlogExceedsMaxsize 5031 -#define kNtErrorClusterlogChkpointNotFound 5032 -#define kNtErrorClusterlogNotEnoughSpace 5033 -#define kNtErrorQuorumOwnerAlive 5034 -#define kNtErrorNetworkNotAvailable 5035 -#define kNtErrorNodeNotAvailable 5036 -#define kNtErrorAllNodesNotAvailable 5037 -#define kNtErrorResourceFailed 5038 -#define kNtErrorClusterInvalidNode 5039 -#define kNtErrorClusterNodeExists 5040 -#define kNtErrorClusterJoinInProgress 5041 -#define kNtErrorClusterNodeNotFound 5042 -#define kNtErrorClusterLocalNodeNotFound 5043 -#define kNtErrorClusterNetworkExists 5044 -#define kNtErrorClusterNetworkNotFound 5045 -#define kNtErrorClusterNetinterfaceExists 5046 -#define kNtErrorClusterNetinterfaceNotFound 5047 -#define kNtErrorClusterInvalidRequest 5048 -#define kNtErrorClusterInvalidNetworkProvider 5049 -#define kNtErrorClusterNodeDown 5050 -#define kNtErrorClusterNodeUnreachable 5051 -#define kNtErrorClusterNodeNotMember 5052 -#define kNtErrorClusterJoinNotInProgress 5053 -#define kNtErrorClusterInvalidNetwork 5054 -#define kNtErrorClusterNodeUp 5056 -#define kNtErrorClusterIpaddrInUse 5057 -#define kNtErrorClusterNodeNotPaused 5058 -#define kNtErrorClusterNoSecurityContext 5059 -#define kNtErrorClusterNetworkNotInternal 5060 -#define kNtErrorClusterNodeAlreadyUp 5061 -#define kNtErrorClusterNodeAlreadyDown 5062 -#define kNtErrorClusterNetworkAlreadyOnline 5063 -#define kNtErrorClusterNetworkAlreadyOffline 5064 -#define kNtErrorClusterNodeAlreadyMember 5065 -#define kNtErrorClusterLastInternalNetwork 5066 -#define kNtErrorClusterNetworkHasDependents 5067 -#define kNtErrorInvalidOperationOnQuorum 5068 -#define kNtErrorDependencyNotAllowed 5069 -#define kNtErrorClusterNodePaused 5070 -#define kNtErrorNodeCantHostResource 5071 -#define kNtErrorClusterNodeNotReady 5072 -#define kNtErrorClusterNodeShuttingDown 5073 -#define kNtErrorClusterJoinAborted 5074 -#define kNtErrorClusterIncompatibleVersions 5075 -#define kNtErrorClusterMaxnumOfResourcesExceeded 5076 -#define kNtErrorClusterSystemConfigChanged 5077 -#define kNtErrorClusterResourceTypeNotFound 5078 -#define kNtErrorClusterRestypeNotSupported 5079 -#define kNtErrorClusterResnameNotFound 5080 -#define kNtErrorClusterNoRpcPackagesRegistered 5081 -#define kNtErrorClusterOwnerNotInPreflist 5082 -#define kNtErrorClusterDatabaseSeqmismatch 5083 -#define kNtErrorResmonInvalidState 5084 -#define kNtErrorClusterGumNotLocker 5085 -#define kNtErrorQuorumDiskNotFound 5086 -#define kNtErrorDatabaseBackupCorrupt 5087 -#define kNtErrorClusterNodeAlreadyHasDfsRoot 5088 -#define kNtErrorResourcePropertyUnchangeable 5089 -#define kNtErrorNoAdminAccessPoint 5090 -#define kNtErrorClusterMembershipInvalidState 5890 -#define kNtErrorClusterQuorumlogNotFound 5891 -#define kNtErrorClusterMembershipHalt 5892 -#define kNtErrorClusterInstanceIdMismatch 5893 -#define kNtErrorClusterNetworkNotFoundForIp 5894 -#define kNtErrorClusterPropertyDataTypeMismatch 5895 -#define kNtErrorClusterEvictWithoutCleanup 5896 -#define kNtErrorClusterParameterMismatch 5897 -#define kNtErrorNodeCannotBeClustered 5898 -#define kNtErrorClusterWrongOsVersion 5899 -#define kNtErrorClusterCantCreateDupClusterName 5900 -#define kNtErrorCluscfgAlreadyCommitted 5901 -#define kNtErrorCluscfgRollbackFailed 5902 -#define kNtErrorCluscfgSystemDiskDriveLetterConflict 5903 -#define kNtErrorClusterOldVersion 5904 -#define kNtErrorClusterMismatchedComputerAcctName 5905 -#define kNtErrorClusterNoNetAdapters 5906 -#define kNtErrorClusterPoisoned 5907 -#define kNtErrorClusterGroupMoving 5908 -#define kNtErrorClusterResourceTypeBusy 5909 -#define kNtErrorResourceCallTimedOut 5910 -#define kNtErrorInvalidClusterIpv6Address 5911 -#define kNtErrorClusterInternalInvalidFunction 5912 -#define kNtErrorClusterParameterOutOfBounds 5913 -#define kNtErrorClusterPartialSend 5914 -#define kNtErrorClusterRegistryInvalidFunction 5915 -#define kNtErrorClusterInvalidStringTermination 5916 -#define kNtErrorClusterInvalidStringFormat 5917 -#define kNtErrorClusterDatabaseTransactionInProgress 5918 -#define kNtErrorClusterDatabaseTransactionNotInProgress 5919 -#define kNtErrorClusterNullData 5920 -#define kNtErrorClusterPartialRead 5921 -#define kNtErrorClusterPartialWrite 5922 -#define kNtErrorClusterCantDeserializeData 5923 -#define kNtErrorDependentResourcePropertyConflict 5924 -#define kNtErrorClusterNoQuorum 5925 -#define kNtErrorClusterInvalidIpv6Network 5926 -#define kNtErrorClusterInvalidIpv6TunnelNetwork 5927 -#define kNtErrorQuorumNotAllowedInThisGroup 5928 -#define kNtErrorDependencyTreeTooComplex 5929 -#define kNtErrorExceptionInResourceCall 5930 -#define kNtErrorClusterRhsFailedInitialization 5931 -#define kNtErrorClusterNotInstalled 5932 -#define kNtErrorClusterResourcesMustBeOnlineOnTheSameNode 5933 -#define kNtErrorClusterMaxNodesInCluster 5934 -#define kNtErrorClusterTooManyNodes 5935 -#define kNtErrorClusterObjectAlreadyUsed 5936 -#define kNtErrorNoncoreGroupsFound 5937 -#define kNtErrorFileShareResourceConflict 5938 -#define kNtErrorClusterEvictInvalidRequest 5939 -#define kNtErrorClusterSingletonResource 5940 -#define kNtErrorClusterGroupSingletonResource 5941 -#define kNtErrorClusterResourceProviderFailed 5942 -#define kNtErrorClusterResourceConfigurationError 5943 -#define kNtErrorClusterGroupBusy 5944 -#define kNtErrorClusterNotSharedVolume 5945 -#define kNtErrorClusterInvalidSecurityDescriptor 5946 -#define kNtErrorClusterSharedVolumesInUse 5947 -#define kNtErrorClusterUseSharedVolumesApi 5948 -#define kNtErrorClusterBackupInProgress 5949 -#define kNtErrorNonCsvPath 5950 -#define kNtErrorCsvVolumeNotLocal 5951 -#define kNtErrorClusterWatchdogTerminating 5952 -#define kNtErrorClusterResourceVetoedMoveIncompatibleNodes 5953 -#define kNtErrorClusterInvalidNodeWeight 5954 -#define kNtErrorClusterResourceVetoedCall 5955 -#define kNtErrorResmonSystemResourcesLacking 5956 +#define kNtErrorSuccess 0 +#define kNtErrorInvalidFunction 1 /* ENOSYS */ +#define kNtErrorFileNotFound 2 /* ENOENT */ +#define kNtErrorPathNotFound 3 /* ENOTDIR */ +#define kNtErrorTooManyOpenFiles 4 /* EMFILE */ +#define kNtErrorAccessDenied 5 /* EACCES */ +#define kNtErrorInvalidHandle 6 /* EBADF */ +#define kNtErrorArenaTrashed 7 +#define kNtErrorNotEnoughMemory 8 +#define kNtErrorInvalidBlock 9 +#define kNtErrorBadEnvironment 10 +#define kNtErrorBadFormat 11 +#define kNtErrorInvalidAccess 12 /* EPERM */ +#define kNtErrorInvalidData 13 +#define kNtErrorOutofmemory 14 /* ENOMEM */ +#define kNtErrorInvalidDrive 15 +#define kNtErrorCurrentDirectory 16 +#define kNtErrorNotSameDevice 17 +#define kNtErrorNoMoreFiles 18 +#define kNtErrorWriteProtect 19 +#define kNtErrorBadUnit 20 +#define kNtErrorNotReady 21 +#define kNtErrorBadCommand 22 +#define kNtErrorCrc 23 +#define kNtErrorBadLength 24 +#define kNtErrorSeek 25 /* ESPIPE */ +#define kNtErrorNotDosDisk 26 /* ENOTBLK */ +#define kNtErrorSectorNotFound 27 +#define kNtErrorOutOfPaper 28 +#define kNtErrorWriteFault 29 +#define kNtErrorReadFault 30 +#define kNtErrorGenFailure 31 +#define kNtErrorSharingViolation 32 +#define kNtErrorLockViolation 33 +#define kNtErrorWrongDisk 34 +#define kNtErrorSharingBufferExceeded 36 +#define kNtErrorHandleEof 38 /* w/ GetOverlappedResult() */ +#define kNtErrorHandleDiskFull 39 +#define kNtErrorNotSupported 50 +#define kNtErrorRemNotList 51 +#define kNtErrorDupName 52 +#define kNtErrorBadNetpath 53 +#define kNtErrorNetworkBusy 54 +#define kNtErrorDevNotExist 55 +#define kNtErrorTooManyCmds 56 +#define kNtErrorAdapHdwErr 57 +#define kNtErrorBadNetResp 58 +#define kNtErrorUnexpNetErr 59 +#define kNtErrorBadRemAdap 60 +#define kNtErrorPrintqFull 61 +#define kNtErrorNoSpoolSpace 62 +#define kNtErrorPrintCancelled 63 +#define kNtErrorNetnameDeleted 64 +#define kNtErrorNetworkAccessDenied 65 +#define kNtErrorBadDevType 66 +#define kNtErrorBadNetName 67 +#define kNtErrorTooManyNames 68 +#define kNtErrorTooManySess 69 +#define kNtErrorSharingPaused 70 +#define kNtErrorReqNotAccep 71 +#define kNtErrorRedirPaused 72 +#define kNtErrorFileExists 80 /* EEXIST */ +#define kNtErrorCannotMake 82 +#define kNtErrorFailI24 83 +#define kNtErrorOutOfStructures 84 +#define kNtErrorAlreadyAssigned 85 +#define kNtErrorInvalidPassword 86 +#define kNtErrorInvalidParameter 87 /* EINVAL */ +#define kNtErrorNetWriteFault 88 +#define kNtErrorNoProcSlots 89 +#define kNtErrorTooManySemaphores 100 +#define kNtErrorExclSemAlreadyOwned 101 +#define kNtErrorSemIsSet 102 +#define kNtErrorTooManySemRequests 103 +#define kNtErrorInvalidAtInterruptTime 104 +#define kNtErrorSemOwnerDied 105 /* EOWNERDEAD */ +#define kNtErrorSemUserLimit 106 +#define kNtErrorDiskChange 107 +#define kNtErrorDriveLocked 108 +#define kNtErrorBrokenPipe 109 /* EPIPE; happens on ReadFile() too */ +#define kNtErrorOpenFailed 110 +#define kNtErrorBufferOverflow 111 +#define kNtErrorDiskFull 112 /* ENOSPC */ +#define kNtErrorNoMoreSearchHandles 113 +#define kNtErrorInvalidTargetHandle 114 /* EBADF */ +#define kNtErrorInvalidCategory 117 /* ENOATTR */ +#define kNtErrorInvalidVerifySwitch 118 +#define kNtErrorBadDriverLevel 119 +#define kNtErrorCallNotImplemented 120 +#define kNtErrorSemTimeout 121 +#define kNtErrorInsufficientBuffer 122 +#define kNtErrorInvalidName 123 +#define kNtErrorInvalidLevel 124 +#define kNtErrorNoVolumeLabel 125 +#define kNtErrorModNotFound 126 +#define kNtErrorProcNotFound 127 +#define kNtErrorWaitNoChildren 128 /* ECHILD */ +#define kNtErrorChildNotComplete 129 +#define kNtErrorDirectAccessHandle 130 /* EBADF */ +#define kNtErrorNegativeSeek 131 +#define kNtErrorSeekOnDevice 132 +#define kNtErrorIsJoinTarget 133 +#define kNtErrorIsJoined 134 +#define kNtErrorIsSubsted 135 +#define kNtErrorNotJoined 136 +#define kNtErrorNotSubsted 137 +#define kNtErrorJoinToJoin 138 +#define kNtErrorSubstToSubst 139 +#define kNtErrorJoinToSubst 140 +#define kNtErrorSubstToJoin 141 +#define kNtErrorBusyDrive 142 +#define kNtErrorSameDrive 143 +#define kNtErrorDirNotRoot 144 +#define kNtErrorDirNotEmpty 145 +#define kNtErrorIsSubstPath 146 +#define kNtErrorIsJoinPath 147 +#define kNtErrorPathBusy 148 /* ETXTBSY */ +#define kNtErrorIsSubstTarget 149 +#define kNtErrorSystemTrace 150 +#define kNtErrorInvalidEventCount 151 +#define kNtErrorTooManyMuxwaiters 152 +#define kNtErrorInvalidListFormat 153 +#define kNtErrorLabelTooLong 154 +#define kNtErrorTooManyTcbs 155 +#define kNtErrorSignalRefused 156 +#define kNtErrorDiscarded 157 +#define kNtErrorNotLocked 158 /* ENOLCK */ +#define kNtErrorBadThreadidAddr 159 +#define kNtErrorBadArguments 160 +#define kNtErrorBadPathname 161 +#define kNtErrorSignalPending 162 +#define kNtErrorMaxThrdsReached 164 +#define kNtErrorLockFailed 167 +#define kNtErrorBusy 170 /* EBUSY */ +#define kNtErrorDeviceSupportInProgress 171 +#define kNtErrorCancelViolation 173 +#define kNtErrorAtomicLocksNotSupported 174 +#define kNtErrorInvalidSegmentNumber 180 +#define kNtErrorInvalidOrdinal 182 +#define kNtErrorAlreadyExists 183 /* EEXIST */ +#define kNtErrorInvalidFlagNumber 186 +#define kNtErrorSemNotFound 187 +#define kNtErrorInvalidStartingCodeseg 188 +#define kNtErrorInvalidStackseg 189 +#define kNtErrorInvalidModuletype 190 +#define kNtErrorInvalidExeSignature 191 +#define kNtErrorExeMarkedInvalid 192 /* EBADEXEC */ +#define kNtErrorBadExeFormat 193 /* ENOEXEC */ +#define kNtErrorIteratedDataExceeds_64k 194 +#define kNtErrorInvalidMinallocsize 195 +#define kNtErrorDynlinkFromInvalidRing 196 +#define kNtErrorIoplNotEnabled 197 +#define kNtErrorInvalidSegdpl 198 +#define kNtErrorAutodatasegExceeds_64k 199 +#define kNtErrorRing2segMustBeMovable 200 +#define kNtErrorRelocChainXeedsSeglim 201 +#define kNtErrorInfloopInRelocChain 202 +#define kNtErrorEnvvarNotFound 203 +#define kNtErrorNoSignalSent 205 +#define kNtErrorFilenameExcedRange 206 /* ENAMETOOLONG */ +#define kNtErrorRing2StackInUse 207 +#define kNtErrorMetaExpansionTooLong 208 +#define kNtErrorInvalidSignalNumber 209 +#define kNtErrorThread_1Inactive 210 +#define kNtErrorLocked 212 +#define kNtErrorTooManyModules 214 +#define kNtErrorNestingNotAllowed 215 +#define kNtErrorExeMachineTypeMismatch 216 /* EBADARCH */ +#define kNtErrorExeCannotModifySignedBinary 217 +#define kNtErrorExeCannotModifyStrongSignedBinary 218 +#define kNtErrorFileCheckedOut 220 +#define kNtErrorCheckoutRequired 221 +#define kNtErrorBadFileType 222 /* EFTYPE */ +#define kNtErrorFileTooLarge 223 /* EFBIG */ +#define kNtErrorFormsAuthRequired 224 /* ENEEDAUTH */ +#define kNtErrorVirusInfected 225 +#define kNtErrorVirusDeleted 226 +#define kNtErrorPipeLocal 229 +#define kNtErrorBadPipe 230 +#define kNtErrorPipeBusy 231 +#define kNtErrorNoData 232 +#define kNtErrorPipeNotConnected 233 +#define kNtErrorMoreData 234 +#define kNtErrorNoWorkDone 235 +#define kNtErrorVcDisconnected 240 +#define kNtErrorInvalidEaName 254 +#define kNtErrorEaListInconsistent 255 +#define kNtErrorNoMoreItems 259 +#define kNtErrorCannotCopy 266 +#define kNtErrorDirectory 267 /* EISDIR */ +#define kNtErrorEasDidntFit 275 +#define kNtErrorEaFileCorrupt 276 +#define kNtErrorEaTableFull 277 +#define kNtErrorInvalidEaHandle 278 +#define kNtErrorEasNotSupported 282 +#define kNtErrorNotOwner 288 +#define kNtErrorTooManyPosts 298 +#define kNtErrorPartialCopy 299 +#define kNtErrorOplockNotGranted 300 +#define kNtErrorInvalidOplockProtocol 301 +#define kNtErrorDiskTooFragmented 302 +#define kNtErrorDeletePending 303 +#define kNtErrorIncompatibleWithGlobalShortNameRegistrySetting 304 +#define kNtErrorShortNamesNotEnabledOnVolume 305 +#define kNtErrorSecurityStreamIsInconsistent 306 +#define kNtErrorInvalidLockRange 307 +#define kNtErrorImageSubsystemNotPresent 308 +#define kNtErrorNotificationGuidAlreadyDefined 309 +#define kNtErrorInvalidExceptionHandler 310 +#define kNtErrorDuplicatePrivileges 311 +#define kNtErrorNoRangesProcessed 312 +#define kNtErrorNotAllowedOnSystemFile 313 +#define kNtErrorDiskResourcesExhausted 314 +#define kNtErrorInvalidToken 315 +#define kNtErrorDeviceFeatureNotSupported 316 +#define kNtErrorMrMidNotFound 317 +#define kNtErrorScopeNotFound 318 +#define kNtErrorUndefinedScope 319 +#define kNtErrorInvalidCap 320 +#define kNtErrorDeviceUnreachable 321 +#define kNtErrorDeviceNoResources 322 +#define kNtErrorDataChecksumError 323 +#define kNtErrorIntermixedKernelEaOperation 324 +#define kNtErrorFileLevelTrimNotSupported 326 +#define kNtErrorOffsetAlignmentViolation 327 +#define kNtErrorInvalidFieldInParameterList 328 +#define kNtErrorOperationInProgress 329 /* EPROGUNAVAIL */ +#define kNtErrorBadDevicePath 330 +#define kNtErrorTooManyDescriptors 331 /* ENFILE */ +#define kNtErrorScrubDataDisabled 332 +#define kNtErrorNotRedundantStorage 333 +#define kNtErrorResidentFileNotSupported 334 +#define kNtErrorCompressedFileNotSupported 335 +#define kNtErrorDirectoryNotSupported 336 +#define kNtErrorNotReadFromCopy 337 +#define kNtErrorFtWriteFailure 338 +#define kNtErrorFtDiScanRequired 339 +#define kNtErrorInvalidKernelInfoVersion 340 +#define kNtErrorInvalidPepInfoVersion 341 +#define kNtErrorObjectNotExternallyBacked 342 +#define kNtErrorExternalBackingProviderUnknown 343 +#define kNtErrorCompressionNotBeneficial 344 +#define kNtErrorStorageTopologyIdMismatch 345 +#define kNtErrorBlockedByParentalControls 346 +#define kNtErrorBlockTooManyReferences 347 +#define kNtErrorMarkedToDisallowWrites 348 +#define kNtErrorEnclaveFailure 349 +#define kNtErrorFailNoactionReboot 350 +#define kNtErrorFailShutdown 351 +#define kNtErrorFailRestart 352 +#define kNtErrorMaxSessionsReached 353 +#define kNtErrorNetworkAccessDeniedEdp 354 +#define kNtErrorDeviceHintNameBufferTooSmall 355 +#define kNtErrorEdpPolicyDeniesOperation 356 +#define kNtErrorEdpDplPolicyCantBeSatisfied 357 +#define kNtErrorCloudFileSyncRootMetadataCorrupt 358 +#define kNtErrorDeviceInMaintenance 359 +#define kNtErrorNotSupportedOnDax 360 +#define kNtErrorDaxMappingExists 361 +#define kNtErrorCloudFileProviderNotRunning 362 +#define kNtErrorCloudFileMetadataCorrupt 363 +#define kNtErrorCloudFileMetadataTooLarge 364 +#define kNtErrorCloudFilePropertyBlobTooLarge 365 +#define kNtErrorCloudFilePropertyBlobChecksumMismatch 366 +#define kNtErrorChildProcessBlocked 367 +#define kNtErrorStorageLostDataPersistence 368 +#define kNtErrorFileSystemVirtualizationUnavailable 369 +#define kNtErrorFileSystemVirtualizationMetadataCorrupt 370 +#define kNtErrorFileSystemVirtualizationBusy 371 +#define kNtErrorFileSystemVirtualizationProviderUnknown 372 +#define kNtErrorGdiHandleLeak 373 +#define kNtErrorCloudFileTooManyPropertyBlobs 374 +#define kNtErrorCloudFilePropertyVersionNotSupported 375 +#define kNtErrorNotACloudFile 376 +#define kNtErrorCloudFileNotInSync 377 +#define kNtErrorCloudFileAlreadyConnected 378 +#define kNtErrorCloudFileNotSupported 379 +#define kNtErrorCloudFileInvalidRequest 380 +#define kNtErrorCloudFileReadOnlyVolume 381 +#define kNtErrorCloudFileConnectedProviderOnly 382 +#define kNtErrorCloudFileValidationFailed 383 +#define kNtErrorSmb1NotAvailable 384 +#define kNtErrorFileSystemVirtualizationInvalidOperation 385 +#define kNtErrorCloudFileAuthenticationFailed 386 +#define kNtErrorCloudFileInsufficientResources 387 +#define kNtErrorCloudFileNetworkUnavailable 388 +#define kNtErrorCloudFileUnsuccessful 389 +#define kNtErrorCloudFileNotUnderSyncRoot 390 +#define kNtErrorCloudFileInUse 391 +#define kNtErrorCloudFilePinned 392 +#define kNtErrorCloudFileRequestAborted 393 +#define kNtErrorCloudFilePropertyCorrupt 394 +#define kNtErrorCloudFileAccessDenied 395 +#define kNtErrorCloudFileIncompatibleHardlinks 396 +#define kNtErrorCloudFilePropertyLockConflict 397 +#define kNtErrorCloudFileRequestCanceled 398 +#define kNtErrorExternalSyskeyNotSupported 399 +#define kNtErrorThreadModeAlreadyBackground 400 +#define kNtErrorThreadModeNotBackground 401 +#define kNtErrorProcessModeAlreadyBackground 402 +#define kNtErrorProcessModeNotBackground 403 +#define kNtErrorCloudFileProviderTerminated 404 +#define kNtErrorNotACloudSyncRoot 405 +#define kNtErrorFileProtectedUnderDpl 406 +#define kNtErrorVolumeNotClusterAligned 407 +#define kNtErrorNoPhysicallyAlignedFreeSpaceFound 408 +#define kNtErrorAppxFileNotEncrypted 409 +#define kNtErrorRwrawEncryptedFileNotEncrypted 410 +#define kNtErrorRwrawEncryptedInvalidEdatainfoFileoffset 411 +#define kNtErrorRwrawEncryptedInvalidEdatainfoFilerange 412 +#define kNtErrorRwrawEncryptedInvalidEdatainfoParameter 413 +#define kNtErrorLinuxSubsystemNotPresent 414 +#define kNtErrorCapauthzNotDevunlocked 450 +#define kNtErrorCapauthzChangeType 451 +#define kNtErrorCapauthzNotProvisioned 452 +#define kNtErrorCapauthzNotAuthorized 453 +#define kNtErrorCapauthzNoPolicy 454 +#define kNtErrorCapauthzDbCorrupted 455 +#define kNtErrorCapauthzSccdInvalidCatalog 456 +#define kNtErrorCapauthzSccdNoAuthEntity 457 +#define kNtErrorCapauthzSccdParseError 458 +#define kNtErrorCapauthzSccdDevModeRequired 459 +#define kNtErrorCapauthzSccdNoCapabilityMatch 460 +#define kNtErrorPnpQueryRemoveDeviceTimeout 480 +#define kNtErrorPnpQueryRemoveRelatedDeviceTimeout 481 +#define kNtErrorPnpQueryRemoveUnrelatedDeviceTimeout 482 +#define kNtErrorDeviceHardwareError 483 /* EDEVERR */ +#define kNtErrorInvalidAddress 487 /* EFAULT */ +#define kNtErrorVrfCfgEnabled 1183 +#define kNtErrorPartitionTerminating 1184 +#define kNtErrorUserProfileLoad 500 +#define kNtErrorArithmeticOverflow 534 /* EOVERFLOW */ +#define kNtErrorPipeConnected 535 +#define kNtErrorPipeListening 536 +#define kNtErrorVerifierStop 537 +#define kNtErrorAbiosError 538 +#define kNtErrorWx86Warning 539 +#define kNtErrorWx86Error 540 +#define kNtErrorTimerNotCanceled 541 +#define kNtErrorUnwind 542 +#define kNtErrorBadStack 543 +#define kNtErrorInvalidUnwindTarget 544 +#define kNtErrorInvalidPortAttributes 545 +#define kNtErrorPortMessageTooLong 546 +#define kNtErrorInvalidQuotaLower 547 +#define kNtErrorDeviceAlreadyAttached 548 +#define kNtErrorInstructionMisalignment 549 +#define kNtErrorProfilingNotStarted 550 +#define kNtErrorProfilingNotStopped 551 +#define kNtErrorCouldNotInterpret 552 +#define kNtErrorProfilingAtLimit 553 +#define kNtErrorCantWait 554 +#define kNtErrorCantTerminateSelf 555 +#define kNtErrorUnexpectedMmCreateErr 556 +#define kNtErrorUnexpectedMmMapError 557 +#define kNtErrorUnexpectedMmExtendErr 558 +#define kNtErrorBadFunctionTable 559 +#define kNtErrorNoGuidTranslation 560 +#define kNtErrorInvalidLdtSize 561 +#define kNtErrorInvalidLdtOffset 563 +#define kNtErrorInvalidLdtDescriptor 564 +#define kNtErrorTooManyThreads 565 +#define kNtErrorThreadNotInProcess 566 /* ESRCH */ +#define kNtErrorPagefileQuotaExceeded 567 +#define kNtErrorLogonServerConflict 568 +#define kNtErrorSynchronizationRequired 569 +#define kNtErrorNetOpenFailed 570 +#define kNtErrorIoPrivilegeFailed 571 +#define kNtErrorControlCExit 572 +#define kNtErrorMissingSystemfile 573 +#define kNtErrorUnhandledException 574 +#define kNtErrorAppInitFailure 575 +#define kNtErrorPagefileCreateFailed 576 +#define kNtErrorInvalidImageHash 577 +#define kNtErrorNoPagefile 578 +#define kNtErrorIllegalFloatContext 579 +#define kNtErrorNoEventPair 580 +#define kNtErrorDomainCtrlrConfigError 581 +#define kNtErrorIllegalCharacter 582 /* EILSEQ */ +#define kNtErrorUndefinedCharacter 583 +#define kNtErrorFloppyVolume 584 +#define kNtErrorBiosFailedToConnectInterrupt 585 +#define kNtErrorBackupController 586 +#define kNtErrorMutantLimitExceeded 587 +#define kNtErrorFsDriverRequired 588 +#define kNtErrorCannotLoadRegistryFile 589 +#define kNtErrorDebugAttachFailed 590 +#define kNtErrorSystemProcessTerminated 591 +#define kNtErrorDataNotAccepted 592 +#define kNtErrorVdmHardError 593 +#define kNtErrorDriverCancelTimeout 594 +#define kNtErrorReplyMessageMismatch 595 /* EPROGMISMATCH */ +#define kNtErrorLostWritebehindData 596 +#define kNtErrorClientServerParametersInvalid 597 +#define kNtErrorNotTinyStream 598 +#define kNtErrorStackOverflowRead 599 +#define kNtErrorConvertToLarge 600 +#define kNtErrorFoundOutOfScope 601 +#define kNtErrorAllocateBucket 602 +#define kNtErrorMarshallOverflow 603 +#define kNtErrorInvalidVariant 604 +#define kNtErrorBadCompressionBuffer 605 +#define kNtErrorAuditFailed 606 +#define kNtErrorTimerResolutionNotSet 607 +#define kNtErrorInsufficientLogonInfo 608 +#define kNtErrorBadDllEntrypoint 609 +#define kNtErrorBadServiceEntrypoint 610 +#define kNtErrorIpAddressConflict1 611 +#define kNtErrorIpAddressConflict2 612 +#define kNtErrorRegistryQuotaLimit 613 +#define kNtErrorNoCallbackActive 614 +#define kNtErrorPwdTooShort 615 +#define kNtErrorPwdTooRecent 616 +#define kNtErrorPwdHistoryConflict 617 +#define kNtErrorUnsupportedCompression 618 +#define kNtErrorInvalidHwProfile 619 +#define kNtErrorInvalidPlugplayDevicePath 620 +#define kNtErrorQuotaListInconsistent 621 +#define kNtErrorEvaluationExpiration 622 +#define kNtErrorIllegalDllRelocation 623 +#define kNtErrorDllInitFailedLogoff 624 +#define kNtErrorValidateContinue 625 +#define kNtErrorNoMoreMatches 626 +#define kNtErrorRangeListConflict 627 +#define kNtErrorServerSidMismatch 628 +#define kNtErrorCantEnableDenyOnly 629 +#define kNtErrorFloatMultipleFaults 630 +#define kNtErrorFloatMultipleTraps 631 +#define kNtErrorNointerface 632 +#define kNtErrorDriverFailedSleep 633 +#define kNtErrorCorruptSystemFile 634 +#define kNtErrorCommitmentMinimum 635 +#define kNtErrorPnpRestartEnumeration 636 +#define kNtErrorSystemImageBadSignature 637 +#define kNtErrorPnpRebootRequired 638 +#define kNtErrorInsufficientPower 639 /* EPWROFF */ +#define kNtErrorMultipleFaultViolation 640 +#define kNtErrorSystemShutdown 641 +#define kNtErrorPortNotSet 642 +#define kNtErrorDsVersionCheckFailure 643 +#define kNtErrorRangeNotFound 644 +#define kNtErrorNotSafeModeDriver 646 +#define kNtErrorFailedDriverEntry 647 +#define kNtErrorDeviceEnumerationError 648 +#define kNtErrorMountPointNotResolved 649 +#define kNtErrorInvalidDeviceObjectParameter 650 +#define kNtErrorMcaOccured 651 +#define kNtErrorDriverDatabaseError 652 +#define kNtErrorSystemHiveTooLarge 653 +#define kNtErrorDriverFailedPriorUnload 654 +#define kNtErrorVolsnapPrepareHibernate 655 +#define kNtErrorHibernationFailure 656 +#define kNtErrorPwdTooLong 657 +#define kNtErrorFileSystemLimitation 665 +#define kNtErrorAssertionFailure 668 +#define kNtErrorAcpiError 669 +#define kNtErrorWowAssertion 670 +#define kNtErrorPnpBadMpsTable 671 +#define kNtErrorPnpTranslationFailed 672 +#define kNtErrorPnpIrqTranslationFailed 673 +#define kNtErrorPnpInvalidId 674 +#define kNtErrorWakeSystemDebugger 675 +#define kNtErrorHandlesClosed 676 +#define kNtErrorExtraneousInformation 677 +#define kNtErrorRxactCommitNecessary 678 +#define kNtErrorMediaCheck 679 +#define kNtErrorGuidSubstitutionMade 680 +#define kNtErrorStoppedOnSymlink 681 +#define kNtErrorLongjump 682 +#define kNtErrorPlugplayQueryVetoed 683 +#define kNtErrorUnwindConsolidate 684 +#define kNtErrorRegistryHiveRecovered 685 +#define kNtErrorDllMightBeInsecure 686 +#define kNtErrorDllMightBeIncompatible 687 +#define kNtErrorDbgExceptionNotHandled 688 +#define kNtErrorDbgReplyLater 689 +#define kNtErrorDbgUnableToProvideHandle 690 +#define kNtErrorDbgTerminateThread 691 +#define kNtErrorDbgTerminateProcess 692 +#define kNtErrorDbgControlC 693 +#define kNtErrorDbgPrintexceptionC 694 +#define kNtErrorDbgRipexception 695 +#define kNtErrorDbgControlBreak 696 +#define kNtErrorDbgCommandException 697 +#define kNtErrorObjectNameExists 698 +#define kNtErrorThreadWasSuspended 699 +#define kNtErrorImageNotAtBase 700 +#define kNtErrorRxactStateCreated 701 +#define kNtErrorSegmentNotification 702 +#define kNtErrorBadCurrentDirectory 703 +#define kNtErrorFtReadRecoveryFromBackup 704 +#define kNtErrorFtWriteRecovery 705 +#define kNtErrorImageMachineTypeMismatch 706 +#define kNtErrorReceivePartial 707 +#define kNtErrorReceiveExpedited 708 +#define kNtErrorReceivePartialExpedited 709 +#define kNtErrorEventDone 710 +#define kNtErrorEventPending 711 +#define kNtErrorCheckingFileSystem 712 +#define kNtErrorFatalAppExit 713 +#define kNtErrorPredefinedHandle 714 +#define kNtErrorWasUnlocked 715 +#define kNtErrorServiceNotification 716 +#define kNtErrorWasLocked 717 +#define kNtErrorLogHardError 718 +#define kNtErrorAlreadyWin32 719 +#define kNtErrorImageMachineTypeMismatchExe 720 +#define kNtErrorNoYieldPerformed 721 +#define kNtErrorTimerResumeIgnored 722 +#define kNtErrorArbitrationUnhandled 723 +#define kNtErrorCardbusNotSupported 724 +#define kNtErrorMpProcessorMismatch 725 +#define kNtErrorHibernated 726 +#define kNtErrorResumeHibernation 727 +#define kNtErrorFirmwareUpdated 728 +#define kNtErrorDriversLeakingLockedPages 729 +#define kNtErrorWakeSystem 730 +#define kNtErrorWait_1 731 +#define kNtErrorWait_2 732 +#define kNtErrorWait_3 733 +#define kNtErrorWait_63 734 +#define kNtErrorAbandonedWait_0 735 +#define kNtErrorAbandonedWait_63 736 +#define kNtErrorUserApc 737 +#define kNtErrorKernelApc 738 +#define kNtErrorAlerted 739 +#define kNtErrorElevationRequired 740 +#define kNtErrorReparse 741 +#define kNtErrorOplockBreakInProgress 742 +#define kNtErrorVolumeMounted 743 +#define kNtErrorRxactCommitted 744 +#define kNtErrorNotifyCleanup 745 +#define kNtErrorPrimaryTransportConnectFailed 746 +#define kNtErrorPageFaultTransition 747 +#define kNtErrorPageFaultDemandZero 748 +#define kNtErrorPageFaultCopyOnWrite 749 +#define kNtErrorPageFaultGuardPage 750 +#define kNtErrorPageFaultPagingFile 751 +#define kNtErrorCachePageLocked 752 +#define kNtErrorCrashDump 753 +#define kNtErrorBufferAllZeros 754 +#define kNtErrorReparseObject 755 +#define kNtErrorResourceRequirementsChanged 756 +#define kNtErrorTranslationComplete 757 +#define kNtErrorNothingToTerminate 758 +#define kNtErrorProcessNotInJob 759 +#define kNtErrorProcessInJob 760 +#define kNtErrorVolsnapHibernateReady 761 +#define kNtErrorFsfilterOpCompletedSuccessfully 762 +#define kNtErrorInterruptVectorAlreadyConnected 763 +#define kNtErrorInterruptStillConnected 764 +#define kNtErrorWaitForOplock 765 +#define kNtErrorDbgExceptionHandled 766 +#define kNtErrorDbgContinue 767 +#define kNtErrorCallbackPopStack 768 +#define kNtErrorCompressionDisabled 769 +#define kNtErrorCantfetchbackwards 770 +#define kNtErrorCantscrollbackwards 771 +#define kNtErrorRowsnotreleased 772 +#define kNtErrorBadAccessorFlags 773 +#define kNtErrorErrorsEncountered 774 +#define kNtErrorNotCapable 775 +#define kNtErrorRequestOutOfSequence 776 +#define kNtErrorVersionParseError 777 +#define kNtErrorBadstartposition 778 +#define kNtErrorMemoryHardware 779 +#define kNtErrorDiskRepairDisabled 780 +#define kNtErrorInsufficientResourceForSpecifiedSharedSectionSize 781 +#define kNtErrorSystemPowerstateTransition 782 +#define kNtErrorSystemPowerstateComplexTransition 783 +#define kNtErrorMcaException 784 +#define kNtErrorAccessAuditByPolicy 785 +#define kNtErrorAccessDisabledNoSaferUiByPolicy 786 +#define kNtErrorAbandonHiberfile 787 +#define kNtErrorLostWritebehindDataNetworkDisconnected 788 +#define kNtErrorLostWritebehindDataNetworkServerError 789 +#define kNtErrorLostWritebehindDataLocalDiskError 790 +#define kNtErrorBadMcfgTable 791 +#define kNtErrorDiskRepairRedirected 792 +#define kNtErrorDiskRepairUnsuccessful 793 +#define kNtErrorCorruptLogOverfull 794 +#define kNtErrorCorruptLogCorrupted 795 +#define kNtErrorCorruptLogUnavailable 796 +#define kNtErrorCorruptLogDeletedFull 797 +#define kNtErrorCorruptLogCleared 798 +#define kNtErrorOrphanNameExhausted 799 +#define kNtErrorOplockSwitchedToNewHandle 800 +#define kNtErrorCannotGrantRequestedOplock 801 +#define kNtErrorCannotBreakOplock 802 +#define kNtErrorOplockHandleClosed 803 +#define kNtErrorNoAceCondition 804 +#define kNtErrorInvalidAceCondition 805 +#define kNtErrorFileHandleRevoked 806 +#define kNtErrorImageAtDifferentBase 807 +#define kNtErrorEncryptedIoNotPossible 808 +#define kNtErrorFileMetadataOptimizationInProgress 809 +#define kNtErrorQuotaActivity 810 +#define kNtErrorHandleRevoked 811 +#define kNtErrorCallbackInvokeInline 812 +#define kNtErrorCpuSetInvalid 813 +#define kNtErrorEnclaveNotTerminated 814 +#define kNtErrorEnclaveViolation 815 +#define kNtErrorEaAccessDenied 994 +#define kNtErrorOperationAborted 995 +#define kNtErrorIoIncomplete 996 +#define kNtErrorIoPending 997 +#define kNtErrorNoaccess 998 +#define kNtErrorSwaperror 999 +#define kNtErrorStackOverflow 1001 +#define kNtErrorInvalidMessage 1002 +#define kNtErrorCanNotComplete 1003 +#define kNtErrorInvalidFlags 1004 +#define kNtErrorUnrecognizedVolume 1005 +#define kNtErrorFileInvalid 1006 +#define kNtErrorFullscreenMode 1007 +#define kNtErrorNoToken 1008 +#define kNtErrorBaddb 1009 +#define kNtErrorBadkey 1010 +#define kNtErrorCantopen 1011 +#define kNtErrorCantread 1012 +#define kNtErrorCantwrite 1013 +#define kNtErrorRegistryRecovered 1014 +#define kNtErrorRegistryCorrupt 1015 +#define kNtErrorRegistryIoFailed 1016 +#define kNtErrorNotRegistryFile 1017 +#define kNtErrorKeyDeleted 1018 +#define kNtErrorNoLogSpace 1019 +#define kNtErrorKeyHasChildren 1020 +#define kNtErrorChildMustBeVolatile 1021 +#define kNtErrorNotifyEnumDir 1022 +#define kNtErrorDependentServicesRunning 1051 +#define kNtErrorInvalidServiceControl 1052 +#define kNtErrorServiceRequestTimeout 1053 +#define kNtErrorServiceNoThread 1054 +#define kNtErrorServiceDatabaseLocked 1055 +#define kNtErrorServiceAlreadyRunning 1056 +#define kNtErrorInvalidServiceAccount 1057 +#define kNtErrorServiceDisabled 1058 +#define kNtErrorCircularDependency 1059 +#define kNtErrorServiceDoesNotExist 1060 +#define kNtErrorServiceCannotAcceptCtrl 1061 +#define kNtErrorServiceNotActive 1062 +#define kNtErrorFailedServiceControllerConnect 1063 +#define kNtErrorExceptionInService 1064 +#define kNtErrorDatabaseDoesNotExist 1065 +#define kNtErrorServiceSpecificError 1066 +#define kNtErrorProcessAborted 1067 +#define kNtErrorServiceDependencyFail 1068 +#define kNtErrorServiceLogonFailed 1069 +#define kNtErrorServiceStartHang 1070 +#define kNtErrorInvalidServiceLock 1071 +#define kNtErrorServiceMarkedForDelete 1072 +#define kNtErrorServiceExists 1073 +#define kNtErrorAlreadyRunningLkg 1074 +#define kNtErrorServiceDependencyDeleted 1075 +#define kNtErrorBootAlreadyAccepted 1076 +#define kNtErrorServiceNeverStarted 1077 +#define kNtErrorDuplicateServiceName 1078 +#define kNtErrorDifferentServiceAccount 1079 +#define kNtErrorCannotDetectDriverFailure 1080 +#define kNtErrorCannotDetectProcessAbort 1081 +#define kNtErrorNoRecoveryProgram 1082 +#define kNtErrorServiceNotInExe 1083 +#define kNtErrorNotSafebootService 1084 +#define kNtErrorEndOfMedia 1100 +#define kNtErrorFilemarkDetected 1101 +#define kNtErrorBeginningOfMedia 1102 +#define kNtErrorSetmarkDetected 1103 +#define kNtErrorNoDataDetected 1104 +#define kNtErrorPartitionFailure 1105 +#define kNtErrorInvalidBlockLength 1106 +#define kNtErrorDeviceNotPartitioned 1107 +#define kNtErrorUnableToLockMedia 1108 +#define kNtErrorUnableToUnloadMedia 1109 +#define kNtErrorMediaChanged 1110 +#define kNtErrorBusReset 1111 +#define kNtErrorNoMediaInDrive 1112 /* ENXIO */ +#define kNtErrorNoUnicodeTranslation 1113 +#define kNtErrorDllInitFailed 1114 +#define kNtErrorShutdownInProgress 1115 +#define kNtErrorNoShutdownInProgress 1116 +#define kNtErrorIoDevice 1117 /* EIO */ +#define kNtErrorSerialNoDevice 1118 /* ENOTTY */ +#define kNtErrorIrqBusy 1119 +#define kNtErrorMoreWrites 1120 +#define kNtErrorCounterTimeout 1121 +#define kNtErrorFloppyIdMarkNotFound 1122 +#define kNtErrorFloppyWrongCylinder 1123 +#define kNtErrorFloppyUnknownError 1124 +#define kNtErrorFloppyBadRegisters 1125 +#define kNtErrorDiskRecalibrateFailed 1126 +#define kNtErrorDiskOperationFailed 1127 +#define kNtErrorDiskResetFailed 1128 +#define kNtErrorEomOverflow 1129 +#define kNtErrorNotEnoughServerMemory 1130 +#define kNtErrorPossibleDeadlock 1131 /* EDEADLK */ +#define kNtErrorMappedAlignment 1132 +#define kNtErrorSetPowerStateVetoed 1140 +#define kNtErrorSetPowerStateFailed 1141 +#define kNtErrorTooManyLinks 1142 +#define kNtErrorOldWinVersion 1150 +#define kNtErrorAppWrongOs 1151 +#define kNtErrorSingleInstanceApp 1152 +#define kNtErrorRmodeApp 1153 +#define kNtErrorInvalidDll 1154 +#define kNtErrorNoAssociation 1155 +#define kNtErrorDdeFail 1156 +#define kNtErrorDllNotFound 1157 +#define kNtErrorNoMoreUserHandles 1158 +#define kNtErrorMessageSyncOnly 1159 +#define kNtErrorSourceElementEmpty 1160 +#define kNtErrorDestinationElementFull 1161 +#define kNtErrorIllegalElementAddress 1162 +#define kNtErrorMagazineNotPresent 1163 +#define kNtErrorDeviceReinitializationNeeded 1164 +#define kNtErrorDeviceRequiresCleaning 1165 +#define kNtErrorDeviceDoorOpen 1166 +#define kNtErrorDeviceNotConnected 1167 +#define kNtErrorNotFound 1168 +#define kNtErrorNoMatch 1169 +#define kNtErrorSetNotFound 1170 +#define kNtErrorPointNotFound 1171 +#define kNtErrorNoTrackingService 1172 +#define kNtErrorNoVolumeId 1173 +#define kNtErrorUnableToRemoveReplaced 1175 +#define kNtErrorUnableToMoveReplacement 1176 +#define kNtErrorUnableToMoveReplacement_2 1177 +#define kNtErrorJournalDeleteInProgress 1178 +#define kNtErrorJournalNotActive 1179 +#define kNtErrorPotentialFileFound 1180 +#define kNtErrorJournalEntryDeleted 1181 +#define kNtErrorShutdownIsScheduled 1190 +#define kNtErrorShutdownUsersLoggedOn 1191 +#define kNtErrorBadDevice 1200 /* ENODEV */ +#define kNtErrorConnectionUnavail 1201 +#define kNtErrorDeviceAlreadyRemembered 1202 +#define kNtErrorNoNetOrBadPath 1203 +#define kNtErrorBadProvider 1204 +#define kNtErrorCannotOpenProfile 1205 +#define kNtErrorBadProfile 1206 +#define kNtErrorNotContainer 1207 +#define kNtErrorExtendedError 1208 +#define kNtErrorInvalidGroupname 1209 +#define kNtErrorInvalidComputername 1210 +#define kNtErrorInvalidEventname 1211 +#define kNtErrorInvalidDomainname 1212 +#define kNtErrorInvalidServicename 1213 +#define kNtErrorInvalidNetname 1214 +#define kNtErrorInvalidSharename 1215 +#define kNtErrorInvalidPasswordname 1216 +#define kNtErrorInvalidMessagename 1217 +#define kNtErrorInvalidMessagedest 1218 +#define kNtErrorSessionCredentialConflict 1219 +#define kNtErrorRemoteSessionLimitExceeded 1220 +#define kNtErrorDupDomainname 1221 +#define kNtErrorNoNetwork 1222 +#define kNtErrorCancelled 1223 /* ECANCELED */ +#define kNtErrorUserMappedFile 1224 +#define kNtErrorConnectionRefused 1225 +#define kNtErrorGracefulDisconnect 1226 +#define kNtErrorAddressAlreadyAssociated 1227 +#define kNtErrorAddressNotAssociated 1228 +#define kNtErrorConnectionInvalid 1229 +#define kNtErrorConnectionActive 1230 +#define kNtErrorNetworkUnreachable 1231 +#define kNtErrorHostUnreachable 1232 +#define kNtErrorProtocolUnreachable 1233 /* multimapped to ENETUNREACH */ +#define kNtErrorPortUnreachable 1234 +#define kNtErrorRequestAborted 1235 +#define kNtErrorConnectionAborted 1236 +#define kNtErrorRetry 1237 +#define kNtErrorConnectionCountLimit 1238 +#define kNtErrorLoginTimeRestriction 1239 +#define kNtErrorLoginWkstaRestriction 1240 +#define kNtErrorIncorrectAddress 1241 +#define kNtErrorAlreadyRegistered 1242 +#define kNtErrorServiceNotFound 1243 +#define kNtErrorNotAuthenticated 1244 /* EAUTH */ +#define kNtErrorNotLoggedOn 1245 +#define kNtErrorContinue 1246 +#define kNtErrorAlreadyInitialized 1247 +#define kNtErrorNoMoreDevices 1248 +#define kNtErrorNoSuchSite 1249 +#define kNtErrorDomainControllerExists 1250 +#define kNtErrorOnlyIfConnected 1251 +#define kNtErrorOverrideNochanges 1252 +#define kNtErrorBadUserProfile 1253 +#define kNtErrorNotSupportedOnSbs 1254 +#define kNtErrorServerShutdownInProgress 1255 +#define kNtErrorHostDown 1256 +#define kNtErrorNonAccountSid 1257 +#define kNtErrorNonDomainSid 1258 +#define kNtErrorApphelpBlock 1259 +#define kNtErrorAccessDisabledByPolicy 1260 +#define kNtErrorRegNatConsumption 1261 +#define kNtErrorCscshareOffline 1262 +#define kNtErrorPkinitFailure 1263 +#define kNtErrorSmartcardSubsystemFailure 1264 +#define kNtErrorDowngradeDetected 1265 +#define kNtErrorMachineLocked 1271 +#define kNtErrorSmbGuestLogonBlocked 1272 +#define kNtErrorCallbackSuppliedInvalidData 1273 +#define kNtErrorSyncForegroundRefreshRequired 1274 +#define kNtErrorDriverBlocked 1275 +#define kNtErrorInvalidImportOfNonDll 1276 +#define kNtErrorAccessDisabledWebblade 1277 +#define kNtErrorAccessDisabledWebbladeTamper 1278 +#define kNtErrorRecoveryFailure 1279 +#define kNtErrorAlreadyFiber 1280 +#define kNtErrorAlreadyThread 1281 +#define kNtErrorStackBufferOverrun 1282 +#define kNtErrorParameterQuotaExceeded 1283 +#define kNtErrorDebuggerInactive 1284 +#define kNtErrorDelayLoadFailed 1285 +#define kNtErrorVdmDisallowed 1286 +#define kNtErrorUnidentifiedError 1287 /* EIDRM */ +#define kNtErrorInvalidCruntimeParameter 1288 +#define kNtErrorBeyondVdl 1289 +#define kNtErrorIncompatibleServiceSidType 1290 +#define kNtErrorDriverProcessTerminated 1291 +#define kNtErrorImplementationLimit 1292 +#define kNtErrorProcessIsProtected 1293 +#define kNtErrorServiceNotifyClientLagging 1294 +#define kNtErrorDiskQuotaExceeded 1295 +#define kNtErrorContentBlocked 1296 +#define kNtErrorIncompatibleServicePrivilege 1297 +#define kNtErrorAppHang 1298 +#define kNtErrorInvalidLabel 1299 +#define kNtErrorNotAllAssigned 1300 +#define kNtErrorSomeNotMapped 1301 +#define kNtErrorNoQuotasForAccount 1302 +#define kNtErrorLocalUserSessionKey 1303 +#define kNtErrorNullLmPassword 1304 +#define kNtErrorUnknownRevision 1305 +#define kNtErrorRevisionMismatch 1306 +#define kNtErrorInvalidOwner 1307 +#define kNtErrorInvalidPrimaryGroup 1308 +#define kNtErrorNoImpersonationToken 1309 +#define kNtErrorCantDisableMandatory 1310 +#define kNtErrorNoLogonServers 1311 +#define kNtErrorNoSuchLogonSession 1312 +#define kNtErrorNoSuchPrivilege 1313 +#define kNtErrorPrivilegeNotHeld 1314 +#define kNtErrorInvalidAccountName 1315 +#define kNtErrorUserExists 1316 +#define kNtErrorNoSuchUser 1317 +#define kNtErrorGroupExists 1318 +#define kNtErrorNoSuchGroup 1319 +#define kNtErrorMemberInGroup 1320 +#define kNtErrorMemberNotInGroup 1321 +#define kNtErrorLastAdmin 1322 +#define kNtErrorWrongPassword 1323 +#define kNtErrorIllFormedPassword 1324 +#define kNtErrorPasswordRestriction 1325 +#define kNtErrorLogonFailure 1326 +#define kNtErrorAccountRestriction 1327 +#define kNtErrorInvalidLogonHours 1328 +#define kNtErrorInvalidWorkstation 1329 +#define kNtErrorPasswordExpired 1330 +#define kNtErrorAccountDisabled 1331 +#define kNtErrorNoneMapped 1332 +#define kNtErrorTooManyLuidsRequested 1333 +#define kNtErrorLuidsExhausted 1334 +#define kNtErrorInvalidSubAuthority 1335 +#define kNtErrorInvalidAcl 1336 +#define kNtErrorInvalidSid 1337 +#define kNtErrorInvalidSecurityDescr 1338 +#define kNtErrorBadInheritanceAcl 1340 +#define kNtErrorServerDisabled 1341 +#define kNtErrorServerNotDisabled 1342 +#define kNtErrorInvalidIdAuthority 1343 +#define kNtErrorAllottedSpaceExceeded 1344 +#define kNtErrorInvalidGroupAttributes 1345 +#define kNtErrorBadImpersonationLevel 1346 +#define kNtErrorCantOpenAnonymous 1347 +#define kNtErrorBadValidationClass 1348 +#define kNtErrorBadTokenType 1349 +#define kNtErrorNoSecurityOnObject 1350 +#define kNtErrorCantAccessDomainInfo 1351 +#define kNtErrorInvalidServerState 1352 +#define kNtErrorInvalidDomainState 1353 +#define kNtErrorInvalidDomainRole 1354 +#define kNtErrorNoSuchDomain 1355 +#define kNtErrorDomainExists 1356 +#define kNtErrorDomainLimitExceeded 1357 +#define kNtErrorInternalDbCorruption 1358 +#define kNtErrorInternalError 1359 +#define kNtErrorGenericNotMapped 1360 +#define kNtErrorBadDescriptorFormat 1361 +#define kNtErrorNotLogonProcess 1362 +#define kNtErrorLogonSessionExists 1363 +#define kNtErrorNoSuchPackage 1364 +#define kNtErrorBadLogonSessionState 1365 +#define kNtErrorLogonSessionCollision 1366 +#define kNtErrorInvalidLogonType 1367 +#define kNtErrorCannotImpersonate 1368 +#define kNtErrorRxactInvalidState 1369 +#define kNtErrorRxactCommitFailure 1370 +#define kNtErrorSpecialAccount 1371 +#define kNtErrorSpecialGroup 1372 +#define kNtErrorSpecialUser 1373 +#define kNtErrorMembersPrimaryGroup 1374 +#define kNtErrorTokenAlreadyInUse 1375 +#define kNtErrorNoSuchAlias 1376 +#define kNtErrorMemberNotInAlias 1377 +#define kNtErrorMemberInAlias 1378 +#define kNtErrorAliasExists 1379 +#define kNtErrorLogonNotGranted 1380 +#define kNtErrorTooManySecrets 1381 +#define kNtErrorSecretTooLong 1382 +#define kNtErrorInternalDbError 1383 +#define kNtErrorTooManyContextIds 1384 +#define kNtErrorLogonTypeNotGranted 1385 +#define kNtErrorNtCrossEncryptionRequired 1386 +#define kNtErrorNoSuchMember 1387 +#define kNtErrorInvalidMember 1388 +#define kNtErrorTooManySids 1389 +#define kNtErrorLmCrossEncryptionRequired 1390 +#define kNtErrorNoInheritance 1391 +#define kNtErrorFileCorrupt 1392 +#define kNtErrorDiskCorrupt 1393 +#define kNtErrorNoUserSessionKey 1394 +#define kNtErrorLicenseQuotaExceeded 1395 +#define kNtErrorWrongTargetName 1396 +#define kNtErrorMutualAuthFailed 1397 +#define kNtErrorTimeSkew 1398 +#define kNtErrorCurrentDomainNotAllowed 1399 +#define kNtErrorInvalidWindowHandle 1400 +#define kNtErrorInvalidMenuHandle 1401 +#define kNtErrorInvalidCursorHandle 1402 +#define kNtErrorInvalidAccelHandle 1403 +#define kNtErrorInvalidHookHandle 1404 +#define kNtErrorInvalidDwpHandle 1405 +#define kNtErrorTlwWithWschild 1406 +#define kNtErrorCannotFindWndClass 1407 +#define kNtErrorWindowOfOtherThread 1408 +#define kNtErrorHotkeyAlreadyRegistered 1409 +#define kNtErrorClassAlreadyExists 1410 +#define kNtErrorClassDoesNotExist 1411 +#define kNtErrorClassHasWindows 1412 +#define kNtErrorInvalidIndex 1413 +#define kNtErrorInvalidIconHandle 1414 +#define kNtErrorPrivateDialogIndex 1415 +#define kNtErrorListboxIdNotFound 1416 +#define kNtErrorNoWildcardCharacters 1417 +#define kNtErrorClipboardNotOpen 1418 +#define kNtErrorHotkeyNotRegistered 1419 +#define kNtErrorWindowNotDialog 1420 +#define kNtErrorControlIdNotFound 1421 +#define kNtErrorInvalidComboboxMessage 1422 +#define kNtErrorWindowNotCombobox 1423 +#define kNtErrorInvalidEditHeight 1424 +#define kNtErrorDcNotFound 1425 +#define kNtErrorInvalidHookFilter 1426 +#define kNtErrorInvalidFilterProc 1427 +#define kNtErrorHookNeedsHmod 1428 +#define kNtErrorGlobalOnlyHook 1429 +#define kNtErrorJournalHookSet 1430 +#define kNtErrorHookNotInstalled 1431 +#define kNtErrorInvalidLbMessage 1432 +#define kNtErrorSetcountOnBadLb 1433 +#define kNtErrorLbWithoutTabstops 1434 +#define kNtErrorDestroyObjectOfOtherThread 1435 +#define kNtErrorChildWindowMenu 1436 +#define kNtErrorNoSystemMenu 1437 +#define kNtErrorInvalidMsgboxStyle 1438 +#define kNtErrorInvalidSpiValue 1439 +#define kNtErrorScreenAlreadyLocked 1440 +#define kNtErrorHwndsHaveDiffParent 1441 +#define kNtErrorNotChildWindow 1442 +#define kNtErrorInvalidGwCommand 1443 +#define kNtErrorInvalidThreadId 1444 +#define kNtErrorNonMdichildWindow 1445 +#define kNtErrorPopupAlreadyActive 1446 +#define kNtErrorNoScrollbars 1447 +#define kNtErrorInvalidScrollbarRange 1448 +#define kNtErrorInvalidShowwinCommand 1449 +#define kNtErrorNoSystemResources 1450 +#define kNtErrorNonpagedSystemResources 1451 +#define kNtErrorPagedSystemResources 1452 +#define kNtErrorWorkingSetQuota 1453 +#define kNtErrorPagefileQuota 1454 +#define kNtErrorCommitmentLimit 1455 +#define kNtErrorMenuItemNotFound 1456 +#define kNtErrorInvalidKeyboardHandle 1457 +#define kNtErrorHookTypeNotAllowed 1458 +#define kNtErrorRequiresInteractiveWindowstation 1459 +#define kNtErrorTimeout 1460 /* ETIMEDOUT */ +#define kNtErrorInvalidMonitorHandle 1461 +#define kNtErrorIncorrectSize 1462 +#define kNtErrorSymlinkClassDisabled 1463 +#define kNtErrorSymlinkNotSupported 1464 +#define kNtErrorXmlParseError 1465 +#define kNtErrorXmldsigError 1466 +#define kNtErrorRestartApplication 1467 +#define kNtErrorWrongCompartment 1468 +#define kNtErrorAuthipFailure 1469 +#define kNtErrorNoNvramResources 1470 +#define kNtErrorNotGuiProcess 1471 +#define kNtErrorEventlogFileCorrupt 1500 +#define kNtErrorEventlogCantStart 1501 +#define kNtErrorLogFileFull 1502 +#define kNtErrorEventlogFileChanged 1503 +#define kNtErrorContainerAssigned 1504 +#define kNtErrorJobNoContainer 1505 +#define kNtErrorInvalidTaskName 1550 +#define kNtErrorInvalidTaskIndex 1551 +#define kNtErrorThreadAlreadyInTask 1552 +#define kNtErrorInstallServiceFailure 1601 +#define kNtErrorInstallUserexit 1602 +#define kNtErrorInstallFailure 1603 +#define kNtErrorInstallSuspend 1604 +#define kNtErrorUnknownProduct 1605 +#define kNtErrorUnknownFeature 1606 +#define kNtErrorUnknownComponent 1607 +#define kNtErrorUnknownProperty 1608 +#define kNtErrorInvalidHandleState 1609 +#define kNtErrorBadConfiguration 1610 +#define kNtErrorIndexAbsent 1611 +#define kNtErrorInstallSourceAbsent 1612 +#define kNtErrorInstallPackageVersion 1613 +#define kNtErrorProductUninstalled 1614 +#define kNtErrorBadQuerySyntax 1615 +#define kNtErrorInvalidField 1616 +#define kNtErrorDeviceRemoved 1617 +#define kNtErrorInstallAlreadyRunning 1618 +#define kNtErrorInstallPackageOpenFailed 1619 +#define kNtErrorInstallPackageInvalid 1620 +#define kNtErrorInstallUiFailure 1621 +#define kNtErrorInstallLogFailure 1622 +#define kNtErrorInstallLanguageUnsupported 1623 +#define kNtErrorInstallTransformFailure 1624 +#define kNtErrorInstallPackageRejected 1625 +#define kNtErrorFunctionNotCalled 1626 /* EBADRPC */ +#define kNtErrorFunctionFailed 1627 /* ERPCMISMATCH */ +#define kNtErrorInvalidTable 1628 +#define kNtErrorDatatypeMismatch 1629 +#define kNtErrorUnsupportedType 1630 +#define kNtErrorCreateFailed 1631 +#define kNtErrorInstallTempUnwritable 1632 +#define kNtErrorInstallPlatformUnsupported 1633 +#define kNtErrorInstallNotused 1634 +#define kNtErrorPatchPackageOpenFailed 1635 +#define kNtErrorPatchPackageInvalid 1636 +#define kNtErrorPatchPackageUnsupported 1637 +#define kNtErrorProductVersion 1638 +#define kNtErrorInvalidCommandLine 1639 /* E2BIG */ +#define kNtErrorInstallRemoteDisallowed 1640 +#define kNtErrorSuccessRebootInitiated 1641 +#define kNtErrorPatchTargetNotFound 1642 +#define kNtErrorPatchPackageRejected 1643 +#define kNtErrorInstallTransformRejected 1644 +#define kNtErrorInstallRemoteProhibited 1645 +#define kNtErrorPatchRemovalUnsupported 1646 +#define kNtErrorUnknownPatch 1647 +#define kNtErrorPatchNoSequence 1648 +#define kNtErrorPatchRemovalDisallowed 1649 +#define kNtErrorInvalidPatchXml 1650 +#define kNtErrorPatchManagedAdvertisedProduct 1651 +#define kNtErrorInstallServiceSafeboot 1652 +#define kNtErrorFailFastException 1653 +#define kNtErrorInstallRejected 1654 +#define kNtErrorDynamicCodeBlocked 1655 +#define kNtErrorNotSameObject 1656 +#define kNtErrorStrictCfgViolation 1657 +#define kNtErrorSetContextDenied 1660 +#define kNtErrorCrossPartitionViolation 1661 +#define kNtErrorInvalidUserBuffer 1784 +#define kNtErrorUnrecognizedMedia 1785 +#define kNtErrorNoTrustLsaSecret 1786 +#define kNtErrorNoTrustSamAccount 1787 +#define kNtErrorTrustedDomainFailure 1788 +#define kNtErrorTrustedRelationshipFailure 1789 +#define kNtErrorTrustFailure 1790 +#define kNtErrorNetlogonNotStarted 1792 +#define kNtErrorAccountExpired 1793 +#define kNtErrorRedirectorHasOpenHandles 1794 +#define kNtErrorPrinterDriverAlreadyInstalled 1795 +#define kNtErrorUnknownPort 1796 +#define kNtErrorUnknownPrinterDriver 1797 +#define kNtErrorUnknownPrintprocessor 1798 +#define kNtErrorInvalidSeparatorFile 1799 +#define kNtErrorInvalidPriority 1800 +#define kNtErrorInvalidPrinterName 1801 +#define kNtErrorPrinterAlreadyExists 1802 +#define kNtErrorInvalidPrinterCommand 1803 +#define kNtErrorInvalidDatatype 1804 +#define kNtErrorInvalidEnvironment 1805 +#define kNtErrorNologonInterdomainTrustAccount 1807 +#define kNtErrorNologonWorkstationTrustAccount 1808 +#define kNtErrorNologonServerTrustAccount 1809 +#define kNtErrorDomainTrustInconsistent 1810 +#define kNtErrorServerHasOpenHandles 1811 +#define kNtErrorResourceDataNotFound 1812 +#define kNtErrorResourceTypeNotFound 1813 +#define kNtErrorResourceNameNotFound 1814 +#define kNtErrorResourceLangNotFound 1815 +#define kNtErrorNotEnoughQuota 1816 /* EDQUOT */ +#define kNtErrorInvalidTime 1901 +#define kNtErrorInvalidFormName 1902 +#define kNtErrorInvalidFormSize 1903 +#define kNtErrorAlreadyWaiting 1904 +#define kNtErrorPrinterDeleted 1905 +#define kNtErrorInvalidPrinterState 1906 +#define kNtErrorPasswordMustChange 1907 +#define kNtErrorDomainControllerNotFound 1908 +#define kNtErrorAccountLockedOut 1909 +#define kNtErrorNoSitename 1919 +#define kNtErrorCantAccessFile 1920 +#define kNtErrorCantResolveFilename 1921 +#define kNtErrorKmDriverBlocked 1930 +#define kNtErrorContextExpired 1931 +#define kNtErrorPerUserTrustQuotaExceeded 1932 +#define kNtErrorAllUserTrustQuotaExceeded 1933 +#define kNtErrorUserDeleteTrustQuotaExceeded 1934 +#define kNtErrorAuthenticationFirewallFailed 1935 +#define kNtErrorRemotePrintConnectionsBlocked 1936 +#define kNtErrorNtlmBlocked 1937 +#define kNtErrorPasswordChangeRequired 1938 +#define kNtErrorLostModeLogonRestriction 1939 +#define kNtErrorInvalidPixelFormat 2000 +#define kNtErrorBadDriver 2001 +#define kNtErrorInvalidWindowStyle 2002 +#define kNtErrorMetafileNotSupported 2003 +#define kNtErrorTransformNotSupported 2004 +#define kNtErrorClippingNotSupported 2005 +#define kNtErrorInvalidCmm 2010 +#define kNtErrorInvalidProfile 2011 +#define kNtErrorTagNotFound 2012 +#define kNtErrorTagNotPresent 2013 +#define kNtErrorDuplicateTag 2014 +#define kNtErrorProfileNotAssociatedWithDevice 2015 +#define kNtErrorProfileNotFound 2016 +#define kNtErrorInvalidColorspace 2017 +#define kNtErrorIcmNotEnabled 2018 +#define kNtErrorDeletingIcmXform 2019 +#define kNtErrorInvalidTransform 2020 +#define kNtErrorColorspaceMismatch 2021 +#define kNtErrorInvalidColorindex 2022 +#define kNtErrorProfileDoesNotMatchDevice 2023 +#define kNtErrorConnectedOtherPassword 2108 +#define kNtErrorConnectedOtherPasswordDefault 2109 +#define kNtErrorBadUsername 2202 +#define kNtErrorNotConnected 2250 +#define kNtErrorOpenFiles 2401 +#define kNtErrorActiveConnections 2402 +#define kNtErrorDeviceInUse 2404 +#define kNtErrorUnknownPrintMonitor 3000 +#define kNtErrorPrinterDriverInUse 3001 +#define kNtErrorSpoolFileNotFound 3002 +#define kNtErrorSplNoStartdoc 3003 +#define kNtErrorSplNoAddjob 3004 +#define kNtErrorPrintProcessorAlreadyInstalled 3005 +#define kNtErrorPrintMonitorAlreadyInstalled 3006 +#define kNtErrorInvalidPrintMonitor 3007 +#define kNtErrorPrintMonitorInUse 3008 +#define kNtErrorPrinterHasJobsQueued 3009 +#define kNtErrorSuccessRebootRequired 3010 +#define kNtErrorSuccessRestartRequired 3011 +#define kNtErrorPrinterNotFound 3012 +#define kNtErrorPrinterDriverWarned 3013 +#define kNtErrorPrinterDriverBlocked 3014 +#define kNtErrorPrinterDriverPackageInUse 3015 +#define kNtErrorCoreDriverPackageNotFound 3016 +#define kNtErrorFailRebootRequired 3017 +#define kNtErrorFailRebootInitiated 3018 +#define kNtErrorPrinterDriverDownloadNeeded 3019 +#define kNtErrorPrintJobRestartRequired 3020 +#define kNtErrorInvalidPrinterDriverManifest 3021 +#define kNtErrorPrinterNotShareable 3022 +#define kNtErrorRequestPaused 3050 +#define kNtErrorAppexecConditionNotSatisfied 3060 +#define kNtErrorAppexecHandleInvalidated 3061 +#define kNtErrorAppexecInvalidHostGeneration 3062 +#define kNtErrorAppexecUnexpectedProcessRegistration 3063 +#define kNtErrorAppexecInvalidHostState 3064 +#define kNtErrorAppexecNoDonor 3065 +#define kNtErrorAppexecHostIdMismatch 3066 +#define kNtErrorIoReissueAsCached 3950 +#define kNtErrorWinsInternal 4000 +#define kNtErrorCanNotDelLocalWins 4001 +#define kNtErrorStaticInit 4002 +#define kNtErrorIncBackup 4003 +#define kNtErrorFullBackup 4004 +#define kNtErrorRecNonExistent 4005 +#define kNtErrorRplNotAllowed 4006 +#define kNtErrorDhcpAddressConflict 4100 +#define kNtErrorWmiGuidNotFound 4200 +#define kNtErrorWmiInstanceNotFound 4201 +#define kNtErrorWmiItemidNotFound 4202 +#define kNtErrorWmiTryAgain 4203 +#define kNtErrorWmiDpNotFound 4204 +#define kNtErrorWmiUnresolvedInstanceRef 4205 +#define kNtErrorWmiAlreadyEnabled 4206 +#define kNtErrorWmiGuidDisconnected 4207 +#define kNtErrorWmiServerUnavailable 4208 +#define kNtErrorWmiDpFailed 4209 +#define kNtErrorWmiInvalidMof 4210 +#define kNtErrorWmiInvalidReginfo 4211 +#define kNtErrorWmiAlreadyDisabled 4212 +#define kNtErrorWmiReadOnly 4213 +#define kNtErrorWmiSetFailure 4214 +#define kNtErrorNotAppcontainer 4250 +#define kNtErrorAppcontainerRequired 4251 +#define kNtErrorNotSupportedInAppcontainer 4252 +#define kNtErrorInvalidPackageSidLength 4253 +#define kNtErrorInvalidMedia 4300 +#define kNtErrorInvalidLibrary 4301 +#define kNtErrorInvalidMediaPool 4302 +#define kNtErrorDriveMediaMismatch 4303 +#define kNtErrorMediaOffline 4304 +#define kNtErrorLibraryOffline 4305 +#define kNtErrorEmpty 4306 /* ENOMSG */ +#define kNtErrorNotEmpty 4307 +#define kNtErrorMediaUnavailable 4308 +#define kNtErrorResourceDisabled 4309 +#define kNtErrorInvalidCleaner 4310 +#define kNtErrorUnableToClean 4311 +#define kNtErrorObjectNotFound 4312 +#define kNtErrorDatabaseFailure 4313 +#define kNtErrorDatabaseFull 4314 +#define kNtErrorMediaIncompatible 4315 +#define kNtErrorResourceNotPresent 4316 +#define kNtErrorInvalidOperation 4317 +#define kNtErrorMediaNotAvailable 4318 +#define kNtErrorDeviceNotAvailable 4319 +#define kNtErrorRequestRefused 4320 +#define kNtErrorInvalidDriveObject 4321 +#define kNtErrorLibraryFull 4322 +#define kNtErrorMediumNotAccessible 4323 +#define kNtErrorUnableToLoadMedium 4324 +#define kNtErrorUnableToInventoryDrive 4325 +#define kNtErrorUnableToInventorySlot 4326 +#define kNtErrorUnableToInventoryTransport 4327 +#define kNtErrorTransportFull 4328 +#define kNtErrorControllingIeport 4329 +#define kNtErrorUnableToEjectMountedMedia 4330 +#define kNtErrorCleanerSlotSet 4331 +#define kNtErrorCleanerSlotNotSet 4332 +#define kNtErrorCleanerCartridgeSpent 4333 +#define kNtErrorUnexpectedOmid 4334 +#define kNtErrorCantDeleteLastItem 4335 +#define kNtErrorMessageExceedsMaxSize 4336 +#define kNtErrorVolumeContainsSysFiles 4337 +#define kNtErrorIndigenousType 4338 +#define kNtErrorNoSupportingDrives 4339 +#define kNtErrorCleanerCartridgeInstalled 4340 +#define kNtErrorIeportFull 4341 +#define kNtErrorFileOffline 4350 +#define kNtErrorRemoteStorageNotActive 4351 +#define kNtErrorRemoteStorageMediaError 4352 +#define kNtErrorNotAReparsePoint 4390 +#define kNtErrorReparseAttributeConflict 4391 +#define kNtErrorInvalidReparseData 4392 +#define kNtErrorReparseTagInvalid 4393 +#define kNtErrorReparseTagMismatch 4394 +#define kNtErrorReparsePointEncountered 4395 +#define kNtErrorAppDataNotFound 4400 +#define kNtErrorAppDataExpired 4401 +#define kNtErrorAppDataCorrupt 4402 +#define kNtErrorAppDataLimitExceeded 4403 +#define kNtErrorAppDataRebootRequired 4404 +#define kNtErrorSecurebootRollbackDetected 4420 +#define kNtErrorSecurebootPolicyViolation 4421 +#define kNtErrorSecurebootInvalidPolicy 4422 +#define kNtErrorSecurebootPolicyPublisherNotFound 4423 +#define kNtErrorSecurebootPolicyNotSigned 4424 +#define kNtErrorSecurebootNotEnabled 4425 +#define kNtErrorSecurebootFileReplaced 4426 +#define kNtErrorSecurebootPolicyNotAuthorized 4427 +#define kNtErrorSecurebootPolicyUnknown 4428 +#define kNtErrorSecurebootPolicyMissingAntirollbackversion 4429 +#define kNtErrorSecurebootPlatformIdMismatch 4430 +#define kNtErrorSecurebootPolicyRollbackDetected 4431 +#define kNtErrorSecurebootPolicyUpgradeMismatch 4432 +#define kNtErrorSecurebootRequiredPolicyFileMissing 4433 +#define kNtErrorSecurebootNotBasePolicy 4434 +#define kNtErrorSecurebootNotSupplementalPolicy 4435 +#define kNtErrorOffloadReadFltNotSupported 4440 +#define kNtErrorOffloadWriteFltNotSupported 4441 +#define kNtErrorOffloadReadFileNotSupported 4442 +#define kNtErrorOffloadWriteFileNotSupported 4443 +#define kNtErrorAlreadyHasStreamId 4444 +#define kNtErrorSmrGarbageCollectionRequired 4445 +#define kNtErrorWofWimHeaderCorrupt 4446 +#define kNtErrorWofWimResourceTableCorrupt 4447 +#define kNtErrorWofFileResourceTableCorrupt 4448 +#define kNtErrorVolumeNotSisEnabled 4500 +#define kNtErrorSystemIntegrityRollbackDetected 4550 +#define kNtErrorSystemIntegrityPolicyViolation 4551 +#define kNtErrorSystemIntegrityInvalidPolicy 4552 +#define kNtErrorSystemIntegrityPolicyNotSigned 4553 +#define kNtErrorVsmNotInitialized 4560 +#define kNtErrorVsmDmaProtectionNotInUse 4561 +#define kNtErrorPlatformManifestNotAuthorized 4570 +#define kNtErrorPlatformManifestInvalid 4571 +#define kNtErrorPlatformManifestFileNotAuthorized 4572 +#define kNtErrorPlatformManifestCatalogNotAuthorized 4573 +#define kNtErrorPlatformManifestBinaryIdNotFound 4574 +#define kNtErrorPlatformManifestNotActive 4575 +#define kNtErrorPlatformManifestNotSigned 4576 +#define kNtErrorDependentResourceExists 5001 +#define kNtErrorDependencyNotFound 5002 +#define kNtErrorDependencyAlreadyExists 5003 +#define kNtErrorResourceNotOnline 5004 +#define kNtErrorHostNodeNotAvailable 5005 +#define kNtErrorResourceNotAvailable 5006 +#define kNtErrorResourceNotFound 5007 +#define kNtErrorShutdownCluster 5008 +#define kNtErrorCantEvictActiveNode 5009 +#define kNtErrorObjectAlreadyExists 5010 +#define kNtErrorObjectInList 5011 +#define kNtErrorGroupNotAvailable 5012 +#define kNtErrorGroupNotFound 5013 +#define kNtErrorGroupNotOnline 5014 +#define kNtErrorHostNodeNotResourceOwner 5015 +#define kNtErrorHostNodeNotGroupOwner 5016 +#define kNtErrorResmonCreateFailed 5017 +#define kNtErrorResmonOnlineFailed 5018 +#define kNtErrorResourceOnline 5019 +#define kNtErrorQuorumResource 5020 +#define kNtErrorNotQuorumCapable 5021 +#define kNtErrorClusterShuttingDown 5022 +#define kNtErrorInvalidState 5023 +#define kNtErrorResourcePropertiesStored 5024 +#define kNtErrorNotQuorumClass 5025 +#define kNtErrorCoreResource 5026 +#define kNtErrorQuorumResourceOnlineFailed 5027 +#define kNtErrorQuorumlogOpenFailed 5028 +#define kNtErrorClusterlogCorrupt 5029 +#define kNtErrorClusterlogRecordExceedsMaxsize 5030 +#define kNtErrorClusterlogExceedsMaxsize 5031 +#define kNtErrorClusterlogChkpointNotFound 5032 +#define kNtErrorClusterlogNotEnoughSpace 5033 +#define kNtErrorQuorumOwnerAlive 5034 +#define kNtErrorNetworkNotAvailable 5035 +#define kNtErrorNodeNotAvailable 5036 +#define kNtErrorAllNodesNotAvailable 5037 +#define kNtErrorResourceFailed 5038 +#define kNtErrorClusterInvalidNode 5039 +#define kNtErrorClusterNodeExists 5040 +#define kNtErrorClusterJoinInProgress 5041 +#define kNtErrorClusterNodeNotFound 5042 +#define kNtErrorClusterLocalNodeNotFound 5043 +#define kNtErrorClusterNetworkExists 5044 +#define kNtErrorClusterNetworkNotFound 5045 +#define kNtErrorClusterNetinterfaceExists 5046 +#define kNtErrorClusterNetinterfaceNotFound 5047 +#define kNtErrorClusterInvalidRequest 5048 +#define kNtErrorClusterInvalidNetworkProvider 5049 +#define kNtErrorClusterNodeDown 5050 +#define kNtErrorClusterNodeUnreachable 5051 +#define kNtErrorClusterNodeNotMember 5052 +#define kNtErrorClusterJoinNotInProgress 5053 +#define kNtErrorClusterInvalidNetwork 5054 +#define kNtErrorClusterNodeUp 5056 +#define kNtErrorClusterIpaddrInUse 5057 +#define kNtErrorClusterNodeNotPaused 5058 +#define kNtErrorClusterNoSecurityContext 5059 +#define kNtErrorClusterNetworkNotInternal 5060 +#define kNtErrorClusterNodeAlreadyUp 5061 +#define kNtErrorClusterNodeAlreadyDown 5062 +#define kNtErrorClusterNetworkAlreadyOnline 5063 +#define kNtErrorClusterNetworkAlreadyOffline 5064 +#define kNtErrorClusterNodeAlreadyMember 5065 +#define kNtErrorClusterLastInternalNetwork 5066 +#define kNtErrorClusterNetworkHasDependents 5067 +#define kNtErrorInvalidOperationOnQuorum 5068 +#define kNtErrorDependencyNotAllowed 5069 +#define kNtErrorClusterNodePaused 5070 +#define kNtErrorNodeCantHostResource 5071 +#define kNtErrorClusterNodeNotReady 5072 +#define kNtErrorClusterNodeShuttingDown 5073 +#define kNtErrorClusterJoinAborted 5074 +#define kNtErrorClusterIncompatibleVersions 5075 +#define kNtErrorClusterMaxnumOfResourcesExceeded 5076 +#define kNtErrorClusterSystemConfigChanged 5077 +#define kNtErrorClusterResourceTypeNotFound 5078 +#define kNtErrorClusterRestypeNotSupported 5079 +#define kNtErrorClusterResnameNotFound 5080 +#define kNtErrorClusterNoRpcPackagesRegistered 5081 +#define kNtErrorClusterOwnerNotInPreflist 5082 +#define kNtErrorClusterDatabaseSeqmismatch 5083 +#define kNtErrorResmonInvalidState 5084 +#define kNtErrorClusterGumNotLocker 5085 +#define kNtErrorQuorumDiskNotFound 5086 +#define kNtErrorDatabaseBackupCorrupt 5087 +#define kNtErrorClusterNodeAlreadyHasDfsRoot 5088 +#define kNtErrorResourcePropertyUnchangeable 5089 +#define kNtErrorNoAdminAccessPoint 5090 +#define kNtErrorClusterMembershipInvalidState 5890 +#define kNtErrorClusterQuorumlogNotFound 5891 +#define kNtErrorClusterMembershipHalt 5892 +#define kNtErrorClusterInstanceIdMismatch 5893 +#define kNtErrorClusterNetworkNotFoundForIp 5894 +#define kNtErrorClusterPropertyDataTypeMismatch 5895 +#define kNtErrorClusterEvictWithoutCleanup 5896 +#define kNtErrorClusterParameterMismatch 5897 +#define kNtErrorNodeCannotBeClustered 5898 +#define kNtErrorClusterWrongOsVersion 5899 +#define kNtErrorClusterCantCreateDupClusterName 5900 +#define kNtErrorCluscfgAlreadyCommitted 5901 +#define kNtErrorCluscfgRollbackFailed 5902 +#define kNtErrorCluscfgSystemDiskDriveLetterConflict 5903 +#define kNtErrorClusterOldVersion 5904 +#define kNtErrorClusterMismatchedComputerAcctName 5905 +#define kNtErrorClusterNoNetAdapters 5906 +#define kNtErrorClusterPoisoned 5907 +#define kNtErrorClusterGroupMoving 5908 +#define kNtErrorClusterResourceTypeBusy 5909 +#define kNtErrorResourceCallTimedOut 5910 +#define kNtErrorInvalidClusterIpv6Address 5911 +#define kNtErrorClusterInternalInvalidFunction 5912 +#define kNtErrorClusterParameterOutOfBounds 5913 +#define kNtErrorClusterPartialSend 5914 +#define kNtErrorClusterRegistryInvalidFunction 5915 +#define kNtErrorClusterInvalidStringTermination 5916 +#define kNtErrorClusterInvalidStringFormat 5917 +#define kNtErrorClusterDatabaseTransactionInProgress 5918 +#define kNtErrorClusterDatabaseTransactionNotInProgress 5919 +#define kNtErrorClusterNullData 5920 +#define kNtErrorClusterPartialRead 5921 +#define kNtErrorClusterPartialWrite 5922 +#define kNtErrorClusterCantDeserializeData 5923 +#define kNtErrorDependentResourcePropertyConflict 5924 +#define kNtErrorClusterNoQuorum 5925 +#define kNtErrorClusterInvalidIpv6Network 5926 +#define kNtErrorClusterInvalidIpv6TunnelNetwork 5927 +#define kNtErrorQuorumNotAllowedInThisGroup 5928 +#define kNtErrorDependencyTreeTooComplex 5929 +#define kNtErrorExceptionInResourceCall 5930 +#define kNtErrorClusterRhsFailedInitialization 5931 +#define kNtErrorClusterNotInstalled 5932 +#define kNtErrorClusterResourcesMustBeOnlineOnTheSameNode 5933 +#define kNtErrorClusterMaxNodesInCluster 5934 +#define kNtErrorClusterTooManyNodes 5935 +#define kNtErrorClusterObjectAlreadyUsed 5936 +#define kNtErrorNoncoreGroupsFound 5937 +#define kNtErrorFileShareResourceConflict 5938 +#define kNtErrorClusterEvictInvalidRequest 5939 +#define kNtErrorClusterSingletonResource 5940 +#define kNtErrorClusterGroupSingletonResource 5941 +#define kNtErrorClusterResourceProviderFailed 5942 +#define kNtErrorClusterResourceConfigurationError 5943 +#define kNtErrorClusterGroupBusy 5944 +#define kNtErrorClusterNotSharedVolume 5945 +#define kNtErrorClusterInvalidSecurityDescriptor 5946 +#define kNtErrorClusterSharedVolumesInUse 5947 +#define kNtErrorClusterUseSharedVolumesApi 5948 +#define kNtErrorClusterBackupInProgress 5949 +#define kNtErrorNonCsvPath 5950 +#define kNtErrorCsvVolumeNotLocal 5951 +#define kNtErrorClusterWatchdogTerminating 5952 +#define kNtErrorClusterResourceVetoedMoveIncompatibleNodes 5953 +#define kNtErrorClusterInvalidNodeWeight 5954 +#define kNtErrorClusterResourceVetoedCall 5955 +#define kNtErrorResmonSystemResourcesLacking 5956 #define kNtErrorClusterResourceVetoedMoveNotEnoughResourcesOnSource 5958 -#define kNtErrorClusterGroupQueued 5959 -#define kNtErrorClusterResourceLockedStatus 5960 -#define kNtErrorClusterSharedVolumeFailoverNotAllowed 5961 -#define kNtErrorClusterNodeDrainInProgress 5962 -#define kNtErrorClusterDiskNotConnected 5963 -#define kNtErrorDiskNotCsvCapable 5964 -#define kNtErrorResourceNotInAvailableStorage 5965 -#define kNtErrorClusterSharedVolumeRedirected 5966 -#define kNtErrorClusterSharedVolumeNotRedirected 5967 -#define kNtErrorClusterCannotReturnProperties 5968 -#define kNtErrorClusterResourceIsInMaintenanceMode 5970 -#define kNtErrorClusterAffinityConflict 5971 -#define kNtErrorClusterResourceIsReplicaVirtualMachine 5972 -#define kNtErrorClusterUpgradeIncompatibleVersions 5973 -#define kNtErrorClusterUpgradeFixQuorumNotSupported 5974 -#define kNtErrorClusterUpgradeRestartRequired 5975 -#define kNtErrorClusterUpgradeInProgress 5976 -#define kNtErrorClusterUpgradeIncomplete 5977 -#define kNtErrorClusterNodeInGracePeriod 5978 -#define kNtErrorClusterCsvIoPauseTimeout 5979 -#define kNtErrorNodeNotActiveClusterMember 5980 -#define kNtErrorClusterResourceNotMonitored 5981 -#define kNtErrorClusterResourceDoesNotSupportUnmonitored 5982 -#define kNtErrorClusterResourceIsReplicated 5983 -#define kNtErrorClusterNodeIsolated 5984 -#define kNtErrorClusterNodeQuarantined 5985 -#define kNtErrorClusterDatabaseUpdateConditionFailed 5986 -#define kNtErrorClusterSpaceDegraded 5987 -#define kNtErrorClusterTokenDelegationNotSupported 5988 -#define kNtErrorClusterCsvInvalidHandle 5989 -#define kNtErrorClusterCsvSupportedOnlyOnCoordinator 5990 -#define kNtErrorGroupsetNotAvailable 5991 -#define kNtErrorGroupsetNotFound 5992 -#define kNtErrorGroupsetCantProvide 5993 -#define kNtErrorClusterFaultDomainParentNotFound 5994 -#define kNtErrorClusterFaultDomainInvalidHierarchy 5995 -#define kNtErrorClusterFaultDomainFailedS2dValidation 5996 -#define kNtErrorClusterFaultDomainS2dConnectivityLoss 5997 -#define kNtErrorClusterInvalidInfrastructureFileserverName 5998 -#define kNtErrorClustersetManagementClusterUnreachable 5999 -#define kNtErrorEncryptionFailed 6000 -#define kNtErrorDecryptionFailed 6001 -#define kNtErrorFileEncrypted 6002 -#define kNtErrorNoRecoveryPolicy 6003 -#define kNtErrorNoEfs 6004 -#define kNtErrorWrongEfs 6005 -#define kNtErrorNoUserKeys 6006 -#define kNtErrorFileNotEncrypted 6007 -#define kNtErrorNotExportFormat 6008 -#define kNtErrorFileReadOnly 6009 /* EROFS */ -#define kNtErrorDirEfsDisallowed 6010 -#define kNtErrorEfsServerNotTrusted 6011 -#define kNtErrorBadRecoveryPolicy 6012 -#define kNtErrorEfsAlgBlobTooBig 6013 -#define kNtErrorVolumeNotSupportEfs 6014 -#define kNtErrorEfsDisabled 6015 -#define kNtErrorEfsVersionNotSupport 6016 -#define kNtErrorCsEncryptionInvalidServerResponse 6017 -#define kNtErrorCsEncryptionUnsupportedServer 6018 -#define kNtErrorCsEncryptionExistingEncryptedFile 6019 -#define kNtErrorCsEncryptionNewEncryptedFile 6020 -#define kNtErrorCsEncryptionFileNotCse 6021 -#define kNtErrorEncryptionPolicyDeniesOperation 6022 -#define kNtErrorNoBrowserServersFound 6118 -#define kNtErrorLogSectorInvalid 6600 -#define kNtErrorLogSectorParityInvalid 6601 -#define kNtErrorLogSectorRemapped 6602 -#define kNtErrorLogBlockIncomplete 6603 -#define kNtErrorLogInvalidRange 6604 /* ERANGE */ -#define kNtErrorLogBlocksExhausted 6605 -#define kNtErrorLogReadContextInvalid 6606 -#define kNtErrorLogRestartInvalid 6607 -#define kNtErrorLogBlockVersion 6608 -#define kNtErrorLogBlockInvalid 6609 -#define kNtErrorLogReadModeInvalid 6610 -#define kNtErrorLogNoRestart 6611 -#define kNtErrorLogMetadataCorrupt 6612 -#define kNtErrorLogMetadataInvalid 6613 -#define kNtErrorLogMetadataInconsistent 6614 -#define kNtErrorLogReservationInvalid 6615 -#define kNtErrorLogCantDelete 6616 -#define kNtErrorLogContainerLimitExceeded 6617 -#define kNtErrorLogStartOfLog 6618 -#define kNtErrorLogPolicyAlreadyInstalled 6619 -#define kNtErrorLogPolicyNotInstalled 6620 -#define kNtErrorLogPolicyInvalid 6621 -#define kNtErrorLogPolicyConflict 6622 -#define kNtErrorLogPinnedArchiveTail 6623 -#define kNtErrorLogRecordNonexistent 6624 -#define kNtErrorLogRecordsReservedInvalid 6625 -#define kNtErrorLogSpaceReservedInvalid 6626 -#define kNtErrorLogTailInvalid 6627 -#define kNtErrorLogFull 6628 -#define kNtErrorCouldNotResizeLog 6629 -#define kNtErrorLogMultiplexed 6630 -#define kNtErrorLogDedicated 6631 -#define kNtErrorLogArchiveNotInProgress 6632 -#define kNtErrorLogArchiveInProgress 6633 -#define kNtErrorLogEphemeral 6634 -#define kNtErrorLogNotEnoughContainers 6635 -#define kNtErrorLogClientAlreadyRegistered 6636 -#define kNtErrorLogClientNotRegistered 6637 -#define kNtErrorLogFullHandlerInProgress 6638 -#define kNtErrorLogContainerReadFailed 6639 -#define kNtErrorLogContainerWriteFailed 6640 -#define kNtErrorLogContainerOpenFailed 6641 -#define kNtErrorLogContainerStateInvalid 6642 -#define kNtErrorLogStateInvalid 6643 -#define kNtErrorLogPinned 6644 -#define kNtErrorLogMetadataFlushFailed 6645 -#define kNtErrorLogInconsistentSecurity 6646 -#define kNtErrorLogAppendedFlushFailed 6647 -#define kNtErrorLogPinnedReservation 6648 -#define kNtErrorInvalidTransaction 6700 -#define kNtErrorTransactionNotActive 6701 -#define kNtErrorTransactionRequestNotValid 6702 -#define kNtErrorTransactionNotRequested 6703 -#define kNtErrorTransactionAlreadyAborted 6704 -#define kNtErrorTransactionAlreadyCommitted 6705 -#define kNtErrorTmInitializationFailed 6706 -#define kNtErrorResourcemanagerReadOnly 6707 -#define kNtErrorTransactionNotJoined 6708 -#define kNtErrorTransactionSuperiorExists 6709 -#define kNtErrorCrmProtocolAlreadyExists 6710 -#define kNtErrorTransactionPropagationFailed 6711 -#define kNtErrorCrmProtocolNotFound 6712 -#define kNtErrorTransactionInvalidMarshallBuffer 6713 -#define kNtErrorCurrentTransactionNotValid 6714 -#define kNtErrorTransactionNotFound 6715 -#define kNtErrorResourcemanagerNotFound 6716 -#define kNtErrorEnlistmentNotFound 6717 -#define kNtErrorTransactionmanagerNotFound 6718 -#define kNtErrorTransactionmanagerNotOnline 6719 -#define kNtErrorTransactionmanagerRecoveryNameCollision 6720 -#define kNtErrorTransactionNotRoot 6721 -#define kNtErrorTransactionObjectExpired 6722 -#define kNtErrorTransactionResponseNotEnlisted 6723 -#define kNtErrorTransactionRecordTooLong 6724 -#define kNtErrorImplicitTransactionNotSupported 6725 -#define kNtErrorTransactionIntegrityViolated 6726 -#define kNtErrorTransactionmanagerIdentityMismatch 6727 -#define kNtErrorRmCannotBeFrozenForSnapshot 6728 -#define kNtErrorTransactionMustWritethrough 6729 -#define kNtErrorTransactionNoSuperior 6730 -#define kNtErrorHeuristicDamagePossible 6731 -#define kNtErrorTransactionalConflict 6800 -#define kNtErrorRmNotActive 6801 -#define kNtErrorRmMetadataCorrupt 6802 -#define kNtErrorDirectoryNotRm 6803 -#define kNtErrorTransactionsUnsupportedRemote 6805 -#define kNtErrorLogResizeInvalidSize 6806 -#define kNtErrorObjectNoLongerExists 6807 -#define kNtErrorStreamMiniversionNotFound 6808 -#define kNtErrorStreamMiniversionNotValid 6809 -#define kNtErrorMiniversionInaccessibleFromSpecifiedTransaction 6810 -#define kNtErrorCantOpenMiniversionWithModifyIntent 6811 -#define kNtErrorCantCreateMoreStreamMiniversions 6812 -#define kNtErrorRemoteFileVersionMismatch 6814 -#define kNtErrorHandleNoLongerValid 6815 -#define kNtErrorNoTxfMetadata 6816 -#define kNtErrorLogCorruptionDetected 6817 -#define kNtErrorCantRecoverWithHandleOpen 6818 -#define kNtErrorRmDisconnected 6819 -#define kNtErrorEnlistmentNotSuperior 6820 -#define kNtErrorRecoveryNotNeeded 6821 -#define kNtErrorRmAlreadyStarted 6822 -#define kNtErrorFileIdentityNotPersistent 6823 -#define kNtErrorCantBreakTransactionalDependency 6824 -#define kNtErrorCantCrossRmBoundary 6825 -#define kNtErrorTxfDirNotEmpty 6826 -#define kNtErrorIndoubtTransactionsExist 6827 -#define kNtErrorTmVolatile 6828 -#define kNtErrorRollbackTimerExpired 6829 -#define kNtErrorTxfAttributeCorrupt 6830 -#define kNtErrorEfsNotAllowedInTransaction 6831 -#define kNtErrorTransactionalOpenNotAllowed 6832 -#define kNtErrorLogGrowthFailed 6833 -#define kNtErrorTransactedMappingUnsupportedRemote 6834 -#define kNtErrorTxfMetadataAlreadyPresent 6835 -#define kNtErrorTransactionScopeCallbacksNotSet 6836 -#define kNtErrorTransactionRequiredPromotion 6837 -#define kNtErrorCannotExecuteFileInTransaction 6838 -#define kNtErrorTransactionsNotFrozen 6839 -#define kNtErrorTransactionFreezeInProgress 6840 -#define kNtErrorNotSnapshotVolume 6841 -#define kNtErrorNoSavepointWithOpenFiles 6842 -#define kNtErrorDataLostRepair 6843 -#define kNtErrorSparseNotAllowedInTransaction 6844 -#define kNtErrorTmIdentityMismatch 6845 -#define kNtErrorFloatedSection 6846 -#define kNtErrorCannotAcceptTransactedWork 6847 -#define kNtErrorCannotAbortTransactions 6848 -#define kNtErrorBadClusters 6849 -#define kNtErrorCompressionNotAllowedInTransaction 6850 -#define kNtErrorVolumeDirty 6851 -#define kNtErrorNoLinkTrackingInTransaction 6852 -#define kNtErrorOperationNotSupportedInTransaction 6853 -#define kNtErrorExpiredHandle 6854 -#define kNtErrorTransactionNotEnlisted 6855 -#define kNtErrorCtxWinstationNameInvalid 7001 -#define kNtErrorCtxInvalidPd 7002 -#define kNtErrorCtxPdNotFound 7003 -#define kNtErrorCtxWdNotFound 7004 -#define kNtErrorCtxCannotMakeEventlogEntry 7005 -#define kNtErrorCtxServiceNameCollision 7006 -#define kNtErrorCtxClosePending 7007 -#define kNtErrorCtxNoOutbuf 7008 -#define kNtErrorCtxModemInfNotFound 7009 -#define kNtErrorCtxInvalidModemname 7010 -#define kNtErrorCtxModemResponseError 7011 -#define kNtErrorCtxModemResponseTimeout 7012 -#define kNtErrorCtxModemResponseNoCarrier 7013 -#define kNtErrorCtxModemResponseNoDialtone 7014 -#define kNtErrorCtxModemResponseBusy 7015 -#define kNtErrorCtxModemResponseVoice 7016 -#define kNtErrorCtxTdError 7017 -#define kNtErrorCtxWinstationNotFound 7022 -#define kNtErrorCtxWinstationAlreadyExists 7023 -#define kNtErrorCtxWinstationBusy 7024 -#define kNtErrorCtxBadVideoMode 7025 -#define kNtErrorCtxGraphicsInvalid 7035 -#define kNtErrorCtxLogonDisabled 7037 -#define kNtErrorCtxNotConsole 7038 -#define kNtErrorCtxClientQueryTimeout 7040 -#define kNtErrorCtxConsoleDisconnect 7041 -#define kNtErrorCtxConsoleConnect 7042 -#define kNtErrorCtxShadowDenied 7044 -#define kNtErrorCtxWinstationAccessDenied 7045 -#define kNtErrorCtxInvalidWd 7049 -#define kNtErrorCtxShadowInvalid 7050 -#define kNtErrorCtxShadowDisabled 7051 -#define kNtErrorCtxClientLicenseInUse 7052 -#define kNtErrorCtxClientLicenseNotSet 7053 -#define kNtErrorCtxLicenseNotAvailable 7054 -#define kNtErrorCtxLicenseClientInvalid 7055 -#define kNtErrorCtxLicenseExpired 7056 -#define kNtErrorCtxShadowNotRunning 7057 -#define kNtErrorCtxShadowEndedByModeChange 7058 -#define kNtErrorActivationCountExceeded 7059 -#define kNtErrorCtxWinstationsDisabled 7060 -#define kNtErrorCtxEncryptionLevelRequired 7061 -#define kNtErrorCtxSessionInUse 7062 -#define kNtErrorCtxNoForceLogoff 7063 -#define kNtErrorCtxAccountRestriction 7064 -#define kNtErrorRdpProtocolError 7065 /* EPROTO */ -#define kNtErrorCtxCdmConnect 7066 -#define kNtErrorCtxCdmDisconnect 7067 -#define kNtErrorCtxSecurityLayerError 7068 -#define kNtErrorTsIncompatibleSessions 7069 -#define kNtErrorTsVideoSubsystemError 7070 -#define kNtErrorDsNotInstalled 8200 -#define kNtErrorDsMembershipEvaluatedLocally 8201 -#define kNtErrorDsNoAttributeOrValue 8202 -#define kNtErrorDsInvalidAttributeSyntax 8203 -#define kNtErrorDsAttributeTypeUndefined 8204 -#define kNtErrorDsAttributeOrValueExists 8205 -#define kNtErrorDsBusy 8206 -#define kNtErrorDsUnavailable 8207 -#define kNtErrorDsNoRidsAllocated 8208 -#define kNtErrorDsNoMoreRids 8209 -#define kNtErrorDsIncorrectRoleOwner 8210 -#define kNtErrorDsRidmgrInitError 8211 -#define kNtErrorDsObjClassViolation 8212 -#define kNtErrorDsCantOnNonLeaf 8213 -#define kNtErrorDsCantOnRdn 8214 -#define kNtErrorDsCantModObjClass 8215 -#define kNtErrorDsCrossDomMoveError 8216 -#define kNtErrorDsGcNotAvailable 8217 -#define kNtErrorSharedPolicy 8218 -#define kNtErrorPolicyObjectNotFound 8219 -#define kNtErrorPolicyOnlyInDs 8220 -#define kNtErrorPromotionActive 8221 -#define kNtErrorNoPromotionActive 8222 -#define kNtErrorDsOperationsError 8224 -#define kNtErrorDsProtocolError 8225 -#define kNtErrorDsTimelimitExceeded 8226 -#define kNtErrorDsSizelimitExceeded 8227 -#define kNtErrorDsAdminLimitExceeded 8228 -#define kNtErrorDsCompareFalse 8229 -#define kNtErrorDsCompareTrue 8230 -#define kNtErrorDsAuthMethodNotSupported 8231 -#define kNtErrorDsStrongAuthRequired 8232 -#define kNtErrorDsInappropriateAuth 8233 -#define kNtErrorDsAuthUnknown 8234 -#define kNtErrorDsReferral 8235 -#define kNtErrorDsUnavailableCritExtension 8236 -#define kNtErrorDsConfidentialityRequired 8237 -#define kNtErrorDsInappropriateMatching 8238 -#define kNtErrorDsConstraintViolation 8239 -#define kNtErrorDsNoSuchObject 8240 -#define kNtErrorDsAliasProblem 8241 -#define kNtErrorDsInvalidDnSyntax 8242 -#define kNtErrorDsIsLeaf 8243 -#define kNtErrorDsAliasDerefProblem 8244 -#define kNtErrorDsUnwillingToPerform 8245 -#define kNtErrorDsLoopDetect 8246 -#define kNtErrorDsNamingViolation 8247 -#define kNtErrorDsObjectResultsTooLarge 8248 -#define kNtErrorDsAffectsMultipleDsas 8249 -#define kNtErrorDsServerDown 8250 -#define kNtErrorDsLocalError 8251 -#define kNtErrorDsEncodingError 8252 -#define kNtErrorDsDecodingError 8253 -#define kNtErrorDsFilterUnknown 8254 -#define kNtErrorDsParamError 8255 -#define kNtErrorDsNotSupported 8256 -#define kNtErrorDsNoResultsReturned 8257 -#define kNtErrorDsControlNotFound 8258 -#define kNtErrorDsClientLoop 8259 -#define kNtErrorDsReferralLimitExceeded 8260 -#define kNtErrorDsSortControlMissing 8261 -#define kNtErrorDsOffsetRangeError 8262 -#define kNtErrorDsRidmgrDisabled 8263 -#define kNtErrorDsRootMustBeNc 8301 -#define kNtErrorDsAddReplicaInhibited 8302 -#define kNtErrorDsAttNotDefInSchema 8303 -#define kNtErrorDsMaxObjSizeExceeded 8304 -#define kNtErrorDsObjStringNameExists 8305 -#define kNtErrorDsNoRdnDefinedInSchema 8306 -#define kNtErrorDsRdnDoesntMatchSchema 8307 -#define kNtErrorDsNoRequestedAttsFound 8308 -#define kNtErrorDsUserBufferToSmall 8309 -#define kNtErrorDsAttIsNotOnObj 8310 -#define kNtErrorDsIllegalModOperation 8311 -#define kNtErrorDsObjTooLarge 8312 -#define kNtErrorDsBadInstanceType 8313 -#define kNtErrorDsMasterdsaRequired 8314 -#define kNtErrorDsObjectClassRequired 8315 -#define kNtErrorDsMissingRequiredAtt 8316 -#define kNtErrorDsAttNotDefForClass 8317 -#define kNtErrorDsAttAlreadyExists 8318 -#define kNtErrorDsCantAddAttValues 8320 -#define kNtErrorDsSingleValueConstraint 8321 -#define kNtErrorDsRangeConstraint 8322 -#define kNtErrorDsAttValAlreadyExists 8323 -#define kNtErrorDsCantRemMissingAtt 8324 -#define kNtErrorDsCantRemMissingAttVal 8325 -#define kNtErrorDsRootCantBeSubref 8326 -#define kNtErrorDsNoChaining 8327 -#define kNtErrorDsNoChainedEval 8328 -#define kNtErrorDsNoParentObject 8329 -#define kNtErrorDsParentIsAnAlias 8330 -#define kNtErrorDsCantMixMasterAndReps 8331 -#define kNtErrorDsChildrenExist 8332 -#define kNtErrorDsObjNotFound 8333 -#define kNtErrorDsAliasedObjMissing 8334 -#define kNtErrorDsBadNameSyntax 8335 -#define kNtErrorDsAliasPointsToAlias 8336 -#define kNtErrorDsCantDerefAlias 8337 -#define kNtErrorDsOutOfScope 8338 -#define kNtErrorDsObjectBeingRemoved 8339 -#define kNtErrorDsCantDeleteDsaObj 8340 -#define kNtErrorDsGenericError 8341 -#define kNtErrorDsDsaMustBeIntMaster 8342 -#define kNtErrorDsClassNotDsa 8343 -#define kNtErrorDsInsuffAccessRights 8344 -#define kNtErrorDsIllegalSuperior 8345 -#define kNtErrorDsAttributeOwnedBySam 8346 -#define kNtErrorDsNameTooManyParts 8347 -#define kNtErrorDsNameTooLong 8348 -#define kNtErrorDsNameValueTooLong 8349 -#define kNtErrorDsNameUnparseable 8350 -#define kNtErrorDsNameTypeUnknown 8351 -#define kNtErrorDsNotAnObject 8352 -#define kNtErrorDsSecDescTooShort 8353 -#define kNtErrorDsSecDescInvalid 8354 -#define kNtErrorDsNoDeletedName 8355 -#define kNtErrorDsSubrefMustHaveParent 8356 -#define kNtErrorDsNcnameMustBeNc 8357 -#define kNtErrorDsCantAddSystemOnly 8358 -#define kNtErrorDsClassMustBeConcrete 8359 -#define kNtErrorDsInvalidDmd 8360 -#define kNtErrorDsObjGuidExists 8361 -#define kNtErrorDsNotOnBacklink 8362 -#define kNtErrorDsNoCrossrefForNc 8363 -#define kNtErrorDsShuttingDown 8364 -#define kNtErrorDsUnknownOperation 8365 -#define kNtErrorDsInvalidRoleOwner 8366 -#define kNtErrorDsCouldntContactFsmo 8367 -#define kNtErrorDsCrossNcDnRename 8368 -#define kNtErrorDsCantModSystemOnly 8369 -#define kNtErrorDsReplicatorOnly 8370 -#define kNtErrorDsObjClassNotDefined 8371 -#define kNtErrorDsObjClassNotSubclass 8372 -#define kNtErrorDsNameReferenceInvalid 8373 -#define kNtErrorDsCrossRefExists 8374 -#define kNtErrorDsCantDelMasterCrossref 8375 -#define kNtErrorDsSubtreeNotifyNotNcHead 8376 -#define kNtErrorDsNotifyFilterTooComplex 8377 -#define kNtErrorDsDupRdn 8378 -#define kNtErrorDsDupOid 8379 -#define kNtErrorDsDupMapiId 8380 -#define kNtErrorDsDupSchemaIdGuid 8381 -#define kNtErrorDsDupLdapDisplayName 8382 -#define kNtErrorDsSemanticAttTest 8383 -#define kNtErrorDsSyntaxMismatch 8384 -#define kNtErrorDsExistsInMustHave 8385 -#define kNtErrorDsExistsInMayHave 8386 -#define kNtErrorDsNonexistentMayHave 8387 -#define kNtErrorDsNonexistentMustHave 8388 -#define kNtErrorDsAuxClsTestFail 8389 -#define kNtErrorDsNonexistentPossSup 8390 -#define kNtErrorDsSubClsTestFail 8391 -#define kNtErrorDsBadRdnAttIdSyntax 8392 -#define kNtErrorDsExistsInAuxCls 8393 -#define kNtErrorDsExistsInSubCls 8394 -#define kNtErrorDsExistsInPossSup 8395 -#define kNtErrorDsRecalcschemaFailed 8396 -#define kNtErrorDsTreeDeleteNotFinished 8397 -#define kNtErrorDsCantDelete 8398 -#define kNtErrorDsAttSchemaReqId 8399 -#define kNtErrorDsBadAttSchemaSyntax 8400 -#define kNtErrorDsCantCacheAtt 8401 -#define kNtErrorDsCantCacheClass 8402 -#define kNtErrorDsCantRemoveAttCache 8403 -#define kNtErrorDsCantRemoveClassCache 8404 -#define kNtErrorDsCantRetrieveDn 8405 -#define kNtErrorDsMissingSupref 8406 -#define kNtErrorDsCantRetrieveInstance 8407 -#define kNtErrorDsCodeInconsistency 8408 -#define kNtErrorDsDatabaseError 8409 -#define kNtErrorDsGovernsidMissing 8410 -#define kNtErrorDsMissingExpectedAtt 8411 -#define kNtErrorDsNcnameMissingCrRef 8412 -#define kNtErrorDsSecurityCheckingError 8413 -#define kNtErrorDsSchemaNotLoaded 8414 -#define kNtErrorDsSchemaAllocFailed 8415 -#define kNtErrorDsAttSchemaReqSyntax 8416 -#define kNtErrorDsGcverifyError 8417 -#define kNtErrorDsDraSchemaMismatch 8418 -#define kNtErrorDsCantFindDsaObj 8419 -#define kNtErrorDsCantFindExpectedNc 8420 -#define kNtErrorDsCantFindNcInCache 8421 -#define kNtErrorDsCantRetrieveChild 8422 -#define kNtErrorDsSecurityIllegalModify 8423 -#define kNtErrorDsCantReplaceHiddenRec 8424 -#define kNtErrorDsBadHierarchyFile 8425 -#define kNtErrorDsBuildHierarchyTableFailed 8426 -#define kNtErrorDsConfigParamMissing 8427 -#define kNtErrorDsCountingAbIndicesFailed 8428 -#define kNtErrorDsHierarchyTableMallocFailed 8429 -#define kNtErrorDsInternalFailure 8430 -#define kNtErrorDsUnknownError 8431 -#define kNtErrorDsRootRequiresClassTop 8432 -#define kNtErrorDsRefusingFsmoRoles 8433 -#define kNtErrorDsMissingFsmoSettings 8434 -#define kNtErrorDsUnableToSurrenderRoles 8435 -#define kNtErrorDsDraGeneric 8436 -#define kNtErrorDsDraInvalidParameter 8437 -#define kNtErrorDsDraBusy 8438 -#define kNtErrorDsDraBadDn 8439 -#define kNtErrorDsDraBadNc 8440 -#define kNtErrorDsDraDnExists 8441 -#define kNtErrorDsDraInternalError 8442 -#define kNtErrorDsDraInconsistentDit 8443 -#define kNtErrorDsDraConnectionFailed 8444 -#define kNtErrorDsDraBadInstanceType 8445 -#define kNtErrorDsDraOutOfMem 8446 -#define kNtErrorDsDraMailProblem 8447 -#define kNtErrorDsDraRefAlreadyExists 8448 -#define kNtErrorDsDraRefNotFound 8449 -#define kNtErrorDsDraObjIsRepSource 8450 -#define kNtErrorDsDraDbError 8451 -#define kNtErrorDsDraNoReplica 8452 -#define kNtErrorDsDraAccessDenied 8453 -#define kNtErrorDsDraNotSupported 8454 -#define kNtErrorDsDraRpcCancelled 8455 -#define kNtErrorDsDraSourceDisabled 8456 -#define kNtErrorDsDraSinkDisabled 8457 -#define kNtErrorDsDraNameCollision 8458 -#define kNtErrorDsDraSourceReinstalled 8459 -#define kNtErrorDsDraMissingParent 8460 -#define kNtErrorDsDraPreempted 8461 -#define kNtErrorDsDraAbandonSync 8462 -#define kNtErrorDsDraShutdown 8463 -#define kNtErrorDsDraIncompatiblePartialSet 8464 -#define kNtErrorDsDraSourceIsPartialReplica 8465 -#define kNtErrorDsDraExtnConnectionFailed 8466 -#define kNtErrorDsInstallSchemaMismatch 8467 -#define kNtErrorDsDupLinkId 8468 -#define kNtErrorDsNameErrorResolving 8469 -#define kNtErrorDsNameErrorNotFound 8470 -#define kNtErrorDsNameErrorNotUnique 8471 -#define kNtErrorDsNameErrorNoMapping 8472 -#define kNtErrorDsNameErrorDomainOnly 8473 -#define kNtErrorDsNameErrorNoSyntacticalMapping 8474 -#define kNtErrorDsConstructedAttMod 8475 -#define kNtErrorDsWrongOmObjClass 8476 -#define kNtErrorDsDraReplPending 8477 -#define kNtErrorDsDsRequired 8478 -#define kNtErrorDsInvalidLdapDisplayName 8479 -#define kNtErrorDsNonBaseSearch 8480 -#define kNtErrorDsCantRetrieveAtts 8481 -#define kNtErrorDsBacklinkWithoutLink 8482 -#define kNtErrorDsEpochMismatch 8483 -#define kNtErrorDsSrcNameMismatch 8484 -#define kNtErrorDsSrcAndDstNcIdentical 8485 -#define kNtErrorDsDstNcMismatch 8486 -#define kNtErrorDsNotAuthoritiveForDstNc 8487 -#define kNtErrorDsSrcGuidMismatch 8488 -#define kNtErrorDsCantMoveDeletedObject 8489 -#define kNtErrorDsPdcOperationInProgress 8490 -#define kNtErrorDsCrossDomainCleanupReqd 8491 -#define kNtErrorDsIllegalXdomMoveOperation 8492 -#define kNtErrorDsCantWithAcctGroupMembershps 8493 -#define kNtErrorDsNcMustHaveNcParent 8494 -#define kNtErrorDsCrImpossibleToValidate 8495 -#define kNtErrorDsDstDomainNotNative 8496 -#define kNtErrorDsMissingInfrastructureContainer 8497 -#define kNtErrorDsCantMoveAccountGroup 8498 -#define kNtErrorDsCantMoveResourceGroup 8499 -#define kNtErrorDsInvalidSearchFlag 8500 -#define kNtErrorDsNoTreeDeleteAboveNc 8501 -#define kNtErrorDsCouldntLockTreeForDelete 8502 -#define kNtErrorDsCouldntIdentifyObjectsForTreeDelete 8503 -#define kNtErrorDsSamInitFailure 8504 -#define kNtErrorDsSensitiveGroupViolation 8505 -#define kNtErrorDsCantModPrimarygroupid 8506 -#define kNtErrorDsIllegalBaseSchemaMod 8507 -#define kNtErrorDsNonsafeSchemaChange 8508 -#define kNtErrorDsSchemaUpdateDisallowed 8509 -#define kNtErrorDsCantCreateUnderSchema 8510 -#define kNtErrorDsInstallNoSrcSchVersion 8511 -#define kNtErrorDsInstallNoSchVersionInInifile 8512 -#define kNtErrorDsInvalidGroupType 8513 -#define kNtErrorDsNoNestGlobalgroupInMixeddomain 8514 -#define kNtErrorDsNoNestLocalgroupInMixeddomain 8515 -#define kNtErrorDsGlobalCantHaveLocalMember 8516 -#define kNtErrorDsGlobalCantHaveUniversalMember 8517 -#define kNtErrorDsUniversalCantHaveLocalMember 8518 -#define kNtErrorDsGlobalCantHaveCrossdomainMember 8519 -#define kNtErrorDsLocalCantHaveCrossdomainLocalMember 8520 -#define kNtErrorDsHavePrimaryMembers 8521 -#define kNtErrorDsStringSdConversionFailed 8522 -#define kNtErrorDsNamingMasterGc 8523 -#define kNtErrorDsDnsLookupFailure 8524 -#define kNtErrorDsCouldntUpdateSpns 8525 -#define kNtErrorDsCantRetrieveSd 8526 -#define kNtErrorDsKeyNotUnique 8527 -#define kNtErrorDsWrongLinkedAttSyntax 8528 -#define kNtErrorDsSamNeedBootkeyPassword 8529 -#define kNtErrorDsSamNeedBootkeyFloppy 8530 -#define kNtErrorDsCantStart 8531 -#define kNtErrorDsInitFailure 8532 -#define kNtErrorDsNoPktPrivacyOnConnection 8533 -#define kNtErrorDsSourceDomainInForest 8534 -#define kNtErrorDsDestinationDomainNotInForest 8535 -#define kNtErrorDsDestinationAuditingNotEnabled 8536 -#define kNtErrorDsCantFindDcForSrcDomain 8537 -#define kNtErrorDsSrcObjNotGroupOrUser 8538 -#define kNtErrorDsSrcSidExistsInForest 8539 -#define kNtErrorDsSrcAndDstObjectClassMismatch 8540 -#define kNtErrorSamInitFailure 8541 -#define kNtErrorDsDraSchemaInfoShip 8542 -#define kNtErrorDsDraSchemaConflict 8543 -#define kNtErrorDsDraEarlierSchemaConflict 8544 -#define kNtErrorDsDraObjNcMismatch 8545 -#define kNtErrorDsNcStillHasDsas 8546 -#define kNtErrorDsGcRequired 8547 -#define kNtErrorDsLocalMemberOfLocalOnly 8548 -#define kNtErrorDsNoFpoInUniversalGroups 8549 -#define kNtErrorDsCantAddToGc 8550 -#define kNtErrorDsNoCheckpointWithPdc 8551 -#define kNtErrorDsSourceAuditingNotEnabled 8552 -#define kNtErrorDsCantCreateInNondomainNc 8553 -#define kNtErrorDsInvalidNameForSpn 8554 -#define kNtErrorDsFilterUsesContructedAttrs 8555 -#define kNtErrorDsUnicodepwdNotInQuotes 8556 -#define kNtErrorDsMachineAccountQuotaExceeded 8557 -#define kNtErrorDsMustBeRunOnDstDc 8558 -#define kNtErrorDsSrcDcMustBeSp4OrGreater 8559 -#define kNtErrorDsCantTreeDeleteCriticalObj 8560 -#define kNtErrorDsInitFailureConsole 8561 -#define kNtErrorDsSamInitFailureConsole 8562 -#define kNtErrorDsForestVersionTooHigh 8563 -#define kNtErrorDsDomainVersionTooHigh 8564 -#define kNtErrorDsForestVersionTooLow 8565 -#define kNtErrorDsDomainVersionTooLow 8566 -#define kNtErrorDsIncompatibleVersion 8567 -#define kNtErrorDsLowDsaVersion 8568 -#define kNtErrorDsNoBehaviorVersionInMixeddomain 8569 -#define kNtErrorDsNotSupportedSortOrder 8570 -#define kNtErrorDsNameNotUnique 8571 -#define kNtErrorDsMachineAccountCreatedPrent4 8572 -#define kNtErrorDsOutOfVersionStore 8573 -#define kNtErrorDsIncompatibleControlsUsed 8574 -#define kNtErrorDsNoRefDomain 8575 -#define kNtErrorDsReservedLinkId 8576 -#define kNtErrorDsLinkIdNotAvailable 8577 -#define kNtErrorDsAgCantHaveUniversalMember 8578 -#define kNtErrorDsModifydnDisallowedByInstanceType 8579 -#define kNtErrorDsNoObjectMoveInSchemaNc 8580 -#define kNtErrorDsModifydnDisallowedByFlag 8581 -#define kNtErrorDsModifydnWrongGrandparent 8582 -#define kNtErrorDsNameErrorTrustReferral 8583 -#define kNtErrorNotSupportedOnStandardServer 8584 -#define kNtErrorDsCantAccessRemotePartOfAd 8585 -#define kNtErrorDsCrImpossibleToValidateV2 8586 -#define kNtErrorDsThreadLimitExceeded 8587 -#define kNtErrorDsNotClosest 8588 -#define kNtErrorDsCantDeriveSpnWithoutServerRef 8589 -#define kNtErrorDsSingleUserModeFailed 8590 -#define kNtErrorDsNtdscriptSyntaxError 8591 -#define kNtErrorDsNtdscriptProcessError 8592 -#define kNtErrorDsDifferentReplEpochs 8593 -#define kNtErrorDsDrsExtensionsChanged 8594 -#define kNtErrorDsReplicaSetChangeNotAllowedOnDisabledCr 8595 -#define kNtErrorDsNoMsdsIntid 8596 -#define kNtErrorDsDupMsdsIntid 8597 -#define kNtErrorDsExistsInRdnattid 8598 -#define kNtErrorDsAuthorizationFailed 8599 -#define kNtErrorDsInvalidScript 8600 -#define kNtErrorDsRemoteCrossrefOpFailed 8601 -#define kNtErrorDsCrossRefBusy 8602 -#define kNtErrorDsCantDeriveSpnForDeletedDomain 8603 -#define kNtErrorDsCantDemoteWithWriteableNc 8604 -#define kNtErrorDsDuplicateIdFound 8605 -#define kNtErrorDsInsufficientAttrToCreateObject 8606 -#define kNtErrorDsGroupConversionError 8607 -#define kNtErrorDsCantMoveAppBasicGroup 8608 -#define kNtErrorDsCantMoveAppQueryGroup 8609 -#define kNtErrorDsRoleNotVerified 8610 -#define kNtErrorDsWkoContainerCannotBeSpecial 8611 -#define kNtErrorDsDomainRenameInProgress 8612 -#define kNtErrorDsExistingAdChildNc 8613 -#define kNtErrorDsReplLifetimeExceeded 8614 -#define kNtErrorDsDisallowedInSystemContainer 8615 -#define kNtErrorDsLdapSendQueueFull 8616 -#define kNtErrorDsDraOutScheduleWindow 8617 -#define kNtErrorDsPolicyNotKnown 8618 -#define kNtErrorNoSiteSettingsObject 8619 -#define kNtErrorNoSecrets 8620 -#define kNtErrorNoWritableDcFound 8621 -#define kNtErrorDsNoServerObject 8622 -#define kNtErrorDsNoNtdsaObject 8623 -#define kNtErrorDsNonAsqSearch 8624 -#define kNtErrorDsAuditFailure 8625 -#define kNtErrorDsInvalidSearchFlagSubtree 8626 -#define kNtErrorDsInvalidSearchFlagTuple 8627 -#define kNtErrorDsHierarchyTableTooDeep 8628 -#define kNtErrorDsDraCorruptUtdVector 8629 -#define kNtErrorDsDraSecretsDenied 8630 -#define kNtErrorDsReservedMapiId 8631 -#define kNtErrorDsMapiIdNotAvailable 8632 -#define kNtErrorDsDraMissingKrbtgtSecret 8633 -#define kNtErrorDsDomainNameExistsInForest 8634 -#define kNtErrorDsFlatNameExistsInForest 8635 -#define kNtErrorInvalidUserPrincipalName 8636 -#define kNtErrorDsOidMappedGroupCantHaveMembers 8637 -#define kNtErrorDsOidNotFound 8638 -#define kNtErrorDsDraRecycledTarget 8639 -#define kNtErrorDsDisallowedNcRedirect 8640 -#define kNtErrorDsHighAdldsFfl 8641 -#define kNtErrorDsHighDsaVersion 8642 -#define kNtErrorDsLowAdldsFfl 8643 -#define kNtErrorDomainSidSameAsLocalWorkstation 8644 -#define kNtErrorDsUndeleteSamValidationFailed 8645 -#define kNtErrorIncorrectAccountType 8646 -#define kNtErrorDsSpnValueNotUniqueInForest 8647 -#define kNtErrorDsUpnValueNotUniqueInForest 8648 -#define kNtErrorDsMissingForestTrust 8649 -#define kNtErrorDsValueKeyNotUnique 8650 -#define kNtErrorIpsecQmPolicyExists 13000 -#define kNtErrorIpsecQmPolicyNotFound 13001 -#define kNtErrorIpsecQmPolicyInUse 13002 -#define kNtErrorIpsecMmPolicyExists 13003 -#define kNtErrorIpsecMmPolicyNotFound 13004 -#define kNtErrorIpsecMmPolicyInUse 13005 -#define kNtErrorIpsecMmFilterExists 13006 -#define kNtErrorIpsecMmFilterNotFound 13007 -#define kNtErrorIpsecTransportFilterExists 13008 -#define kNtErrorIpsecTransportFilterNotFound 13009 -#define kNtErrorIpsecMmAuthExists 13010 -#define kNtErrorIpsecMmAuthNotFound 13011 -#define kNtErrorIpsecMmAuthInUse 13012 -#define kNtErrorIpsecDefaultMmPolicyNotFound 13013 -#define kNtErrorIpsecDefaultMmAuthNotFound 13014 -#define kNtErrorIpsecDefaultQmPolicyNotFound 13015 -#define kNtErrorIpsecTunnelFilterExists 13016 -#define kNtErrorIpsecTunnelFilterNotFound 13017 -#define kNtErrorIpsecMmFilterPendingDeletion 13018 -#define kNtErrorIpsecTransportFilterPendingDeletion 13019 -#define kNtErrorIpsecTunnelFilterPendingDeletion 13020 -#define kNtErrorIpsecMmPolicyPendingDeletion 13021 -#define kNtErrorIpsecMmAuthPendingDeletion 13022 -#define kNtErrorIpsecQmPolicyPendingDeletion 13023 -#define kNtErrorIpsecIkeNegStatusBegin 13800 -#define kNtErrorIpsecIkeAuthFail 13801 -#define kNtErrorIpsecIkeAttribFail 13802 -#define kNtErrorIpsecIkeNegotiationPending 13803 -#define kNtErrorIpsecIkeGeneralProcessingError 13804 -#define kNtErrorIpsecIkeTimedOut 13805 -#define kNtErrorIpsecIkeNoCert 13806 -#define kNtErrorIpsecIkeSaDeleted 13807 -#define kNtErrorIpsecIkeSaReaped 13808 -#define kNtErrorIpsecIkeMmAcquireDrop 13809 -#define kNtErrorIpsecIkeQmAcquireDrop 13810 -#define kNtErrorIpsecIkeQueueDropMm 13811 -#define kNtErrorIpsecIkeQueueDropNoMm 13812 -#define kNtErrorIpsecIkeDropNoResponse 13813 -#define kNtErrorIpsecIkeMmDelayDrop 13814 -#define kNtErrorIpsecIkeQmDelayDrop 13815 -#define kNtErrorIpsecIkeError 13816 -#define kNtErrorIpsecIkeCrlFailed 13817 -#define kNtErrorIpsecIkeInvalidKeyUsage 13818 -#define kNtErrorIpsecIkeInvalidCertType 13819 -#define kNtErrorIpsecIkeNoPrivateKey 13820 -#define kNtErrorIpsecIkeSimultaneousRekey 13821 -#define kNtErrorIpsecIkeDhFail 13822 -#define kNtErrorIpsecIkeCriticalPayloadNotRecognized 13823 -#define kNtErrorIpsecIkeInvalidHeader 13824 -#define kNtErrorIpsecIkeNoPolicy 13825 -#define kNtErrorIpsecIkeInvalidSignature 13826 -#define kNtErrorIpsecIkeKerberosError 13827 -#define kNtErrorIpsecIkeNoPublicKey 13828 -#define kNtErrorIpsecIkeProcessErr 13829 -#define kNtErrorIpsecIkeProcessErrSa 13830 -#define kNtErrorIpsecIkeProcessErrProp 13831 -#define kNtErrorIpsecIkeProcessErrTrans 13832 -#define kNtErrorIpsecIkeProcessErrKe 13833 -#define kNtErrorIpsecIkeProcessErrId 13834 -#define kNtErrorIpsecIkeProcessErrCert 13835 -#define kNtErrorIpsecIkeProcessErrCertReq 13836 -#define kNtErrorIpsecIkeProcessErrHash 13837 -#define kNtErrorIpsecIkeProcessErrSig 13838 -#define kNtErrorIpsecIkeProcessErrNonce 13839 -#define kNtErrorIpsecIkeProcessErrNotify 13840 -#define kNtErrorIpsecIkeProcessErrDelete 13841 -#define kNtErrorIpsecIkeProcessErrVendor 13842 -#define kNtErrorIpsecIkeInvalidPayload 13843 -#define kNtErrorIpsecIkeLoadSoftSa 13844 -#define kNtErrorIpsecIkeSoftSaTornDown 13845 -#define kNtErrorIpsecIkeInvalidCookie 13846 -#define kNtErrorIpsecIkeNoPeerCert 13847 -#define kNtErrorIpsecIkePeerCrlFailed 13848 -#define kNtErrorIpsecIkePolicyChange 13849 -#define kNtErrorIpsecIkeNoMmPolicy 13850 -#define kNtErrorIpsecIkeNotcbpriv 13851 -#define kNtErrorIpsecIkeSecloadfail 13852 -#define kNtErrorIpsecIkeFailsspinit 13853 -#define kNtErrorIpsecIkeFailqueryssp 13854 -#define kNtErrorIpsecIkeSrvacqfail 13855 -#define kNtErrorIpsecIkeSrvquerycred 13856 -#define kNtErrorIpsecIkeGetspifail 13857 -#define kNtErrorIpsecIkeInvalidFilter 13858 -#define kNtErrorIpsecIkeOutOfMemory 13859 -#define kNtErrorIpsecIkeAddUpdateKeyFailed 13860 -#define kNtErrorIpsecIkeInvalidPolicy 13861 -#define kNtErrorIpsecIkeUnknownDoi 13862 -#define kNtErrorIpsecIkeInvalidSituation 13863 -#define kNtErrorIpsecIkeDhFailure 13864 -#define kNtErrorIpsecIkeInvalidGroup 13865 -#define kNtErrorIpsecIkeEncrypt 13866 -#define kNtErrorIpsecIkeDecrypt 13867 -#define kNtErrorIpsecIkePolicyMatch 13868 -#define kNtErrorIpsecIkeUnsupportedId 13869 -#define kNtErrorIpsecIkeInvalidHash 13870 -#define kNtErrorIpsecIkeInvalidHashAlg 13871 -#define kNtErrorIpsecIkeInvalidHashSize 13872 -#define kNtErrorIpsecIkeInvalidEncryptAlg 13873 -#define kNtErrorIpsecIkeInvalidAuthAlg 13874 -#define kNtErrorIpsecIkeInvalidSig 13875 -#define kNtErrorIpsecIkeLoadFailed 13876 -#define kNtErrorIpsecIkeRpcDelete 13877 -#define kNtErrorIpsecIkeBenignReinit 13878 -#define kNtErrorIpsecIkeInvalidResponderLifetimeNotify 13879 -#define kNtErrorIpsecIkeInvalidMajorVersion 13880 -#define kNtErrorIpsecIkeInvalidCertKeylen 13881 -#define kNtErrorIpsecIkeMmLimit 13882 -#define kNtErrorIpsecIkeNegotiationDisabled 13883 -#define kNtErrorIpsecIkeQmLimit 13884 -#define kNtErrorIpsecIkeMmExpired 13885 -#define kNtErrorIpsecIkePeerMmAssumedInvalid 13886 -#define kNtErrorIpsecIkeCertChainPolicyMismatch 13887 -#define kNtErrorIpsecIkeUnexpectedMessageId 13888 -#define kNtErrorIpsecIkeInvalidAuthPayload 13889 -#define kNtErrorIpsecIkeDosCookieSent 13890 -#define kNtErrorIpsecIkeShuttingDown 13891 -#define kNtErrorIpsecIkeCgaAuthFailed 13892 -#define kNtErrorIpsecIkeProcessErrNatoa 13893 -#define kNtErrorIpsecIkeInvalidMmForQm 13894 -#define kNtErrorIpsecIkeQmExpired 13895 -#define kNtErrorIpsecIkeTooManyFilters 13896 -#define kNtErrorIpsecIkeNegStatusEnd 13897 -#define kNtErrorIpsecIkeKillDummyNapTunnel 13898 -#define kNtErrorIpsecIkeInnerIpAssignmentFailure 13899 -#define kNtErrorIpsecIkeRequireCpPayloadMissing 13900 -#define kNtErrorIpsecKeyModuleImpersonationNegotiationPending 13901 -#define kNtErrorIpsecIkeCoexistenceSuppress 13902 -#define kNtErrorIpsecIkeRatelimitDrop 13903 -#define kNtErrorIpsecIkePeerDoesntSupportMobike 13904 -#define kNtErrorIpsecIkeAuthorizationFailure 13905 -#define kNtErrorIpsecIkeStrongCredAuthorizationFailure 13906 -#define kNtErrorIpsecIkeAuthorizationFailureWithOptionalRetry 13907 -#define kNtErrorIpsecIkeStrongCredAuthorizationAndCertmapFailure 13908 -#define kNtErrorIpsecIkeNegStatusExtendedEnd 13909 -#define kNtErrorIpsecBadSpi 13910 -#define kNtErrorIpsecSaLifetimeExpired 13911 -#define kNtErrorIpsecWrongSa 13912 -#define kNtErrorIpsecReplayCheckFailed 13913 -#define kNtErrorIpsecInvalidPacket 13914 -#define kNtErrorIpsecIntegrityCheckFailed 13915 -#define kNtErrorIpsecClearTextDrop 13916 -#define kNtErrorIpsecAuthFirewallDrop 13917 -#define kNtErrorIpsecThrottleDrop 13918 -#define kNtErrorIpsecDospBlock 13925 -#define kNtErrorIpsecDospReceivedMulticast 13926 -#define kNtErrorIpsecDospInvalidPacket 13927 -#define kNtErrorIpsecDospStateLookupFailed 13928 -#define kNtErrorIpsecDospMaxEntries 13929 -#define kNtErrorIpsecDospKeymodNotAllowed 13930 -#define kNtErrorIpsecDospNotInstalled 13931 -#define kNtErrorIpsecDospMaxPerIpRatelimitQueues 13932 -#define kNtErrorSxsSectionNotFound 14000 -#define kNtErrorSxsCantGenActctx 14001 -#define kNtErrorSxsInvalidActctxdataFormat 14002 -#define kNtErrorSxsAssemblyNotFound 14003 -#define kNtErrorSxsManifestFormatError 14004 -#define kNtErrorSxsManifestParseError 14005 -#define kNtErrorSxsActivationContextDisabled 14006 -#define kNtErrorSxsKeyNotFound 14007 -#define kNtErrorSxsVersionConflict 14008 -#define kNtErrorSxsWrongSectionType 14009 -#define kNtErrorSxsThreadQueriesDisabled 14010 -#define kNtErrorSxsProcessDefaultAlreadySet 14011 -#define kNtErrorSxsUnknownEncodingGroup 14012 -#define kNtErrorSxsUnknownEncoding 14013 -#define kNtErrorSxsInvalidXmlNamespaceUri 14014 -#define kNtErrorSxsRootManifestDependencyNotInstalled 14015 -#define kNtErrorSxsLeafManifestDependencyNotInstalled 14016 -#define kNtErrorSxsInvalidAssemblyIdentityAttribute 14017 -#define kNtErrorSxsManifestMissingRequiredDefaultNamespace 14018 -#define kNtErrorSxsManifestInvalidRequiredDefaultNamespace 14019 -#define kNtErrorSxsPrivateManifestCrossPathWithReparsePoint 14020 -#define kNtErrorSxsDuplicateDllName 14021 -#define kNtErrorSxsDuplicateWindowclassName 14022 -#define kNtErrorSxsDuplicateClsid 14023 -#define kNtErrorSxsDuplicateIid 14024 -#define kNtErrorSxsDuplicateTlbid 14025 -#define kNtErrorSxsDuplicateProgid 14026 -#define kNtErrorSxsDuplicateAssemblyName 14027 -#define kNtErrorSxsFileHashMismatch 14028 -#define kNtErrorSxsPolicyParseError 14029 -#define kNtErrorSxsXmlEMissingquote 14030 -#define kNtErrorSxsXmlECommentsyntax 14031 -#define kNtErrorSxsXmlEBadstartnamechar 14032 -#define kNtErrorSxsXmlEBadnamechar 14033 -#define kNtErrorSxsXmlEBadcharinstring 14034 -#define kNtErrorSxsXmlEXmldeclsyntax 14035 -#define kNtErrorSxsXmlEBadchardata 14036 -#define kNtErrorSxsXmlEMissingwhitespace 14037 -#define kNtErrorSxsXmlEExpectingtagend 14038 -#define kNtErrorSxsXmlEMissingsemicolon 14039 -#define kNtErrorSxsXmlEUnbalancedparen 14040 -#define kNtErrorSxsXmlEInternalerror 14041 -#define kNtErrorSxsXmlEUnexpectedWhitespace 14042 -#define kNtErrorSxsXmlEIncompleteEncoding 14043 -#define kNtErrorSxsXmlEMissingParen 14044 -#define kNtErrorSxsXmlEExpectingclosequote 14045 -#define kNtErrorSxsXmlEMultipleColons 14046 -#define kNtErrorSxsXmlEInvalidDecimal 14047 -#define kNtErrorSxsXmlEInvalidHexidecimal 14048 -#define kNtErrorSxsXmlEInvalidUnicode 14049 -#define kNtErrorSxsXmlEWhitespaceorquestionmark 14050 -#define kNtErrorSxsXmlEUnexpectedendtag 14051 -#define kNtErrorSxsXmlEUnclosedtag 14052 -#define kNtErrorSxsXmlEDuplicateattribute 14053 -#define kNtErrorSxsXmlEMultipleroots 14054 -#define kNtErrorSxsXmlEInvalidatrootlevel 14055 -#define kNtErrorSxsXmlEBadxmldecl 14056 -#define kNtErrorSxsXmlEMissingroot 14057 -#define kNtErrorSxsXmlEUnexpectedeof 14058 -#define kNtErrorSxsXmlEBadperefinsubset 14059 -#define kNtErrorSxsXmlEUnclosedstarttag 14060 -#define kNtErrorSxsXmlEUnclosedendtag 14061 -#define kNtErrorSxsXmlEUnclosedstring 14062 -#define kNtErrorSxsXmlEUnclosedcomment 14063 -#define kNtErrorSxsXmlEUncloseddecl 14064 -#define kNtErrorSxsXmlEUnclosedcdata 14065 -#define kNtErrorSxsXmlEReservednamespace 14066 -#define kNtErrorSxsXmlEInvalidencoding 14067 -#define kNtErrorSxsXmlEInvalidswitch 14068 -#define kNtErrorSxsXmlEBadxmlcase 14069 -#define kNtErrorSxsXmlEInvalidStandalone 14070 -#define kNtErrorSxsXmlEUnexpectedStandalone 14071 -#define kNtErrorSxsXmlEInvalidVersion 14072 -#define kNtErrorSxsXmlEMissingequals 14073 -#define kNtErrorSxsProtectionRecoveryFailed 14074 -#define kNtErrorSxsProtectionPublicKeyTooShort 14075 -#define kNtErrorSxsProtectionCatalogNotValid 14076 -#define kNtErrorSxsUntranslatableHresult 14077 -#define kNtErrorSxsProtectionCatalogFileMissing 14078 -#define kNtErrorSxsMissingAssemblyIdentityAttribute 14079 -#define kNtErrorSxsInvalidAssemblyIdentityAttributeName 14080 -#define kNtErrorSxsAssemblyMissing 14081 -#define kNtErrorSxsCorruptActivationStack 14082 -#define kNtErrorSxsCorruption 14083 -#define kNtErrorSxsEarlyDeactivation 14084 -#define kNtErrorSxsInvalidDeactivation 14085 -#define kNtErrorSxsMultipleDeactivation 14086 -#define kNtErrorSxsProcessTerminationRequested 14087 -#define kNtErrorSxsReleaseActivationContext 14088 -#define kNtErrorSxsSystemDefaultActivationContextEmpty 14089 -#define kNtErrorSxsInvalidIdentityAttributeValue 14090 -#define kNtErrorSxsInvalidIdentityAttributeName 14091 -#define kNtErrorSxsIdentityDuplicateAttribute 14092 -#define kNtErrorSxsIdentityParseError 14093 -#define kNtErrorMalformedSubstitutionString 14094 -#define kNtErrorSxsIncorrectPublicKeyToken 14095 -#define kNtErrorUnmappedSubstitutionString 14096 -#define kNtErrorSxsAssemblyNotLocked 14097 -#define kNtErrorSxsComponentStoreCorrupt 14098 -#define kNtErrorAdvancedInstallerFailed 14099 -#define kNtErrorXmlEncodingMismatch 14100 -#define kNtErrorSxsManifestIdentitySameButContentsDifferent 14101 -#define kNtErrorSxsIdentitiesDifferent 14102 -#define kNtErrorSxsAssemblyIsNotADeployment 14103 -#define kNtErrorSxsFileNotPartOfAssembly 14104 -#define kNtErrorSxsManifestTooBig 14105 -#define kNtErrorSxsSettingNotRegistered 14106 -#define kNtErrorSxsTransactionClosureIncomplete 14107 -#define kNtErrorSmiPrimitiveInstallerFailed 14108 -#define kNtErrorGenericCommandFailed 14109 -#define kNtErrorSxsFileHashMissing 14110 -#define kNtErrorEvtInvalidChannelPath 15000 -#define kNtErrorEvtInvalidQuery 15001 -#define kNtErrorEvtPublisherMetadataNotFound 15002 -#define kNtErrorEvtEventTemplateNotFound 15003 -#define kNtErrorEvtInvalidPublisherName 15004 -#define kNtErrorEvtInvalidEventData 15005 -#define kNtErrorEvtChannelNotFound 15007 -#define kNtErrorEvtMalformedXmlText 15008 -#define kNtErrorEvtSubscriptionToDirectChannel 15009 -#define kNtErrorEvtConfigurationError 15010 -#define kNtErrorEvtQueryResultStale 15011 -#define kNtErrorEvtQueryResultInvalidPosition 15012 -#define kNtErrorEvtNonValidatingMsxml 15013 -#define kNtErrorEvtFilterAlreadyscoped 15014 -#define kNtErrorEvtFilterNoteltset 15015 -#define kNtErrorEvtFilterInvarg 15016 -#define kNtErrorEvtFilterInvtest 15017 -#define kNtErrorEvtFilterInvtype 15018 -#define kNtErrorEvtFilterParseerr 15019 -#define kNtErrorEvtFilterUnsupportedop 15020 -#define kNtErrorEvtFilterUnexpectedtoken 15021 -#define kNtErrorEvtInvalidOperationOverEnabledDirectChannel 15022 -#define kNtErrorEvtInvalidChannelPropertyValue 15023 -#define kNtErrorEvtInvalidPublisherPropertyValue 15024 -#define kNtErrorEvtChannelCannotActivate 15025 -#define kNtErrorEvtFilterTooComplex 15026 -#define kNtErrorEvtMessageNotFound 15027 -#define kNtErrorEvtMessageIdNotFound 15028 -#define kNtErrorEvtUnresolvedValueInsert 15029 -#define kNtErrorEvtUnresolvedParameterInsert 15030 -#define kNtErrorEvtMaxInsertsReached 15031 -#define kNtErrorEvtEventDefinitionNotFound 15032 -#define kNtErrorEvtMessageLocaleNotFound 15033 -#define kNtErrorEvtVersionTooOld 15034 -#define kNtErrorEvtVersionTooNew 15035 -#define kNtErrorEvtCannotOpenChannelOfQuery 15036 -#define kNtErrorEvtPublisherDisabled 15037 -#define kNtErrorEvtFilterOutOfRange 15038 -#define kNtErrorEcSubscriptionCannotActivate 15080 -#define kNtErrorEcLogDisabled 15081 -#define kNtErrorEcCircularForwarding 15082 -#define kNtErrorEcCredstoreFull 15083 -#define kNtErrorEcCredNotFound 15084 -#define kNtErrorEcNoActiveChannel 15085 -#define kNtErrorMuiFileNotFound 15100 -#define kNtErrorMuiInvalidFile 15101 -#define kNtErrorMuiInvalidRcConfig 15102 -#define kNtErrorMuiInvalidLocaleName 15103 -#define kNtErrorMuiInvalidUltimatefallbackName 15104 -#define kNtErrorMuiFileNotLoaded 15105 -#define kNtErrorResourceEnumUserStop 15106 -#define kNtErrorMuiIntlsettingsUilangNotInstalled 15107 -#define kNtErrorMuiIntlsettingsInvalidLocaleName 15108 -#define kNtErrorMrmRuntimeNoDefaultOrNeutralResource 15110 -#define kNtErrorMrmInvalidPriconfig 15111 -#define kNtErrorMrmInvalidFileType 15112 -#define kNtErrorMrmUnknownQualifier 15113 -#define kNtErrorMrmInvalidQualifierValue 15114 -#define kNtErrorMrmNoCandidate 15115 -#define kNtErrorMrmNoMatchOrDefaultCandidate 15116 -#define kNtErrorMrmResourceTypeMismatch 15117 -#define kNtErrorMrmDuplicateMapName 15118 -#define kNtErrorMrmDuplicateEntry 15119 -#define kNtErrorMrmInvalidResourceIdentifier 15120 -#define kNtErrorMrmFilepathTooLong 15121 -#define kNtErrorMrmUnsupportedDirectoryType 15122 -#define kNtErrorMrmInvalidPriFile 15126 -#define kNtErrorMrmNamedResourceNotFound 15127 -#define kNtErrorMrmMapNotFound 15135 -#define kNtErrorMrmUnsupportedProfileType 15136 -#define kNtErrorMrmInvalidQualifierOperator 15137 -#define kNtErrorMrmIndeterminateQualifierValue 15138 -#define kNtErrorMrmAutomergeEnabled 15139 -#define kNtErrorMrmTooManyResources 15140 -#define kNtErrorMrmUnsupportedFileTypeForMerge 15141 -#define kNtErrorMrmUnsupportedFileTypeForLoadUnloadPriFile 15142 -#define kNtErrorMrmNoCurrentViewOnThread 15143 -#define kNtErrorDifferentProfileResourceManagerExist 15144 -#define kNtErrorOperationNotAllowedFromSystemComponent 15145 -#define kNtErrorMrmDirectRefToNonDefaultResource 15146 -#define kNtErrorMrmGenerationCountMismatch 15147 -#define kNtErrorPriMergeVersionMismatch 15148 -#define kNtErrorPriMergeMissingSchema 15149 -#define kNtErrorPriMergeLoadFileFailed 15150 -#define kNtErrorPriMergeAddFileFailed 15151 -#define kNtErrorPriMergeWriteFileFailed 15152 -#define kNtErrorPriMergeMultiplePackageFamiliesNotAllowed 15153 -#define kNtErrorPriMergeMultipleMainPackagesNotAllowed 15154 -#define kNtErrorPriMergeBundlePackagesNotAllowed 15155 -#define kNtErrorPriMergeMainPackageRequired 15156 -#define kNtErrorPriMergeResourcePackageRequired 15157 -#define kNtErrorPriMergeInvalidFileName 15158 -#define kNtErrorMcaInvalidCapabilitiesString 15200 -#define kNtErrorMcaInvalidVcpVersion 15201 -#define kNtErrorMcaMonitorViolatesMccsSpecification 15202 -#define kNtErrorMcaMccsVersionMismatch 15203 -#define kNtErrorMcaUnsupportedMccsVersion 15204 -#define kNtErrorMcaInternalError 15205 -#define kNtErrorMcaInvalidTechnologyTypeReturned 15206 -#define kNtErrorMcaUnsupportedColorTemperature 15207 -#define kNtErrorAmbiguousSystemDevice 15250 -#define kNtErrorSystemDeviceNotFound 15299 -#define kNtErrorHashNotSupported 15300 -#define kNtErrorHashNotPresent 15301 -#define kNtErrorSecondaryIcProviderNotRegistered 15321 -#define kNtErrorGpioClientInformationInvalid 15322 -#define kNtErrorGpioVersionNotSupported 15323 -#define kNtErrorGpioInvalidRegistrationPacket 15324 -#define kNtErrorGpioOperationDenied 15325 -#define kNtErrorGpioIncompatibleConnectMode 15326 -#define kNtErrorGpioInterruptAlreadyUnmasked 15327 -#define kNtErrorCannotSwitchRunlevel 15400 -#define kNtErrorInvalidRunlevelSetting 15401 -#define kNtErrorRunlevelSwitchTimeout 15402 -#define kNtErrorRunlevelSwitchAgentTimeout 15403 -#define kNtErrorRunlevelSwitchInProgress 15404 -#define kNtErrorServicesFailedAutostart 15405 -#define kNtErrorComTaskStopPending 15501 -#define kNtErrorInstallOpenPackageFailed 15600 -#define kNtErrorInstallPackageNotFound 15601 -#define kNtErrorInstallInvalidPackage 15602 -#define kNtErrorInstallResolveDependencyFailed 15603 -#define kNtErrorInstallOutOfDiskSpace 15604 -#define kNtErrorInstallNetworkFailure 15605 -#define kNtErrorInstallRegistrationFailure 15606 -#define kNtErrorInstallDeregistrationFailure 15607 -#define kNtErrorInstallCancel 15608 -#define kNtErrorInstallFailed 15609 -#define kNtErrorRemoveFailed 15610 -#define kNtErrorPackageAlreadyExists 15611 -#define kNtErrorNeedsRemediation 15612 -#define kNtErrorInstallPrerequisiteFailed 15613 -#define kNtErrorPackageRepositoryCorrupted 15614 -#define kNtErrorInstallPolicyFailure 15615 -#define kNtErrorPackageUpdating 15616 -#define kNtErrorDeploymentBlockedByPolicy 15617 -#define kNtErrorPackagesInUse 15618 -#define kNtErrorRecoveryFileCorrupt 15619 -#define kNtErrorInvalidStagedSignature 15620 -#define kNtErrorDeletingExistingApplicationdataStoreFailed 15621 -#define kNtErrorInstallPackageDowngrade 15622 -#define kNtErrorSystemNeedsRemediation 15623 -#define kNtErrorAppxIntegrityFailureClrNgen 15624 -#define kNtErrorResiliencyFileCorrupt 15625 -#define kNtErrorInstallFirewallServiceNotRunning 15626 -#define kNtErrorPackageMoveFailed 15627 -#define kNtErrorInstallVolumeNotEmpty 15628 -#define kNtErrorInstallVolumeOffline 15629 -#define kNtErrorInstallVolumeCorrupt 15630 -#define kNtErrorNeedsRegistration 15631 -#define kNtErrorInstallWrongProcessorArchitecture 15632 -#define kNtErrorDevSideloadLimitExceeded 15633 -#define kNtErrorInstallOptionalPackageRequiresMainPackage 15634 -#define kNtErrorPackageNotSupportedOnFilesystem 15635 -#define kNtErrorPackageMoveBlockedByStreaming 15636 -#define kNtErrorInstallOptionalPackageApplicationidNotUnique 15637 -#define kNtErrorPackageStagingOnhold 15638 -#define kNtErrorInstallInvalidRelatedSetUpdate 15639 -#define kNtErrorPackagesReputationCheckFailed 15643 -#define kNtErrorPackagesReputationCheckTimedout 15644 -#define kNtErrorStateLoadStoreFailed 15800 -#define kNtErrorStateGetVersionFailed 15801 -#define kNtErrorStateSetVersionFailed 15802 -#define kNtErrorStateStructuredResetFailed 15803 -#define kNtErrorStateOpenContainerFailed 15804 -#define kNtErrorStateCreateContainerFailed 15805 -#define kNtErrorStateDeleteContainerFailed 15806 -#define kNtErrorStateReadSettingFailed 15807 -#define kNtErrorStateWriteSettingFailed 15808 -#define kNtErrorStateDeleteSettingFailed 15809 -#define kNtErrorStateQuerySettingFailed 15810 -#define kNtErrorStateReadCompositeSettingFailed 15811 -#define kNtErrorStateWriteCompositeSettingFailed 15812 -#define kNtErrorStateEnumerateContainerFailed 15813 -#define kNtErrorStateEnumerateSettingsFailed 15814 -#define kNtErrorStateCompositeSettingValueSizeLimitExceeded 15815 -#define kNtErrorStateSettingValueSizeLimitExceeded 15816 -#define kNtErrorStateSettingNameSizeLimitExceeded 15817 -#define kNtErrorStateContainerNameSizeLimitExceeded 15818 -#define kNtErrorApiUnavailable 15841 /* EPROCUNAVAIL */ +#define kNtErrorClusterGroupQueued 5959 +#define kNtErrorClusterResourceLockedStatus 5960 +#define kNtErrorClusterSharedVolumeFailoverNotAllowed 5961 +#define kNtErrorClusterNodeDrainInProgress 5962 +#define kNtErrorClusterDiskNotConnected 5963 +#define kNtErrorDiskNotCsvCapable 5964 +#define kNtErrorResourceNotInAvailableStorage 5965 +#define kNtErrorClusterSharedVolumeRedirected 5966 +#define kNtErrorClusterSharedVolumeNotRedirected 5967 +#define kNtErrorClusterCannotReturnProperties 5968 +#define kNtErrorClusterResourceIsInMaintenanceMode 5970 +#define kNtErrorClusterAffinityConflict 5971 +#define kNtErrorClusterResourceIsReplicaVirtualMachine 5972 +#define kNtErrorClusterUpgradeIncompatibleVersions 5973 +#define kNtErrorClusterUpgradeFixQuorumNotSupported 5974 +#define kNtErrorClusterUpgradeRestartRequired 5975 +#define kNtErrorClusterUpgradeInProgress 5976 +#define kNtErrorClusterUpgradeIncomplete 5977 +#define kNtErrorClusterNodeInGracePeriod 5978 +#define kNtErrorClusterCsvIoPauseTimeout 5979 +#define kNtErrorNodeNotActiveClusterMember 5980 +#define kNtErrorClusterResourceNotMonitored 5981 +#define kNtErrorClusterResourceDoesNotSupportUnmonitored 5982 +#define kNtErrorClusterResourceIsReplicated 5983 +#define kNtErrorClusterNodeIsolated 5984 +#define kNtErrorClusterNodeQuarantined 5985 +#define kNtErrorClusterDatabaseUpdateConditionFailed 5986 +#define kNtErrorClusterSpaceDegraded 5987 +#define kNtErrorClusterTokenDelegationNotSupported 5988 +#define kNtErrorClusterCsvInvalidHandle 5989 +#define kNtErrorClusterCsvSupportedOnlyOnCoordinator 5990 +#define kNtErrorGroupsetNotAvailable 5991 +#define kNtErrorGroupsetNotFound 5992 +#define kNtErrorGroupsetCantProvide 5993 +#define kNtErrorClusterFaultDomainParentNotFound 5994 +#define kNtErrorClusterFaultDomainInvalidHierarchy 5995 +#define kNtErrorClusterFaultDomainFailedS2dValidation 5996 +#define kNtErrorClusterFaultDomainS2dConnectivityLoss 5997 +#define kNtErrorClusterInvalidInfrastructureFileserverName 5998 +#define kNtErrorClustersetManagementClusterUnreachable 5999 +#define kNtErrorEncryptionFailed 6000 +#define kNtErrorDecryptionFailed 6001 +#define kNtErrorFileEncrypted 6002 +#define kNtErrorNoRecoveryPolicy 6003 +#define kNtErrorNoEfs 6004 +#define kNtErrorWrongEfs 6005 +#define kNtErrorNoUserKeys 6006 +#define kNtErrorFileNotEncrypted 6007 +#define kNtErrorNotExportFormat 6008 +#define kNtErrorFileReadOnly 6009 /* EROFS */ +#define kNtErrorDirEfsDisallowed 6010 +#define kNtErrorEfsServerNotTrusted 6011 +#define kNtErrorBadRecoveryPolicy 6012 +#define kNtErrorEfsAlgBlobTooBig 6013 +#define kNtErrorVolumeNotSupportEfs 6014 +#define kNtErrorEfsDisabled 6015 +#define kNtErrorEfsVersionNotSupport 6016 +#define kNtErrorCsEncryptionInvalidServerResponse 6017 +#define kNtErrorCsEncryptionUnsupportedServer 6018 +#define kNtErrorCsEncryptionExistingEncryptedFile 6019 +#define kNtErrorCsEncryptionNewEncryptedFile 6020 +#define kNtErrorCsEncryptionFileNotCse 6021 +#define kNtErrorEncryptionPolicyDeniesOperation 6022 +#define kNtErrorNoBrowserServersFound 6118 +#define kNtErrorLogSectorInvalid 6600 +#define kNtErrorLogSectorParityInvalid 6601 +#define kNtErrorLogSectorRemapped 6602 +#define kNtErrorLogBlockIncomplete 6603 +#define kNtErrorLogInvalidRange 6604 /* ERANGE */ +#define kNtErrorLogBlocksExhausted 6605 +#define kNtErrorLogReadContextInvalid 6606 +#define kNtErrorLogRestartInvalid 6607 +#define kNtErrorLogBlockVersion 6608 +#define kNtErrorLogBlockInvalid 6609 +#define kNtErrorLogReadModeInvalid 6610 +#define kNtErrorLogNoRestart 6611 +#define kNtErrorLogMetadataCorrupt 6612 +#define kNtErrorLogMetadataInvalid 6613 +#define kNtErrorLogMetadataInconsistent 6614 +#define kNtErrorLogReservationInvalid 6615 +#define kNtErrorLogCantDelete 6616 +#define kNtErrorLogContainerLimitExceeded 6617 +#define kNtErrorLogStartOfLog 6618 +#define kNtErrorLogPolicyAlreadyInstalled 6619 +#define kNtErrorLogPolicyNotInstalled 6620 +#define kNtErrorLogPolicyInvalid 6621 +#define kNtErrorLogPolicyConflict 6622 +#define kNtErrorLogPinnedArchiveTail 6623 +#define kNtErrorLogRecordNonexistent 6624 +#define kNtErrorLogRecordsReservedInvalid 6625 +#define kNtErrorLogSpaceReservedInvalid 6626 +#define kNtErrorLogTailInvalid 6627 +#define kNtErrorLogFull 6628 +#define kNtErrorCouldNotResizeLog 6629 +#define kNtErrorLogMultiplexed 6630 +#define kNtErrorLogDedicated 6631 +#define kNtErrorLogArchiveNotInProgress 6632 +#define kNtErrorLogArchiveInProgress 6633 +#define kNtErrorLogEphemeral 6634 +#define kNtErrorLogNotEnoughContainers 6635 +#define kNtErrorLogClientAlreadyRegistered 6636 +#define kNtErrorLogClientNotRegistered 6637 +#define kNtErrorLogFullHandlerInProgress 6638 +#define kNtErrorLogContainerReadFailed 6639 +#define kNtErrorLogContainerWriteFailed 6640 +#define kNtErrorLogContainerOpenFailed 6641 +#define kNtErrorLogContainerStateInvalid 6642 +#define kNtErrorLogStateInvalid 6643 +#define kNtErrorLogPinned 6644 +#define kNtErrorLogMetadataFlushFailed 6645 +#define kNtErrorLogInconsistentSecurity 6646 +#define kNtErrorLogAppendedFlushFailed 6647 +#define kNtErrorLogPinnedReservation 6648 +#define kNtErrorInvalidTransaction 6700 +#define kNtErrorTransactionNotActive 6701 +#define kNtErrorTransactionRequestNotValid 6702 +#define kNtErrorTransactionNotRequested 6703 +#define kNtErrorTransactionAlreadyAborted 6704 +#define kNtErrorTransactionAlreadyCommitted 6705 +#define kNtErrorTmInitializationFailed 6706 +#define kNtErrorResourcemanagerReadOnly 6707 +#define kNtErrorTransactionNotJoined 6708 +#define kNtErrorTransactionSuperiorExists 6709 +#define kNtErrorCrmProtocolAlreadyExists 6710 +#define kNtErrorTransactionPropagationFailed 6711 +#define kNtErrorCrmProtocolNotFound 6712 +#define kNtErrorTransactionInvalidMarshallBuffer 6713 +#define kNtErrorCurrentTransactionNotValid 6714 +#define kNtErrorTransactionNotFound 6715 +#define kNtErrorResourcemanagerNotFound 6716 +#define kNtErrorEnlistmentNotFound 6717 +#define kNtErrorTransactionmanagerNotFound 6718 +#define kNtErrorTransactionmanagerNotOnline 6719 +#define kNtErrorTransactionmanagerRecoveryNameCollision 6720 +#define kNtErrorTransactionNotRoot 6721 +#define kNtErrorTransactionObjectExpired 6722 +#define kNtErrorTransactionResponseNotEnlisted 6723 +#define kNtErrorTransactionRecordTooLong 6724 +#define kNtErrorImplicitTransactionNotSupported 6725 +#define kNtErrorTransactionIntegrityViolated 6726 +#define kNtErrorTransactionmanagerIdentityMismatch 6727 +#define kNtErrorRmCannotBeFrozenForSnapshot 6728 +#define kNtErrorTransactionMustWritethrough 6729 +#define kNtErrorTransactionNoSuperior 6730 +#define kNtErrorHeuristicDamagePossible 6731 +#define kNtErrorTransactionalConflict 6800 +#define kNtErrorRmNotActive 6801 +#define kNtErrorRmMetadataCorrupt 6802 +#define kNtErrorDirectoryNotRm 6803 +#define kNtErrorTransactionsUnsupportedRemote 6805 +#define kNtErrorLogResizeInvalidSize 6806 +#define kNtErrorObjectNoLongerExists 6807 +#define kNtErrorStreamMiniversionNotFound 6808 +#define kNtErrorStreamMiniversionNotValid 6809 +#define kNtErrorMiniversionInaccessibleFromSpecifiedTransaction 6810 +#define kNtErrorCantOpenMiniversionWithModifyIntent 6811 +#define kNtErrorCantCreateMoreStreamMiniversions 6812 +#define kNtErrorRemoteFileVersionMismatch 6814 +#define kNtErrorHandleNoLongerValid 6815 +#define kNtErrorNoTxfMetadata 6816 +#define kNtErrorLogCorruptionDetected 6817 +#define kNtErrorCantRecoverWithHandleOpen 6818 +#define kNtErrorRmDisconnected 6819 +#define kNtErrorEnlistmentNotSuperior 6820 +#define kNtErrorRecoveryNotNeeded 6821 +#define kNtErrorRmAlreadyStarted 6822 +#define kNtErrorFileIdentityNotPersistent 6823 +#define kNtErrorCantBreakTransactionalDependency 6824 +#define kNtErrorCantCrossRmBoundary 6825 +#define kNtErrorTxfDirNotEmpty 6826 +#define kNtErrorIndoubtTransactionsExist 6827 +#define kNtErrorTmVolatile 6828 +#define kNtErrorRollbackTimerExpired 6829 +#define kNtErrorTxfAttributeCorrupt 6830 +#define kNtErrorEfsNotAllowedInTransaction 6831 +#define kNtErrorTransactionalOpenNotAllowed 6832 +#define kNtErrorLogGrowthFailed 6833 +#define kNtErrorTransactedMappingUnsupportedRemote 6834 +#define kNtErrorTxfMetadataAlreadyPresent 6835 +#define kNtErrorTransactionScopeCallbacksNotSet 6836 +#define kNtErrorTransactionRequiredPromotion 6837 +#define kNtErrorCannotExecuteFileInTransaction 6838 +#define kNtErrorTransactionsNotFrozen 6839 +#define kNtErrorTransactionFreezeInProgress 6840 +#define kNtErrorNotSnapshotVolume 6841 +#define kNtErrorNoSavepointWithOpenFiles 6842 +#define kNtErrorDataLostRepair 6843 +#define kNtErrorSparseNotAllowedInTransaction 6844 +#define kNtErrorTmIdentityMismatch 6845 +#define kNtErrorFloatedSection 6846 +#define kNtErrorCannotAcceptTransactedWork 6847 +#define kNtErrorCannotAbortTransactions 6848 +#define kNtErrorBadClusters 6849 +#define kNtErrorCompressionNotAllowedInTransaction 6850 +#define kNtErrorVolumeDirty 6851 +#define kNtErrorNoLinkTrackingInTransaction 6852 +#define kNtErrorOperationNotSupportedInTransaction 6853 +#define kNtErrorExpiredHandle 6854 +#define kNtErrorTransactionNotEnlisted 6855 +#define kNtErrorCtxWinstationNameInvalid 7001 +#define kNtErrorCtxInvalidPd 7002 +#define kNtErrorCtxPdNotFound 7003 +#define kNtErrorCtxWdNotFound 7004 +#define kNtErrorCtxCannotMakeEventlogEntry 7005 +#define kNtErrorCtxServiceNameCollision 7006 +#define kNtErrorCtxClosePending 7007 +#define kNtErrorCtxNoOutbuf 7008 +#define kNtErrorCtxModemInfNotFound 7009 +#define kNtErrorCtxInvalidModemname 7010 +#define kNtErrorCtxModemResponseError 7011 +#define kNtErrorCtxModemResponseTimeout 7012 +#define kNtErrorCtxModemResponseNoCarrier 7013 +#define kNtErrorCtxModemResponseNoDialtone 7014 +#define kNtErrorCtxModemResponseBusy 7015 +#define kNtErrorCtxModemResponseVoice 7016 +#define kNtErrorCtxTdError 7017 +#define kNtErrorCtxWinstationNotFound 7022 +#define kNtErrorCtxWinstationAlreadyExists 7023 +#define kNtErrorCtxWinstationBusy 7024 +#define kNtErrorCtxBadVideoMode 7025 +#define kNtErrorCtxGraphicsInvalid 7035 +#define kNtErrorCtxLogonDisabled 7037 +#define kNtErrorCtxNotConsole 7038 +#define kNtErrorCtxClientQueryTimeout 7040 +#define kNtErrorCtxConsoleDisconnect 7041 +#define kNtErrorCtxConsoleConnect 7042 +#define kNtErrorCtxShadowDenied 7044 +#define kNtErrorCtxWinstationAccessDenied 7045 +#define kNtErrorCtxInvalidWd 7049 +#define kNtErrorCtxShadowInvalid 7050 +#define kNtErrorCtxShadowDisabled 7051 +#define kNtErrorCtxClientLicenseInUse 7052 +#define kNtErrorCtxClientLicenseNotSet 7053 +#define kNtErrorCtxLicenseNotAvailable 7054 +#define kNtErrorCtxLicenseClientInvalid 7055 +#define kNtErrorCtxLicenseExpired 7056 +#define kNtErrorCtxShadowNotRunning 7057 +#define kNtErrorCtxShadowEndedByModeChange 7058 +#define kNtErrorActivationCountExceeded 7059 +#define kNtErrorCtxWinstationsDisabled 7060 +#define kNtErrorCtxEncryptionLevelRequired 7061 +#define kNtErrorCtxSessionInUse 7062 +#define kNtErrorCtxNoForceLogoff 7063 +#define kNtErrorCtxAccountRestriction 7064 +#define kNtErrorRdpProtocolError 7065 /* EPROTO */ +#define kNtErrorCtxCdmConnect 7066 +#define kNtErrorCtxCdmDisconnect 7067 +#define kNtErrorCtxSecurityLayerError 7068 +#define kNtErrorTsIncompatibleSessions 7069 +#define kNtErrorTsVideoSubsystemError 7070 +#define kNtErrorDsNotInstalled 8200 +#define kNtErrorDsMembershipEvaluatedLocally 8201 +#define kNtErrorDsNoAttributeOrValue 8202 +#define kNtErrorDsInvalidAttributeSyntax 8203 +#define kNtErrorDsAttributeTypeUndefined 8204 +#define kNtErrorDsAttributeOrValueExists 8205 +#define kNtErrorDsBusy 8206 +#define kNtErrorDsUnavailable 8207 +#define kNtErrorDsNoRidsAllocated 8208 +#define kNtErrorDsNoMoreRids 8209 +#define kNtErrorDsIncorrectRoleOwner 8210 +#define kNtErrorDsRidmgrInitError 8211 +#define kNtErrorDsObjClassViolation 8212 +#define kNtErrorDsCantOnNonLeaf 8213 +#define kNtErrorDsCantOnRdn 8214 +#define kNtErrorDsCantModObjClass 8215 +#define kNtErrorDsCrossDomMoveError 8216 +#define kNtErrorDsGcNotAvailable 8217 +#define kNtErrorSharedPolicy 8218 +#define kNtErrorPolicyObjectNotFound 8219 +#define kNtErrorPolicyOnlyInDs 8220 +#define kNtErrorPromotionActive 8221 +#define kNtErrorNoPromotionActive 8222 +#define kNtErrorDsOperationsError 8224 +#define kNtErrorDsProtocolError 8225 +#define kNtErrorDsTimelimitExceeded 8226 +#define kNtErrorDsSizelimitExceeded 8227 +#define kNtErrorDsAdminLimitExceeded 8228 +#define kNtErrorDsCompareFalse 8229 +#define kNtErrorDsCompareTrue 8230 +#define kNtErrorDsAuthMethodNotSupported 8231 +#define kNtErrorDsStrongAuthRequired 8232 +#define kNtErrorDsInappropriateAuth 8233 +#define kNtErrorDsAuthUnknown 8234 +#define kNtErrorDsReferral 8235 +#define kNtErrorDsUnavailableCritExtension 8236 +#define kNtErrorDsConfidentialityRequired 8237 +#define kNtErrorDsInappropriateMatching 8238 +#define kNtErrorDsConstraintViolation 8239 +#define kNtErrorDsNoSuchObject 8240 +#define kNtErrorDsAliasProblem 8241 +#define kNtErrorDsInvalidDnSyntax 8242 +#define kNtErrorDsIsLeaf 8243 +#define kNtErrorDsAliasDerefProblem 8244 +#define kNtErrorDsUnwillingToPerform 8245 +#define kNtErrorDsLoopDetect 8246 +#define kNtErrorDsNamingViolation 8247 +#define kNtErrorDsObjectResultsTooLarge 8248 +#define kNtErrorDsAffectsMultipleDsas 8249 +#define kNtErrorDsServerDown 8250 +#define kNtErrorDsLocalError 8251 +#define kNtErrorDsEncodingError 8252 +#define kNtErrorDsDecodingError 8253 +#define kNtErrorDsFilterUnknown 8254 +#define kNtErrorDsParamError 8255 +#define kNtErrorDsNotSupported 8256 +#define kNtErrorDsNoResultsReturned 8257 +#define kNtErrorDsControlNotFound 8258 +#define kNtErrorDsClientLoop 8259 +#define kNtErrorDsReferralLimitExceeded 8260 +#define kNtErrorDsSortControlMissing 8261 +#define kNtErrorDsOffsetRangeError 8262 +#define kNtErrorDsRidmgrDisabled 8263 +#define kNtErrorDsRootMustBeNc 8301 +#define kNtErrorDsAddReplicaInhibited 8302 +#define kNtErrorDsAttNotDefInSchema 8303 +#define kNtErrorDsMaxObjSizeExceeded 8304 +#define kNtErrorDsObjStringNameExists 8305 +#define kNtErrorDsNoRdnDefinedInSchema 8306 +#define kNtErrorDsRdnDoesntMatchSchema 8307 +#define kNtErrorDsNoRequestedAttsFound 8308 +#define kNtErrorDsUserBufferToSmall 8309 +#define kNtErrorDsAttIsNotOnObj 8310 +#define kNtErrorDsIllegalModOperation 8311 +#define kNtErrorDsObjTooLarge 8312 +#define kNtErrorDsBadInstanceType 8313 +#define kNtErrorDsMasterdsaRequired 8314 +#define kNtErrorDsObjectClassRequired 8315 +#define kNtErrorDsMissingRequiredAtt 8316 +#define kNtErrorDsAttNotDefForClass 8317 +#define kNtErrorDsAttAlreadyExists 8318 +#define kNtErrorDsCantAddAttValues 8320 +#define kNtErrorDsSingleValueConstraint 8321 +#define kNtErrorDsRangeConstraint 8322 +#define kNtErrorDsAttValAlreadyExists 8323 +#define kNtErrorDsCantRemMissingAtt 8324 +#define kNtErrorDsCantRemMissingAttVal 8325 +#define kNtErrorDsRootCantBeSubref 8326 +#define kNtErrorDsNoChaining 8327 +#define kNtErrorDsNoChainedEval 8328 +#define kNtErrorDsNoParentObject 8329 +#define kNtErrorDsParentIsAnAlias 8330 +#define kNtErrorDsCantMixMasterAndReps 8331 +#define kNtErrorDsChildrenExist 8332 +#define kNtErrorDsObjNotFound 8333 +#define kNtErrorDsAliasedObjMissing 8334 +#define kNtErrorDsBadNameSyntax 8335 +#define kNtErrorDsAliasPointsToAlias 8336 +#define kNtErrorDsCantDerefAlias 8337 +#define kNtErrorDsOutOfScope 8338 +#define kNtErrorDsObjectBeingRemoved 8339 +#define kNtErrorDsCantDeleteDsaObj 8340 +#define kNtErrorDsGenericError 8341 +#define kNtErrorDsDsaMustBeIntMaster 8342 +#define kNtErrorDsClassNotDsa 8343 +#define kNtErrorDsInsuffAccessRights 8344 +#define kNtErrorDsIllegalSuperior 8345 +#define kNtErrorDsAttributeOwnedBySam 8346 +#define kNtErrorDsNameTooManyParts 8347 +#define kNtErrorDsNameTooLong 8348 +#define kNtErrorDsNameValueTooLong 8349 +#define kNtErrorDsNameUnparseable 8350 +#define kNtErrorDsNameTypeUnknown 8351 +#define kNtErrorDsNotAnObject 8352 +#define kNtErrorDsSecDescTooShort 8353 +#define kNtErrorDsSecDescInvalid 8354 +#define kNtErrorDsNoDeletedName 8355 +#define kNtErrorDsSubrefMustHaveParent 8356 +#define kNtErrorDsNcnameMustBeNc 8357 +#define kNtErrorDsCantAddSystemOnly 8358 +#define kNtErrorDsClassMustBeConcrete 8359 +#define kNtErrorDsInvalidDmd 8360 +#define kNtErrorDsObjGuidExists 8361 +#define kNtErrorDsNotOnBacklink 8362 +#define kNtErrorDsNoCrossrefForNc 8363 +#define kNtErrorDsShuttingDown 8364 +#define kNtErrorDsUnknownOperation 8365 +#define kNtErrorDsInvalidRoleOwner 8366 +#define kNtErrorDsCouldntContactFsmo 8367 +#define kNtErrorDsCrossNcDnRename 8368 +#define kNtErrorDsCantModSystemOnly 8369 +#define kNtErrorDsReplicatorOnly 8370 +#define kNtErrorDsObjClassNotDefined 8371 +#define kNtErrorDsObjClassNotSubclass 8372 +#define kNtErrorDsNameReferenceInvalid 8373 +#define kNtErrorDsCrossRefExists 8374 +#define kNtErrorDsCantDelMasterCrossref 8375 +#define kNtErrorDsSubtreeNotifyNotNcHead 8376 +#define kNtErrorDsNotifyFilterTooComplex 8377 +#define kNtErrorDsDupRdn 8378 +#define kNtErrorDsDupOid 8379 +#define kNtErrorDsDupMapiId 8380 +#define kNtErrorDsDupSchemaIdGuid 8381 +#define kNtErrorDsDupLdapDisplayName 8382 +#define kNtErrorDsSemanticAttTest 8383 +#define kNtErrorDsSyntaxMismatch 8384 +#define kNtErrorDsExistsInMustHave 8385 +#define kNtErrorDsExistsInMayHave 8386 +#define kNtErrorDsNonexistentMayHave 8387 +#define kNtErrorDsNonexistentMustHave 8388 +#define kNtErrorDsAuxClsTestFail 8389 +#define kNtErrorDsNonexistentPossSup 8390 +#define kNtErrorDsSubClsTestFail 8391 +#define kNtErrorDsBadRdnAttIdSyntax 8392 +#define kNtErrorDsExistsInAuxCls 8393 +#define kNtErrorDsExistsInSubCls 8394 +#define kNtErrorDsExistsInPossSup 8395 +#define kNtErrorDsRecalcschemaFailed 8396 +#define kNtErrorDsTreeDeleteNotFinished 8397 +#define kNtErrorDsCantDelete 8398 +#define kNtErrorDsAttSchemaReqId 8399 +#define kNtErrorDsBadAttSchemaSyntax 8400 +#define kNtErrorDsCantCacheAtt 8401 +#define kNtErrorDsCantCacheClass 8402 +#define kNtErrorDsCantRemoveAttCache 8403 +#define kNtErrorDsCantRemoveClassCache 8404 +#define kNtErrorDsCantRetrieveDn 8405 +#define kNtErrorDsMissingSupref 8406 +#define kNtErrorDsCantRetrieveInstance 8407 +#define kNtErrorDsCodeInconsistency 8408 +#define kNtErrorDsDatabaseError 8409 +#define kNtErrorDsGovernsidMissing 8410 +#define kNtErrorDsMissingExpectedAtt 8411 +#define kNtErrorDsNcnameMissingCrRef 8412 +#define kNtErrorDsSecurityCheckingError 8413 +#define kNtErrorDsSchemaNotLoaded 8414 +#define kNtErrorDsSchemaAllocFailed 8415 +#define kNtErrorDsAttSchemaReqSyntax 8416 +#define kNtErrorDsGcverifyError 8417 +#define kNtErrorDsDraSchemaMismatch 8418 +#define kNtErrorDsCantFindDsaObj 8419 +#define kNtErrorDsCantFindExpectedNc 8420 +#define kNtErrorDsCantFindNcInCache 8421 +#define kNtErrorDsCantRetrieveChild 8422 +#define kNtErrorDsSecurityIllegalModify 8423 +#define kNtErrorDsCantReplaceHiddenRec 8424 +#define kNtErrorDsBadHierarchyFile 8425 +#define kNtErrorDsBuildHierarchyTableFailed 8426 +#define kNtErrorDsConfigParamMissing 8427 +#define kNtErrorDsCountingAbIndicesFailed 8428 +#define kNtErrorDsHierarchyTableMallocFailed 8429 +#define kNtErrorDsInternalFailure 8430 +#define kNtErrorDsUnknownError 8431 +#define kNtErrorDsRootRequiresClassTop 8432 +#define kNtErrorDsRefusingFsmoRoles 8433 +#define kNtErrorDsMissingFsmoSettings 8434 +#define kNtErrorDsUnableToSurrenderRoles 8435 +#define kNtErrorDsDraGeneric 8436 +#define kNtErrorDsDraInvalidParameter 8437 +#define kNtErrorDsDraBusy 8438 +#define kNtErrorDsDraBadDn 8439 +#define kNtErrorDsDraBadNc 8440 +#define kNtErrorDsDraDnExists 8441 +#define kNtErrorDsDraInternalError 8442 +#define kNtErrorDsDraInconsistentDit 8443 +#define kNtErrorDsDraConnectionFailed 8444 +#define kNtErrorDsDraBadInstanceType 8445 +#define kNtErrorDsDraOutOfMem 8446 +#define kNtErrorDsDraMailProblem 8447 +#define kNtErrorDsDraRefAlreadyExists 8448 +#define kNtErrorDsDraRefNotFound 8449 +#define kNtErrorDsDraObjIsRepSource 8450 +#define kNtErrorDsDraDbError 8451 +#define kNtErrorDsDraNoReplica 8452 +#define kNtErrorDsDraAccessDenied 8453 +#define kNtErrorDsDraNotSupported 8454 +#define kNtErrorDsDraRpcCancelled 8455 +#define kNtErrorDsDraSourceDisabled 8456 +#define kNtErrorDsDraSinkDisabled 8457 +#define kNtErrorDsDraNameCollision 8458 +#define kNtErrorDsDraSourceReinstalled 8459 +#define kNtErrorDsDraMissingParent 8460 +#define kNtErrorDsDraPreempted 8461 +#define kNtErrorDsDraAbandonSync 8462 +#define kNtErrorDsDraShutdown 8463 +#define kNtErrorDsDraIncompatiblePartialSet 8464 +#define kNtErrorDsDraSourceIsPartialReplica 8465 +#define kNtErrorDsDraExtnConnectionFailed 8466 +#define kNtErrorDsInstallSchemaMismatch 8467 +#define kNtErrorDsDupLinkId 8468 +#define kNtErrorDsNameErrorResolving 8469 +#define kNtErrorDsNameErrorNotFound 8470 +#define kNtErrorDsNameErrorNotUnique 8471 +#define kNtErrorDsNameErrorNoMapping 8472 +#define kNtErrorDsNameErrorDomainOnly 8473 +#define kNtErrorDsNameErrorNoSyntacticalMapping 8474 +#define kNtErrorDsConstructedAttMod 8475 +#define kNtErrorDsWrongOmObjClass 8476 +#define kNtErrorDsDraReplPending 8477 +#define kNtErrorDsDsRequired 8478 +#define kNtErrorDsInvalidLdapDisplayName 8479 +#define kNtErrorDsNonBaseSearch 8480 +#define kNtErrorDsCantRetrieveAtts 8481 +#define kNtErrorDsBacklinkWithoutLink 8482 +#define kNtErrorDsEpochMismatch 8483 +#define kNtErrorDsSrcNameMismatch 8484 +#define kNtErrorDsSrcAndDstNcIdentical 8485 +#define kNtErrorDsDstNcMismatch 8486 +#define kNtErrorDsNotAuthoritiveForDstNc 8487 +#define kNtErrorDsSrcGuidMismatch 8488 +#define kNtErrorDsCantMoveDeletedObject 8489 +#define kNtErrorDsPdcOperationInProgress 8490 +#define kNtErrorDsCrossDomainCleanupReqd 8491 +#define kNtErrorDsIllegalXdomMoveOperation 8492 +#define kNtErrorDsCantWithAcctGroupMembershps 8493 +#define kNtErrorDsNcMustHaveNcParent 8494 +#define kNtErrorDsCrImpossibleToValidate 8495 +#define kNtErrorDsDstDomainNotNative 8496 +#define kNtErrorDsMissingInfrastructureContainer 8497 +#define kNtErrorDsCantMoveAccountGroup 8498 +#define kNtErrorDsCantMoveResourceGroup 8499 +#define kNtErrorDsInvalidSearchFlag 8500 +#define kNtErrorDsNoTreeDeleteAboveNc 8501 +#define kNtErrorDsCouldntLockTreeForDelete 8502 +#define kNtErrorDsCouldntIdentifyObjectsForTreeDelete 8503 +#define kNtErrorDsSamInitFailure 8504 +#define kNtErrorDsSensitiveGroupViolation 8505 +#define kNtErrorDsCantModPrimarygroupid 8506 +#define kNtErrorDsIllegalBaseSchemaMod 8507 +#define kNtErrorDsNonsafeSchemaChange 8508 +#define kNtErrorDsSchemaUpdateDisallowed 8509 +#define kNtErrorDsCantCreateUnderSchema 8510 +#define kNtErrorDsInstallNoSrcSchVersion 8511 +#define kNtErrorDsInstallNoSchVersionInInifile 8512 +#define kNtErrorDsInvalidGroupType 8513 +#define kNtErrorDsNoNestGlobalgroupInMixeddomain 8514 +#define kNtErrorDsNoNestLocalgroupInMixeddomain 8515 +#define kNtErrorDsGlobalCantHaveLocalMember 8516 +#define kNtErrorDsGlobalCantHaveUniversalMember 8517 +#define kNtErrorDsUniversalCantHaveLocalMember 8518 +#define kNtErrorDsGlobalCantHaveCrossdomainMember 8519 +#define kNtErrorDsLocalCantHaveCrossdomainLocalMember 8520 +#define kNtErrorDsHavePrimaryMembers 8521 +#define kNtErrorDsStringSdConversionFailed 8522 +#define kNtErrorDsNamingMasterGc 8523 +#define kNtErrorDsDnsLookupFailure 8524 +#define kNtErrorDsCouldntUpdateSpns 8525 +#define kNtErrorDsCantRetrieveSd 8526 +#define kNtErrorDsKeyNotUnique 8527 +#define kNtErrorDsWrongLinkedAttSyntax 8528 +#define kNtErrorDsSamNeedBootkeyPassword 8529 +#define kNtErrorDsSamNeedBootkeyFloppy 8530 +#define kNtErrorDsCantStart 8531 +#define kNtErrorDsInitFailure 8532 +#define kNtErrorDsNoPktPrivacyOnConnection 8533 +#define kNtErrorDsSourceDomainInForest 8534 +#define kNtErrorDsDestinationDomainNotInForest 8535 +#define kNtErrorDsDestinationAuditingNotEnabled 8536 +#define kNtErrorDsCantFindDcForSrcDomain 8537 +#define kNtErrorDsSrcObjNotGroupOrUser 8538 +#define kNtErrorDsSrcSidExistsInForest 8539 +#define kNtErrorDsSrcAndDstObjectClassMismatch 8540 +#define kNtErrorSamInitFailure 8541 +#define kNtErrorDsDraSchemaInfoShip 8542 +#define kNtErrorDsDraSchemaConflict 8543 +#define kNtErrorDsDraEarlierSchemaConflict 8544 +#define kNtErrorDsDraObjNcMismatch 8545 +#define kNtErrorDsNcStillHasDsas 8546 +#define kNtErrorDsGcRequired 8547 +#define kNtErrorDsLocalMemberOfLocalOnly 8548 +#define kNtErrorDsNoFpoInUniversalGroups 8549 +#define kNtErrorDsCantAddToGc 8550 +#define kNtErrorDsNoCheckpointWithPdc 8551 +#define kNtErrorDsSourceAuditingNotEnabled 8552 +#define kNtErrorDsCantCreateInNondomainNc 8553 +#define kNtErrorDsInvalidNameForSpn 8554 +#define kNtErrorDsFilterUsesContructedAttrs 8555 +#define kNtErrorDsUnicodepwdNotInQuotes 8556 +#define kNtErrorDsMachineAccountQuotaExceeded 8557 +#define kNtErrorDsMustBeRunOnDstDc 8558 +#define kNtErrorDsSrcDcMustBeSp4OrGreater 8559 +#define kNtErrorDsCantTreeDeleteCriticalObj 8560 +#define kNtErrorDsInitFailureConsole 8561 +#define kNtErrorDsSamInitFailureConsole 8562 +#define kNtErrorDsForestVersionTooHigh 8563 +#define kNtErrorDsDomainVersionTooHigh 8564 +#define kNtErrorDsForestVersionTooLow 8565 +#define kNtErrorDsDomainVersionTooLow 8566 +#define kNtErrorDsIncompatibleVersion 8567 +#define kNtErrorDsLowDsaVersion 8568 +#define kNtErrorDsNoBehaviorVersionInMixeddomain 8569 +#define kNtErrorDsNotSupportedSortOrder 8570 +#define kNtErrorDsNameNotUnique 8571 +#define kNtErrorDsMachineAccountCreatedPrent4 8572 +#define kNtErrorDsOutOfVersionStore 8573 +#define kNtErrorDsIncompatibleControlsUsed 8574 +#define kNtErrorDsNoRefDomain 8575 +#define kNtErrorDsReservedLinkId 8576 +#define kNtErrorDsLinkIdNotAvailable 8577 +#define kNtErrorDsAgCantHaveUniversalMember 8578 +#define kNtErrorDsModifydnDisallowedByInstanceType 8579 +#define kNtErrorDsNoObjectMoveInSchemaNc 8580 +#define kNtErrorDsModifydnDisallowedByFlag 8581 +#define kNtErrorDsModifydnWrongGrandparent 8582 +#define kNtErrorDsNameErrorTrustReferral 8583 +#define kNtErrorNotSupportedOnStandardServer 8584 +#define kNtErrorDsCantAccessRemotePartOfAd 8585 +#define kNtErrorDsCrImpossibleToValidateV2 8586 +#define kNtErrorDsThreadLimitExceeded 8587 +#define kNtErrorDsNotClosest 8588 +#define kNtErrorDsCantDeriveSpnWithoutServerRef 8589 +#define kNtErrorDsSingleUserModeFailed 8590 +#define kNtErrorDsNtdscriptSyntaxError 8591 +#define kNtErrorDsNtdscriptProcessError 8592 +#define kNtErrorDsDifferentReplEpochs 8593 +#define kNtErrorDsDrsExtensionsChanged 8594 +#define kNtErrorDsReplicaSetChangeNotAllowedOnDisabledCr 8595 +#define kNtErrorDsNoMsdsIntid 8596 +#define kNtErrorDsDupMsdsIntid 8597 +#define kNtErrorDsExistsInRdnattid 8598 +#define kNtErrorDsAuthorizationFailed 8599 +#define kNtErrorDsInvalidScript 8600 +#define kNtErrorDsRemoteCrossrefOpFailed 8601 +#define kNtErrorDsCrossRefBusy 8602 +#define kNtErrorDsCantDeriveSpnForDeletedDomain 8603 +#define kNtErrorDsCantDemoteWithWriteableNc 8604 +#define kNtErrorDsDuplicateIdFound 8605 +#define kNtErrorDsInsufficientAttrToCreateObject 8606 +#define kNtErrorDsGroupConversionError 8607 +#define kNtErrorDsCantMoveAppBasicGroup 8608 +#define kNtErrorDsCantMoveAppQueryGroup 8609 +#define kNtErrorDsRoleNotVerified 8610 +#define kNtErrorDsWkoContainerCannotBeSpecial 8611 +#define kNtErrorDsDomainRenameInProgress 8612 +#define kNtErrorDsExistingAdChildNc 8613 +#define kNtErrorDsReplLifetimeExceeded 8614 +#define kNtErrorDsDisallowedInSystemContainer 8615 +#define kNtErrorDsLdapSendQueueFull 8616 +#define kNtErrorDsDraOutScheduleWindow 8617 +#define kNtErrorDsPolicyNotKnown 8618 +#define kNtErrorNoSiteSettingsObject 8619 +#define kNtErrorNoSecrets 8620 +#define kNtErrorNoWritableDcFound 8621 +#define kNtErrorDsNoServerObject 8622 +#define kNtErrorDsNoNtdsaObject 8623 +#define kNtErrorDsNonAsqSearch 8624 +#define kNtErrorDsAuditFailure 8625 +#define kNtErrorDsInvalidSearchFlagSubtree 8626 +#define kNtErrorDsInvalidSearchFlagTuple 8627 +#define kNtErrorDsHierarchyTableTooDeep 8628 +#define kNtErrorDsDraCorruptUtdVector 8629 +#define kNtErrorDsDraSecretsDenied 8630 +#define kNtErrorDsReservedMapiId 8631 +#define kNtErrorDsMapiIdNotAvailable 8632 +#define kNtErrorDsDraMissingKrbtgtSecret 8633 +#define kNtErrorDsDomainNameExistsInForest 8634 +#define kNtErrorDsFlatNameExistsInForest 8635 +#define kNtErrorInvalidUserPrincipalName 8636 +#define kNtErrorDsOidMappedGroupCantHaveMembers 8637 +#define kNtErrorDsOidNotFound 8638 +#define kNtErrorDsDraRecycledTarget 8639 +#define kNtErrorDsDisallowedNcRedirect 8640 +#define kNtErrorDsHighAdldsFfl 8641 +#define kNtErrorDsHighDsaVersion 8642 +#define kNtErrorDsLowAdldsFfl 8643 +#define kNtErrorDomainSidSameAsLocalWorkstation 8644 +#define kNtErrorDsUndeleteSamValidationFailed 8645 +#define kNtErrorIncorrectAccountType 8646 +#define kNtErrorDsSpnValueNotUniqueInForest 8647 +#define kNtErrorDsUpnValueNotUniqueInForest 8648 +#define kNtErrorDsMissingForestTrust 8649 +#define kNtErrorDsValueKeyNotUnique 8650 +#define kNtErrorIpsecQmPolicyExists 13000 +#define kNtErrorIpsecQmPolicyNotFound 13001 +#define kNtErrorIpsecQmPolicyInUse 13002 +#define kNtErrorIpsecMmPolicyExists 13003 +#define kNtErrorIpsecMmPolicyNotFound 13004 +#define kNtErrorIpsecMmPolicyInUse 13005 +#define kNtErrorIpsecMmFilterExists 13006 +#define kNtErrorIpsecMmFilterNotFound 13007 +#define kNtErrorIpsecTransportFilterExists 13008 +#define kNtErrorIpsecTransportFilterNotFound 13009 +#define kNtErrorIpsecMmAuthExists 13010 +#define kNtErrorIpsecMmAuthNotFound 13011 +#define kNtErrorIpsecMmAuthInUse 13012 +#define kNtErrorIpsecDefaultMmPolicyNotFound 13013 +#define kNtErrorIpsecDefaultMmAuthNotFound 13014 +#define kNtErrorIpsecDefaultQmPolicyNotFound 13015 +#define kNtErrorIpsecTunnelFilterExists 13016 +#define kNtErrorIpsecTunnelFilterNotFound 13017 +#define kNtErrorIpsecMmFilterPendingDeletion 13018 +#define kNtErrorIpsecTransportFilterPendingDeletion 13019 +#define kNtErrorIpsecTunnelFilterPendingDeletion 13020 +#define kNtErrorIpsecMmPolicyPendingDeletion 13021 +#define kNtErrorIpsecMmAuthPendingDeletion 13022 +#define kNtErrorIpsecQmPolicyPendingDeletion 13023 +#define kNtErrorIpsecIkeNegStatusBegin 13800 +#define kNtErrorIpsecIkeAuthFail 13801 +#define kNtErrorIpsecIkeAttribFail 13802 +#define kNtErrorIpsecIkeNegotiationPending 13803 +#define kNtErrorIpsecIkeGeneralProcessingError 13804 +#define kNtErrorIpsecIkeTimedOut 13805 +#define kNtErrorIpsecIkeNoCert 13806 +#define kNtErrorIpsecIkeSaDeleted 13807 +#define kNtErrorIpsecIkeSaReaped 13808 +#define kNtErrorIpsecIkeMmAcquireDrop 13809 +#define kNtErrorIpsecIkeQmAcquireDrop 13810 +#define kNtErrorIpsecIkeQueueDropMm 13811 +#define kNtErrorIpsecIkeQueueDropNoMm 13812 +#define kNtErrorIpsecIkeDropNoResponse 13813 +#define kNtErrorIpsecIkeMmDelayDrop 13814 +#define kNtErrorIpsecIkeQmDelayDrop 13815 +#define kNtErrorIpsecIkeError 13816 +#define kNtErrorIpsecIkeCrlFailed 13817 +#define kNtErrorIpsecIkeInvalidKeyUsage 13818 +#define kNtErrorIpsecIkeInvalidCertType 13819 +#define kNtErrorIpsecIkeNoPrivateKey 13820 +#define kNtErrorIpsecIkeSimultaneousRekey 13821 +#define kNtErrorIpsecIkeDhFail 13822 +#define kNtErrorIpsecIkeCriticalPayloadNotRecognized 13823 +#define kNtErrorIpsecIkeInvalidHeader 13824 +#define kNtErrorIpsecIkeNoPolicy 13825 +#define kNtErrorIpsecIkeInvalidSignature 13826 +#define kNtErrorIpsecIkeKerberosError 13827 +#define kNtErrorIpsecIkeNoPublicKey 13828 +#define kNtErrorIpsecIkeProcessErr 13829 +#define kNtErrorIpsecIkeProcessErrSa 13830 +#define kNtErrorIpsecIkeProcessErrProp 13831 +#define kNtErrorIpsecIkeProcessErrTrans 13832 +#define kNtErrorIpsecIkeProcessErrKe 13833 +#define kNtErrorIpsecIkeProcessErrId 13834 +#define kNtErrorIpsecIkeProcessErrCert 13835 +#define kNtErrorIpsecIkeProcessErrCertReq 13836 +#define kNtErrorIpsecIkeProcessErrHash 13837 +#define kNtErrorIpsecIkeProcessErrSig 13838 +#define kNtErrorIpsecIkeProcessErrNonce 13839 +#define kNtErrorIpsecIkeProcessErrNotify 13840 +#define kNtErrorIpsecIkeProcessErrDelete 13841 +#define kNtErrorIpsecIkeProcessErrVendor 13842 +#define kNtErrorIpsecIkeInvalidPayload 13843 +#define kNtErrorIpsecIkeLoadSoftSa 13844 +#define kNtErrorIpsecIkeSoftSaTornDown 13845 +#define kNtErrorIpsecIkeInvalidCookie 13846 +#define kNtErrorIpsecIkeNoPeerCert 13847 +#define kNtErrorIpsecIkePeerCrlFailed 13848 +#define kNtErrorIpsecIkePolicyChange 13849 +#define kNtErrorIpsecIkeNoMmPolicy 13850 +#define kNtErrorIpsecIkeNotcbpriv 13851 +#define kNtErrorIpsecIkeSecloadfail 13852 +#define kNtErrorIpsecIkeFailsspinit 13853 +#define kNtErrorIpsecIkeFailqueryssp 13854 +#define kNtErrorIpsecIkeSrvacqfail 13855 +#define kNtErrorIpsecIkeSrvquerycred 13856 +#define kNtErrorIpsecIkeGetspifail 13857 +#define kNtErrorIpsecIkeInvalidFilter 13858 +#define kNtErrorIpsecIkeOutOfMemory 13859 +#define kNtErrorIpsecIkeAddUpdateKeyFailed 13860 +#define kNtErrorIpsecIkeInvalidPolicy 13861 +#define kNtErrorIpsecIkeUnknownDoi 13862 +#define kNtErrorIpsecIkeInvalidSituation 13863 +#define kNtErrorIpsecIkeDhFailure 13864 +#define kNtErrorIpsecIkeInvalidGroup 13865 +#define kNtErrorIpsecIkeEncrypt 13866 +#define kNtErrorIpsecIkeDecrypt 13867 +#define kNtErrorIpsecIkePolicyMatch 13868 +#define kNtErrorIpsecIkeUnsupportedId 13869 +#define kNtErrorIpsecIkeInvalidHash 13870 +#define kNtErrorIpsecIkeInvalidHashAlg 13871 +#define kNtErrorIpsecIkeInvalidHashSize 13872 +#define kNtErrorIpsecIkeInvalidEncryptAlg 13873 +#define kNtErrorIpsecIkeInvalidAuthAlg 13874 +#define kNtErrorIpsecIkeInvalidSig 13875 +#define kNtErrorIpsecIkeLoadFailed 13876 +#define kNtErrorIpsecIkeRpcDelete 13877 +#define kNtErrorIpsecIkeBenignReinit 13878 +#define kNtErrorIpsecIkeInvalidResponderLifetimeNotify 13879 +#define kNtErrorIpsecIkeInvalidMajorVersion 13880 +#define kNtErrorIpsecIkeInvalidCertKeylen 13881 +#define kNtErrorIpsecIkeMmLimit 13882 +#define kNtErrorIpsecIkeNegotiationDisabled 13883 +#define kNtErrorIpsecIkeQmLimit 13884 +#define kNtErrorIpsecIkeMmExpired 13885 +#define kNtErrorIpsecIkePeerMmAssumedInvalid 13886 +#define kNtErrorIpsecIkeCertChainPolicyMismatch 13887 +#define kNtErrorIpsecIkeUnexpectedMessageId 13888 +#define kNtErrorIpsecIkeInvalidAuthPayload 13889 +#define kNtErrorIpsecIkeDosCookieSent 13890 +#define kNtErrorIpsecIkeShuttingDown 13891 +#define kNtErrorIpsecIkeCgaAuthFailed 13892 +#define kNtErrorIpsecIkeProcessErrNatoa 13893 +#define kNtErrorIpsecIkeInvalidMmForQm 13894 +#define kNtErrorIpsecIkeQmExpired 13895 +#define kNtErrorIpsecIkeTooManyFilters 13896 +#define kNtErrorIpsecIkeNegStatusEnd 13897 +#define kNtErrorIpsecIkeKillDummyNapTunnel 13898 +#define kNtErrorIpsecIkeInnerIpAssignmentFailure 13899 +#define kNtErrorIpsecIkeRequireCpPayloadMissing 13900 +#define kNtErrorIpsecKeyModuleImpersonationNegotiationPending 13901 +#define kNtErrorIpsecIkeCoexistenceSuppress 13902 +#define kNtErrorIpsecIkeRatelimitDrop 13903 +#define kNtErrorIpsecIkePeerDoesntSupportMobike 13904 +#define kNtErrorIpsecIkeAuthorizationFailure 13905 +#define kNtErrorIpsecIkeStrongCredAuthorizationFailure 13906 +#define kNtErrorIpsecIkeAuthorizationFailureWithOptionalRetry 13907 +#define kNtErrorIpsecIkeStrongCredAuthorizationAndCertmapFailure 13908 +#define kNtErrorIpsecIkeNegStatusExtendedEnd 13909 +#define kNtErrorIpsecBadSpi 13910 +#define kNtErrorIpsecSaLifetimeExpired 13911 +#define kNtErrorIpsecWrongSa 13912 +#define kNtErrorIpsecReplayCheckFailed 13913 +#define kNtErrorIpsecInvalidPacket 13914 +#define kNtErrorIpsecIntegrityCheckFailed 13915 +#define kNtErrorIpsecClearTextDrop 13916 +#define kNtErrorIpsecAuthFirewallDrop 13917 +#define kNtErrorIpsecThrottleDrop 13918 +#define kNtErrorIpsecDospBlock 13925 +#define kNtErrorIpsecDospReceivedMulticast 13926 +#define kNtErrorIpsecDospInvalidPacket 13927 +#define kNtErrorIpsecDospStateLookupFailed 13928 +#define kNtErrorIpsecDospMaxEntries 13929 +#define kNtErrorIpsecDospKeymodNotAllowed 13930 +#define kNtErrorIpsecDospNotInstalled 13931 +#define kNtErrorIpsecDospMaxPerIpRatelimitQueues 13932 +#define kNtErrorSxsSectionNotFound 14000 +#define kNtErrorSxsCantGenActctx 14001 +#define kNtErrorSxsInvalidActctxdataFormat 14002 +#define kNtErrorSxsAssemblyNotFound 14003 +#define kNtErrorSxsManifestFormatError 14004 +#define kNtErrorSxsManifestParseError 14005 +#define kNtErrorSxsActivationContextDisabled 14006 +#define kNtErrorSxsKeyNotFound 14007 +#define kNtErrorSxsVersionConflict 14008 +#define kNtErrorSxsWrongSectionType 14009 +#define kNtErrorSxsThreadQueriesDisabled 14010 +#define kNtErrorSxsProcessDefaultAlreadySet 14011 +#define kNtErrorSxsUnknownEncodingGroup 14012 +#define kNtErrorSxsUnknownEncoding 14013 +#define kNtErrorSxsInvalidXmlNamespaceUri 14014 +#define kNtErrorSxsRootManifestDependencyNotInstalled 14015 +#define kNtErrorSxsLeafManifestDependencyNotInstalled 14016 +#define kNtErrorSxsInvalidAssemblyIdentityAttribute 14017 +#define kNtErrorSxsManifestMissingRequiredDefaultNamespace 14018 +#define kNtErrorSxsManifestInvalidRequiredDefaultNamespace 14019 +#define kNtErrorSxsPrivateManifestCrossPathWithReparsePoint 14020 +#define kNtErrorSxsDuplicateDllName 14021 +#define kNtErrorSxsDuplicateWindowclassName 14022 +#define kNtErrorSxsDuplicateClsid 14023 +#define kNtErrorSxsDuplicateIid 14024 +#define kNtErrorSxsDuplicateTlbid 14025 +#define kNtErrorSxsDuplicateProgid 14026 +#define kNtErrorSxsDuplicateAssemblyName 14027 +#define kNtErrorSxsFileHashMismatch 14028 +#define kNtErrorSxsPolicyParseError 14029 +#define kNtErrorSxsXmlEMissingquote 14030 +#define kNtErrorSxsXmlECommentsyntax 14031 +#define kNtErrorSxsXmlEBadstartnamechar 14032 +#define kNtErrorSxsXmlEBadnamechar 14033 +#define kNtErrorSxsXmlEBadcharinstring 14034 +#define kNtErrorSxsXmlEXmldeclsyntax 14035 +#define kNtErrorSxsXmlEBadchardata 14036 +#define kNtErrorSxsXmlEMissingwhitespace 14037 +#define kNtErrorSxsXmlEExpectingtagend 14038 +#define kNtErrorSxsXmlEMissingsemicolon 14039 +#define kNtErrorSxsXmlEUnbalancedparen 14040 +#define kNtErrorSxsXmlEInternalerror 14041 +#define kNtErrorSxsXmlEUnexpectedWhitespace 14042 +#define kNtErrorSxsXmlEIncompleteEncoding 14043 +#define kNtErrorSxsXmlEMissingParen 14044 +#define kNtErrorSxsXmlEExpectingclosequote 14045 +#define kNtErrorSxsXmlEMultipleColons 14046 +#define kNtErrorSxsXmlEInvalidDecimal 14047 +#define kNtErrorSxsXmlEInvalidHexidecimal 14048 +#define kNtErrorSxsXmlEInvalidUnicode 14049 +#define kNtErrorSxsXmlEWhitespaceorquestionmark 14050 +#define kNtErrorSxsXmlEUnexpectedendtag 14051 +#define kNtErrorSxsXmlEUnclosedtag 14052 +#define kNtErrorSxsXmlEDuplicateattribute 14053 +#define kNtErrorSxsXmlEMultipleroots 14054 +#define kNtErrorSxsXmlEInvalidatrootlevel 14055 +#define kNtErrorSxsXmlEBadxmldecl 14056 +#define kNtErrorSxsXmlEMissingroot 14057 +#define kNtErrorSxsXmlEUnexpectedeof 14058 +#define kNtErrorSxsXmlEBadperefinsubset 14059 +#define kNtErrorSxsXmlEUnclosedstarttag 14060 +#define kNtErrorSxsXmlEUnclosedendtag 14061 +#define kNtErrorSxsXmlEUnclosedstring 14062 +#define kNtErrorSxsXmlEUnclosedcomment 14063 +#define kNtErrorSxsXmlEUncloseddecl 14064 +#define kNtErrorSxsXmlEUnclosedcdata 14065 +#define kNtErrorSxsXmlEReservednamespace 14066 +#define kNtErrorSxsXmlEInvalidencoding 14067 +#define kNtErrorSxsXmlEInvalidswitch 14068 +#define kNtErrorSxsXmlEBadxmlcase 14069 +#define kNtErrorSxsXmlEInvalidStandalone 14070 +#define kNtErrorSxsXmlEUnexpectedStandalone 14071 +#define kNtErrorSxsXmlEInvalidVersion 14072 +#define kNtErrorSxsXmlEMissingequals 14073 +#define kNtErrorSxsProtectionRecoveryFailed 14074 +#define kNtErrorSxsProtectionPublicKeyTooShort 14075 +#define kNtErrorSxsProtectionCatalogNotValid 14076 +#define kNtErrorSxsUntranslatableHresult 14077 +#define kNtErrorSxsProtectionCatalogFileMissing 14078 +#define kNtErrorSxsMissingAssemblyIdentityAttribute 14079 +#define kNtErrorSxsInvalidAssemblyIdentityAttributeName 14080 +#define kNtErrorSxsAssemblyMissing 14081 +#define kNtErrorSxsCorruptActivationStack 14082 +#define kNtErrorSxsCorruption 14083 +#define kNtErrorSxsEarlyDeactivation 14084 +#define kNtErrorSxsInvalidDeactivation 14085 +#define kNtErrorSxsMultipleDeactivation 14086 +#define kNtErrorSxsProcessTerminationRequested 14087 +#define kNtErrorSxsReleaseActivationContext 14088 +#define kNtErrorSxsSystemDefaultActivationContextEmpty 14089 +#define kNtErrorSxsInvalidIdentityAttributeValue 14090 +#define kNtErrorSxsInvalidIdentityAttributeName 14091 +#define kNtErrorSxsIdentityDuplicateAttribute 14092 +#define kNtErrorSxsIdentityParseError 14093 +#define kNtErrorMalformedSubstitutionString 14094 +#define kNtErrorSxsIncorrectPublicKeyToken 14095 +#define kNtErrorUnmappedSubstitutionString 14096 +#define kNtErrorSxsAssemblyNotLocked 14097 +#define kNtErrorSxsComponentStoreCorrupt 14098 +#define kNtErrorAdvancedInstallerFailed 14099 +#define kNtErrorXmlEncodingMismatch 14100 +#define kNtErrorSxsManifestIdentitySameButContentsDifferent 14101 +#define kNtErrorSxsIdentitiesDifferent 14102 +#define kNtErrorSxsAssemblyIsNotADeployment 14103 +#define kNtErrorSxsFileNotPartOfAssembly 14104 +#define kNtErrorSxsManifestTooBig 14105 +#define kNtErrorSxsSettingNotRegistered 14106 +#define kNtErrorSxsTransactionClosureIncomplete 14107 +#define kNtErrorSmiPrimitiveInstallerFailed 14108 +#define kNtErrorGenericCommandFailed 14109 +#define kNtErrorSxsFileHashMissing 14110 +#define kNtErrorEvtInvalidChannelPath 15000 +#define kNtErrorEvtInvalidQuery 15001 +#define kNtErrorEvtPublisherMetadataNotFound 15002 +#define kNtErrorEvtEventTemplateNotFound 15003 +#define kNtErrorEvtInvalidPublisherName 15004 +#define kNtErrorEvtInvalidEventData 15005 +#define kNtErrorEvtChannelNotFound 15007 +#define kNtErrorEvtMalformedXmlText 15008 +#define kNtErrorEvtSubscriptionToDirectChannel 15009 +#define kNtErrorEvtConfigurationError 15010 +#define kNtErrorEvtQueryResultStale 15011 +#define kNtErrorEvtQueryResultInvalidPosition 15012 +#define kNtErrorEvtNonValidatingMsxml 15013 +#define kNtErrorEvtFilterAlreadyscoped 15014 +#define kNtErrorEvtFilterNoteltset 15015 +#define kNtErrorEvtFilterInvarg 15016 +#define kNtErrorEvtFilterInvtest 15017 +#define kNtErrorEvtFilterInvtype 15018 +#define kNtErrorEvtFilterParseerr 15019 +#define kNtErrorEvtFilterUnsupportedop 15020 +#define kNtErrorEvtFilterUnexpectedtoken 15021 +#define kNtErrorEvtInvalidOperationOverEnabledDirectChannel 15022 +#define kNtErrorEvtInvalidChannelPropertyValue 15023 +#define kNtErrorEvtInvalidPublisherPropertyValue 15024 +#define kNtErrorEvtChannelCannotActivate 15025 +#define kNtErrorEvtFilterTooComplex 15026 +#define kNtErrorEvtMessageNotFound 15027 +#define kNtErrorEvtMessageIdNotFound 15028 +#define kNtErrorEvtUnresolvedValueInsert 15029 +#define kNtErrorEvtUnresolvedParameterInsert 15030 +#define kNtErrorEvtMaxInsertsReached 15031 +#define kNtErrorEvtEventDefinitionNotFound 15032 +#define kNtErrorEvtMessageLocaleNotFound 15033 +#define kNtErrorEvtVersionTooOld 15034 +#define kNtErrorEvtVersionTooNew 15035 +#define kNtErrorEvtCannotOpenChannelOfQuery 15036 +#define kNtErrorEvtPublisherDisabled 15037 +#define kNtErrorEvtFilterOutOfRange 15038 +#define kNtErrorEcSubscriptionCannotActivate 15080 +#define kNtErrorEcLogDisabled 15081 +#define kNtErrorEcCircularForwarding 15082 +#define kNtErrorEcCredstoreFull 15083 +#define kNtErrorEcCredNotFound 15084 +#define kNtErrorEcNoActiveChannel 15085 +#define kNtErrorMuiFileNotFound 15100 +#define kNtErrorMuiInvalidFile 15101 +#define kNtErrorMuiInvalidRcConfig 15102 +#define kNtErrorMuiInvalidLocaleName 15103 +#define kNtErrorMuiInvalidUltimatefallbackName 15104 +#define kNtErrorMuiFileNotLoaded 15105 +#define kNtErrorResourceEnumUserStop 15106 +#define kNtErrorMuiIntlsettingsUilangNotInstalled 15107 +#define kNtErrorMuiIntlsettingsInvalidLocaleName 15108 +#define kNtErrorMrmRuntimeNoDefaultOrNeutralResource 15110 +#define kNtErrorMrmInvalidPriconfig 15111 +#define kNtErrorMrmInvalidFileType 15112 +#define kNtErrorMrmUnknownQualifier 15113 +#define kNtErrorMrmInvalidQualifierValue 15114 +#define kNtErrorMrmNoCandidate 15115 +#define kNtErrorMrmNoMatchOrDefaultCandidate 15116 +#define kNtErrorMrmResourceTypeMismatch 15117 +#define kNtErrorMrmDuplicateMapName 15118 +#define kNtErrorMrmDuplicateEntry 15119 +#define kNtErrorMrmInvalidResourceIdentifier 15120 +#define kNtErrorMrmFilepathTooLong 15121 +#define kNtErrorMrmUnsupportedDirectoryType 15122 +#define kNtErrorMrmInvalidPriFile 15126 +#define kNtErrorMrmNamedResourceNotFound 15127 +#define kNtErrorMrmMapNotFound 15135 +#define kNtErrorMrmUnsupportedProfileType 15136 +#define kNtErrorMrmInvalidQualifierOperator 15137 +#define kNtErrorMrmIndeterminateQualifierValue 15138 +#define kNtErrorMrmAutomergeEnabled 15139 +#define kNtErrorMrmTooManyResources 15140 +#define kNtErrorMrmUnsupportedFileTypeForMerge 15141 +#define kNtErrorMrmUnsupportedFileTypeForLoadUnloadPriFile 15142 +#define kNtErrorMrmNoCurrentViewOnThread 15143 +#define kNtErrorDifferentProfileResourceManagerExist 15144 +#define kNtErrorOperationNotAllowedFromSystemComponent 15145 +#define kNtErrorMrmDirectRefToNonDefaultResource 15146 +#define kNtErrorMrmGenerationCountMismatch 15147 +#define kNtErrorPriMergeVersionMismatch 15148 +#define kNtErrorPriMergeMissingSchema 15149 +#define kNtErrorPriMergeLoadFileFailed 15150 +#define kNtErrorPriMergeAddFileFailed 15151 +#define kNtErrorPriMergeWriteFileFailed 15152 +#define kNtErrorPriMergeMultiplePackageFamiliesNotAllowed 15153 +#define kNtErrorPriMergeMultipleMainPackagesNotAllowed 15154 +#define kNtErrorPriMergeBundlePackagesNotAllowed 15155 +#define kNtErrorPriMergeMainPackageRequired 15156 +#define kNtErrorPriMergeResourcePackageRequired 15157 +#define kNtErrorPriMergeInvalidFileName 15158 +#define kNtErrorMcaInvalidCapabilitiesString 15200 +#define kNtErrorMcaInvalidVcpVersion 15201 +#define kNtErrorMcaMonitorViolatesMccsSpecification 15202 +#define kNtErrorMcaMccsVersionMismatch 15203 +#define kNtErrorMcaUnsupportedMccsVersion 15204 +#define kNtErrorMcaInternalError 15205 +#define kNtErrorMcaInvalidTechnologyTypeReturned 15206 +#define kNtErrorMcaUnsupportedColorTemperature 15207 +#define kNtErrorAmbiguousSystemDevice 15250 +#define kNtErrorSystemDeviceNotFound 15299 +#define kNtErrorHashNotSupported 15300 +#define kNtErrorHashNotPresent 15301 +#define kNtErrorSecondaryIcProviderNotRegistered 15321 +#define kNtErrorGpioClientInformationInvalid 15322 +#define kNtErrorGpioVersionNotSupported 15323 +#define kNtErrorGpioInvalidRegistrationPacket 15324 +#define kNtErrorGpioOperationDenied 15325 +#define kNtErrorGpioIncompatibleConnectMode 15326 +#define kNtErrorGpioInterruptAlreadyUnmasked 15327 +#define kNtErrorCannotSwitchRunlevel 15400 +#define kNtErrorInvalidRunlevelSetting 15401 +#define kNtErrorRunlevelSwitchTimeout 15402 +#define kNtErrorRunlevelSwitchAgentTimeout 15403 +#define kNtErrorRunlevelSwitchInProgress 15404 +#define kNtErrorServicesFailedAutostart 15405 +#define kNtErrorComTaskStopPending 15501 +#define kNtErrorInstallOpenPackageFailed 15600 +#define kNtErrorInstallPackageNotFound 15601 +#define kNtErrorInstallInvalidPackage 15602 +#define kNtErrorInstallResolveDependencyFailed 15603 +#define kNtErrorInstallOutOfDiskSpace 15604 +#define kNtErrorInstallNetworkFailure 15605 +#define kNtErrorInstallRegistrationFailure 15606 +#define kNtErrorInstallDeregistrationFailure 15607 +#define kNtErrorInstallCancel 15608 +#define kNtErrorInstallFailed 15609 +#define kNtErrorRemoveFailed 15610 +#define kNtErrorPackageAlreadyExists 15611 +#define kNtErrorNeedsRemediation 15612 +#define kNtErrorInstallPrerequisiteFailed 15613 +#define kNtErrorPackageRepositoryCorrupted 15614 +#define kNtErrorInstallPolicyFailure 15615 +#define kNtErrorPackageUpdating 15616 +#define kNtErrorDeploymentBlockedByPolicy 15617 +#define kNtErrorPackagesInUse 15618 +#define kNtErrorRecoveryFileCorrupt 15619 +#define kNtErrorInvalidStagedSignature 15620 +#define kNtErrorDeletingExistingApplicationdataStoreFailed 15621 +#define kNtErrorInstallPackageDowngrade 15622 +#define kNtErrorSystemNeedsRemediation 15623 +#define kNtErrorAppxIntegrityFailureClrNgen 15624 +#define kNtErrorResiliencyFileCorrupt 15625 +#define kNtErrorInstallFirewallServiceNotRunning 15626 +#define kNtErrorPackageMoveFailed 15627 +#define kNtErrorInstallVolumeNotEmpty 15628 +#define kNtErrorInstallVolumeOffline 15629 +#define kNtErrorInstallVolumeCorrupt 15630 +#define kNtErrorNeedsRegistration 15631 +#define kNtErrorInstallWrongProcessorArchitecture 15632 +#define kNtErrorDevSideloadLimitExceeded 15633 +#define kNtErrorInstallOptionalPackageRequiresMainPackage 15634 +#define kNtErrorPackageNotSupportedOnFilesystem 15635 +#define kNtErrorPackageMoveBlockedByStreaming 15636 +#define kNtErrorInstallOptionalPackageApplicationidNotUnique 15637 +#define kNtErrorPackageStagingOnhold 15638 +#define kNtErrorInstallInvalidRelatedSetUpdate 15639 +#define kNtErrorPackagesReputationCheckFailed 15643 +#define kNtErrorPackagesReputationCheckTimedout 15644 +#define kNtErrorStateLoadStoreFailed 15800 +#define kNtErrorStateGetVersionFailed 15801 +#define kNtErrorStateSetVersionFailed 15802 +#define kNtErrorStateStructuredResetFailed 15803 +#define kNtErrorStateOpenContainerFailed 15804 +#define kNtErrorStateCreateContainerFailed 15805 +#define kNtErrorStateDeleteContainerFailed 15806 +#define kNtErrorStateReadSettingFailed 15807 +#define kNtErrorStateWriteSettingFailed 15808 +#define kNtErrorStateDeleteSettingFailed 15809 +#define kNtErrorStateQuerySettingFailed 15810 +#define kNtErrorStateReadCompositeSettingFailed 15811 +#define kNtErrorStateWriteCompositeSettingFailed 15812 +#define kNtErrorStateEnumerateContainerFailed 15813 +#define kNtErrorStateEnumerateSettingsFailed 15814 +#define kNtErrorStateCompositeSettingValueSizeLimitExceeded 15815 +#define kNtErrorStateSettingValueSizeLimitExceeded 15816 +#define kNtErrorStateSettingNameSizeLimitExceeded 15817 +#define kNtErrorStateContainerNameSizeLimitExceeded 15818 +#define kNtErrorApiUnavailable 15841 /* EPROCUNAVAIL */ #define kNtWaitIoCompletion 0xc0 /* WinSock Error Codes: 10000-11999 */ -#define WSABASEERR 10000 -#define WSAEINTR 10004 -#define WSAEBADF 10009 -#define WSAEACCES 10013 -#define WSAEFAULT 10014 -#define WSAEINVAL 10022 -#define WSAEMFILE 10024 -#define WSAEWOULDBLOCK 10035 -#define WSAEINPROGRESS 10036 -#define WSAEALREADY 10037 -#define WSAENOTSOCK 10038 -#define WSAEDESTADDRREQ 10039 -#define WSAEMSGSIZE 10040 -#define WSAEPROTOTYPE 10041 -#define WSAENOPROTOOPT 10042 -#define WSAEPROTONOSUPPORT 10043 -#define WSAESOCKTNOSUPPORT 10044 -#define WSAEOPNOTSUPP 10045 -#define WSAEPFNOSUPPORT 10046 -#define WSAEAFNOSUPPORT 10047 -#define WSAEADDRINUSE 10048 -#define WSAEADDRNOTAVAIL 10049 -#define WSAENETDOWN 10050 -#define WSAENETUNREACH 10051 -#define WSAENETRESET 10052 -#define WSAECONNABORTED 10053 -#define WSAECONNRESET 10054 -#define WSAENOBUFS 10055 -#define WSAEISCONN 10056 -#define WSAENOTCONN 10057 -#define WSAESHUTDOWN 10058 -#define WSAETOOMANYREFS 10059 -#define WSAETIMEDOUT 10060 -#define WSAECONNREFUSED 10061 -#define WSAELOOP 10062 -#define WSAENAMETOOLONG 10063 -#define WSAEHOSTDOWN 10064 -#define WSAEHOSTUNREACH 10065 -#define WSAENOTEMPTY 10066 -#define WSAEPROCLIM 10067 -#define WSAEUSERS 10068 -#define WSAEDQUOT 10069 -#define WSAESTALE 10070 -#define WSAEREMOTE 10071 -#define WSASYSNOTREADY 10091 -#define WSAVERNOTSUPPORTED 10092 -#define WSANOTINITIALISED 10093 -#define WSAEDISCON 10101 -#define WSAENOMORE 10102 -#define WSAECANCELLED 10103 -#define WSAEINVALIDPROCTABLE 10104 -#define WSAEINVALIDPROVIDER 10105 -#define WSAEPROVIDERFAILEDINIT 10106 -#define WSASYSCALLFAILURE 10107 -#define WSASERVICE_NOT_FOUND 10108 -#define WSATYPE_NOT_FOUND 10109 -#define WSA_E_NO_MORE 10110 -#define WSA_E_CANCELLED 10111 -#define WSAEREFUSED 10112 -#define WSAHOST_NOT_FOUND 11001 -#define WSATRY_AGAIN 11002 -#define WSANO_RECOVERY 11003 -#define WSANO_DATA 11004 -#define WSA_QOS_RECEIVERS 11005 -#define WSA_QOS_SENDERS 11006 -#define WSA_QOS_NO_SENDERS 11007 -#define WSA_QOS_NO_RECEIVERS 11008 -#define WSA_QOS_REQUEST_CONFIRMED 11009 -#define WSA_QOS_ADMISSION_FAILURE 11010 -#define WSA_QOS_POLICY_FAILURE 11011 -#define WSA_QOS_BAD_STYLE 11012 -#define WSA_QOS_BAD_OBJECT 11013 -#define WSA_QOS_TRAFFIC_CTRL_ERROR 11014 -#define WSA_QOS_GENERIC_ERROR 11015 -#define WSA_QOS_ESERVICETYPE 11016 -#define WSA_QOS_EFLOWSPEC 11017 -#define WSA_QOS_EPROVSPECBUF 11018 -#define WSA_QOS_EFILTERSTYLE 11019 -#define WSA_QOS_EFILTERTYPE 11020 -#define WSA_QOS_EFILTERCOUNT 11021 -#define WSA_QOS_EOBJLENGTH 11022 -#define WSA_QOS_EFLOWCOUNT 11023 -#define WSA_QOS_EUNKOWNPSOBJ 11024 -#define WSA_QOS_EPOLICYOBJ 11025 -#define WSA_QOS_EFLOWDESC 11026 -#define WSA_QOS_EPSFLOWSPEC 11027 -#define WSA_QOS_EPSFILTERSPEC 11028 -#define WSA_QOS_ESDMODEOBJ 11029 -#define WSA_QOS_ESHAPERATEOBJ 11030 -#define WSA_QOS_RESERVED_PETYPE 11031 -#define WSA_SECURE_HOST_NOT_FOUND 11032 +#define WSABASEERR 10000 +#define WSAEINTR 10004 +#define WSAEBADF 10009 +#define WSAEACCES 10013 +#define WSAEFAULT 10014 +#define WSAEINVAL 10022 +#define WSAEMFILE 10024 +#define WSAEWOULDBLOCK 10035 +#define WSAEINPROGRESS 10036 +#define WSAEALREADY 10037 +#define WSAENOTSOCK 10038 +#define WSAEDESTADDRREQ 10039 +#define WSAEMSGSIZE 10040 +#define WSAEPROTOTYPE 10041 +#define WSAENOPROTOOPT 10042 +#define WSAEPROTONOSUPPORT 10043 +#define WSAESOCKTNOSUPPORT 10044 +#define WSAEOPNOTSUPP 10045 +#define WSAEPFNOSUPPORT 10046 +#define WSAEAFNOSUPPORT 10047 +#define WSAEADDRINUSE 10048 +#define WSAEADDRNOTAVAIL 10049 +#define WSAENETDOWN 10050 +#define WSAENETUNREACH 10051 +#define WSAENETRESET 10052 +#define WSAECONNABORTED 10053 +#define WSAECONNRESET 10054 +#define WSAENOBUFS 10055 +#define WSAEISCONN 10056 +#define WSAENOTCONN 10057 +#define WSAESHUTDOWN 10058 +#define WSAETOOMANYREFS 10059 +#define WSAETIMEDOUT 10060 +#define WSAECONNREFUSED 10061 +#define WSAELOOP 10062 +#define WSAENAMETOOLONG 10063 +#define WSAEHOSTDOWN 10064 +#define WSAEHOSTUNREACH 10065 +#define WSAENOTEMPTY 10066 +#define WSAEPROCLIM 10067 +#define WSAEUSERS 10068 +#define WSAEDQUOT 10069 +#define WSAESTALE 10070 +#define WSAEREMOTE 10071 +#define WSASYSNOTREADY 10091 +#define WSAVERNOTSUPPORTED 10092 +#define WSANOTINITIALISED 10093 +#define WSAEDISCON 10101 +#define WSAENOMORE 10102 +#define WSAECANCELLED 10103 +#define WSAEINVALIDPROCTABLE 10104 +#define WSAEINVALIDPROVIDER 10105 +#define WSAEPROVIDERFAILEDINIT 10106 +#define WSASYSCALLFAILURE 10107 +#define WSASERVICE_NOT_FOUND 10108 +#define WSATYPE_NOT_FOUND 10109 +#define WSA_E_NO_MORE 10110 +#define WSA_E_CANCELLED 10111 +#define WSAEREFUSED 10112 +#define WSAHOST_NOT_FOUND 11001 +#define WSATRY_AGAIN 11002 +#define WSANO_RECOVERY 11003 +#define WSANO_DATA 11004 +#define WSA_QOS_RECEIVERS 11005 +#define WSA_QOS_SENDERS 11006 +#define WSA_QOS_NO_SENDERS 11007 +#define WSA_QOS_NO_RECEIVERS 11008 +#define WSA_QOS_REQUEST_CONFIRMED 11009 +#define WSA_QOS_ADMISSION_FAILURE 11010 +#define WSA_QOS_POLICY_FAILURE 11011 +#define WSA_QOS_BAD_STYLE 11012 +#define WSA_QOS_BAD_OBJECT 11013 +#define WSA_QOS_TRAFFIC_CTRL_ERROR 11014 +#define WSA_QOS_GENERIC_ERROR 11015 +#define WSA_QOS_ESERVICETYPE 11016 +#define WSA_QOS_EFLOWSPEC 11017 +#define WSA_QOS_EPROVSPECBUF 11018 +#define WSA_QOS_EFILTERSTYLE 11019 +#define WSA_QOS_EFILTERTYPE 11020 +#define WSA_QOS_EFILTERCOUNT 11021 +#define WSA_QOS_EOBJLENGTH 11022 +#define WSA_QOS_EFLOWCOUNT 11023 +#define WSA_QOS_EUNKOWNPSOBJ 11024 +#define WSA_QOS_EPOLICYOBJ 11025 +#define WSA_QOS_EFLOWDESC 11026 +#define WSA_QOS_EPSFLOWSPEC 11027 +#define WSA_QOS_EPSFILTERSPEC 11028 +#define WSA_QOS_ESDMODEOBJ 11029 +#define WSA_QOS_ESHAPERATEOBJ 11030 +#define WSA_QOS_RESERVED_PETYPE 11031 +#define WSA_SECURE_HOST_NOT_FOUND 11032 #define WSA_IPSEC_NAME_POLICY_ERROR 11033 -#define WSA_WAIT_FAILED -1u -#define WSA_WAIT_EVENT_0 0 -#define WSA_WAIT_IO_COMPLETION 0xc0 -#define WSA_WAIT_TIMEOUT 258 +#define WSA_WAIT_FAILED -1u +#define WSA_WAIT_EVENT_0 0 +#define WSA_WAIT_IO_COMPLETION 0xc0 +#define WSA_WAIT_TIMEOUT 258 #define WSA_MAXIMUM_WAIT_EVENTS 64 -#define WSA_IO_PENDING 997 +#define WSA_IO_PENDING 997 #endif /* COSMOPOLITAN_NT_ERRORS_H_ */ diff --git a/libc/nt/windows.h b/libc/nt/windows.h index bb0b9e045..68f79e62f 100644 --- a/libc/nt/windows.h +++ b/libc/nt/windows.h @@ -91,16 +91,10 @@ bool32 TrackPopupMenu(int64_t hMenu, uint32_t uFlags, int32_t x, int32_t y, int32_t nReserved, int64_t hWnd, const struct NtRect *prcRect); -int WideCharToMultiByte(unsigned int CodePage, - uint32_t dwFlags, - uint16_t * lpWideCharStr, - int cchWideChar, - char * lpMultiByteStr, - int cbMultiByte, - uint16_t * lpDefaultChar, - int * lpUsedDefaultChar -); - +int WideCharToMultiByte(unsigned int CodePage, uint32_t dwFlags, + uint16_t *lpWideCharStr, int cchWideChar, + char *lpMultiByteStr, int cbMultiByte, + uint16_t *lpDefaultChar, int *lpUsedDefaultChar); COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ diff --git a/libc/runtime/clktck.c b/libc/runtime/clktck.c index 6948dc7bc..222785279 100644 --- a/libc/runtime/clktck.c +++ b/libc/runtime/clktck.c @@ -16,11 +16,11 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ +#include "libc/runtime/clktck.h" #include "libc/calls/calls.h" #include "libc/dce.h" #include "libc/fmt/conv.h" #include "libc/intrin/_getauxval.internal.h" -#include "libc/runtime/clktck.h" #include "libc/runtime/runtime.h" #include "libc/sysv/consts/auxv.h" diff --git a/libc/runtime/clone.c b/libc/runtime/clone.c index 0c71f1e4a..8709ffeae 100644 --- a/libc/runtime/clone.c +++ b/libc/runtime/clone.c @@ -16,6 +16,7 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ +#include "libc/sysv/consts/clone.h" #include "libc/assert.h" #include "libc/calls/calls.h" #include "libc/calls/struct/ucontext-netbsd.internal.h" @@ -37,7 +38,6 @@ #include "libc/sock/internal.h" #include "libc/stdalign.internal.h" #include "libc/str/str.h" -#include "libc/sysv/consts/clone.h" #include "libc/sysv/consts/futex.h" #include "libc/sysv/consts/nr.h" #include "libc/sysv/consts/nrlinux.h" diff --git a/libc/runtime/efimain.greg.c b/libc/runtime/efimain.greg.c index dcbbe0dab..1ceb6b900 100644 --- a/libc/runtime/efimain.greg.c +++ b/libc/runtime/efimain.greg.c @@ -70,7 +70,7 @@ static void EfiInitVga(struct mman *mm, EFI_SYSTEM_TABLE *SystemTable) { case 0x00FF0000U: if (le32toh(PixelInfo->ReservedMask) >= 0x01000000U && le32toh(PixelInfo->GreenMask) == 0x0000FF00U && - le32toh(PixelInfo->BlueMask) == 0x000000FFU) { + le32toh(PixelInfo->BlueMask) == 0x000000FFU) { vid_typ = PC_VIDEO_BGRX8888; bytes_per_pix = 4; } @@ -78,7 +78,7 @@ static void EfiInitVga(struct mman *mm, EFI_SYSTEM_TABLE *SystemTable) { case 0x000000FFU: if (le32toh(PixelInfo->ReservedMask) >= 0x01000000U && le32toh(PixelInfo->GreenMask) == 0x0000FF00U && - le32toh(PixelInfo->BlueMask) == 0x00FF0000U) { + le32toh(PixelInfo->BlueMask) == 0x00FF0000U) { vid_typ = PC_VIDEO_RGBX8888; bytes_per_pix = 4; } @@ -86,7 +86,7 @@ static void EfiInitVga(struct mman *mm, EFI_SYSTEM_TABLE *SystemTable) { case 0x0000F800U: if (le32toh(PixelInfo->ReservedMask) <= 0x0000FFFFU && le32toh(PixelInfo->GreenMask) == 0x000007E0U && - le32toh(PixelInfo->BlueMask) == 0x0000001FU) { + le32toh(PixelInfo->BlueMask) == 0x0000001FU) { vid_typ = PC_VIDEO_BGR565; bytes_per_pix = 2; } @@ -94,7 +94,7 @@ static void EfiInitVga(struct mman *mm, EFI_SYSTEM_TABLE *SystemTable) { case 0x00007C00U: if (le32toh(PixelInfo->ReservedMask) <= 0x0000FFFFU && le32toh(PixelInfo->GreenMask) == 0x000003E0U && - le32toh(PixelInfo->BlueMask) == 0x0000001FU) { + le32toh(PixelInfo->BlueMask) == 0x0000001FU) { vid_typ = PC_VIDEO_BGR555; bytes_per_pix = 2; } @@ -172,12 +172,12 @@ __msabi noasan EFI_STATUS EfiMain(EFI_HANDLE ImageHandle, (0x7e000 - 0x79000 + sizeof(struct EfiArgs) + 4095) / 4096, &Address); Address = IMAGE_BASE_PHYSICAL; SystemTable->BootServices->AllocatePages( - AllocateAddress, EfiRuntimeServicesData, - ((_end - _base) + 4095) / 4096, &Address); + AllocateAddress, EfiRuntimeServicesData, ((_end - _base) + 4095) / 4096, + &Address); mm = (struct mman *)0x0500; SystemTable->BootServices->SetMem(mm, sizeof(*mm), 0); - SystemTable->BootServices->SetMem((void *)0x79000, - 0x7e000 - 0x79000 + sizeof(struct EfiArgs), 0); + SystemTable->BootServices->SetMem( + (void *)0x79000, 0x7e000 - 0x79000 + sizeof(struct EfiArgs), 0); SystemTable->BootServices->CopyMem((void *)IMAGE_BASE_PHYSICAL, _base, _end - _base); @@ -215,8 +215,7 @@ __msabi noasan EFI_STATUS EfiMain(EFI_HANDLE ImageHandle, case EfiLoaderData: case EfiBootServicesCode: case EfiBootServicesData: - if (Desc->PhysicalStart != 0) - break; + if (Desc->PhysicalStart != 0) break; /* fallthrough */ case EfiConventionalMemory: mm->e820[j].addr = Desc->PhysicalStart; diff --git a/libc/runtime/finddebugbinary.c b/libc/runtime/finddebugbinary.c index ff83b45db..7e534e9f7 100644 --- a/libc/runtime/finddebugbinary.c +++ b/libc/runtime/finddebugbinary.c @@ -16,8 +16,8 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/intrin/bits.h" #include "libc/calls/calls.h" +#include "libc/intrin/bits.h" #include "libc/macros.internal.h" #include "libc/runtime/runtime.h" #include "libc/runtime/symbols.internal.h" diff --git a/libc/runtime/mman.internal.h b/libc/runtime/mman.internal.h index 55ea6586d..e51f05cd3 100644 --- a/libc/runtime/mman.internal.h +++ b/libc/runtime/mman.internal.h @@ -39,9 +39,9 @@ struct mman { struct { /* 0x1d48 — starting cursor pos. */ unsigned short y, x; } pc_video_curs_info; - unsigned short pc_video_char_height; /* 0x1d4c — character height (useful - for setting cursor shape - in text mode) */ + unsigned short pc_video_char_height; /* 0x1d4c — character height (useful + for setting cursor shape + in text mode) */ }; COSMOPOLITAN_C_END_ diff --git a/libc/runtime/mremap.c b/libc/runtime/mremap.c index 4377be212..ec479d8ff 100644 --- a/libc/runtime/mremap.c +++ b/libc/runtime/mremap.c @@ -16,6 +16,7 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ +#include "libc/sysv/consts/mremap.h" #include "libc/assert.h" #include "libc/calls/calls.h" #include "libc/dce.h" @@ -30,7 +31,6 @@ #include "libc/runtime/memtrack.internal.h" #include "libc/runtime/runtime.h" #include "libc/sysv/consts/map.h" -#include "libc/sysv/consts/mremap.h" #include "libc/sysv/errfuns.h" #define IP(X) (intptr_t)(X) diff --git a/libc/runtime/msync.c b/libc/runtime/msync.c index b55e98992..a857a6045 100644 --- a/libc/runtime/msync.c +++ b/libc/runtime/msync.c @@ -16,6 +16,7 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ +#include "libc/sysv/consts/msync.h" #include "libc/assert.h" #include "libc/calls/calls.h" #include "libc/calls/cp.internal.h" @@ -24,7 +25,6 @@ #include "libc/dce.h" #include "libc/intrin/strace.internal.h" #include "libc/macros.internal.h" -#include "libc/sysv/consts/msync.h" /** * Synchronize memory mapping changes to disk. diff --git a/libc/runtime/stackchkfaillocal.c b/libc/runtime/stackchkfaillocal.c index 16a1f7e8d..bcc6f276f 100644 --- a/libc/runtime/stackchkfaillocal.c +++ b/libc/runtime/stackchkfaillocal.c @@ -18,4 +18,6 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/runtime/internal.h" -void __stack_chk_fail_local(void) { __stack_chk_fail(); } +void __stack_chk_fail_local(void) { + __stack_chk_fail(); +} diff --git a/libc/runtime/symbolic.h b/libc/runtime/symbolic.h index 8a6280a84..a0e282d74 100644 --- a/libc/runtime/symbolic.h +++ b/libc/runtime/symbolic.h @@ -7,7 +7,7 @@ #define LITERALLY(NAME) $NAME /* clang-format on */ #else -#define SYMBOLIC(NAME) NAME +#define SYMBOLIC(NAME) NAME #define LITERALLY(NAME) NAME #endif diff --git a/libc/runtime/sysconf.c b/libc/runtime/sysconf.c index 51d1f7977..eff1f8b9f 100644 --- a/libc/runtime/sysconf.c +++ b/libc/runtime/sysconf.c @@ -16,9 +16,9 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ +#include "libc/runtime/sysconf.h" #include "libc/runtime/clktck.h" #include "libc/runtime/runtime.h" -#include "libc/runtime/sysconf.h" #include "libc/sysv/consts/limits.h" #include "libc/sysv/consts/rlimit.h" diff --git a/libc/sock/epoll.c b/libc/sock/epoll.c index ea504746b..e476bdc57 100644 --- a/libc/sock/epoll.c +++ b/libc/sock/epoll.c @@ -32,6 +32,7 @@ │ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. │ │ │ ╚─────────────────────────────────────────────────────────────────────────────*/ +#include "libc/sock/epoll.h" #include "libc/assert.h" #include "libc/calls/cp.internal.h" #include "libc/calls/internal.h" @@ -67,7 +68,6 @@ #include "libc/nt/synchronization.h" #include "libc/nt/winsock.h" #include "libc/runtime/runtime.h" -#include "libc/sock/epoll.h" #include "libc/sock/internal.h" #include "libc/str/str.h" #include "libc/sysv/consts/epoll.h" diff --git a/libc/sock/gethostips.c b/libc/sock/gethostips.c index 40a339ebe..8cd5e1874 100644 --- a/libc/sock/gethostips.c +++ b/libc/sock/gethostips.c @@ -16,11 +16,11 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/intrin/bits.h" #include "libc/calls/calls.h" #include "libc/calls/syscall-sysv.internal.h" #include "libc/calls/syscall_support-nt.internal.h" #include "libc/dce.h" +#include "libc/intrin/bits.h" #include "libc/macros.internal.h" #include "libc/mem/mem.h" #include "libc/nt/errors.h" diff --git a/libc/sock/getsockopt.c b/libc/sock/getsockopt.c index ac890fbc5..8b4126e85 100644 --- a/libc/sock/getsockopt.c +++ b/libc/sock/getsockopt.c @@ -17,10 +17,10 @@ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/calls/internal.h" -#include "libc/intrin/strace.internal.h" #include "libc/dce.h" #include "libc/intrin/asan.internal.h" #include "libc/intrin/describeflags.internal.h" +#include "libc/intrin/strace.internal.h" #include "libc/sock/internal.h" #include "libc/sock/sock.h" #include "libc/sock/syscall_fd.internal.h" diff --git a/libc/sock/listen.c b/libc/sock/listen.c index 29820295e..0042cf1d2 100644 --- a/libc/sock/listen.c +++ b/libc/sock/listen.c @@ -17,8 +17,8 @@ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/calls/internal.h" -#include "libc/intrin/strace.internal.h" #include "libc/dce.h" +#include "libc/intrin/strace.internal.h" #include "libc/sock/internal.h" #include "libc/sock/sock.h" #include "libc/sock/syscall_fd.internal.h" diff --git a/libc/sock/select.c b/libc/sock/select.c index 71b439ef5..5e3791b67 100644 --- a/libc/sock/select.c +++ b/libc/sock/select.c @@ -16,6 +16,7 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ +#include "libc/sock/select.h" #include "libc/calls/cp.internal.h" #include "libc/calls/struct/timeval.h" #include "libc/dce.h" @@ -23,7 +24,6 @@ #include "libc/intrin/describeflags.internal.h" #include "libc/intrin/strace.internal.h" #include "libc/sock/internal.h" -#include "libc/sock/select.h" #include "libc/sysv/errfuns.h" /** diff --git a/libc/sock/setsockopt.c b/libc/sock/setsockopt.c index 8c6c823ad..7eb6013c6 100644 --- a/libc/sock/setsockopt.c +++ b/libc/sock/setsockopt.c @@ -17,11 +17,11 @@ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/calls/internal.h" -#include "libc/intrin/strace.internal.h" #include "libc/dce.h" #include "libc/errno.h" #include "libc/intrin/asan.internal.h" #include "libc/intrin/describeflags.internal.h" +#include "libc/intrin/strace.internal.h" #include "libc/nt/winsock.h" #include "libc/sock/internal.h" #include "libc/sock/sock.h" diff --git a/libc/sock/shutdown.c b/libc/sock/shutdown.c index 55d95f355..5ccef7e6b 100644 --- a/libc/sock/shutdown.c +++ b/libc/sock/shutdown.c @@ -17,9 +17,9 @@ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/calls/internal.h" -#include "libc/intrin/strace.internal.h" #include "libc/calls/struct/fd.internal.h" #include "libc/dce.h" +#include "libc/intrin/strace.internal.h" #include "libc/sock/internal.h" #include "libc/sock/sock.h" #include "libc/sock/syscall_fd.internal.h" diff --git a/libc/sock/sockatmark.c b/libc/sock/sockatmark.c index ca84f8c0f..24a9fedfe 100644 --- a/libc/sock/sockatmark.c +++ b/libc/sock/sockatmark.c @@ -16,9 +16,9 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/intrin/strace.internal.h" #include "libc/calls/syscall-sysv.internal.h" #include "libc/dce.h" +#include "libc/intrin/strace.internal.h" #include "libc/nt/winsock.h" #include "libc/sock/sock.h" #include "libc/sysv/consts/sio.h" diff --git a/libc/sock/socket.c b/libc/sock/socket.c index d42c584ba..983625c53 100644 --- a/libc/sock/socket.c +++ b/libc/sock/socket.c @@ -16,9 +16,9 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/intrin/strace.internal.h" #include "libc/dce.h" #include "libc/intrin/describeflags.internal.h" +#include "libc/intrin/strace.internal.h" #include "libc/sock/internal.h" #include "libc/sock/sock.h" #include "libc/sysv/consts/af.h" diff --git a/libc/sock/syslog.c b/libc/sock/syslog.c index 4b2f8a255..84fd6cdf6 100644 --- a/libc/sock/syslog.c +++ b/libc/sock/syslog.c @@ -16,6 +16,7 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ +#include "libc/sock/syslog.h" #include "libc/calls/blockcancel.internal.h" #include "libc/calls/calls.h" #include "libc/calls/dprintf.h" @@ -31,7 +32,6 @@ #include "libc/nt/runtime.h" #include "libc/sock/sock.h" #include "libc/sock/struct/sockaddr.h" -#include "libc/sock/syslog.h" #include "libc/stdio/stdio.h" #include "libc/str/str.h" #include "libc/sysv/consts/af.h" diff --git a/libc/stdio/dtoa.c b/libc/stdio/dtoa.c index cf7b5f55a..7d8b69778 100644 --- a/libc/stdio/dtoa.c +++ b/libc/stdio/dtoa.c @@ -27,8 +27,8 @@ #include "libc/fmt/fmt.h" #include "libc/fmt/fmt.internal.h" #include "libc/fmt/internal.h" -#include "libc/macros.internal.h" #include "libc/intrin/bsr.h" +#include "libc/macros.internal.h" #include "libc/str/str.h" #include "third_party/gdtoa/gdtoa.h" diff --git a/libc/stdio/fsetpos.c b/libc/stdio/fsetpos.c index 899ab69e0..4bf1d6d09 100644 --- a/libc/stdio/fsetpos.c +++ b/libc/stdio/fsetpos.c @@ -16,8 +16,8 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/stdio/stdio.h" #include "libc/calls/calls.h" +#include "libc/stdio/stdio.h" int fsetpos(FILE *stream, const fpos_t *pos) { return fseek(stream, *pos, SEEK_SET); diff --git a/libc/stdio/iconv.c b/libc/stdio/iconv.c index 8a09fda96..cb147b149 100644 --- a/libc/stdio/iconv.c +++ b/libc/stdio/iconv.c @@ -25,9 +25,9 @@ │ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. │ │ │ ╚─────────────────────────────────────────────────────────────────────────────*/ +#include "libc/stdio/iconv.h" #include "libc/errno.h" #include "libc/mem/mem.h" -#include "libc/stdio/iconv.h" #include "libc/str/locale.h" #include "libc/str/str.h" #include "libc/thread/tls.h" diff --git a/libc/stdio/posix_spawn.c b/libc/stdio/posix_spawn.c index cdb8ee70d..9cd4604ad 100644 --- a/libc/stdio/posix_spawn.c +++ b/libc/stdio/posix_spawn.c @@ -16,13 +16,13 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ +#include "libc/stdio/posix_spawn.h" #include "libc/calls/calls.h" #include "libc/calls/struct/sigaction.h" #include "libc/calls/struct/sigset.h" #include "libc/errno.h" #include "libc/intrin/weaken.h" #include "libc/runtime/runtime.h" -#include "libc/stdio/posix_spawn.h" #include "libc/stdio/posix_spawn.internal.h" #include "libc/sysv/consts/sig.h" #include "libc/thread/thread.h" diff --git a/libc/stdio/rand.c b/libc/stdio/rand.c index fb4800833..1c5524213 100644 --- a/libc/stdio/rand.c +++ b/libc/stdio/rand.c @@ -16,9 +16,9 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ +#include "libc/stdio/rand.h" #include "libc/stdio/internal.h" #include "libc/stdio/lcg.internal.h" -#include "libc/stdio/rand.h" /** * Returns 31-bit linear congruential pseudorandom number, e.g. diff --git a/libc/str/bcmp.c b/libc/str/bcmp.c index 00616752b..3ed4de19e 100644 --- a/libc/str/bcmp.c +++ b/libc/str/bcmp.c @@ -16,8 +16,8 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/intrin/likely.h" #include "libc/dce.h" +#include "libc/intrin/likely.h" #include "libc/nexgen32e/x86feature.h" #include "libc/str/str.h" diff --git a/libc/str/blake2.c b/libc/str/blake2.c index 5a663e112..815c3691f 100644 --- a/libc/str/blake2.c +++ b/libc/str/blake2.c @@ -16,9 +16,9 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ +#include "libc/str/blake2.h" #include "libc/assert.h" #include "libc/macros.internal.h" -#include "libc/str/blake2.h" #include "libc/str/str.h" #define ROR(v, n) (((v) >> (n)) | ((v) << (64 - (n)))) diff --git a/libc/str/highwayhash64.c b/libc/str/highwayhash64.c index 1a166e076..5d5df3a85 100644 --- a/libc/str/highwayhash64.c +++ b/libc/str/highwayhash64.c @@ -15,8 +15,8 @@ │ See the License for the specific language governing permissions and │ │ limitations under the License. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/intrin/bits.h" #include "libc/str/highwayhash64.h" +#include "libc/intrin/bits.h" asm(".ident\t\"\\n\\n\ HighwayHash (Apache 2.0)\\n\ diff --git a/libc/str/internal.h b/libc/str/internal.h index b8c5879be..eff39b23f 100644 --- a/libc/str/internal.h +++ b/libc/str/internal.h @@ -17,8 +17,8 @@ nodebuginfo forceinline bool32 iscont(wint_t c) { char *strstr_sse42(const char *, const char *) strlenesque _Hide; char16_t *strstr16_sse42(const char16_t *, const char16_t *) strlenesque _Hide; -void *memmem_sse42(const void *, size_t, const void *, - size_t) strlenesque _Hide; +void *memmem_sse42(const void *, size_t, const void *, size_t) +strlenesque _Hide; void sha256_x86(uint32_t[hasatleast 8], const uint8_t[hasatleast 64], uint32_t) _Hide; diff --git a/libc/str/isdigit_l.c b/libc/str/isdigit_l.c index 9eed85682..c6aa06f73 100644 --- a/libc/str/isdigit_l.c +++ b/libc/str/isdigit_l.c @@ -16,8 +16,8 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/str/str.h" #include "libc/str/locale.h" +#include "libc/str/str.h" int isdigit_l(int c, locale_t l) { return iswdigit(c); diff --git a/libc/str/islower_l.c b/libc/str/islower_l.c index 1558e76ac..0a437afd5 100644 --- a/libc/str/islower_l.c +++ b/libc/str/islower_l.c @@ -16,8 +16,8 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/str/str.h" #include "libc/str/locale.h" +#include "libc/str/str.h" int islower_l(int c, locale_t l) { return islower(c); diff --git a/libc/str/isupper_l.c b/libc/str/isupper_l.c index a95a84b29..f4c2c61ea 100644 --- a/libc/str/isupper_l.c +++ b/libc/str/isupper_l.c @@ -16,8 +16,8 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/str/str.h" #include "libc/str/locale.h" +#include "libc/str/str.h" int isupper_l(int c, locale_t l) { return isupper(c); diff --git a/libc/str/isutf8.c b/libc/str/isutf8.c index 50e04c147..814d66cc9 100644 --- a/libc/str/isutf8.c +++ b/libc/str/isutf8.c @@ -16,9 +16,9 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/intrin/likely.h" #include "libc/dce.h" #include "libc/intrin/asan.internal.h" +#include "libc/intrin/likely.h" #include "libc/str/str.h" typedef char xmm_t __attribute__((__vector_size__(16), __aligned__(16))); diff --git a/libc/str/iswalpha_l.c b/libc/str/iswalpha_l.c index 0f07f3285..2382dd560 100644 --- a/libc/str/iswalpha_l.c +++ b/libc/str/iswalpha_l.c @@ -16,8 +16,8 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/str/str.h" #include "libc/str/locale.h" +#include "libc/str/str.h" int iswalpha_l(wint_t c, locale_t l) { return iswalpha(c); diff --git a/libc/str/iswblank_l.c b/libc/str/iswblank_l.c index d689b62a2..fd2320500 100644 --- a/libc/str/iswblank_l.c +++ b/libc/str/iswblank_l.c @@ -16,8 +16,8 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/str/str.h" #include "libc/str/locale.h" +#include "libc/str/str.h" int iswblank_l(wint_t c, locale_t l) { return iswblank(c); diff --git a/libc/str/iswcntrl_l.c b/libc/str/iswcntrl_l.c index 088b535b2..e38525447 100644 --- a/libc/str/iswcntrl_l.c +++ b/libc/str/iswcntrl_l.c @@ -16,8 +16,8 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/str/str.h" #include "libc/str/locale.h" +#include "libc/str/str.h" int iswcntrl_l(wint_t c, locale_t l) { return iswcntrl(c); diff --git a/libc/str/iswdigit_l.c b/libc/str/iswdigit_l.c index b981c7d9b..5738a1dc0 100644 --- a/libc/str/iswdigit_l.c +++ b/libc/str/iswdigit_l.c @@ -16,8 +16,8 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/str/str.h" #include "libc/str/locale.h" +#include "libc/str/str.h" int iswdigit_l(wint_t c, locale_t l) { return iswdigit(c); diff --git a/libc/str/iswlower_l.c b/libc/str/iswlower_l.c index 9b8a95f62..e5fc19f31 100644 --- a/libc/str/iswlower_l.c +++ b/libc/str/iswlower_l.c @@ -16,8 +16,8 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/str/str.h" #include "libc/str/locale.h" +#include "libc/str/str.h" int iswlower_l(wint_t c, locale_t l) { return iswlower(c); diff --git a/libc/str/iswprint_l.c b/libc/str/iswprint_l.c index af3cd8925..d95218571 100644 --- a/libc/str/iswprint_l.c +++ b/libc/str/iswprint_l.c @@ -16,8 +16,8 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/str/str.h" #include "libc/str/locale.h" +#include "libc/str/str.h" int iswprint_l(wint_t c, locale_t l) { return iswprint(c); diff --git a/libc/str/iswpunct_l.c b/libc/str/iswpunct_l.c index dca7f55f7..e99c93b2b 100644 --- a/libc/str/iswpunct_l.c +++ b/libc/str/iswpunct_l.c @@ -16,8 +16,8 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/str/str.h" #include "libc/str/locale.h" +#include "libc/str/str.h" int iswpunct_l(wint_t c, locale_t l) { return iswpunct(c); diff --git a/libc/str/iswspace_l.c b/libc/str/iswspace_l.c index 899dc5014..e79eeaa74 100644 --- a/libc/str/iswspace_l.c +++ b/libc/str/iswspace_l.c @@ -16,8 +16,8 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/str/str.h" #include "libc/str/locale.h" +#include "libc/str/str.h" int iswspace_l(wint_t c, locale_t l) { return iswspace(c); diff --git a/libc/str/iswupper_l.c b/libc/str/iswupper_l.c index 08ef1de48..517eb31c9 100644 --- a/libc/str/iswupper_l.c +++ b/libc/str/iswupper_l.c @@ -16,8 +16,8 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/str/str.h" #include "libc/str/locale.h" +#include "libc/str/str.h" int iswupper_l(wint_t c, locale_t l) { return iswupper(c); diff --git a/libc/str/iswxdigit_l.c b/libc/str/iswxdigit_l.c index c16c63e5a..f7fb95fbd 100644 --- a/libc/str/iswxdigit_l.c +++ b/libc/str/iswxdigit_l.c @@ -16,8 +16,8 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/str/str.h" #include "libc/str/locale.h" +#include "libc/str/str.h" int iswxdigit_l(wint_t c, locale_t l) { return iswxdigit(c); diff --git a/libc/str/isxdigit_l.c b/libc/str/isxdigit_l.c index ed6f078af..1cc1214e4 100644 --- a/libc/str/isxdigit_l.c +++ b/libc/str/isxdigit_l.c @@ -16,8 +16,8 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/str/str.h" #include "libc/str/locale.h" +#include "libc/str/str.h" int isxdigit_l(int c, locale_t l) { return iswxdigit(c); diff --git a/libc/str/newlocale.c b/libc/str/newlocale.c index b6b696716..5383d76ea 100644 --- a/libc/str/newlocale.c +++ b/libc/str/newlocale.c @@ -16,8 +16,8 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/sysv/errfuns.h" #include "libc/str/locale.h" +#include "libc/sysv/errfuns.h" locale_t newlocale(int catmask, const char *locale, locale_t base) { // TODO: implement me diff --git a/libc/str/smoothsort.c b/libc/str/smoothsort.c index f9b4feb99..658aa920f 100644 --- a/libc/str/smoothsort.c +++ b/libc/str/smoothsort.c @@ -22,8 +22,8 @@ │ IN THE SOFTWARE. │ └─────────────────────────────────────────────────────────────────────────────*/ #include "libc/assert.h" -#include "libc/mem/alg.h" #include "libc/intrin/bsf.h" +#include "libc/mem/alg.h" #include "libc/str/str.h" asm(".ident\t\"\\n\\n\ diff --git a/libc/str/str.h b/libc/str/str.h index ef1e03b14..f53c4d843 100644 --- a/libc/str/str.h +++ b/libc/str/str.h @@ -79,12 +79,14 @@ size_t wcsnlen(const wchar_t *, size_t) strlenesque; size_t wcsnlen_s(const wchar_t *, size_t); wchar_t *wcschr(const wchar_t *, wchar_t) strlenesque; wchar_t *wmemchr(const wchar_t *, wchar_t, size_t) strlenesque; -wchar_t *wcschrnul(const wchar_t *, wchar_t) strlenesque returnsnonnull; +wchar_t *wcschrnul(const wchar_t *, wchar_t) +strlenesque returnsnonnull; char *strstr(const char *, const char *) strlenesque; char *strcasestr(const char *, const char *) strlenesque; char16_t *strstr16(const char16_t *, const char16_t *) strlenesque; wchar_t *wcsstr(const wchar_t *, const wchar_t *) strlenesque; -void *rawwmemchr(const void *, wchar_t) strlenesque returnsnonnull; +void *rawwmemchr(const void *, wchar_t) +strlenesque returnsnonnull; int strcmp(const char *, const char *) strlenesque; int strncmp(const char *, const char *, size_t) strlenesque; int strcmp16(const char16_t *, const char16_t *) strlenesque; @@ -154,7 +156,8 @@ wchar_t *wmemcpy(wchar_t *, const wchar_t *, size_t) memcpyesque; wchar_t *wmempcpy(wchar_t *, const wchar_t *, size_t) memcpyesque; wchar_t *wmemmove(wchar_t *, const wchar_t *, size_t) memcpyesque; void *tinymemccpy(void *, const void *, int, size_t) memcpyesque; -void *memmem(const void *, size_t, const void *, size_t) libcesque nosideeffect; +void *memmem(const void *, size_t, const void *, size_t) +libcesque nosideeffect; ssize_t strfmon(char *, size_t, const char *, ...); long a64l(const char *); char *l64a(long); @@ -211,11 +214,14 @@ wint_t towctrans(wint_t, wctrans_t); char *strsignal(int) returnsnonnull libcesque; char *strsignal_r(int, char[hasatleast 15]) returnsnonnull libcesque; char *strerror(int) returnsnonnull dontthrow nocallback; -int strerror_r(int, char *, size_t) dontthrow nocallback; -int strerror_wr(int, uint32_t, char *, size_t) dontthrow nocallback; +int strerror_r(int, char *, size_t) +dontthrow nocallback; +int strerror_wr(int, uint32_t, char *, size_t) +dontthrow nocallback; char *_strerrno(int) nosideeffect libcesque; char *_strerdoc(int) nosideeffect libcesque; -int __xpg_strerror_r(int, char *, size_t) dontthrow nocallback; +int __xpg_strerror_r(int, char *, size_t) +dontthrow nocallback; COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ diff --git a/libc/str/strcasestr.c b/libc/str/strcasestr.c index 1d7d31877..af3f9e38d 100644 --- a/libc/str/strcasestr.c +++ b/libc/str/strcasestr.c @@ -16,9 +16,9 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ +#include "libc/str/str.h" #include "libc/dce.h" #include "libc/intrin/asan.internal.h" -#include "libc/str/str.h" #include "libc/str/tab.internal.h" typedef char xmm_t __attribute__((__vector_size__(16), __aligned__(16))); diff --git a/libc/str/strcoll_l.c b/libc/str/strcoll_l.c index a0477aecc..4509e2654 100644 --- a/libc/str/strcoll_l.c +++ b/libc/str/strcoll_l.c @@ -16,8 +16,8 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/str/str.h" #include "libc/str/locale.h" +#include "libc/str/str.h" int strcoll_l(const char *p, const char *q, locale_t l) { return strcmp(p, q); diff --git a/libc/str/strnwidth.c b/libc/str/strnwidth.c index da75999d0..307e5c043 100644 --- a/libc/str/strnwidth.c +++ b/libc/str/strnwidth.c @@ -16,11 +16,11 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ +#include "libc/intrin/bsf.h" #include "libc/intrin/pcmpgtb.h" #include "libc/intrin/pmovmskb.h" #include "libc/intrin/psubb.h" #include "libc/macros.internal.h" -#include "libc/intrin/bsf.h" #include "libc/str/str.h" #include "libc/str/thompike.h" #include "libc/str/unicode.h" diff --git a/libc/str/strstr.c b/libc/str/strstr.c index af2150c82..7e32c4684 100644 --- a/libc/str/strstr.c +++ b/libc/str/strstr.c @@ -16,9 +16,9 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ +#include "libc/str/str.h" #include "libc/dce.h" #include "libc/intrin/asan.internal.h" -#include "libc/str/str.h" typedef char xmm_t __attribute__((__vector_size__(16), __aligned__(16))); diff --git a/libc/str/strxfrm_l.c b/libc/str/strxfrm_l.c index b0f1c7e30..6672189f1 100644 --- a/libc/str/strxfrm_l.c +++ b/libc/str/strxfrm_l.c @@ -16,8 +16,8 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/str/str.h" #include "libc/str/locale.h" +#include "libc/str/str.h" size_t strxfrm_l(char *dest, const char *src, size_t count, locale_t l) { return strxfrm(dest, src, count); diff --git a/libc/str/timingsafe_bcmp.c b/libc/str/timingsafe_bcmp.c index 7012f761d..4b35fb02e 100644 --- a/libc/str/timingsafe_bcmp.c +++ b/libc/str/timingsafe_bcmp.c @@ -16,17 +16,17 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/intrin/likely.h" #include "libc/dce.h" #include "libc/intrin/asan.internal.h" +#include "libc/intrin/likely.h" #include "libc/nexgen32e/x86feature.h" #include "libc/str/str.h" typedef uint64_t xmm_t __attribute__((__vector_size__(16), __aligned__(1))); noasan static dontinline antiquity unsigned timingsafe_bcmp_sse(const char *p, - const char *q, - size_t n) { + const char *q, + size_t n) { uint64_t w; xmm_t a = {0}; while (n > 16 + 16) { diff --git a/libc/str/tolower_l.c b/libc/str/tolower_l.c index 0dbb85e56..91ad9fd0a 100644 --- a/libc/str/tolower_l.c +++ b/libc/str/tolower_l.c @@ -16,8 +16,8 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/str/str.h" #include "libc/str/locale.h" +#include "libc/str/str.h" int tolower_l(int c, locale_t l) { return tolower(c); diff --git a/libc/str/toupper_l.c b/libc/str/toupper_l.c index a4edcc6c7..47fb05bd3 100644 --- a/libc/str/toupper_l.c +++ b/libc/str/toupper_l.c @@ -16,8 +16,8 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/str/str.h" #include "libc/str/locale.h" +#include "libc/str/str.h" int toupper_l(int c, locale_t l) { return toupper(c); diff --git a/libc/str/towlower_l.c b/libc/str/towlower_l.c index 90f338ec1..0f9bd9ca0 100644 --- a/libc/str/towlower_l.c +++ b/libc/str/towlower_l.c @@ -16,8 +16,8 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/str/str.h" #include "libc/str/locale.h" +#include "libc/str/str.h" wint_t towlower_l(wint_t c, locale_t l) { return towlower(c); diff --git a/libc/str/towupper_l.c b/libc/str/towupper_l.c index d4a72c07a..f8498db9b 100644 --- a/libc/str/towupper_l.c +++ b/libc/str/towupper_l.c @@ -16,8 +16,8 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/str/str.h" #include "libc/str/locale.h" +#include "libc/str/str.h" wint_t towupper_l(wint_t c, locale_t l) { return towupper(c); diff --git a/libc/str/uselocale.c b/libc/str/uselocale.c index ee5091b62..132cf7143 100644 --- a/libc/str/uselocale.c +++ b/libc/str/uselocale.c @@ -16,8 +16,8 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/sysv/errfuns.h" #include "libc/str/locale.h" +#include "libc/sysv/errfuns.h" locale_t uselocale(locale_t l) { // TODO: implement me! diff --git a/libc/str/wcscoll_l.c b/libc/str/wcscoll_l.c index 2e2fad18d..a4e5e27f6 100644 --- a/libc/str/wcscoll_l.c +++ b/libc/str/wcscoll_l.c @@ -16,8 +16,8 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/str/str.h" #include "libc/str/locale.h" +#include "libc/str/str.h" int wcscoll_l(const wchar_t *p, const wchar_t *q, locale_t l) { return wcscmp(p, q); diff --git a/libc/str/wcsxfrm_l.c b/libc/str/wcsxfrm_l.c index 25611bf38..9c11f6869 100644 --- a/libc/str/wcsxfrm_l.c +++ b/libc/str/wcsxfrm_l.c @@ -16,8 +16,8 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/str/str.h" #include "libc/str/locale.h" +#include "libc/str/str.h" size_t wcsxfrm_l(wchar_t *dest, const wchar_t *src, size_t count, locale_t l) { return wcsxfrm(dest, src, count); diff --git a/libc/thread/spawn.c b/libc/thread/spawn.c index 6c10ca19e..dbdfba38f 100644 --- a/libc/thread/spawn.c +++ b/libc/thread/spawn.c @@ -16,6 +16,7 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ +#include "libc/thread/spawn.h" #include "libc/assert.h" #include "libc/calls/calls.h" #include "libc/errno.h" @@ -32,7 +33,6 @@ #include "libc/sysv/consts/prot.h" #include "libc/sysv/errfuns.h" #include "libc/thread/posixthread.internal.h" -#include "libc/thread/spawn.h" #include "libc/thread/tls.h" #include "libc/thread/wait0.internal.h" diff --git a/libc/time/strftime.c b/libc/time/strftime.c index 9090c569b..46e4cf69b 100644 --- a/libc/time/strftime.c +++ b/libc/time/strftime.c @@ -19,9 +19,9 @@ #include "libc/fmt/fmt.h" #include "libc/inttypes.h" #include "libc/stdio/stdio.h" +#include "libc/str/locale.h" #include "libc/time/time.h" #include "libc/time/tz.internal.h" -#include "libc/str/locale.h" // clang-format off // converts broken-down timestamp to string diff --git a/libc/time/time.h b/libc/time/time.h index 6d455bd6e..b2784f207 100644 --- a/libc/time/time.h +++ b/libc/time/time.h @@ -19,7 +19,8 @@ extern int daylight; char *ctime(const int64_t *); char *ctime_r(const int64_t *, char[hasatleast 26]); -double difftime(int64_t, int64_t) dontthrow pureconst; +double difftime(int64_t, int64_t) +dontthrow pureconst; extern long double (*nowl)(void); int64_t clock(void); int64_t posix2time(int64_t) pureconst; diff --git a/libc/vga/readv-vga.c b/libc/vga/readv-vga.c index 2a761c6fd..a03ba3d8f 100644 --- a/libc/vga/readv-vga.c +++ b/libc/vga/readv-vga.c @@ -45,13 +45,10 @@ ssize_t sys_readv_vga(struct Fd *fd, const struct iovec *iov, int iovlen) { void *input = iov[i].iov_base; size_t len = iov[i].iov_len; res = _TtyRead(&_vga_tty, input, len); - if (res < 0) - break; + if (res < 0) break; redd += res; - if (redd != len) - return redd; + if (redd != len) return redd; } - if (!redd) - return res; + if (!redd) return res; return redd; } diff --git a/libc/vga/tty-graph.c b/libc/vga/tty-graph.c index 7a6f3429b..1c751ea1c 100644 --- a/libc/vga/tty-graph.c +++ b/libc/vga/tty-graph.c @@ -39,10 +39,10 @@ #undef KLOGTTY #define MAYUNROLLLOOPS unrollloops -#define COLOR TtyCanvasColor -#define BPP 32 -#define MAPCOLOR TtyGraphMapColor -#define DIRTY TtyGraphDirty +#define COLOR TtyCanvasColor +#define BPP 32 +#define MAPCOLOR TtyGraphMapColor +#define DIRTY TtyGraphDirty #undef UPDATE #define RESETDIRTY TtyGraphResetDirty #define DRAWBITMAP TtyGraphDrawBitmap diff --git a/libc/vga/vga-font-default.c b/libc/vga/vga-font-default.c index 4c74ebb03..9d97053d8 100644 --- a/libc/vga/vga-font-default.c +++ b/libc/vga/vga-font-default.c @@ -3,1439 +3,1630 @@ * * Command line arguments: * NONASCII=0 SPARSE=1 COSMO=1 X=_vga_ C=... .../8x13B.bdf - * + * * Font information: * COMMENT "$ucs-fonts: 8x13B.bdf,v 1.28 2002-11-15 18:23:23+00 mgk25 Rel $" * COMMENT "Send bug reports to Markus Kuhn " * COPYRIGHT "Public domain font. Share and enjoy." - * + * * Extra comments: * + xorg.freedesktop.org/releases/individual/font/font-misc-misc-1.1.1.tar.bz2 */ -const uint8_t _vga_font_default_direct[95][13] = { - [0] = { /* 32 */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [1] = { /* 33 */ - 0x00, /* ........ */ - 0x18, /* ...##... */ - 0x18, /* ...##... */ - 0x18, /* ...##... */ - 0x18, /* ...##... */ - 0x18, /* ...##... */ - 0x18, /* ...##... */ - 0x18, /* ...##... */ - 0x00, /* ........ */ - 0x18, /* ...##... */ - 0x18, /* ...##... */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [2] = { /* 34 */ - 0x00, /* ........ */ - 0x6c, /* .##.##.. */ - 0x6c, /* .##.##.. */ - 0x6c, /* .##.##.. */ - 0x6c, /* .##.##.. */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [3] = { /* 35 */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x6c, /* .##.##.. */ - 0x6c, /* .##.##.. */ - 0xfe, /* #######. */ - 0xfe, /* #######. */ - 0x6c, /* .##.##.. */ - 0xfe, /* #######. */ - 0xfe, /* #######. */ - 0x6c, /* .##.##.. */ - 0x6c, /* .##.##.. */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [4] = { /* 36 */ - 0x00, /* ........ */ - 0x10, /* ...#.... */ - 0x7c, /* .#####.. */ - 0xd6, /* ##.#.##. */ - 0xd0, /* ##.#.... */ - 0xf0, /* ####.... */ - 0x7c, /* .#####.. */ - 0x1e, /* ...####. */ - 0x16, /* ...#.##. */ - 0xd6, /* ##.#.##. */ - 0x7c, /* .#####.. */ - 0x10, /* ...#.... */ - 0x00, /* ........ */ - }, - [5] = { /* 37 */ - 0x00, /* ........ */ - 0xe6, /* ###..##. */ - 0xa6, /* #.#..##. */ - 0xec, /* ###.##.. */ - 0x18, /* ...##... */ - 0x18, /* ...##... */ - 0x30, /* ..##.... */ - 0x30, /* ..##.... */ - 0x6e, /* .##.###. */ - 0xca, /* ##..#.#. */ - 0xce, /* ##..###. */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [6] = { /* 38 */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x78, /* .####... */ - 0xcc, /* ##..##.. */ - 0xcc, /* ##..##.. */ - 0x78, /* .####... */ - 0xce, /* ##..###. */ - 0xcc, /* ##..##.. */ - 0x7e, /* .######. */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [7] = { /* 39 */ - 0x00, /* ........ */ - 0x18, /* ...##... */ - 0x18, /* ...##... */ - 0x18, /* ...##... */ - 0x18, /* ...##... */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [8] = { /* 40 */ - 0x00, /* ........ */ - 0x0c, /* ....##.. */ - 0x18, /* ...##... */ - 0x30, /* ..##.... */ - 0x30, /* ..##.... */ - 0x60, /* .##..... */ - 0x60, /* .##..... */ - 0x60, /* .##..... */ - 0x30, /* ..##.... */ - 0x30, /* ..##.... */ - 0x18, /* ...##... */ - 0x0c, /* ....##.. */ - 0x00, /* ........ */ - }, - [9] = { /* 41 */ - 0x00, /* ........ */ - 0x60, /* .##..... */ - 0x30, /* ..##.... */ - 0x18, /* ...##... */ - 0x18, /* ...##... */ - 0x0c, /* ....##.. */ - 0x0c, /* ....##.. */ - 0x0c, /* ....##.. */ - 0x18, /* ...##... */ - 0x18, /* ...##... */ - 0x30, /* ..##.... */ - 0x60, /* .##..... */ - 0x00, /* ........ */ - }, - [10] = { /* 42 */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x10, /* ...#.... */ - 0x10, /* ...#.... */ - 0xfe, /* #######. */ - 0x38, /* ..###... */ - 0x38, /* ..###... */ - 0x6c, /* .##.##.. */ - 0x44, /* .#...#.. */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [11] = { /* 43 */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x18, /* ...##... */ - 0x18, /* ...##... */ - 0x7e, /* .######. */ - 0x7e, /* .######. */ - 0x18, /* ...##... */ - 0x18, /* ...##... */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [12] = { /* 44 */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x3c, /* ..####.. */ - 0x1c, /* ...###.. */ - 0x1c, /* ...###.. */ - 0x18, /* ...##... */ - 0x30, /* ..##.... */ - 0x00, /* ........ */ - }, - [13] = { /* 45 */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x7e, /* .######. */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [14] = { /* 46 */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x18, /* ...##... */ - 0x3c, /* ..####.. */ - 0x18, /* ...##... */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [15] = { /* 47 */ - 0x00, /* ........ */ - 0x02, /* ......#. */ - 0x06, /* .....##. */ - 0x06, /* .....##. */ - 0x0c, /* ....##.. */ - 0x18, /* ...##... */ - 0x30, /* ..##.... */ - 0x60, /* .##..... */ - 0xc0, /* ##...... */ - 0xc0, /* ##...... */ - 0x80, /* #....... */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [16] = { /* 48 */ - 0x00, /* ........ */ - 0x38, /* ..###... */ - 0x6c, /* .##.##.. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0x6c, /* .##.##.. */ - 0x38, /* ..###... */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [17] = { /* 49 */ - 0x00, /* ........ */ - 0x18, /* ...##... */ - 0x38, /* ..###... */ - 0x78, /* .####... */ - 0x18, /* ...##... */ - 0x18, /* ...##... */ - 0x18, /* ...##... */ - 0x18, /* ...##... */ - 0x18, /* ...##... */ - 0x18, /* ...##... */ - 0x7e, /* .######. */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [18] = { /* 50 */ - 0x00, /* ........ */ - 0x7c, /* .#####.. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0x06, /* .....##. */ - 0x0c, /* ....##.. */ - 0x18, /* ...##... */ - 0x30, /* ..##.... */ - 0x60, /* .##..... */ - 0xc0, /* ##...... */ - 0xfe, /* #######. */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [19] = { /* 51 */ - 0x00, /* ........ */ - 0xfe, /* #######. */ - 0x06, /* .....##. */ - 0x0c, /* ....##.. */ - 0x18, /* ...##... */ - 0x3c, /* ..####.. */ - 0x06, /* .....##. */ - 0x06, /* .....##. */ - 0x06, /* .....##. */ - 0xc6, /* ##...##. */ - 0x7c, /* .#####.. */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [20] = { /* 52 */ - 0x00, /* ........ */ - 0x0c, /* ....##.. */ - 0x1c, /* ...###.. */ - 0x3c, /* ..####.. */ - 0x6c, /* .##.##.. */ - 0xcc, /* ##..##.. */ - 0xcc, /* ##..##.. */ - 0xfe, /* #######. */ - 0x0c, /* ....##.. */ - 0x0c, /* ....##.. */ - 0x0c, /* ....##.. */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [21] = { /* 53 */ - 0x00, /* ........ */ - 0xfe, /* #######. */ - 0xc0, /* ##...... */ - 0xc0, /* ##...... */ - 0xfc, /* ######.. */ - 0xe6, /* ###..##. */ - 0x06, /* .....##. */ - 0x06, /* .....##. */ - 0x06, /* .....##. */ - 0xc6, /* ##...##. */ - 0x7c, /* .#####.. */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [22] = { /* 54 */ - 0x00, /* ........ */ - 0x3c, /* ..####.. */ - 0x60, /* .##..... */ - 0xc0, /* ##...... */ - 0xc0, /* ##...... */ - 0xfc, /* ######.. */ - 0xe6, /* ###..##. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xe6, /* ###..##. */ - 0x7c, /* .#####.. */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [23] = { /* 55 */ - 0x00, /* ........ */ - 0xfe, /* #######. */ - 0x06, /* .....##. */ - 0x06, /* .....##. */ - 0x0c, /* ....##.. */ - 0x18, /* ...##... */ - 0x18, /* ...##... */ - 0x30, /* ..##.... */ - 0x30, /* ..##.... */ - 0x30, /* ..##.... */ - 0x30, /* ..##.... */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [24] = { /* 56 */ - 0x00, /* ........ */ - 0x7c, /* .#####.. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0x7c, /* .#####.. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0x7c, /* .#####.. */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [25] = { /* 57 */ - 0x00, /* ........ */ - 0x7c, /* .#####.. */ - 0xce, /* ##..###. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xce, /* ##..###. */ - 0x7e, /* .######. */ - 0x06, /* .....##. */ - 0x06, /* .....##. */ - 0x0c, /* ....##.. */ - 0x78, /* .####... */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [26] = { /* 58 */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x18, /* ...##... */ - 0x3c, /* ..####.. */ - 0x18, /* ...##... */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x18, /* ...##... */ - 0x3c, /* ..####.. */ - 0x18, /* ...##... */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [27] = { /* 59 */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x18, /* ...##... */ - 0x3c, /* ..####.. */ - 0x18, /* ...##... */ - 0x00, /* ........ */ - 0x3c, /* ..####.. */ - 0x1c, /* ...###.. */ - 0x1c, /* ...###.. */ - 0x18, /* ...##... */ - 0x30, /* ..##.... */ - 0x00, /* ........ */ - }, - [28] = { /* 60 */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x06, /* .....##. */ - 0x0c, /* ....##.. */ - 0x18, /* ...##... */ - 0x30, /* ..##.... */ - 0x60, /* .##..... */ - 0x30, /* ..##.... */ - 0x18, /* ...##... */ - 0x0c, /* ....##.. */ - 0x06, /* .....##. */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [29] = { /* 61 */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x7e, /* .######. */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x7e, /* .######. */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [30] = { /* 62 */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x60, /* .##..... */ - 0x30, /* ..##.... */ - 0x18, /* ...##... */ - 0x0c, /* ....##.. */ - 0x06, /* .....##. */ - 0x0c, /* ....##.. */ - 0x18, /* ...##... */ - 0x30, /* ..##.... */ - 0x60, /* .##..... */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [31] = { /* 63 */ - 0x00, /* ........ */ - 0x7c, /* .#####.. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0x06, /* .....##. */ - 0x0c, /* ....##.. */ - 0x18, /* ...##... */ - 0x18, /* ...##... */ - 0x00, /* ........ */ - 0x18, /* ...##... */ - 0x18, /* ...##... */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [32] = { /* 64 */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x7c, /* .#####.. */ - 0xfe, /* #######. */ - 0xce, /* ##..###. */ - 0xde, /* ##.####. */ - 0xd2, /* ##.#..#. */ - 0xd2, /* ##.#..#. */ - 0xde, /* ##.####. */ - 0xe0, /* ###..... */ - 0x7e, /* .######. */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [33] = { /* 65 */ - 0x00, /* ........ */ - 0x38, /* ..###... */ - 0x7c, /* .#####.. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xfe, /* #######. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [34] = { /* 66 */ - 0x00, /* ........ */ - 0xfc, /* ######.. */ - 0x66, /* .##..##. */ - 0x66, /* .##..##. */ - 0x66, /* .##..##. */ - 0x7c, /* .#####.. */ - 0x66, /* .##..##. */ - 0x66, /* .##..##. */ - 0x66, /* .##..##. */ - 0x66, /* .##..##. */ - 0xfc, /* ######.. */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [35] = { /* 67 */ - 0x00, /* ........ */ - 0x7c, /* .#####.. */ - 0xe6, /* ###..##. */ - 0xc6, /* ##...##. */ - 0xc0, /* ##...... */ - 0xc0, /* ##...... */ - 0xc0, /* ##...... */ - 0xc0, /* ##...... */ - 0xc6, /* ##...##. */ - 0xe6, /* ###..##. */ - 0x7c, /* .#####.. */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [36] = { /* 68 */ - 0x00, /* ........ */ - 0xfc, /* ######.. */ - 0x66, /* .##..##. */ - 0x66, /* .##..##. */ - 0x66, /* .##..##. */ - 0x66, /* .##..##. */ - 0x66, /* .##..##. */ - 0x66, /* .##..##. */ - 0x66, /* .##..##. */ - 0x66, /* .##..##. */ - 0xfc, /* ######.. */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [37] = { /* 69 */ - 0x00, /* ........ */ - 0xfe, /* #######. */ - 0xc0, /* ##...... */ - 0xc0, /* ##...... */ - 0xc0, /* ##...... */ - 0xf8, /* #####... */ - 0xc0, /* ##...... */ - 0xc0, /* ##...... */ - 0xc0, /* ##...... */ - 0xc0, /* ##...... */ - 0xfe, /* #######. */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [38] = { /* 70 */ - 0x00, /* ........ */ - 0xfe, /* #######. */ - 0xc0, /* ##...... */ - 0xc0, /* ##...... */ - 0xc0, /* ##...... */ - 0xf8, /* #####... */ - 0xc0, /* ##...... */ - 0xc0, /* ##...... */ - 0xc0, /* ##...... */ - 0xc0, /* ##...... */ - 0xc0, /* ##...... */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [39] = { /* 71 */ - 0x00, /* ........ */ - 0x7c, /* .#####.. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xc0, /* ##...... */ - 0xc0, /* ##...... */ - 0xc0, /* ##...... */ - 0xce, /* ##..###. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0x7c, /* .#####.. */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [40] = { /* 72 */ - 0x00, /* ........ */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xfe, /* #######. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [41] = { /* 73 */ - 0x00, /* ........ */ - 0x3c, /* ..####.. */ - 0x18, /* ...##... */ - 0x18, /* ...##... */ - 0x18, /* ...##... */ - 0x18, /* ...##... */ - 0x18, /* ...##... */ - 0x18, /* ...##... */ - 0x18, /* ...##... */ - 0x18, /* ...##... */ - 0x3c, /* ..####.. */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [42] = { /* 74 */ - 0x00, /* ........ */ - 0x0e, /* ....###. */ - 0x06, /* .....##. */ - 0x06, /* .....##. */ - 0x06, /* .....##. */ - 0x06, /* .....##. */ - 0x06, /* .....##. */ - 0x06, /* .....##. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0x7c, /* .#####.. */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [43] = { /* 75 */ - 0x00, /* ........ */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xcc, /* ##..##.. */ - 0xd8, /* ##.##... */ - 0xf0, /* ####.... */ - 0xf0, /* ####.... */ - 0xd8, /* ##.##... */ - 0xcc, /* ##..##.. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [44] = { /* 76 */ - 0x00, /* ........ */ - 0xc0, /* ##...... */ - 0xc0, /* ##...... */ - 0xc0, /* ##...... */ - 0xc0, /* ##...... */ - 0xc0, /* ##...... */ - 0xc0, /* ##...... */ - 0xc0, /* ##...... */ - 0xc0, /* ##...... */ - 0xc2, /* ##....#. */ - 0xfe, /* #######. */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [45] = { /* 77 */ - 0x00, /* ........ */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xee, /* ###.###. */ - 0xfe, /* #######. */ - 0xd6, /* ##.#.##. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [46] = { /* 78 */ - 0x00, /* ........ */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xe6, /* ###..##. */ - 0xe6, /* ###..##. */ - 0xf6, /* ####.##. */ - 0xde, /* ##.####. */ - 0xce, /* ##..###. */ - 0xce, /* ##..###. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [47] = { /* 79 */ - 0x00, /* ........ */ - 0x7c, /* .#####.. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0x7c, /* .#####.. */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [48] = { /* 80 */ - 0x00, /* ........ */ - 0xfc, /* ######.. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xfc, /* ######.. */ - 0xc0, /* ##...... */ - 0xc0, /* ##...... */ - 0xc0, /* ##...... */ - 0xc0, /* ##...... */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [49] = { /* 81 */ - 0x00, /* ........ */ - 0x7c, /* .#####.. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xde, /* ##.####. */ - 0x7c, /* .#####.. */ - 0x06, /* .....##. */ - 0x00, /* ........ */ - }, - [50] = { /* 82 */ - 0x00, /* ........ */ - 0xfc, /* ######.. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xfc, /* ######.. */ - 0xf8, /* #####... */ - 0xcc, /* ##..##.. */ - 0xcc, /* ##..##.. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [51] = { /* 83 */ - 0x00, /* ........ */ - 0x7c, /* .#####.. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xc0, /* ##...... */ - 0x7c, /* .#####.. */ - 0x06, /* .....##. */ - 0x06, /* .....##. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0x7c, /* .#####.. */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [52] = { /* 84 */ - 0x00, /* ........ */ - 0x7e, /* .######. */ - 0x18, /* ...##... */ - 0x18, /* ...##... */ - 0x18, /* ...##... */ - 0x18, /* ...##... */ - 0x18, /* ...##... */ - 0x18, /* ...##... */ - 0x18, /* ...##... */ - 0x18, /* ...##... */ - 0x18, /* ...##... */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [53] = { /* 85 */ - 0x00, /* ........ */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0x7c, /* .#####.. */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [54] = { /* 86 */ - 0x00, /* ........ */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0x44, /* .#...#.. */ - 0x6c, /* .##.##.. */ - 0x6c, /* .##.##.. */ - 0x38, /* ..###... */ - 0x38, /* ..###... */ - 0x10, /* ...#.... */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [55] = { /* 87 */ - 0x00, /* ........ */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xd6, /* ##.#.##. */ - 0xd6, /* ##.#.##. */ - 0xfe, /* #######. */ - 0x6c, /* .##.##.. */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [56] = { /* 88 */ - 0x00, /* ........ */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0x6c, /* .##.##.. */ - 0x6c, /* .##.##.. */ - 0x38, /* ..###... */ - 0x38, /* ..###... */ - 0x6c, /* .##.##.. */ - 0x6c, /* .##.##.. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [57] = { /* 89 */ - 0x00, /* ........ */ - 0x66, /* .##..##. */ - 0x66, /* .##..##. */ - 0x66, /* .##..##. */ - 0x3c, /* ..####.. */ - 0x3c, /* ..####.. */ - 0x18, /* ...##... */ - 0x18, /* ...##... */ - 0x18, /* ...##... */ - 0x18, /* ...##... */ - 0x18, /* ...##... */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [58] = { /* 90 */ - 0x00, /* ........ */ - 0xfe, /* #######. */ - 0x06, /* .....##. */ - 0x06, /* .....##. */ - 0x0c, /* ....##.. */ - 0x18, /* ...##... */ - 0x30, /* ..##.... */ - 0x60, /* .##..... */ - 0xc0, /* ##...... */ - 0xc0, /* ##...... */ - 0xfe, /* #######. */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [59] = { /* 91 */ - 0x00, /* ........ */ - 0x7c, /* .#####.. */ - 0x60, /* .##..... */ - 0x60, /* .##..... */ - 0x60, /* .##..... */ - 0x60, /* .##..... */ - 0x60, /* .##..... */ - 0x60, /* .##..... */ - 0x60, /* .##..... */ - 0x60, /* .##..... */ - 0x60, /* .##..... */ - 0x7c, /* .#####.. */ - 0x00, /* ........ */ - }, - [60] = { /* 92 */ - 0x00, /* ........ */ - 0x80, /* #....... */ - 0xc0, /* ##...... */ - 0xc0, /* ##...... */ - 0x60, /* .##..... */ - 0x30, /* ..##.... */ - 0x18, /* ...##... */ - 0x0c, /* ....##.. */ - 0x06, /* .....##. */ - 0x06, /* .....##. */ - 0x02, /* ......#. */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [61] = { /* 93 */ - 0x00, /* ........ */ - 0x7c, /* .#####.. */ - 0x0c, /* ....##.. */ - 0x0c, /* ....##.. */ - 0x0c, /* ....##.. */ - 0x0c, /* ....##.. */ - 0x0c, /* ....##.. */ - 0x0c, /* ....##.. */ - 0x0c, /* ....##.. */ - 0x0c, /* ....##.. */ - 0x0c, /* ....##.. */ - 0x7c, /* .#####.. */ - 0x00, /* ........ */ - }, - [62] = { /* 94 */ - 0x00, /* ........ */ - 0x10, /* ...#.... */ - 0x38, /* ..###... */ - 0x6c, /* .##.##.. */ - 0xc6, /* ##...##. */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [63] = { /* 95 */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0xfe, /* #######. */ - 0x00, /* ........ */ - }, - [64] = { /* 96 */ - 0x00, /* ........ */ - 0x30, /* ..##.... */ - 0x18, /* ...##... */ - 0x0c, /* ....##.. */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [65] = { /* 97 */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x7c, /* .#####.. */ - 0x06, /* .....##. */ - 0x7e, /* .######. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xce, /* ##..###. */ - 0x76, /* .###.##. */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [66] = { /* 98 */ - 0x00, /* ........ */ - 0xc0, /* ##...... */ - 0xc0, /* ##...... */ - 0xc0, /* ##...... */ - 0xdc, /* ##.###.. */ - 0xe6, /* ###..##. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xe6, /* ###..##. */ - 0xdc, /* ##.###.. */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [67] = { /* 99 */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x7c, /* .#####.. */ - 0xe6, /* ###..##. */ - 0xc0, /* ##...... */ - 0xc0, /* ##...... */ - 0xc0, /* ##...... */ - 0xe6, /* ###..##. */ - 0x7c, /* .#####.. */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [68] = { /* 100 */ - 0x00, /* ........ */ - 0x06, /* .....##. */ - 0x06, /* .....##. */ - 0x06, /* .....##. */ - 0x76, /* .###.##. */ - 0xce, /* ##..###. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xce, /* ##..###. */ - 0x76, /* .###.##. */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [69] = { /* 101 */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x7c, /* .#####.. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xfe, /* #######. */ - 0xc0, /* ##...... */ - 0xc6, /* ##...##. */ - 0x7c, /* .#####.. */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [70] = { /* 102 */ - 0x00, /* ........ */ - 0x3c, /* ..####.. */ - 0x66, /* .##..##. */ - 0x60, /* .##..... */ - 0x60, /* .##..... */ - 0x60, /* .##..... */ - 0xfc, /* ######.. */ - 0x60, /* .##..... */ - 0x60, /* .##..... */ - 0x60, /* .##..... */ - 0x60, /* .##..... */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [71] = { /* 103 */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x7e, /* .######. */ - 0xcc, /* ##..##.. */ - 0xcc, /* ##..##.. */ - 0xcc, /* ##..##.. */ - 0x78, /* .####... */ - 0xf0, /* ####.... */ - 0x7c, /* .#####.. */ - 0xc6, /* ##...##. */ - 0x7c, /* .#####.. */ - }, - [72] = { /* 104 */ - 0x00, /* ........ */ - 0xc0, /* ##...... */ - 0xc0, /* ##...... */ - 0xc0, /* ##...... */ - 0xdc, /* ##.###.. */ - 0xe6, /* ###..##. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [73] = { /* 105 */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x18, /* ...##... */ - 0x18, /* ...##... */ - 0x00, /* ........ */ - 0x38, /* ..###... */ - 0x18, /* ...##... */ - 0x18, /* ...##... */ - 0x18, /* ...##... */ - 0x18, /* ...##... */ - 0x3c, /* ..####.. */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [74] = { /* 106 */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x06, /* .....##. */ - 0x06, /* .....##. */ - 0x00, /* ........ */ - 0x0e, /* ....###. */ - 0x06, /* .....##. */ - 0x06, /* .....##. */ - 0x06, /* .....##. */ - 0x06, /* .....##. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0x7c, /* .#####.. */ - }, - [75] = { /* 107 */ - 0x00, /* ........ */ - 0xc0, /* ##...... */ - 0xc0, /* ##...... */ - 0xc0, /* ##...... */ - 0xcc, /* ##..##.. */ - 0xd8, /* ##.##... */ - 0xf0, /* ####.... */ - 0xf0, /* ####.... */ - 0xd8, /* ##.##... */ - 0xcc, /* ##..##.. */ - 0xc6, /* ##...##. */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [76] = { /* 108 */ - 0x00, /* ........ */ - 0x38, /* ..###... */ - 0x18, /* ...##... */ - 0x18, /* ...##... */ - 0x18, /* ...##... */ - 0x18, /* ...##... */ - 0x18, /* ...##... */ - 0x18, /* ...##... */ - 0x18, /* ...##... */ - 0x18, /* ...##... */ - 0x3c, /* ..####.. */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [77] = { /* 109 */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x6c, /* .##.##.. */ - 0xfe, /* #######. */ - 0xd6, /* ##.#.##. */ - 0xd6, /* ##.#.##. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [78] = { /* 110 */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0xdc, /* ##.###.. */ - 0xe6, /* ###..##. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [79] = { /* 111 */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x7c, /* .#####.. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0x7c, /* .#####.. */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [80] = { /* 112 */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0xdc, /* ##.###.. */ - 0xe6, /* ###..##. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xe6, /* ###..##. */ - 0xdc, /* ##.###.. */ - 0xc0, /* ##...... */ - 0xc0, /* ##...... */ - }, - [81] = { /* 113 */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x76, /* .###.##. */ - 0xce, /* ##..###. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xce, /* ##..###. */ - 0x76, /* .###.##. */ - 0x06, /* .....##. */ - 0x06, /* .....##. */ - }, - [82] = { /* 114 */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0xdc, /* ##.###.. */ - 0xe6, /* ###..##. */ - 0xc0, /* ##...... */ - 0xc0, /* ##...... */ - 0xc0, /* ##...... */ - 0xc0, /* ##...... */ - 0xc0, /* ##...... */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [83] = { /* 115 */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x7c, /* .#####.. */ - 0xc6, /* ##...##. */ - 0x60, /* .##..... */ - 0x38, /* ..###... */ - 0x0c, /* ....##.. */ - 0xc6, /* ##...##. */ - 0x7c, /* .#####.. */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [84] = { /* 116 */ - 0x00, /* ........ */ - 0x60, /* .##..... */ - 0x60, /* .##..... */ - 0x60, /* .##..... */ - 0x60, /* .##..... */ - 0xfc, /* ######.. */ - 0x60, /* .##..... */ - 0x60, /* .##..... */ - 0x60, /* .##..... */ - 0x66, /* .##..##. */ - 0x3c, /* ..####.. */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [85] = { /* 117 */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xce, /* ##..###. */ - 0x76, /* .###.##. */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [86] = { /* 118 */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0x6c, /* .##.##.. */ - 0x6c, /* .##.##.. */ - 0x38, /* ..###... */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [87] = { /* 119 */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xd6, /* ##.#.##. */ - 0xd6, /* ##.#.##. */ - 0xfe, /* #######. */ - 0x6c, /* .##.##.. */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [88] = { /* 120 */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0x6c, /* .##.##.. */ - 0x38, /* ..###... */ - 0x6c, /* .##.##.. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [89] = { /* 121 */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xc6, /* ##...##. */ - 0xce, /* ##..###. */ - 0x76, /* .###.##. */ - 0x06, /* .....##. */ - 0xc6, /* ##...##. */ - 0x7c, /* .#####.. */ - }, - [90] = { /* 122 */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0xfe, /* #######. */ - 0x0c, /* ....##.. */ - 0x18, /* ...##... */ - 0x30, /* ..##.... */ - 0x60, /* .##..... */ - 0xc0, /* ##...... */ - 0xfe, /* #######. */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [91] = { /* 123 */ - 0x00, /* ........ */ - 0x1e, /* ...####. */ - 0x30, /* ..##.... */ - 0x30, /* ..##.... */ - 0x30, /* ..##.... */ - 0x18, /* ...##... */ - 0x70, /* .###.... */ - 0x18, /* ...##... */ - 0x30, /* ..##.... */ - 0x30, /* ..##.... */ - 0x30, /* ..##.... */ - 0x1e, /* ...####. */ - 0x00, /* ........ */ - }, - [92] = { /* 124 */ - 0x00, /* ........ */ - 0x18, /* ...##... */ - 0x18, /* ...##... */ - 0x18, /* ...##... */ - 0x18, /* ...##... */ - 0x18, /* ...##... */ - 0x18, /* ...##... */ - 0x18, /* ...##... */ - 0x18, /* ...##... */ - 0x18, /* ...##... */ - 0x18, /* ...##... */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, - [93] = { /* 125 */ - 0x00, /* ........ */ - 0x78, /* .####... */ - 0x0c, /* ....##.. */ - 0x0c, /* ....##.. */ - 0x0c, /* ....##.. */ - 0x18, /* ...##... */ - 0x0e, /* ....###. */ - 0x18, /* ...##... */ - 0x0c, /* ....##.. */ - 0x0c, /* ....##.. */ - 0x0c, /* ....##.. */ - 0x78, /* .####... */ - 0x00, /* ........ */ - }, - [94] = { /* 126 */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x72, /* .###..#. */ - 0xfe, /* #######. */ - 0x9c, /* #..###.. */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - 0x00, /* ........ */ - }, +const uint8_t _vga_font_default_direct[95][13] = + { + [0] = + { + /* 32 */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [1] = + { + /* 33 */ + 0x00, /* ........ */ + 0x18, /* ...##... */ + 0x18, /* ...##... */ + 0x18, /* ...##... */ + 0x18, /* ...##... */ + 0x18, /* ...##... */ + 0x18, /* ...##... */ + 0x18, /* ...##... */ + 0x00, /* ........ */ + 0x18, /* ...##... */ + 0x18, /* ...##... */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [2] = + { + /* 34 */ + 0x00, /* ........ */ + 0x6c, /* .##.##.. */ + 0x6c, /* .##.##.. */ + 0x6c, /* .##.##.. */ + 0x6c, /* .##.##.. */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [3] = + { + /* 35 */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x6c, /* .##.##.. */ + 0x6c, /* .##.##.. */ + 0xfe, /* #######. */ + 0xfe, /* #######. */ + 0x6c, /* .##.##.. */ + 0xfe, /* #######. */ + 0xfe, /* #######. */ + 0x6c, /* .##.##.. */ + 0x6c, /* .##.##.. */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [4] = + { + /* 36 */ + 0x00, /* ........ */ + 0x10, /* ...#.... */ + 0x7c, /* .#####.. */ + 0xd6, /* ##.#.##. */ + 0xd0, /* ##.#.... */ + 0xf0, /* ####.... */ + 0x7c, /* .#####.. */ + 0x1e, /* ...####. */ + 0x16, /* ...#.##. */ + 0xd6, /* ##.#.##. */ + 0x7c, /* .#####.. */ + 0x10, /* ...#.... */ + 0x00, /* ........ */ + }, + [5] = + { + /* 37 */ + 0x00, /* ........ */ + 0xe6, /* ###..##. */ + 0xa6, /* #.#..##. */ + 0xec, /* ###.##.. */ + 0x18, /* ...##... */ + 0x18, /* ...##... */ + 0x30, /* ..##.... */ + 0x30, /* ..##.... */ + 0x6e, /* .##.###. */ + 0xca, /* ##..#.#. */ + 0xce, /* ##..###. */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [6] = + { + /* 38 */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x78, /* .####... */ + 0xcc, /* ##..##.. */ + 0xcc, /* ##..##.. */ + 0x78, /* .####... */ + 0xce, /* ##..###. */ + 0xcc, /* ##..##.. */ + 0x7e, /* .######. */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [7] = + { + /* 39 */ + 0x00, /* ........ */ + 0x18, /* ...##... */ + 0x18, /* ...##... */ + 0x18, /* ...##... */ + 0x18, /* ...##... */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [8] = + { + /* 40 */ + 0x00, /* ........ */ + 0x0c, /* ....##.. */ + 0x18, /* ...##... */ + 0x30, /* ..##.... */ + 0x30, /* ..##.... */ + 0x60, /* .##..... */ + 0x60, /* .##..... */ + 0x60, /* .##..... */ + 0x30, /* ..##.... */ + 0x30, /* ..##.... */ + 0x18, /* ...##... */ + 0x0c, /* ....##.. */ + 0x00, /* ........ */ + }, + [9] = + { + /* 41 */ + 0x00, /* ........ */ + 0x60, /* .##..... */ + 0x30, /* ..##.... */ + 0x18, /* ...##... */ + 0x18, /* ...##... */ + 0x0c, /* ....##.. */ + 0x0c, /* ....##.. */ + 0x0c, /* ....##.. */ + 0x18, /* ...##... */ + 0x18, /* ...##... */ + 0x30, /* ..##.... */ + 0x60, /* .##..... */ + 0x00, /* ........ */ + }, + [10] = + { + /* 42 */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x10, /* ...#.... */ + 0x10, /* ...#.... */ + 0xfe, /* #######. */ + 0x38, /* ..###... */ + 0x38, /* ..###... */ + 0x6c, /* .##.##.. */ + 0x44, /* .#...#.. */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [11] = + { + /* 43 */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x18, /* ...##... */ + 0x18, /* ...##... */ + 0x7e, /* .######. */ + 0x7e, /* .######. */ + 0x18, /* ...##... */ + 0x18, /* ...##... */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [12] = + { + /* 44 */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x3c, /* ..####.. */ + 0x1c, /* ...###.. */ + 0x1c, /* ...###.. */ + 0x18, /* ...##... */ + 0x30, /* ..##.... */ + 0x00, /* ........ */ + }, + [13] = + { + /* 45 */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x7e, /* .######. */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [14] = + { + /* 46 */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x18, /* ...##... */ + 0x3c, /* ..####.. */ + 0x18, /* ...##... */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [15] = + { + /* 47 */ + 0x00, /* ........ */ + 0x02, /* ......#. */ + 0x06, /* .....##. */ + 0x06, /* .....##. */ + 0x0c, /* ....##.. */ + 0x18, /* ...##... */ + 0x30, /* ..##.... */ + 0x60, /* .##..... */ + 0xc0, /* ##...... */ + 0xc0, /* ##...... */ + 0x80, /* #....... */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [16] = + { + /* 48 */ + 0x00, /* ........ */ + 0x38, /* ..###... */ + 0x6c, /* .##.##.. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0x6c, /* .##.##.. */ + 0x38, /* ..###... */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [17] = + { + /* 49 */ + 0x00, /* ........ */ + 0x18, /* ...##... */ + 0x38, /* ..###... */ + 0x78, /* .####... */ + 0x18, /* ...##... */ + 0x18, /* ...##... */ + 0x18, /* ...##... */ + 0x18, /* ...##... */ + 0x18, /* ...##... */ + 0x18, /* ...##... */ + 0x7e, /* .######. */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [18] = + { + /* 50 */ + 0x00, /* ........ */ + 0x7c, /* .#####.. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0x06, /* .....##. */ + 0x0c, /* ....##.. */ + 0x18, /* ...##... */ + 0x30, /* ..##.... */ + 0x60, /* .##..... */ + 0xc0, /* ##...... */ + 0xfe, /* #######. */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [19] = + { + /* 51 */ + 0x00, /* ........ */ + 0xfe, /* #######. */ + 0x06, /* .....##. */ + 0x0c, /* ....##.. */ + 0x18, /* ...##... */ + 0x3c, /* ..####.. */ + 0x06, /* .....##. */ + 0x06, /* .....##. */ + 0x06, /* .....##. */ + 0xc6, /* ##...##. */ + 0x7c, /* .#####.. */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [20] = + { + /* 52 */ + 0x00, /* ........ */ + 0x0c, /* ....##.. */ + 0x1c, /* ...###.. */ + 0x3c, /* ..####.. */ + 0x6c, /* .##.##.. */ + 0xcc, /* ##..##.. */ + 0xcc, /* ##..##.. */ + 0xfe, /* #######. */ + 0x0c, /* ....##.. */ + 0x0c, /* ....##.. */ + 0x0c, /* ....##.. */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [21] = + { + /* 53 */ + 0x00, /* ........ */ + 0xfe, /* #######. */ + 0xc0, /* ##...... */ + 0xc0, /* ##...... */ + 0xfc, /* ######.. */ + 0xe6, /* ###..##. */ + 0x06, /* .....##. */ + 0x06, /* .....##. */ + 0x06, /* .....##. */ + 0xc6, /* ##...##. */ + 0x7c, /* .#####.. */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [22] = + { + /* 54 */ + 0x00, /* ........ */ + 0x3c, /* ..####.. */ + 0x60, /* .##..... */ + 0xc0, /* ##...... */ + 0xc0, /* ##...... */ + 0xfc, /* ######.. */ + 0xe6, /* ###..##. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xe6, /* ###..##. */ + 0x7c, /* .#####.. */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [23] = + { + /* 55 */ + 0x00, /* ........ */ + 0xfe, /* #######. */ + 0x06, /* .....##. */ + 0x06, /* .....##. */ + 0x0c, /* ....##.. */ + 0x18, /* ...##... */ + 0x18, /* ...##... */ + 0x30, /* ..##.... */ + 0x30, /* ..##.... */ + 0x30, /* ..##.... */ + 0x30, /* ..##.... */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [24] = + { + /* 56 */ + 0x00, /* ........ */ + 0x7c, /* .#####.. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0x7c, /* .#####.. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0x7c, /* .#####.. */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [25] = + { + /* 57 */ + 0x00, /* ........ */ + 0x7c, /* .#####.. */ + 0xce, /* ##..###. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xce, /* ##..###. */ + 0x7e, /* .######. */ + 0x06, /* .....##. */ + 0x06, /* .....##. */ + 0x0c, /* ....##.. */ + 0x78, /* .####... */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [26] = + { + /* 58 */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x18, /* ...##... */ + 0x3c, /* ..####.. */ + 0x18, /* ...##... */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x18, /* ...##... */ + 0x3c, /* ..####.. */ + 0x18, /* ...##... */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [27] = + { + /* 59 */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x18, /* ...##... */ + 0x3c, /* ..####.. */ + 0x18, /* ...##... */ + 0x00, /* ........ */ + 0x3c, /* ..####.. */ + 0x1c, /* ...###.. */ + 0x1c, /* ...###.. */ + 0x18, /* ...##... */ + 0x30, /* ..##.... */ + 0x00, /* ........ */ + }, + [28] = + { + /* 60 */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x06, /* .....##. */ + 0x0c, /* ....##.. */ + 0x18, /* ...##... */ + 0x30, /* ..##.... */ + 0x60, /* .##..... */ + 0x30, /* ..##.... */ + 0x18, /* ...##... */ + 0x0c, /* ....##.. */ + 0x06, /* .....##. */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [29] = + { + /* 61 */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x7e, /* .######. */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x7e, /* .######. */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [30] = + { + /* 62 */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x60, /* .##..... */ + 0x30, /* ..##.... */ + 0x18, /* ...##... */ + 0x0c, /* ....##.. */ + 0x06, /* .....##. */ + 0x0c, /* ....##.. */ + 0x18, /* ...##... */ + 0x30, /* ..##.... */ + 0x60, /* .##..... */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [31] = + { + /* 63 */ + 0x00, /* ........ */ + 0x7c, /* .#####.. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0x06, /* .....##. */ + 0x0c, /* ....##.. */ + 0x18, /* ...##... */ + 0x18, /* ...##... */ + 0x00, /* ........ */ + 0x18, /* ...##... */ + 0x18, /* ...##... */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [32] = + { + /* 64 */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x7c, /* .#####.. */ + 0xfe, /* #######. */ + 0xce, /* ##..###. */ + 0xde, /* ##.####. */ + 0xd2, /* ##.#..#. */ + 0xd2, /* ##.#..#. */ + 0xde, /* ##.####. */ + 0xe0, /* ###..... */ + 0x7e, /* .######. */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [33] = + { + /* 65 */ + 0x00, /* ........ */ + 0x38, /* ..###... */ + 0x7c, /* .#####.. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xfe, /* #######. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [34] = + { + /* 66 */ + 0x00, /* ........ */ + 0xfc, /* ######.. */ + 0x66, /* .##..##. */ + 0x66, /* .##..##. */ + 0x66, /* .##..##. */ + 0x7c, /* .#####.. */ + 0x66, /* .##..##. */ + 0x66, /* .##..##. */ + 0x66, /* .##..##. */ + 0x66, /* .##..##. */ + 0xfc, /* ######.. */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [35] = + { + /* 67 */ + 0x00, /* ........ */ + 0x7c, /* .#####.. */ + 0xe6, /* ###..##. */ + 0xc6, /* ##...##. */ + 0xc0, /* ##...... */ + 0xc0, /* ##...... */ + 0xc0, /* ##...... */ + 0xc0, /* ##...... */ + 0xc6, /* ##...##. */ + 0xe6, /* ###..##. */ + 0x7c, /* .#####.. */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [36] = + { + /* 68 */ + 0x00, /* ........ */ + 0xfc, /* ######.. */ + 0x66, /* .##..##. */ + 0x66, /* .##..##. */ + 0x66, /* .##..##. */ + 0x66, /* .##..##. */ + 0x66, /* .##..##. */ + 0x66, /* .##..##. */ + 0x66, /* .##..##. */ + 0x66, /* .##..##. */ + 0xfc, /* ######.. */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [37] = + { + /* 69 */ + 0x00, /* ........ */ + 0xfe, /* #######. */ + 0xc0, /* ##...... */ + 0xc0, /* ##...... */ + 0xc0, /* ##...... */ + 0xf8, /* #####... */ + 0xc0, /* ##...... */ + 0xc0, /* ##...... */ + 0xc0, /* ##...... */ + 0xc0, /* ##...... */ + 0xfe, /* #######. */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [38] = + { + /* 70 */ + 0x00, /* ........ */ + 0xfe, /* #######. */ + 0xc0, /* ##...... */ + 0xc0, /* ##...... */ + 0xc0, /* ##...... */ + 0xf8, /* #####... */ + 0xc0, /* ##...... */ + 0xc0, /* ##...... */ + 0xc0, /* ##...... */ + 0xc0, /* ##...... */ + 0xc0, /* ##...... */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [39] = + { + /* 71 */ + 0x00, /* ........ */ + 0x7c, /* .#####.. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xc0, /* ##...... */ + 0xc0, /* ##...... */ + 0xc0, /* ##...... */ + 0xce, /* ##..###. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0x7c, /* .#####.. */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [40] = + { + /* 72 */ + 0x00, /* ........ */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xfe, /* #######. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [41] = + { + /* 73 */ + 0x00, /* ........ */ + 0x3c, /* ..####.. */ + 0x18, /* ...##... */ + 0x18, /* ...##... */ + 0x18, /* ...##... */ + 0x18, /* ...##... */ + 0x18, /* ...##... */ + 0x18, /* ...##... */ + 0x18, /* ...##... */ + 0x18, /* ...##... */ + 0x3c, /* ..####.. */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [42] = + { + /* 74 */ + 0x00, /* ........ */ + 0x0e, /* ....###. */ + 0x06, /* .....##. */ + 0x06, /* .....##. */ + 0x06, /* .....##. */ + 0x06, /* .....##. */ + 0x06, /* .....##. */ + 0x06, /* .....##. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0x7c, /* .#####.. */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [43] = + { + /* 75 */ + 0x00, /* ........ */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xcc, /* ##..##.. */ + 0xd8, /* ##.##... */ + 0xf0, /* ####.... */ + 0xf0, /* ####.... */ + 0xd8, /* ##.##... */ + 0xcc, /* ##..##.. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [44] = + { + /* 76 */ + 0x00, /* ........ */ + 0xc0, /* ##...... */ + 0xc0, /* ##...... */ + 0xc0, /* ##...... */ + 0xc0, /* ##...... */ + 0xc0, /* ##...... */ + 0xc0, /* ##...... */ + 0xc0, /* ##...... */ + 0xc0, /* ##...... */ + 0xc2, /* ##....#. */ + 0xfe, /* #######. */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [45] = + { + /* 77 */ + 0x00, /* ........ */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xee, /* ###.###. */ + 0xfe, /* #######. */ + 0xd6, /* ##.#.##. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [46] = + { + /* 78 */ + 0x00, /* ........ */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xe6, /* ###..##. */ + 0xe6, /* ###..##. */ + 0xf6, /* ####.##. */ + 0xde, /* ##.####. */ + 0xce, /* ##..###. */ + 0xce, /* ##..###. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [47] = + { + /* 79 */ + 0x00, /* ........ */ + 0x7c, /* .#####.. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0x7c, /* .#####.. */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [48] = + { + /* 80 */ + 0x00, /* ........ */ + 0xfc, /* ######.. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xfc, /* ######.. */ + 0xc0, /* ##...... */ + 0xc0, /* ##...... */ + 0xc0, /* ##...... */ + 0xc0, /* ##...... */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [49] = + { + /* 81 */ + 0x00, /* ........ */ + 0x7c, /* .#####.. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xde, /* ##.####. */ + 0x7c, /* .#####.. */ + 0x06, /* .....##. */ + 0x00, /* ........ */ + }, + [50] = + { + /* 82 */ + 0x00, /* ........ */ + 0xfc, /* ######.. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xfc, /* ######.. */ + 0xf8, /* #####... */ + 0xcc, /* ##..##.. */ + 0xcc, /* ##..##.. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [51] = + { + /* 83 */ + 0x00, /* ........ */ + 0x7c, /* .#####.. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xc0, /* ##...... */ + 0x7c, /* .#####.. */ + 0x06, /* .....##. */ + 0x06, /* .....##. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0x7c, /* .#####.. */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [52] = + { + /* 84 */ + 0x00, /* ........ */ + 0x7e, /* .######. */ + 0x18, /* ...##... */ + 0x18, /* ...##... */ + 0x18, /* ...##... */ + 0x18, /* ...##... */ + 0x18, /* ...##... */ + 0x18, /* ...##... */ + 0x18, /* ...##... */ + 0x18, /* ...##... */ + 0x18, /* ...##... */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [53] = + { + /* 85 */ + 0x00, /* ........ */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0x7c, /* .#####.. */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [54] = + { + /* 86 */ + 0x00, /* ........ */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0x44, /* .#...#.. */ + 0x6c, /* .##.##.. */ + 0x6c, /* .##.##.. */ + 0x38, /* ..###... */ + 0x38, /* ..###... */ + 0x10, /* ...#.... */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [55] = + { + /* 87 */ + 0x00, /* ........ */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xd6, /* ##.#.##. */ + 0xd6, /* ##.#.##. */ + 0xfe, /* #######. */ + 0x6c, /* .##.##.. */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [56] = + { + /* 88 */ + 0x00, /* ........ */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0x6c, /* .##.##.. */ + 0x6c, /* .##.##.. */ + 0x38, /* ..###... */ + 0x38, /* ..###... */ + 0x6c, /* .##.##.. */ + 0x6c, /* .##.##.. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [57] = + { + /* 89 */ + 0x00, /* ........ */ + 0x66, /* .##..##. */ + 0x66, /* .##..##. */ + 0x66, /* .##..##. */ + 0x3c, /* ..####.. */ + 0x3c, /* ..####.. */ + 0x18, /* ...##... */ + 0x18, /* ...##... */ + 0x18, /* ...##... */ + 0x18, /* ...##... */ + 0x18, /* ...##... */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [58] = + { + /* 90 */ + 0x00, /* ........ */ + 0xfe, /* #######. */ + 0x06, /* .....##. */ + 0x06, /* .....##. */ + 0x0c, /* ....##.. */ + 0x18, /* ...##... */ + 0x30, /* ..##.... */ + 0x60, /* .##..... */ + 0xc0, /* ##...... */ + 0xc0, /* ##...... */ + 0xfe, /* #######. */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [59] = + { + /* 91 */ + 0x00, /* ........ */ + 0x7c, /* .#####.. */ + 0x60, /* .##..... */ + 0x60, /* .##..... */ + 0x60, /* .##..... */ + 0x60, /* .##..... */ + 0x60, /* .##..... */ + 0x60, /* .##..... */ + 0x60, /* .##..... */ + 0x60, /* .##..... */ + 0x60, /* .##..... */ + 0x7c, /* .#####.. */ + 0x00, /* ........ */ + }, + [60] = + { + /* 92 */ + 0x00, /* ........ */ + 0x80, /* #....... */ + 0xc0, /* ##...... */ + 0xc0, /* ##...... */ + 0x60, /* .##..... */ + 0x30, /* ..##.... */ + 0x18, /* ...##... */ + 0x0c, /* ....##.. */ + 0x06, /* .....##. */ + 0x06, /* .....##. */ + 0x02, /* ......#. */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [61] = + { + /* 93 */ + 0x00, /* ........ */ + 0x7c, /* .#####.. */ + 0x0c, /* ....##.. */ + 0x0c, /* ....##.. */ + 0x0c, /* ....##.. */ + 0x0c, /* ....##.. */ + 0x0c, /* ....##.. */ + 0x0c, /* ....##.. */ + 0x0c, /* ....##.. */ + 0x0c, /* ....##.. */ + 0x0c, /* ....##.. */ + 0x7c, /* .#####.. */ + 0x00, /* ........ */ + }, + [62] = + { + /* 94 */ + 0x00, /* ........ */ + 0x10, /* ...#.... */ + 0x38, /* ..###... */ + 0x6c, /* .##.##.. */ + 0xc6, /* ##...##. */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [63] = + { + /* 95 */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0xfe, /* #######. */ + 0x00, /* ........ */ + }, + [64] = + { + /* 96 */ + 0x00, /* ........ */ + 0x30, /* ..##.... */ + 0x18, /* ...##... */ + 0x0c, /* ....##.. */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [65] = + { + /* 97 */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x7c, /* .#####.. */ + 0x06, /* .....##. */ + 0x7e, /* .######. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xce, /* ##..###. */ + 0x76, /* .###.##. */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [66] = + { + /* 98 */ + 0x00, /* ........ */ + 0xc0, /* ##...... */ + 0xc0, /* ##...... */ + 0xc0, /* ##...... */ + 0xdc, /* ##.###.. */ + 0xe6, /* ###..##. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xe6, /* ###..##. */ + 0xdc, /* ##.###.. */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [67] = + { + /* 99 */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x7c, /* .#####.. */ + 0xe6, /* ###..##. */ + 0xc0, /* ##...... */ + 0xc0, /* ##...... */ + 0xc0, /* ##...... */ + 0xe6, /* ###..##. */ + 0x7c, /* .#####.. */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [68] = + { + /* 100 */ + 0x00, /* ........ */ + 0x06, /* .....##. */ + 0x06, /* .....##. */ + 0x06, /* .....##. */ + 0x76, /* .###.##. */ + 0xce, /* ##..###. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xce, /* ##..###. */ + 0x76, /* .###.##. */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [69] = + { + /* 101 */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x7c, /* .#####.. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xfe, /* #######. */ + 0xc0, /* ##...... */ + 0xc6, /* ##...##. */ + 0x7c, /* .#####.. */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [70] = + { + /* 102 */ + 0x00, /* ........ */ + 0x3c, /* ..####.. */ + 0x66, /* .##..##. */ + 0x60, /* .##..... */ + 0x60, /* .##..... */ + 0x60, /* .##..... */ + 0xfc, /* ######.. */ + 0x60, /* .##..... */ + 0x60, /* .##..... */ + 0x60, /* .##..... */ + 0x60, /* .##..... */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [71] = + { + /* 103 */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x7e, /* .######. */ + 0xcc, /* ##..##.. */ + 0xcc, /* ##..##.. */ + 0xcc, /* ##..##.. */ + 0x78, /* .####... */ + 0xf0, /* ####.... */ + 0x7c, /* .#####.. */ + 0xc6, /* ##...##. */ + 0x7c, /* .#####.. */ + }, + [72] = + { + /* 104 */ + 0x00, /* ........ */ + 0xc0, /* ##...... */ + 0xc0, /* ##...... */ + 0xc0, /* ##...... */ + 0xdc, /* ##.###.. */ + 0xe6, /* ###..##. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [73] = + { + /* 105 */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x18, /* ...##... */ + 0x18, /* ...##... */ + 0x00, /* ........ */ + 0x38, /* ..###... */ + 0x18, /* ...##... */ + 0x18, /* ...##... */ + 0x18, /* ...##... */ + 0x18, /* ...##... */ + 0x3c, /* ..####.. */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [74] = + { + /* 106 */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x06, /* .....##. */ + 0x06, /* .....##. */ + 0x00, /* ........ */ + 0x0e, /* ....###. */ + 0x06, /* .....##. */ + 0x06, /* .....##. */ + 0x06, /* .....##. */ + 0x06, /* .....##. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0x7c, /* .#####.. */ + }, + [75] = + { + /* 107 */ + 0x00, /* ........ */ + 0xc0, /* ##...... */ + 0xc0, /* ##...... */ + 0xc0, /* ##...... */ + 0xcc, /* ##..##.. */ + 0xd8, /* ##.##... */ + 0xf0, /* ####.... */ + 0xf0, /* ####.... */ + 0xd8, /* ##.##... */ + 0xcc, /* ##..##.. */ + 0xc6, /* ##...##. */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [76] = + { + /* 108 */ + 0x00, /* ........ */ + 0x38, /* ..###... */ + 0x18, /* ...##... */ + 0x18, /* ...##... */ + 0x18, /* ...##... */ + 0x18, /* ...##... */ + 0x18, /* ...##... */ + 0x18, /* ...##... */ + 0x18, /* ...##... */ + 0x18, /* ...##... */ + 0x3c, /* ..####.. */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [77] = + { + /* 109 */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x6c, /* .##.##.. */ + 0xfe, /* #######. */ + 0xd6, /* ##.#.##. */ + 0xd6, /* ##.#.##. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [78] = + { + /* 110 */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0xdc, /* ##.###.. */ + 0xe6, /* ###..##. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [79] = + { + /* 111 */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x7c, /* .#####.. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0x7c, /* .#####.. */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [80] = + { + /* 112 */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0xdc, /* ##.###.. */ + 0xe6, /* ###..##. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xe6, /* ###..##. */ + 0xdc, /* ##.###.. */ + 0xc0, /* ##...... */ + 0xc0, /* ##...... */ + }, + [81] = + { + /* 113 */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x76, /* .###.##. */ + 0xce, /* ##..###. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xce, /* ##..###. */ + 0x76, /* .###.##. */ + 0x06, /* .....##. */ + 0x06, /* .....##. */ + }, + [82] = + { + /* 114 */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0xdc, /* ##.###.. */ + 0xe6, /* ###..##. */ + 0xc0, /* ##...... */ + 0xc0, /* ##...... */ + 0xc0, /* ##...... */ + 0xc0, /* ##...... */ + 0xc0, /* ##...... */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [83] = + { + /* 115 */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x7c, /* .#####.. */ + 0xc6, /* ##...##. */ + 0x60, /* .##..... */ + 0x38, /* ..###... */ + 0x0c, /* ....##.. */ + 0xc6, /* ##...##. */ + 0x7c, /* .#####.. */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [84] = + { + /* 116 */ + 0x00, /* ........ */ + 0x60, /* .##..... */ + 0x60, /* .##..... */ + 0x60, /* .##..... */ + 0x60, /* .##..... */ + 0xfc, /* ######.. */ + 0x60, /* .##..... */ + 0x60, /* .##..... */ + 0x60, /* .##..... */ + 0x66, /* .##..##. */ + 0x3c, /* ..####.. */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [85] = + { + /* 117 */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xce, /* ##..###. */ + 0x76, /* .###.##. */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [86] = + { + /* 118 */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0x6c, /* .##.##.. */ + 0x6c, /* .##.##.. */ + 0x38, /* ..###... */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [87] = + { + /* 119 */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xd6, /* ##.#.##. */ + 0xd6, /* ##.#.##. */ + 0xfe, /* #######. */ + 0x6c, /* .##.##.. */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [88] = + { + /* 120 */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0x6c, /* .##.##.. */ + 0x38, /* ..###... */ + 0x6c, /* .##.##.. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [89] = + { + /* 121 */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xc6, /* ##...##. */ + 0xce, /* ##..###. */ + 0x76, /* .###.##. */ + 0x06, /* .....##. */ + 0xc6, /* ##...##. */ + 0x7c, /* .#####.. */ + }, + [90] = + { + /* 122 */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0xfe, /* #######. */ + 0x0c, /* ....##.. */ + 0x18, /* ...##... */ + 0x30, /* ..##.... */ + 0x60, /* .##..... */ + 0xc0, /* ##...... */ + 0xfe, /* #######. */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [91] = + { + /* 123 */ + 0x00, /* ........ */ + 0x1e, /* ...####. */ + 0x30, /* ..##.... */ + 0x30, /* ..##.... */ + 0x30, /* ..##.... */ + 0x18, /* ...##... */ + 0x70, /* .###.... */ + 0x18, /* ...##... */ + 0x30, /* ..##.... */ + 0x30, /* ..##.... */ + 0x30, /* ..##.... */ + 0x1e, /* ...####. */ + 0x00, /* ........ */ + }, + [92] = + { + /* 124 */ + 0x00, /* ........ */ + 0x18, /* ...##... */ + 0x18, /* ...##... */ + 0x18, /* ...##... */ + 0x18, /* ...##... */ + 0x18, /* ...##... */ + 0x18, /* ...##... */ + 0x18, /* ...##... */ + 0x18, /* ...##... */ + 0x18, /* ...##... */ + 0x18, /* ...##... */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, + [93] = + { + /* 125 */ + 0x00, /* ........ */ + 0x78, /* .####... */ + 0x0c, /* ....##.. */ + 0x0c, /* ....##.. */ + 0x0c, /* ....##.. */ + 0x18, /* ...##... */ + 0x0e, /* ....###. */ + 0x18, /* ...##... */ + 0x0c, /* ....##.. */ + 0x0c, /* ....##.. */ + 0x0c, /* ....##.. */ + 0x78, /* .####... */ + 0x00, /* ........ */ + }, + [94] = + { + /* 126 */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x72, /* .###..#. */ + 0xfe, /* #######. */ + 0x9c, /* #..###.. */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + 0x00, /* ........ */ + }, }; diff --git a/libc/vga/vga-init.greg.c b/libc/vga/vga-init.greg.c index a64bf053c..12d817b8b 100644 --- a/libc/vga/vga-init.greg.c +++ b/libc/vga/vga-init.greg.c @@ -25,9 +25,9 @@ │ OTHER DEALINGS IN THE SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/dce.h" -#include "libc/vga/vga.internal.h" #include "libc/runtime/pc.internal.h" #include "libc/str/str.h" +#include "libc/vga/vga.internal.h" struct Tty _vga_tty; @@ -58,8 +58,8 @@ void _vga_reinit(struct Tty *tty, unsigned short starty, unsigned short startx, * Initialize our tty structure from the current screen geometry, screen * contents, cursor position, & character dimensions. */ - _StartTty(tty, vid_type, height, width, stride, starty, startx, - chr_ht, chr_wid, vid_buf, init_flags); + _StartTty(tty, vid_type, height, width, stride, starty, startx, chr_ht, + chr_wid, vid_buf, init_flags); } textstartup void _vga_init(void) { diff --git a/libc/vga/vga.internal.h b/libc/vga/vga.internal.h index 0a02f7856..cab78d84b 100644 --- a/libc/vga/vga.internal.h +++ b/libc/vga/vga.internal.h @@ -76,11 +76,13 @@ #undef VGA_PERSNICKETY_STATUS /* Flags which are passed to _StartTty(). */ -#define kTtyAllocWcs 0x01 /* allocate Unicode character array - (if VGA_USE_WCS also defined) */ -#define kTtyKlog 0x02 /* the system might be in an abnormal - state, & we are setting up the tty - to show system messages */ +#define kTtyAllocWcs \ + 0x01 /* allocate Unicode character array \ + (if VGA_USE_WCS also defined) */ +#define kTtyKlog \ + 0x02 /* the system might be in an abnormal \ + state, & we are setting up the tty \ + to show system messages */ /** * Flags for Tty::pr. These govern properties of individual character cells. @@ -250,7 +252,7 @@ void _TtyBgr555Update(struct Tty *); void _TtyGraphDrawChar(struct Tty *, size_t, size_t, wchar_t); void _TtyGraphEraseLineCells(struct Tty *, size_t, size_t, size_t); void _TtyGraphMoveLineCells(struct Tty *, size_t, size_t, size_t, size_t, - size_t); + size_t); /* * Routines that implement emergency or system console output in graphical @@ -260,17 +262,17 @@ void _TtyKlog16Update(struct Tty *); void _TtyKlog16DrawChar(struct Tty *, size_t, size_t, wchar_t); void _TtyKlog16EraseLineCells(struct Tty *, size_t, size_t, size_t); void _TtyKlog16MoveLineCells(struct Tty *, size_t, size_t, size_t, size_t, - size_t); + size_t); void _TtyKlog32Update(struct Tty *); void _TtyKlog32DrawChar(struct Tty *, size_t, size_t, wchar_t); void _TtyKlog32EraseLineCells(struct Tty *, size_t, size_t, size_t); void _TtyKlog32MoveLineCells(struct Tty *, size_t, size_t, size_t, size_t, - size_t); + size_t); /* High-level teletypewriter routines. */ void _StartTty(struct Tty *, unsigned char, unsigned short, unsigned short, - unsigned short, unsigned short, unsigned short, - unsigned char, unsigned char, void *, unsigned); + unsigned short, unsigned short, unsigned short, unsigned char, + unsigned char, void *, unsigned); ssize_t _TtyRead(struct Tty *, void *, size_t); ssize_t _TtyWrite(struct Tty *, const void *, size_t); ssize_t _TtyWriteInput(struct Tty *, const void *, size_t); diff --git a/libc/vga/writev-vga.c b/libc/vga/writev-vga.c index 26acae86d..59f390070 100644 --- a/libc/vga/writev-vga.c +++ b/libc/vga/writev-vga.c @@ -37,13 +37,10 @@ ssize_t sys_writev_vga(struct Fd *fd, const struct iovec *iov, int iovlen) { void *output = iov[i].iov_base; size_t len = iov[i].iov_len; res = _TtyWrite(&_vga_tty, output, len); - if (res < 0) - break; + if (res < 0) break; wrote += res; - if (res != len) - return wrote; + if (res != len) return wrote; } - if (!wrote) - return res; + if (!wrote) return res; return wrote; } diff --git a/libc/x/replaceuser.c b/libc/x/replaceuser.c index ccaf6d1b6..8a0eadc1f 100644 --- a/libc/x/replaceuser.c +++ b/libc/x/replaceuser.c @@ -16,8 +16,8 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/intrin/safemacros.internal.h" #include "libc/calls/calls.h" +#include "libc/intrin/safemacros.internal.h" #include "libc/mem/mem.h" #include "libc/runtime/runtime.h" #include "libc/str/str.h" diff --git a/libc/x/xbasename.c b/libc/x/xbasename.c index 205676b97..7e74da57f 100644 --- a/libc/x/xbasename.c +++ b/libc/x/xbasename.c @@ -17,8 +17,8 @@ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/fmt/conv.h" -#include "libc/mem/mem.h" #include "libc/mem/gc.internal.h" +#include "libc/mem/mem.h" #include "libc/x/x.h" /** diff --git a/libc/x/xload.c b/libc/x/xload.c index 0abaafd84..072378a69 100644 --- a/libc/x/xload.c +++ b/libc/x/xload.c @@ -41,7 +41,7 @@ * @return pointer to inflated data * @threadsafe */ -void *xload(_Atomic(void *) * a, const void *p, size_t n, size_t m) { +void *xload(_Atomic(void *) *a, const void *p, size_t n, size_t m) { void *r, *z; if ((r = atomic_load_explicit(a, memory_order_acquire))) return r; if (!(r = kmalloc(m))) return 0; diff --git a/libc/x/xloadzd.c b/libc/x/xloadzd.c index b98fb5bec..94eae7b3b 100644 --- a/libc/x/xloadzd.c +++ b/libc/x/xloadzd.c @@ -40,7 +40,7 @@ * @return pointer to decoded data * @threadsafe */ -void *xloadzd(_Atomic(void *) * a, const void *p, size_t n, size_t m, size_t c, +void *xloadzd(_Atomic(void *) *a, const void *p, size_t n, size_t m, size_t c, size_t z, uint32_t s) { size_t i; char *q, *b; diff --git a/third_party/python/Lib/test/test_tarfile.py b/third_party/python/Lib/test/test_tarfile.py index b5c8ddb28..68a0bb903 100644 --- a/third_party/python/Lib/test/test_tarfile.py +++ b/third_party/python/Lib/test/test_tarfile.py @@ -2603,25 +2603,24 @@ class NumericOwnerTest(unittest.TestCase): ], any_order=True) - # this test requires that uid=0 and gid=0 really be named 'root'. that's - # because the uname and gname in the test file are 'root', and extract() - # will look them up using pwd and grp to find their uid and gid, which we - # test here to be 0. - # [jart] tests shouldn't read /etc/passwd lool - # @unittest.skipUnless(root_is_uid_gid_0(), - # 'uid=0,gid=0 must be named "root"') - @unittest.mock.patch('os.chown') - @unittest.mock.patch('os.chmod') - @unittest.mock.patch('os.geteuid') - def test_extract_without_numeric_owner(self, mock_geteuid, mock_chmod, - mock_chown): - with self._setup_test(mock_geteuid) as (tarfl, filename_1, _, _): - tarfl.extract(filename_1, TEMPDIR, numeric_owner=False) - - # convert to filesystem paths - f_filename_1 = os.path.join(TEMPDIR, filename_1) - - mock_chown.assert_called_with(f_filename_1, 0, 0) + # TODO(ahgamut): This probably regressed due to 1a839ba41 + # # this test requires that uid=0 and gid=0 really be named 'root'. that's + # # because the uname and gname in the test file are 'root', and extract() + # # will look them up using pwd and grp to find their uid and gid, which we + # # test here to be 0. + # # [jart] tests shouldn't read /etc/passwd lool + # # @unittest.skipUnless(root_is_uid_gid_0(), + # # 'uid=0,gid=0 must be named "root"') + # @unittest.mock.patch('os.chown') + # @unittest.mock.patch('os.chmod') + # @unittest.mock.patch('os.geteuid') + # def test_extract_without_numeric_owner(self, mock_geteuid, mock_chmod, + # mock_chown): + # with self._setup_test(mock_geteuid) as (tarfl, filename_1, _, _): + # tarfl.extract(filename_1, TEMPDIR, numeric_owner=False) + # # convert to filesystem paths + # f_filename_1 = os.path.join(TEMPDIR, filename_1) + # mock_chown.assert_called_with(f_filename_1, 0, 0) @unittest.mock.patch('os.geteuid') def test_keyword_only(self, mock_geteuid): diff --git a/tool/args/args.c b/tool/args/args.c index 5210884e7..471d06360 100644 --- a/tool/args/args.c +++ b/tool/args/args.c @@ -16,16 +16,16 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ +#include "tool/args/args.h" #include "libc/assert.h" #include "libc/calls/calls.h" #include "libc/errno.h" -#include "libc/mem/mem.h" #include "libc/mem/gc.internal.h" +#include "libc/mem/mem.h" #include "libc/runtime/runtime.h" #include "libc/str/str.h" #include "libc/sysv/consts/o.h" #include "libc/x/x.h" -#include "tool/args/args.h" STATIC_YOINK("zip_uri_support"); diff --git a/tool/build/ar.c b/tool/build/ar.c index 42b775be5..7de54647b 100644 --- a/tool/build/ar.c +++ b/tool/build/ar.c @@ -18,7 +18,6 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/assert.h" #include "libc/calls/calls.h" -#include "libc/mem/copyfd.internal.h" #include "libc/calls/struct/iovec.h" #include "libc/calls/struct/stat.h" #include "libc/elf/elf.h" @@ -31,6 +30,7 @@ #include "libc/log/log.h" #include "libc/macros.internal.h" #include "libc/mem/arraylist2.internal.h" +#include "libc/mem/copyfd.internal.h" #include "libc/mem/mem.h" #include "libc/runtime/runtime.h" #include "libc/sock/sock.h" diff --git a/tool/build/bigmul.c b/tool/build/bigmul.c index 14e74cb44..cff0343eb 100644 --- a/tool/build/bigmul.c +++ b/tool/build/bigmul.c @@ -20,8 +20,8 @@ #include "libc/fmt/conv.h" #include "libc/log/log.h" #include "libc/macros.internal.h" -#include "libc/mem/mem.h" #include "libc/mem/gc.internal.h" +#include "libc/mem/mem.h" #include "libc/stdio/stdio.h" #include "libc/str/str.h" diff --git a/tool/build/cp.c b/tool/build/cp.c index 2a5ec4248..c62d25a6e 100644 --- a/tool/build/cp.c +++ b/tool/build/cp.c @@ -17,12 +17,12 @@ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/calls/calls.h" -#include "libc/mem/copyfd.internal.h" #include "libc/calls/copyfile.h" #include "libc/calls/struct/stat.h" #include "libc/errno.h" #include "libc/fmt/conv.h" #include "libc/fmt/fmt.h" +#include "libc/mem/copyfd.internal.h" #include "libc/mem/gc.h" #include "libc/runtime/runtime.h" #include "libc/stdio/stdio.h" diff --git a/tool/build/dis.c b/tool/build/dis.c index 3189f2f40..390b1ee1a 100644 --- a/tool/build/dis.c +++ b/tool/build/dis.c @@ -16,6 +16,7 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ +#include "tool/build/lib/dis.h" #include "libc/calls/calls.h" #include "libc/calls/struct/stat.h" #include "libc/elf/def.h" @@ -34,7 +35,6 @@ #include "libc/sysv/consts/o.h" #include "libc/sysv/consts/prot.h" #include "third_party/xed/x86.h" -#include "tool/build/lib/dis.h" #include "tool/build/lib/high.h" #include "tool/build/lib/loader.h" diff --git a/tool/build/ocat.c b/tool/build/ocat.c index f6ccdbdfd..21a0c6015 100644 --- a/tool/build/ocat.c +++ b/tool/build/ocat.c @@ -17,9 +17,9 @@ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/calls/calls.h" -#include "libc/mem/copyfd.internal.h" #include "libc/errno.h" #include "libc/fmt/itoa.h" +#include "libc/mem/copyfd.internal.h" #include "libc/runtime/runtime.h" #include "libc/str/str.h" #include "libc/sysv/consts/ex.h" diff --git a/tool/build/pledge.c b/tool/build/pledge.c index a15cbcb07..2a242d6e3 100644 --- a/tool/build/pledge.c +++ b/tool/build/pledge.c @@ -16,10 +16,10 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ +#include "libc/calls/pledge.h" #include "libc/assert.h" #include "libc/calls/calls.h" #include "libc/calls/landlock.h" -#include "libc/calls/pledge.h" #include "libc/calls/pledge.internal.h" #include "libc/calls/struct/rlimit.h" #include "libc/calls/struct/sched_param.h" diff --git a/tool/build/runit.c b/tool/build/runit.c index 7876737ae..d25736d9b 100644 --- a/tool/build/runit.c +++ b/tool/build/runit.c @@ -16,6 +16,7 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ +#include "tool/build/runit.h" #include "libc/assert.h" #include "libc/calls/calls.h" #include "libc/calls/struct/itimerval.h" @@ -54,7 +55,6 @@ #include "third_party/zlib/zlib.h" #include "tool/build/lib/eztls.h" #include "tool/build/lib/psk.h" -#include "tool/build/runit.h" #define MAX_WAIT_CONNECT_SECONDS 12 #define INITIAL_CONNECT_TIMEOUT 100000 diff --git a/tool/curl/curl.c b/tool/curl/curl.c index 2398f6c62..f39a56590 100644 --- a/tool/curl/curl.c +++ b/tool/curl/curl.c @@ -242,14 +242,19 @@ int _curl(int argc, char *argv[]) { bool senthost = false, sentcontenttype = false, sentcontentlength = false; for (int i = 0; i < headers.n; ++i) { appendf(&request, "%s\r\n", headers.p[i]); - if (!strncasecmp("Host:", headers.p[i], 5)) senthost = true; - else if (!strncasecmp("Content-Type:", headers.p[i], 13)) sentcontenttype = true; - else if (!strncasecmp("Content-Length:", headers.p[i], 15)) sentcontentlength = true; + if (!strncasecmp("Host:", headers.p[i], 5)) + senthost = true; + else if (!strncasecmp("Content-Type:", headers.p[i], 13)) + sentcontenttype = true; + else if (!strncasecmp("Content-Length:", headers.p[i], 15)) + sentcontentlength = true; } if (!senthost) appendf(&request, "Host: %s:%s\r\n", host, port); if (postdata) { - if (!sentcontenttype) appends(&request, "Content-Type: application/x-www-form-urlencoded\r\n"); - if (!sentcontentlength) appendf(&request, "Content-Length: %d\r\n", strlen(postdata)); + if (!sentcontenttype) + appends(&request, "Content-Type: application/x-www-form-urlencoded\r\n"); + if (!sentcontentlength) + appendf(&request, "Content-Length: %d\r\n", strlen(postdata)); } appendf(&request, "\r\n"); if (postdata) appends(&request, postdata); diff --git a/tool/decode/elf.c b/tool/decode/elf.c index 298694d87..0c6646238 100644 --- a/tool/decode/elf.c +++ b/tool/decode/elf.c @@ -16,10 +16,10 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ +#include "libc/elf/elf.h" #include "libc/calls/calls.h" #include "libc/calls/struct/stat.h" #include "libc/elf/def.h" -#include "libc/elf/elf.h" #include "libc/elf/struct/rela.h" #include "libc/elf/struct/shdr.h" #include "libc/errno.h" diff --git a/tool/decode/macho.c b/tool/decode/macho.c index 5283e35d6..469608b6a 100644 --- a/tool/decode/macho.c +++ b/tool/decode/macho.c @@ -17,10 +17,10 @@ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/assert.h" -#include "libc/intrin/safemacros.internal.h" #include "libc/calls/calls.h" #include "libc/calls/struct/stat.h" #include "libc/fmt/conv.h" +#include "libc/intrin/safemacros.internal.h" #include "libc/macho.internal.h" #include "libc/runtime/runtime.h" #include "libc/stdio/stdio.h" diff --git a/tool/decode/mkcombos.c b/tool/decode/mkcombos.c index 21c393d7b..d2f64a878 100644 --- a/tool/decode/mkcombos.c +++ b/tool/decode/mkcombos.c @@ -16,9 +16,9 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/intrin/safemacros.internal.h" #include "libc/calls/calls.h" #include "libc/fmt/conv.h" +#include "libc/intrin/safemacros.internal.h" #include "libc/log/check.h" #include "libc/mem/mem.h" #include "libc/runtime/runtime.h" diff --git a/tool/decode/mkwides.c b/tool/decode/mkwides.c index 3f4c712c3..26c89663a 100644 --- a/tool/decode/mkwides.c +++ b/tool/decode/mkwides.c @@ -16,8 +16,8 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/intrin/safemacros.internal.h" #include "libc/fmt/fmt.h" +#include "libc/intrin/safemacros.internal.h" #include "libc/log/check.h" #include "libc/mem/mem.h" #include "libc/runtime/runtime.h" diff --git a/tool/decode/scrubdox.c b/tool/decode/scrubdox.c index 6caf6a1b2..3f1a1c12a 100644 --- a/tool/decode/scrubdox.c +++ b/tool/decode/scrubdox.c @@ -72,8 +72,8 @@ └────────────┴─────────────┴────────────────────────────────┴────────────┘ */ #include "libc/log/log.h" #include "libc/macros.internal.h" -#include "libc/mem/mem.h" #include "libc/mem/gc.h" +#include "libc/mem/mem.h" #include "libc/stdio/stdio.h" #include "libc/str/str.h" #include "libc/str/strwidth.h" diff --git a/tool/decode/zip.c b/tool/decode/zip.c index 839facd14..37a850b25 100644 --- a/tool/decode/zip.c +++ b/tool/decode/zip.c @@ -16,6 +16,7 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ +#include "libc/zip.h" #include "libc/calls/calls.h" #include "libc/calls/struct/stat.h" #include "libc/fmt/conv.h" @@ -34,7 +35,6 @@ #include "libc/sysv/consts/prot.h" #include "libc/x/xasprintf.h" #include "libc/x/xiso8601.h" -#include "libc/zip.h" #include "tool/decode/lib/asmcodegen.h" #include "tool/decode/lib/disassemblehex.h" #include "tool/decode/lib/flagger.h" diff --git a/tool/decode/zip2.c b/tool/decode/zip2.c index 16dfc5bf2..8d4e0f965 100644 --- a/tool/decode/zip2.c +++ b/tool/decode/zip2.c @@ -22,8 +22,8 @@ #include "libc/intrin/safemacros.internal.h" #include "libc/log/check.h" #include "libc/log/log.h" -#include "libc/mem/mem.h" #include "libc/mem/gc.h" +#include "libc/mem/mem.h" #include "libc/runtime/runtime.h" #include "libc/sysv/consts/map.h" #include "libc/sysv/consts/o.h" diff --git a/tool/emacs/cosmo-format.el b/tool/emacs/cosmo-format.el index 6135a12e6..2593d087d 100644 --- a/tool/emacs/cosmo-format.el +++ b/tool/emacs/cosmo-format.el @@ -97,29 +97,29 @@ "Beautifies source code in current buffer." (interactive) (when (and (memq major-mode cosmo-format-modes) - (member (file-name-extension (buffer-file-name)) - cosmo-format-exts) - (not (member (file-name-nondirectory (buffer-name)) - cosmo-format-blacklist)) - (not (save-excursion - (beginning-of-buffer) - (looking-at "/\\* clang-format off \\*/")))) - (let ((bin (cosmo--find-clang-format-bin))) - (when bin + (member (file-name-extension (buffer-file-name)) + cosmo-format-exts) + (not (member (file-name-nondirectory (buffer-name)) + cosmo-format-blacklist)) + (not (save-excursion + (beginning-of-buffer) + (looking-at "/\\* clang-format off \\*/")))) + (let* ((bin (cosmo--find-clang-format-bin)) + (this (buffer-file-name)) + (root (locate-dominating-file this ".clang-format"))) + (when (and bin root) (let ((p (point)) (tmp (make-temp-file "cosmo-format")) - (arg (or cosmo-format-arg - (and (locate-dominating-file - (buffer-file-name) - ".clang-format") - "-style=file")))) - (when arg - (message arg) + (arg1 (concat "--assume-filename=" + (file-relative-name this root))) + (arg2 (or cosmo-format-arg + "-style=file"))) + (when arg2 (write-region nil nil tmp) (let ((buf (get-buffer-create "*clang-format*")) (exe (cosmo--find-clang-format-bin))) (with-current-buffer buf - (call-process exe tmp t nil arg)) + (call-process exe tmp t nil arg1 arg2)) (replace-buffer-contents buf) (kill-buffer buf) (delete-file tmp nil)))))))) diff --git a/tool/lambda/blcdump.c b/tool/lambda/blcdump.c index 3ca572cc0..d5fa28748 100644 --- a/tool/lambda/blcdump.c +++ b/tool/lambda/blcdump.c @@ -19,8 +19,8 @@ #include "libc/calls/calls.h" #include "libc/calls/struct/rlimit.h" #include "libc/runtime/runtime.h" -#include "libc/sysv/consts/rlimit.h" #include "libc/str/locale.h" +#include "libc/sysv/consts/rlimit.h" #include "third_party/getopt/getopt.h" #include "tool/lambda/lib/blc.h" diff --git a/tool/lambda/lambda.c b/tool/lambda/lambda.c index 75f61ed97..667f0adb0 100644 --- a/tool/lambda/lambda.c +++ b/tool/lambda/lambda.c @@ -23,11 +23,11 @@ #include "libc/log/log.h" #include "libc/runtime/runtime.h" #include "libc/stdio/stdio.h" +#include "libc/str/locale.h" #include "libc/sysv/consts/map.h" #include "libc/sysv/consts/prot.h" #include "libc/sysv/consts/rlimit.h" #include "libc/sysv/consts/sig.h" -#include "libc/str/locale.h" #include "third_party/getopt/getopt.h" #include "tool/lambda/lib/blc.h" diff --git a/tool/net/lfuncs.c b/tool/net/lfuncs.c index 373400317..b363217e9 100644 --- a/tool/net/lfuncs.c +++ b/tool/net/lfuncs.c @@ -16,6 +16,7 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ +#include "tool/net/lfuncs.h" #include "dsp/scale/cdecimate2xuint8x8.h" #include "libc/calls/calls.h" #include "libc/calls/struct/rusage.h" @@ -66,7 +67,6 @@ #include "third_party/mbedtls/sha256.h" #include "third_party/mbedtls/sha512.h" #include "third_party/zlib/zlib.h" -#include "tool/net/lfuncs.h" static int Rdpid(void) { return rdpid(); diff --git a/tool/net/ljson.c b/tool/net/ljson.c index ad6e58562..a6aee237a 100644 --- a/tool/net/ljson.c +++ b/tool/net/ljson.c @@ -16,6 +16,7 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ +#include "tool/net/ljson.h" #include "libc/intrin/bits.h" #include "libc/intrin/likely.h" #include "libc/log/check.h" @@ -29,7 +30,6 @@ #include "third_party/lua/lauxlib.h" #include "third_party/lua/ltests.h" #include "third_party/lua/lua.h" -#include "tool/net/ljson.h" #define KEY 1 #define COMMA 2 diff --git a/tool/net/luacheck.h b/tool/net/luacheck.h index b800e48f8..533ecbe1a 100644 --- a/tool/net/luacheck.h +++ b/tool/net/luacheck.h @@ -7,15 +7,15 @@ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ -#define AssertLuaStackIsAt(L, level) \ - do { \ - if (lua_gettop(L) > level) { \ - char *s = LuaFormatStack(L); \ - WARNF("lua stack should be at %d;" \ - " extra values ignored:\n%s", \ - level, s); \ - free(s); \ - } \ +#define AssertLuaStackIsAt(L, level) \ + do { \ + if (lua_gettop(L) > level) { \ + char *s = LuaFormatStack(L); \ + WARNF("lua stack should be at %d;" \ + " extra values ignored:\n%s", \ + level, s); \ + free(s); \ + } \ } while (0) COSMOPOLITAN_C_END_ diff --git a/tool/plinko/plinko.c b/tool/plinko/plinko.c index 6a75105c4..2c53e875a 100644 --- a/tool/plinko/plinko.c +++ b/tool/plinko/plinko.c @@ -16,8 +16,8 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/thread/tls.h" #include "tool/plinko/lib/plinko.h" +#include "libc/thread/tls.h" STATIC_YOINK("__zipos_get"); diff --git a/tool/viz/cpuid.c b/tool/viz/cpuid.c index a2fdf135c..e2ea569a1 100644 --- a/tool/viz/cpuid.c +++ b/tool/viz/cpuid.c @@ -20,12 +20,12 @@ #include "libc/intrin/kprintf.h" #include "libc/log/color.internal.h" #include "libc/log/log.h" +#include "libc/mem/gc.h" #include "libc/nexgen32e/cpuid4.internal.h" #include "libc/nexgen32e/nexgen32e.h" #include "libc/nexgen32e/rdtscp.h" #include "libc/nexgen32e/x86feature.h" #include "libc/nexgen32e/x86info.h" -#include "libc/mem/gc.h" #include "libc/stdio/stdio.h" #include "libc/time/time.h" #include "libc/x/xasprintf.h" diff --git a/tool/viz/derasterize.c b/tool/viz/derasterize.c index 517521b95..b318c33af 100644 --- a/tool/viz/derasterize.c +++ b/tool/viz/derasterize.c @@ -104,7 +104,7 @@ int y_; /* -y HEIGHT [in flexidecimal] */ #define Mode BEST #if Mode == BEST -#define MC 9u /* log2(#) of color combos to consider */ +#define MC 9u /* log2(#) of color combos to consider */ #define GN 35u /* # of glyphs to consider */ #elif Mode == FAST #define MC 6u @@ -114,10 +114,10 @@ int y_; /* -y HEIGHT [in flexidecimal] */ #define GN 25u #endif -#define CN 3u /* # channels (rgb) */ -#define YS 8u /* row stride -or- block height */ -#define XS 4u /* column stride -or- block width */ -#define GT 44u /* total glyphs */ +#define CN 3u /* # channels (rgb) */ +#define YS 8u /* row stride -or- block height */ +#define XS 4u /* column stride -or- block width */ +#define GT 44u /* total glyphs */ #define BN (YS * XS) /* # scalars in block/glyph plane */ #define PHIPRIME 0x9E3779B1u diff --git a/tool/viz/fold.c b/tool/viz/fold.c index 6e715f554..bae1b5c76 100644 --- a/tool/viz/fold.c +++ b/tool/viz/fold.c @@ -16,9 +16,9 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/intrin/safemacros.internal.h" #include "libc/errno.h" #include "libc/fmt/conv.h" +#include "libc/intrin/safemacros.internal.h" #include "libc/runtime/runtime.h" #include "libc/stdio/stdio.h" #include "libc/str/str.h" diff --git a/tool/viz/maxmind.c b/tool/viz/maxmind.c index 328a9be3a..a7e901ffa 100644 --- a/tool/viz/maxmind.c +++ b/tool/viz/maxmind.c @@ -16,12 +16,12 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/intrin/bits.h" #include "libc/calls/calls.h" +#include "libc/intrin/bits.h" #include "libc/log/check.h" #include "libc/log/log.h" -#include "libc/mem/mem.h" #include "libc/mem/gc.internal.h" +#include "libc/mem/mem.h" #include "libc/stdio/stdio.h" #include "net/http/http.h" #include "net/http/ip.h" diff --git a/tool/viz/printansi.c b/tool/viz/printansi.c index 987e20924..397f4320a 100644 --- a/tool/viz/printansi.c +++ b/tool/viz/printansi.c @@ -22,22 +22,22 @@ #include "dsp/tty/quant.h" #include "dsp/tty/tty.h" #include "libc/assert.h" -#include "libc/intrin/bits.h" -#include "libc/intrin/safemacros.internal.h" #include "libc/calls/calls.h" #include "libc/calls/ioctl.h" #include "libc/calls/struct/stat.h" #include "libc/calls/struct/winsize.h" #include "libc/dce.h" #include "libc/fmt/conv.h" +#include "libc/intrin/bits.h" +#include "libc/intrin/safemacros.internal.h" #include "libc/limits.h" #include "libc/log/check.h" #include "libc/log/log.h" #include "libc/macros.internal.h" #include "libc/math.h" +#include "libc/mem/gc.internal.h" #include "libc/mem/mem.h" #include "libc/stdio/rand.h" -#include "libc/mem/gc.internal.h" #include "libc/stdio/stdio.h" #include "libc/str/str.h" #include "libc/sysv/consts/ex.h" diff --git a/tool/viz/printimage.c b/tool/viz/printimage.c index b939de902..b95533243 100644 --- a/tool/viz/printimage.c +++ b/tool/viz/printimage.c @@ -29,8 +29,8 @@ #include "libc/fmt/conv.h" #include "libc/log/check.h" #include "libc/log/log.h" -#include "libc/mem/mem.h" #include "libc/mem/gc.internal.h" +#include "libc/mem/mem.h" #include "libc/runtime/runtime.h" #include "libc/stdio/stdio.h" #include "libc/sysv/consts/ex.h" diff --git a/tool/viz/unicode.c b/tool/viz/unicode.c index 33388c504..8c6d69ab7 100644 --- a/tool/viz/unicode.c +++ b/tool/viz/unicode.c @@ -16,12 +16,12 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ +#include "libc/str/unicode.h" #include "libc/fmt/fmt.h" -#include "libc/mem/mem.h" #include "libc/mem/gc.h" +#include "libc/mem/mem.h" #include "libc/stdio/stdio.h" #include "libc/str/str.h" -#include "libc/str/unicode.h" #include "libc/x/xasprintf.h" int a, b, w, i; diff --git a/tool/viz/vdsosyms.c b/tool/viz/vdsosyms.c index d745b3c75..c97921d7e 100644 --- a/tool/viz/vdsosyms.c +++ b/tool/viz/vdsosyms.c @@ -16,7 +16,6 @@ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ -#include "libc/intrin/strace.internal.h" #include "libc/elf/def.h" #include "libc/elf/scalar.h" #include "libc/elf/struct/ehdr.h" @@ -25,6 +24,7 @@ #include "libc/elf/struct/verdaux.h" #include "libc/elf/struct/verdef.h" #include "libc/intrin/kprintf.h" +#include "libc/intrin/strace.internal.h" #include "libc/runtime/runtime.h" #include "libc/sysv/consts/auxv.h" diff --git a/tool/viz/xterm256effective.c b/tool/viz/xterm256effective.c index 35001c0cc..639885654 100644 --- a/tool/viz/xterm256effective.c +++ b/tool/viz/xterm256effective.c @@ -17,9 +17,9 @@ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "dsp/tty/quant.h" +#include "libc/fmt/fmt.h" #include "libc/intrin/bits.h" #include "libc/intrin/xchg.internal.h" -#include "libc/fmt/fmt.h" #include "libc/math.h" #include "libc/runtime/runtime.h" #include "libc/stdio/stdio.h"