path
stringlengths
14
112
content
stringlengths
0
6.32M
size
int64
0
6.32M
max_lines
int64
1
100k
repo_name
stringclasses
2 values
autogenerated
bool
1 class
cosmopolitan/libc/sock/select-nt.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞══════════════════════════════════════════════════════════════════════════════╡ │ Copyright 2020 Justine Alexandra Roberts Tunney │ │ │ │ Permission to use, copy, modify, and/or distribute this software for │ │ any purpose with or without fee is hereby granted, provided that the │ │ above copyright notice and this permission notice appear in all copies. │ │ │ │ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL │ │ WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED │ │ WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE │ │ AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL │ │ DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR │ │ PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER │ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/calls/internal.h" #include "libc/calls/state.internal.h" #include "libc/calls/struct/timeval.h" #include "libc/macros.internal.h" #include "libc/sock/select.h" #include "libc/sock/sock.h" #include "libc/sock/struct/pollfd.h" #include "libc/sock/struct/pollfd.internal.h" #include "libc/sysv/consts/poll.h" #include "libc/sysv/errfuns.h" #ifdef __x86_64__ int sys_select_nt(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout, const sigset_t *sigmask) { uint64_t millis; int i, pfds, events, fdcount; struct pollfd fds[64]; // convert bitsets to pollfd for (pfds = i = 0; i < nfds; ++i) { events = 0; if (readfds && FD_ISSET(i, readfds)) events |= POLLIN; if (writefds && FD_ISSET(i, writefds)) events |= POLLOUT; if (exceptfds && FD_ISSET(i, exceptfds)) events |= POLLERR; if (events) { if (pfds < ARRAYLEN(fds)) { fds[pfds].fd = i; fds[pfds].events = events; fds[pfds].revents = 0; pfds += 1; } else { return enomem(); } } } // convert the wait time to a word if (!timeout || __builtin_add_overflow(timeout->tv_sec, timeout->tv_usec / 1000, &millis)) { millis = -1; } // call our nt poll implementation fdcount = sys_poll_nt(fds, pfds, &millis, sigmask); if (fdcount == -1) return -1; // convert pollfd back to bitsets if (readfds) FD_ZERO(readfds); if (writefds) FD_ZERO(writefds); if (exceptfds) FD_ZERO(exceptfds); for (i = 0; i < fdcount; ++i) { if (fds[i].revents & POLLIN) FD_SET(fds[i].fd, readfds); if (fds[i].revents & POLLOUT) FD_SET(fds[i].fd, writefds); if (fds[i].revents & (POLLERR | POLLNVAL)) FD_SET(fds[i].fd, exceptfds); } // store remaining time back in caller's timeval if (timeout) { timeout->tv_sec = millis / 1000; timeout->tv_usec = millis % 1000 * 1000; } return fdcount; } #endif /* __x86_64__ */
3,847
87
jart/cosmopolitan
false
cosmopolitan/libc/sock/socket-sysv.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞══════════════════════════════════════════════════════════════════════════════╡ │ Copyright 2020 Justine Alexandra Roberts Tunney │ │ │ │ Permission to use, copy, modify, and/or distribute this software for │ │ any purpose with or without fee is hereby granted, provided that the │ │ above copyright notice and this permission notice appear in all copies. │ │ │ │ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL │ │ WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED │ │ WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE │ │ AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL │ │ DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR │ │ PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER │ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/dce.h" #include "libc/errno.h" #include "libc/sock/internal.h" #include "libc/sysv/consts/sock.h" int sys_socket(int family, int type, int protocol) { static bool once, demodernize; int sock, olderr; if (!once && (type & (SOCK_CLOEXEC | SOCK_NONBLOCK))) { if (IsXnu()) { demodernize = true; once = true; } else { olderr = errno; if ((sock = __sys_socket(family, type, protocol)) != -1) { once = true; return sock; } else { errno = olderr; demodernize = true; once = true; } } } if (!demodernize) { return __sys_socket(family, type, protocol); } else { return __fixupnewsockfd( __sys_socket(family, type & ~(SOCK_CLOEXEC | SOCK_NONBLOCK), protocol), type); } }
2,638
51
jart/cosmopolitan
false
cosmopolitan/libc/sock/sendto-nt.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞══════════════════════════════════════════════════════════════════════════════╡ │ Copyright 2020 Justine Alexandra Roberts Tunney │ │ │ │ Permission to use, copy, modify, and/or distribute this software for │ │ any purpose with or without fee is hereby granted, provided that the │ │ above copyright notice and this permission notice appear in all copies. │ │ │ │ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL │ │ WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED │ │ WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE │ │ AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL │ │ DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR │ │ PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER │ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/calls/internal.h" #include "libc/calls/struct/iovec.h" #include "libc/nt/struct/overlapped.h" #include "libc/nt/winsock.h" #include "libc/sock/internal.h" #include "libc/sysv/errfuns.h" textwindows ssize_t sys_sendto_nt(int fd, const struct iovec *iov, size_t iovlen, uint32_t flags, void *opt_in_addr, uint32_t in_addrsize) { ssize_t rc; uint32_t sent = 0; struct SockFd *sockfd; struct NtIovec iovnt[16]; struct NtOverlapped overlapped = {.hEvent = WSACreateEvent()}; if (_check_interrupts(true, g_fds.p)) return -1; if (!WSASendTo(g_fds.p[fd].handle, iovnt, __iovec2nt(iovnt, iov, iovlen), &sent, flags, opt_in_addr, in_addrsize, &overlapped, NULL)) { rc = sent; } else { sockfd = (struct SockFd *)g_fds.p[fd].extra; rc = __wsablock(g_fds.p[fd].handle, &overlapped, &flags, true, sockfd->sndtimeo); } WSACloseEvent(overlapped.hEvent); return rc; }
2,842
46
jart/cosmopolitan
false
cosmopolitan/libc/sock/recv.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞══════════════════════════════════════════════════════════════════════════════╡ │ Copyright 2020 Justine Alexandra Roberts Tunney │ │ │ │ Permission to use, copy, modify, and/or distribute this software for │ │ any purpose with or without fee is hereby granted, provided that the │ │ above copyright notice and this permission notice appear in all copies. │ │ │ │ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL │ │ WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED │ │ WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE │ │ AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL │ │ DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR │ │ PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER │ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/calls/cp.internal.h" #include "libc/calls/internal.h" #include "libc/calls/struct/iovec.internal.h" #include "libc/dce.h" #include "libc/intrin/asan.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" #include "libc/sysv/errfuns.h" /** * Receives data from network socket. * * @param fd is the file descriptor returned by socket() * @param buf is where received network data gets copied * @param size is the byte capacity of buf * @param flags can have MSG_{WAITALL,PEEK,OOB}, etc. * @return number of bytes received, 0 on remote close, or -1 w/ errno * @error EINTR, EHOSTUNREACH, ECONNRESET (UDP ICMP Port Unreachable), * EPIPE (if MSG_NOSIGNAL), EMSGSIZE, ENOTSOCK, EFAULT, etc. * @cancellationpoint * @asyncsignalsafe * @restartable (unless SO_RCVTIMEO) */ ssize_t recv(int fd, void *buf, size_t size, int flags) { ssize_t rc, got; BEGIN_CANCELLATION_POINT; if (IsAsan() && !__asan_is_valid(buf, size)) { rc = efault(); } else if (!IsWindows()) { rc = sys_recvfrom(fd, buf, size, flags, 0, 0); } else if (__isfdopen(fd)) { if (__isfdkind(fd, kFdSocket)) { rc = sys_recv_nt(&g_fds.p[fd], (struct iovec[]){{buf, size}}, 1, flags); } else if (__isfdkind(fd, kFdFile)) { if (flags) { rc = einval(); } else { rc = sys_read_nt(&g_fds.p[fd], (struct iovec[]){{buf, size}}, 1, -1); } } else { rc = enotsock(); } } else { rc = ebadf(); } END_CANCELLATION_POINT; DATATRACE("recv(%d, [%#.*hhs%s], %'zu, %#x) → %'ld% lm", fd, MAX(0, MIN(40, rc)), buf, rc > 40 ? "..." : "", size, flags); return rc; }
3,576
73
jart/cosmopolitan
false
cosmopolitan/libc/sock/listen.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞══════════════════════════════════════════════════════════════════════════════╡ │ Copyright 2020 Justine Alexandra Roberts Tunney │ │ │ │ Permission to use, copy, modify, and/or distribute this software for │ │ any purpose with or without fee is hereby granted, provided that the │ │ above copyright notice and this permission notice appear in all copies. │ │ │ │ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL │ │ WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED │ │ WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE │ │ AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL │ │ DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR │ │ PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER │ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/calls/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" #include "libc/sysv/errfuns.h" /** * Asks system to accept incoming connections on socket. * * The socket() and bind() functions need to be called beforehand. Once * this function is called, accept() is used to wait for connections. * Using this on connectionless sockets will allow it to receive packets * on a designated address. * * @param backlog <= SOMAXCONN * @return 0 on success or -1 w/ errno */ int listen(int fd, int backlog) { int rc; if (!IsWindows()) { rc = sys_listen(fd, backlog); } else if (__isfdkind(fd, kFdSocket)) { rc = sys_listen_nt(&g_fds.p[fd], backlog); } else { rc = ebadf(); } STRACE("listen(%d, %d) → %d% lm", fd, backlog, rc); return rc; }
2,744
50
jart/cosmopolitan
false
cosmopolitan/libc/sock/listen-nt.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞══════════════════════════════════════════════════════════════════════════════╡ │ Copyright 2020 Justine Alexandra Roberts Tunney │ │ │ │ Permission to use, copy, modify, and/or distribute this software for │ │ any purpose with or without fee is hereby granted, provided that the │ │ above copyright notice and this permission notice appear in all copies. │ │ │ │ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL │ │ WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED │ │ WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE │ │ AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL │ │ DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR │ │ PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER │ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/assert.h" #include "libc/nt/winsock.h" #include "libc/sock/internal.h" #include "libc/sock/syscall_fd.internal.h" textwindows int sys_listen_nt(struct Fd *fd, int backlog) { _npassert(fd->kind == kFdSocket); if (__sys_listen_nt(fd->handle, backlog) != -1) { return 0; } else { return __winsockerr(); } }
2,172
32
jart/cosmopolitan
false
cosmopolitan/libc/sock/xinet_ntop.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞══════════════════════════════════════════════════════════════════════════════╡ │ Copyright 2020 Justine Alexandra Roberts Tunney │ │ │ │ Permission to use, copy, modify, and/or distribute this software for │ │ any purpose with or without fee is hereby granted, provided that the │ │ above copyright notice and this permission notice appear in all copies. │ │ │ │ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL │ │ WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED │ │ WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE │ │ AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL │ │ DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR │ │ PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER │ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/intrin/weaken.h" #include "libc/log/log.h" #include "libc/mem/mem.h" #include "libc/runtime/runtime.h" #include "libc/sock/sock.h" /** * Formats internet address to string, or dies. * * @param af can be AF_INET, e.g. addr->sin_family * @param src is the binary-encoded address, e.g. &addr->sin_addr * @return allocated IP address string, which must be free()'d */ char *sys_xinet_ntop(int af, const void *src) { char *res, ip[16]; if (inet_ntop(af, src, ip, sizeof(ip)) && (res = strdup(ip))) { return res; } else { if (_weaken(__die)) _weaken(__die)(); abort(); unreachable; } }
2,462
42
jart/cosmopolitan
false
cosmopolitan/libc/sock/nointernet.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞══════════════════════════════════════════════════════════════════════════════╡ │ Copyright 2022 Justine Alexandra Roberts Tunney │ │ │ │ Permission to use, copy, modify, and/or distribute this software for │ │ any purpose with or without fee is hereby granted, provided that the │ │ above copyright notice and this permission notice appear in all copies. │ │ │ │ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL │ │ WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED │ │ WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE │ │ AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL │ │ DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR │ │ PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER │ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/assert.h" #include "libc/calls/calls.h" #include "libc/calls/struct/bpf.h" #include "libc/calls/struct/filter.h" #include "libc/calls/struct/seccomp.h" #include "libc/calls/struct/sigaction.h" #include "libc/calls/struct/sigset.h" #include "libc/calls/syscall_support-sysv.internal.h" #include "libc/dce.h" #include "libc/errno.h" #include "libc/intrin/describeflags.internal.h" #include "libc/intrin/kprintf.h" #include "libc/intrin/likely.h" #include "libc/macros.internal.h" #include "libc/runtime/runtime.h" #include "libc/sock/sock.h" #include "libc/sock/struct/msghdr.h" #include "libc/sock/struct/sockaddr.h" #include "libc/str/str.h" #include "libc/sysv/consts/af.h" #include "libc/sysv/consts/audit.h" #include "libc/sysv/consts/nr.h" #include "libc/sysv/consts/nrlinux.h" #include "libc/sysv/consts/pr.h" #include "libc/sysv/consts/ptrace.h" #include "libc/sysv/consts/sig.h" #include "libc/sysv/errfuns.h" #include "net/http/ip.h" #ifdef __x86_64__ #define ORIG_RAX 120 #define RAX 80 #define RDI 112 #define RSI 104 #define RDX 96 #define R8 72 #define R9 64 #define __WALL 0x40000000 #define OFF(f) offsetof(struct seccomp_data, f) #if 0 #define DEBUG(...) kprintf(__VA_ARGS__) #else #define DEBUG(...) donothing #endif #define ORDIE(x) \ do { \ if (UNLIKELY((x) == -1)) { \ DEBUG("%s:%d: %s failed %m\n", __FILE__, __LINE__, #x); \ notpossible; \ } \ } while (0) static const struct sock_filter kInetBpf[] = { // cargo culted architecture assertion BPF_STMT(BPF_LD | BPF_W | BPF_ABS, OFF(arch)), BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, AUDIT_ARCH_X86_64, 1, 0), BPF_STMT(BPF_RET | BPF_K, SECCOMP_RET_KILL_PROCESS), // block system calls from the future BPF_STMT(BPF_LD + BPF_W + BPF_ABS, OFF(nr)), BPF_JUMP(BPF_JMP | BPF_JGE | BPF_K, __NR_linux_memfd_secret, 0, 1), BPF_STMT(BPF_RET | BPF_K, SECCOMP_RET_ERRNO | 38), // ENOSYS // only allow local and internet sockets BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, __NR_linux_socket, 0, 5), BPF_STMT(BPF_LD | BPF_W | BPF_ABS, OFF(args[0])), BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, 0x001, 2, 0), // AF_UNIX BPF_JUMP(BPF_JMP | BPF_JEQ | BPF_K, 0x002, 1, 0), // AF_INET BPF_STMT(BPF_RET | BPF_K, SECCOMP_RET_ERRNO | 1), // EPERM BPF_STMT(BPF_LD | BPF_W | BPF_ABS, OFF(nr)), // support for these not implemented yet BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, 0x133, 0, 1), // sendmmsg BPF_STMT(BPF_RET + BPF_K, SECCOMP_RET_ERRNO | 1), // EPERM // trace syscalls with struct sockaddr BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, 0x02e, 3, 0), // sendmsg BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, 0x02c, 2, 0), // sendto BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, 0x031, 1, 0), // bind BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, 0x02a, 0, 1), // connect BPF_STMT(BPF_RET + BPF_K, SECCOMP_RET_TRACE), // default course of action BPF_STMT(BPF_RET + BPF_K, SECCOMP_RET_ALLOW), }; static int PeekData(int pid, long addr, void *buf, size_t size) { long i, j, w; for (i = 0; i < size; i += sizeof(long)) { if (sys_ptrace(PTRACE_PEEKTEXT, pid, addr + i, &w) != -1) { for (j = 0; i + j < size && j < sizeof(long); ++j) { ((char *)buf)[i + j] = w; w >>= 8; } } else { return -1; } } return 0; } static void LogProcessEvent(int main, int pid, int ws) { DEBUG("trace: %s%06d%s 0x%06x", // pid == main ? "\e[31;1m" : "", // pid, // pid == main ? "\e[0m" : "", // ws); if (WIFEXITED(ws)) { DEBUG(" exit %d", WEXITSTATUS(ws)); } if (WIFSIGNALED(ws)) { DEBUG(" sig %d", WTERMSIG(ws)); } if (WIFSTOPPED(ws)) { DEBUG(" stop %s %s", strsignal(WSTOPSIG(ws)), DescribePtraceEvent((ws & 0xff0000) >> 16)); } if (WIFCONTINUED(ws)) { DEBUG(" cont"); } if (WCOREDUMP(ws)) { DEBUG(" core"); } DEBUG("\n"); } static int Raise(int sig) { sigset_t mask; sigaction(sig, &(struct sigaction){0}, 0); sigfillset(&mask); sigprocmask(SIG_SETMASK, &mask, 0); kill(getpid(), sig); sigdelset(&mask, sig); sigprocmask(SIG_SETMASK, &mask, 0); _Exit(128 + sig); } static bool IsSockaddrAllowed(struct sockaddr_storage *addr) { uint32_t ip; if (addr->ss_family == AF_UNIX) { return true; } if (addr->ss_family == AF_INET) { ip = ntohl(((struct sockaddr_in *)addr)->sin_addr.s_addr); if (IsPrivateIp(ip) || IsLoopbackIp(ip)) { return true; } else { kprintf("warning: attempted to communicate with public ip " "%hhd.%hhd.%hhd.%hhd\n", ip >> 24, ip >> 16, ip >> 8, ip); return false; } } DEBUG("bad family %d\n", addr->ss_family); return false; } static void OnSockaddrSyscall(int pid, int r1, int r2) { long si, dx; uint32_t addrlen; struct sockaddr_storage addr = {0}; ORDIE(sys_ptrace(PTRACE_PEEKUSER, pid, r1, &si)); ORDIE(sys_ptrace(PTRACE_PEEKUSER, pid, r2, &dx)); addrlen = dx; if (!si) { // if address isn't supplied, it's probably safe. for example, // send() is implemented in cosmo using sendto() with 0/0 addr return; } if (PeekData(pid, si, &addr, MIN(addrlen, sizeof(addr))) == -1) { DEBUG("failed to peek addr\n"); // probably an efault goto Deny; } if (IsSockaddrAllowed(&addr)) { return; } else { goto Deny; } Deny: ORDIE(sys_ptrace(PTRACE_POKEUSER, pid, ORIG_RAX, -1)); } static void OnSendmsg(int pid) { long si; struct msghdr msg = {0}; struct sockaddr_storage addr = {0}; ORDIE(sys_ptrace(PTRACE_PEEKUSER, pid, RSI, &si)); if (PeekData(pid, si, &msg, sizeof(msg)) == -1) { DEBUG("failed to peek msg\n"); // probably an efault goto Deny; } if (!msg.msg_name) { // if address isn't supplied, it's probably fine. return; } if (PeekData(pid, (long)msg.msg_name, &addr, MIN(msg.msg_namelen, sizeof(addr))) == -1) { DEBUG("failed to peek msg name\n"); // probably an efault goto Deny; } if (IsSockaddrAllowed(&addr)) { return; } else { goto Deny; } Deny: ORDIE(sys_ptrace(PTRACE_POKEUSER, pid, ORIG_RAX, -1)); } static void HandleSeccompTrace(int pid) { long ax; ORDIE(sys_ptrace(PTRACE_PEEKUSER, pid, ORIG_RAX, &ax)); switch (ax) { case 0x031: // bind case 0x02a: // connect OnSockaddrSyscall(pid, RSI, RDX); break; case 0x02c: // sendto OnSockaddrSyscall(pid, R8, R9); break; case 0x02e: // sendmsg OnSendmsg(pid); break; default: break; } } static int WaitForTrace(int main) { int ws, pid; for (;;) { // waits for state change on any child process or thread // eintr isn't possible since we're blocking all signals ORDIE(pid = waitpid(-1, &ws, __WALL)); LogProcessEvent(main, pid, ws); if (WIFEXITED(ws)) { if (pid == main) { _Exit(WEXITSTATUS(ws)); } } else if (WIFSIGNALED(ws)) { if (pid == main) { Raise(WTERMSIG(ws)); } } else if (WIFSTOPPED(ws)) { if ((ws >> 8) == (SIGTRAP | (PTRACE_EVENT_SECCOMP << 8))) { return pid; } else if ((ws >> 8) == (SIGTRAP | (PTRACE_EVENT_EXEC << 8))) { ORDIE(ptrace(PTRACE_CONT, pid, 0, 0)); } else if ((ws >> 8) == (SIGTRAP | (PTRACE_EVENT_FORK << 8)) || (ws >> 8) == (SIGTRAP | (PTRACE_EVENT_VFORK << 8)) || (ws >> 8) == (SIGTRAP | (PTRACE_EVENT_CLONE << 8))) { ORDIE(ptrace(PTRACE_CONT, pid, 0, 0)); } else { ORDIE(ptrace(PTRACE_CONT, pid, 0, WSTOPSIG(ws))); } } } } /** * Disables internet access. * * Warning: This function uses ptrace to react to seccomp filter events. * This approach is effective, but it's not bulletproof, since a highly * motivated attacker could theoretically use threads to modify sockaddr * in the short time between it being monitored and the actual syscall. */ int nointernet(void) { int ws, act, main; sigset_t set, old; char path[PATH_MAX]; struct sock_fprog prog = {.filter = kInetBpf, .len = ARRAYLEN(kInetBpf)}; // seccomp bpf and ptrace are pretty much just linux for now. if (!IsLinux() || !__is_linux_2_6_23()) { return enosys(); } // prevent crash handlers from intercepting sigsegv ORDIE(sigfillset(&set)); ORDIE(sigprocmask(SIG_SETMASK, &set, &old)); // create traced child that'll replace this program if ((main = fork()) == -1) { ORDIE(sigprocmask(SIG_SETMASK, &old, 0)); return -1; } if (!main) { if (sys_ptrace(PTRACE_TRACEME, 0, 0, 0) == -1) { // there can be only one // throw sigsegv on eperm // we're already being traced asm("hlt"); } prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0); ORDIE(prctl(PR_SET_SECCOMP, SECCOMP_MODE_FILTER, &prog)); ORDIE(kill(getpid(), SIGSTOP)); ORDIE(sigprocmask(SIG_SETMASK, &old, 0)); // return to caller from child return 0; } // wait for child to stop itself ORDIE(waitpid(main, &ws, 0)); if (WIFSIGNALED(ws)) { // child couldn't enable ptrace or seccomp sigprocmask(SIG_SETMASK, &old, 0); return eperm(); } _npassert(WIFSTOPPED(ws)); // parent process becomes monitor of subprocess tree. all signals // continue to be blocked since we assume they'll also be sent to // children, which will die, and then the monitor dies afterwards ORDIE(sys_ptrace(PTRACE_SETOPTIONS, main, 0, PTRACE_O_TRACESECCOMP | PTRACE_O_TRACEFORK | PTRACE_O_TRACEVFORK | PTRACE_O_TRACECLONE | PTRACE_O_TRACEEXEC)); for (act = main;;) { ORDIE(sys_ptrace(PTRACE_CONT, act, 0, 0)); act = WaitForTrace(main); HandleSeccompTrace(act); } } #endif /* __x86_64__ */
11,866
343
jart/cosmopolitan
false
cosmopolitan/libc/sock/getsockname-sysv.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞══════════════════════════════════════════════════════════════════════════════╡ │ Copyright 2020 Justine Alexandra Roberts Tunney │ │ │ │ Permission to use, copy, modify, and/or distribute this software for │ │ any purpose with or without fee is hereby granted, provided that the │ │ above copyright notice and this permission notice appear in all copies. │ │ │ │ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL │ │ WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED │ │ WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE │ │ AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL │ │ DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR │ │ PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER │ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/dce.h" #include "libc/sock/internal.h" #include "libc/sock/struct/sockaddr.internal.h" int sys_getsockname(int fd, void *out_addr, uint32_t *out_addrsize) { int rc; uint32_t size; union sockaddr_storage_bsd bsd; if (!IsBsd()) { rc = __sys_getsockname(fd, out_addr, out_addrsize); } else { size = sizeof(bsd); if ((rc = __sys_getsockname(fd, &bsd, &size)) != -1) { sockaddr2linux(&bsd, size, out_addr, out_addrsize); } } return rc; }
2,321
37
jart/cosmopolitan
false
cosmopolitan/libc/sock/socketpair-nt.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞══════════════════════════════════════════════════════════════════════════════╡ │ Copyright 2020 Justine Alexandra Roberts Tunney │ │ │ │ Permission to use, copy, modify, and/or distribute this software for │ │ any purpose with or without fee is hereby granted, provided that the │ │ above copyright notice and this permission notice appear in all copies. │ │ │ │ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL │ │ WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED │ │ WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE │ │ AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL │ │ DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR │ │ PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER │ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/calls/internal.h" #include "libc/calls/state.internal.h" #include "libc/calls/syscall_support-nt.internal.h" #include "libc/nt/createfile.h" #include "libc/nt/enum/accessmask.h" #include "libc/nt/enum/creationdisposition.h" #include "libc/nt/enum/fileflagandattributes.h" #include "libc/nt/ipc.h" #include "libc/nt/runtime.h" #include "libc/sock/internal.h" #include "libc/sysv/consts/af.h" #include "libc/sysv/consts/o.h" #include "libc/sysv/consts/sock.h" #include "libc/sysv/errfuns.h" textwindows int sys_socketpair_nt(int family, int type, int proto, int sv[2]) { uint32_t mode; char16_t pipename[64]; int64_t hpipe, h1, h2; int rc, reader, writer, oflags; // Supports only AF_UNIX if (family != AF_UNIX) { return eafnosupport(); } oflags = 0; if (type & SOCK_CLOEXEC) oflags |= O_CLOEXEC; type &= ~SOCK_CLOEXEC; if (type == SOCK_STREAM) { mode = kNtPipeTypeByte | kNtPipeReadmodeByte; } else if ((type == SOCK_DGRAM) || (type == SOCK_SEQPACKET)) { mode = kNtPipeTypeMessage | kNtPipeReadmodeMessage; } else { return eopnotsupp(); } CreatePipeName(pipename); __fds_lock(); reader = __reservefd_unlocked(-1); writer = __reservefd_unlocked(-1); __fds_unlock(); if (reader == -1 || writer == -1) { if (reader != -1) __releasefd(reader); if (writer != -1) __releasefd(writer); return -1; } if ((hpipe = CreateNamedPipe( pipename, kNtPipeAccessDuplex | kNtFileFlagOverlapped, mode, 1, 65536, 65536, 0, &kNtIsInheritable)) == -1) { __releasefd(writer); __releasefd(reader); return -1; } h1 = CreateFile(pipename, kNtGenericWrite | kNtGenericRead, 0, &kNtIsInheritable, kNtOpenExisting, kNtFileFlagOverlapped, 0); __fds_lock(); if (h1 != -1) { g_fds.p[reader].kind = kFdFile; g_fds.p[reader].flags = oflags; g_fds.p[reader].mode = 0140444; g_fds.p[reader].handle = hpipe; g_fds.p[writer].kind = kFdFile; g_fds.p[writer].flags = oflags; g_fds.p[writer].mode = 0140222; g_fds.p[writer].handle = h1; sv[0] = reader; sv[1] = writer; rc = 0; } else { CloseHandle(hpipe); __releasefd(writer); __releasefd(reader); rc = -1; } __fds_unlock(); return rc; }
4,111
107
jart/cosmopolitan
false
cosmopolitan/libc/sock/select.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞══════════════════════════════════════════════════════════════════════════════╡ │ Copyright 2020 Justine Alexandra Roberts Tunney │ │ │ │ Permission to use, copy, modify, and/or distribute this software for │ │ any purpose with or without fee is hereby granted, provided that the │ │ above copyright notice and this permission notice appear in all copies. │ │ │ │ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL │ │ WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED │ │ WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE │ │ AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL │ │ DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR │ │ PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER │ │ 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/timespec.h" #include "libc/calls/struct/timeval.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/sysv/errfuns.h" /** * Does what poll() does except with bitset API. * * This system call is supported on all platforms. However, on Windows, * this is polyfilled to translate into poll(). So it's recommended that * poll() be used instead. * * @raise ECANCELED if thread was cancelled in masked mode * @raise EINTR if signal was delivered * @cancellationpoint * @asyncsignalsafe * @threadsafe * @norestart */ int select(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout) { int rc; struct timeval tv, *tvp; POLLTRACE("select(%d, %p, %p, %p, %s) → ...", nfds, readfds, writefds, exceptfds, DescribeTimeval(0, timeout)); // the linux kernel modifies timeout if (timeout) { if (IsAsan() && !__asan_is_valid(timeout, sizeof(*timeout))) { return efault(); } tv = *timeout; tvp = &tv; } else { tvp = 0; } BEGIN_CANCELLATION_POINT; if (nfds < 0) { rc = einval(); } else if (IsAsan() && ((readfds && !__asan_is_valid(readfds, FD_SIZE(nfds))) || (writefds && !__asan_is_valid(writefds, FD_SIZE(nfds))) || (exceptfds && !__asan_is_valid(exceptfds, FD_SIZE(nfds))))) { rc = efault(); } else if (!IsWindows()) { #ifdef __aarch64__ struct timespec ts, *tsp; if (timeout) { ts.tv_sec = timeout->tv_sec; ts.tv_nsec = timeout->tv_usec * 1000; tsp = &ts; } else { tsp = 0; } rc = sys_pselect(nfds, readfds, writefds, exceptfds, tsp, 0); #else rc = sys_select(nfds, readfds, writefds, exceptfds, tvp); #endif } else { rc = sys_select_nt(nfds, readfds, writefds, exceptfds, tvp, 0); } END_CANCELLATION_POINT; POLLTRACE("select(%d, %p, %p, %p, [%s]) → %d% m", nfds, readfds, writefds, exceptfds, DescribeTimeval(rc, tvp), rc); return rc; }
4,049
93
jart/cosmopolitan
false
cosmopolitan/libc/sock/accept4.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞══════════════════════════════════════════════════════════════════════════════╡ │ Copyright 2020 Justine Alexandra Roberts Tunney │ │ │ │ Permission to use, copy, modify, and/or distribute this software for │ │ any purpose with or without fee is hereby granted, provided that the │ │ above copyright notice and this permission notice appear in all copies. │ │ │ │ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL │ │ WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED │ │ WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE │ │ AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL │ │ DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR │ │ PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER │ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/calls/cp.internal.h" #include "libc/calls/internal.h" #include "libc/dce.h" #include "libc/intrin/asan.internal.h" #include "libc/intrin/strace.internal.h" #include "libc/sock/internal.h" #include "libc/sock/sock.h" #include "libc/sock/struct/sockaddr.h" #include "libc/sock/struct/sockaddr.internal.h" #include "libc/sock/syscall_fd.internal.h" #include "libc/sysv/errfuns.h" /** * Creates client socket file descriptor for incoming connection. * * @param fd is the server socket file descriptor * @param out_addr will receive the remote address * @param inout_addrsize provides and receives out_addr's byte length * @param flags can have SOCK_{CLOEXEC,NONBLOCK}, which may apply to * both the newly created socket and the server one * @return client fd which needs close(), or -1 w/ errno * @cancellationpoint * @asyncsignalsafe * @restartable (unless SO_RCVTIMEO) */ int accept4(int fd, struct sockaddr *out_addr, uint32_t *inout_addrsize, int flags) { int rc; char addrbuf[72]; BEGIN_CANCELLATION_POINT; if (!out_addr || !inout_addrsize || (IsAsan() && !__asan_is_valid(out_addr, *inout_addrsize))) { rc = efault(); } else if (!IsWindows()) { rc = sys_accept4(fd, out_addr, inout_addrsize, flags); } else if (__isfdkind(fd, kFdSocket)) { rc = sys_accept_nt(&g_fds.p[fd], out_addr, inout_addrsize, flags); } else { rc = ebadf(); } END_CANCELLATION_POINT; STRACE("accept4(%d, [%s]) -> %d% lm", fd, DescribeSockaddr(out_addr, inout_addrsize ? *inout_addrsize : 0), rc); return rc; }
3,419
66
jart/cosmopolitan
false
cosmopolitan/libc/sock/pselect.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞══════════════════════════════════════════════════════════════════════════════╡ │ Copyright 2022 Justine Alexandra Roberts Tunney │ │ │ │ Permission to use, copy, modify, and/or distribute this software for │ │ any purpose with or without fee is hereby granted, provided that the │ │ above copyright notice and this permission notice appear in all copies. │ │ │ │ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL │ │ WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED │ │ WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE │ │ AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL │ │ DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR │ │ PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER │ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/calls/cp.internal.h" #include "libc/calls/struct/timespec.h" #include "libc/calls/struct/timeval.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/select.h" #include "libc/sysv/errfuns.h" /** * Does what poll() does except with bitset API. * * This function is the same as saying: * * sigset_t old; * sigprocmask(SIG_SETMASK, sigmask, &old); * select(nfds, readfds, writefds, exceptfds, timeout); * sigprocmask(SIG_SETMASK, old, 0); * * Except it happens atomically. * * The Linux Kernel modifies the timeout parameter. This wrapper gives * it a local variable due to POSIX requiring that `timeout` be const. * If you need that information from the Linux Kernel use sys_pselect. * * This system call is supported on all platforms. It's like select() * except that it atomically changes the sigprocmask() during the op. * * @raise ECANCELED if thread was cancelled in masked mode * @raise EINTR if signal was delivered * @cancellationpoint * @asyncsignalsafe * @threadsafe * @norestart */ int pselect(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, const struct timespec *timeout, const sigset_t *sigmask) { int rc; sigset_t oldmask; struct timeval tv, *tvp; struct timespec ts, *tsp; struct { const sigset_t *s; size_t n; } ss; BEGIN_CANCELLATION_POINT; if (nfds < 0) { rc = einval(); } else if (IsAsan() && ((readfds && !__asan_is_valid(readfds, FD_SIZE(nfds))) || (writefds && !__asan_is_valid(writefds, FD_SIZE(nfds))) || (exceptfds && !__asan_is_valid(exceptfds, FD_SIZE(nfds))) || (timeout && !__asan_is_valid(timeout, sizeof(*timeout))) || (sigmask && !__asan_is_valid(sigmask, sizeof(*sigmask))))) { rc = efault(); } else if (IsLinux()) { if (timeout) { ts = *timeout; tsp = &ts; } else { tsp = 0; } ss.s = sigmask; ss.n = 8; rc = sys_pselect(nfds, readfds, writefds, exceptfds, tsp, &ss); } else if (!IsWindows()) { rc = sys_pselect(nfds, readfds, writefds, exceptfds, timeout, sigmask); } else { if (timeout) { tv.tv_sec = timeout->tv_sec; tv.tv_usec = timeout->tv_nsec / 1000; tvp = &tv; } else { tvp = 0; } rc = sys_select_nt(nfds, readfds, writefds, exceptfds, tvp, sigmask); } END_CANCELLATION_POINT; POLLTRACE("pselect(%d, %p, %p, %p, %s, %s) → %d% m", nfds, readfds, writefds, exceptfds, DescribeTimeval(0, timeout), DescribeSigset(0, sigmask), rc); return rc; }
4,585
106
jart/cosmopolitan
false
cosmopolitan/libc/sock/basesocket.c
/*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ │vi: set net ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞══════════════════════════════════════════════════════════════════════════════╡ │ Copyright 2022 Justine Alexandra Roberts Tunney │ │ │ │ Permission to use, copy, modify, and/or distribute this software for │ │ any purpose with or without fee is hereby granted, provided that the │ │ above copyright notice and this permission notice appear in all copies. │ │ │ │ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL │ │ WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED │ │ WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE │ │ AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL │ │ DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR │ │ PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER │ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/nt/enum/sio.h" #include "libc/nt/errors.h" #include "libc/nt/winsock.h" #include "libc/sock/internal.h" #include "libc/sock/sock.h" static textwindows int64_t GetNtBspSocket(int64_t socket, uint32_t ioctl) { uint32_t bytes; int64_t bsp_socket; if (WSAIoctl(socket, ioctl, NULL, 0, &bsp_socket, sizeof(bsp_socket), &bytes, NULL, NULL) != -1) { return bsp_socket; } else { return -1; } } textwindows int64_t GetNtBaseSocket(int64_t socket) { int64_t base_socket; for (;;) { base_socket = GetNtBspSocket(socket, kNtSioBaseHandle); if (base_socket != -1) return base_socket; if (WSAGetLastError() == WSAENOTSOCK) return __winsockerr(); /* * Even though Microsoft documentation clearly states that Layered * Spyware Providers must never ever intercept the SIO_BASE_HANDLE * ioctl, Komodia LSPs (that Lenovo got sued for preinstalling) do * so anyway in order to redirect decrypted https requests through * some foreign proxy and inject ads which breaks high-performance * network event io. However it doesn't handle SIO_BSP_HANDLE_POLL * which will at least let us obtain the socket associated with the * next winsock protocol chain entry. If this succeeds, loop around * and call SIO_BASE_HANDLE again with the returned BSP socket, to * make sure we unwrap all layers and retrieve the real base socket. */ base_socket = GetNtBspSocket(socket, kNtSioBspHandlePoll); if (base_socket != -1 && base_socket != socket) { socket = base_socket; } else { return __winsockerr(); } } }
3,462
62
jart/cosmopolitan
false
cosmopolitan/libc/sock/struct/pollfd.h
#ifndef COSMOPOLITAN_LIBC_SOCK_STRUCT_POLLFD_H_ #define COSMOPOLITAN_LIBC_SOCK_STRUCT_POLLFD_H_ #include "libc/calls/struct/sigset.h" #include "libc/calls/struct/timespec.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ struct pollfd { int32_t fd; int16_t events; int16_t revents; }; int poll(struct pollfd *, uint64_t, int32_t); int ppoll(struct pollfd *, uint64_t, const struct timespec *, const struct sigset *); COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LIBC_SOCK_STRUCT_POLLFD_H_ */
569
21
jart/cosmopolitan
false
cosmopolitan/libc/sock/struct/sockaddr6.h
#ifndef COSMOPOLITAN_LIBC_CALLS_STRUCT_SOCKADDR6_H_ #define COSMOPOLITAN_LIBC_CALLS_STRUCT_SOCKADDR6_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) struct in6_addr { union { uint8_t s6_addr[16]; uint16_t s6_addr16[8]; uint32_t s6_addr32[4]; }; }; struct sockaddr_in6 { /* Linux+NT ABI */ uint16_t sin6_family; uint16_t sin6_port; uint32_t sin6_flowinfo; struct in6_addr sin6_addr; uint32_t sin6_scope_id; /* rfc2553 */ }; #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LIBC_CALLS_STRUCT_SOCKADDR6_H_ */
549
23
jart/cosmopolitan
false
cosmopolitan/libc/sock/struct/sockaddr.h
#ifndef COSMOPOLITAN_LIBC_SOCK_STRUCT_SOCKADDR_H_ #define COSMOPOLITAN_LIBC_SOCK_STRUCT_SOCKADDR_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ struct sockaddr { /* Linux+NT ABI */ uint16_t sa_family; /* AF_XXX */ char sa_data[14]; }; struct in_addr { /* ARPA ABI */ /* e.g. 127|0<<8|0<<16|1<<24 or inet_pton(AF_INET, "127.0.0.1", &s_addr) */ uint32_t s_addr; }; struct sockaddr_in { /* Linux+NT ABI */ uint16_t sin_family; /* AF_XXX */ uint16_t sin_port; /* htons(XXX) i.e. big endian */ struct in_addr sin_addr; uint8_t sin_zero[8]; }; struct sockaddr_un { uint16_t sun_family; /* AF_UNIX */ char sun_path[108]; /* path */ }; struct sockaddr_storage { union { uint16_t ss_family; intptr_t __ss_align; char __ss_storage[128]; }; }; int inet_aton(const char *, struct in_addr *); char *inet_ntoa(struct in_addr); int accept(int, struct sockaddr *, uint32_t *); int accept4(int, struct sockaddr *, uint32_t *, int); int bind(int, const struct sockaddr *, uint32_t); int connect(int, const struct sockaddr *, uint32_t); int getsockname(int, struct sockaddr *, uint32_t *); int getpeername(int, struct sockaddr *, uint32_t *); ssize_t recvfrom(int, void *, size_t, int, struct sockaddr *, uint32_t *); ssize_t sendto(int, const void *, size_t, int, const struct sockaddr *, uint32_t); COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LIBC_SOCK_STRUCT_SOCKADDR_H_ */
1,487
51
jart/cosmopolitan
false
cosmopolitan/libc/sock/struct/pollfd.internal.h
#ifndef COSMOPOLITAN_LIBC_SOCK_STRUCT_POLLFD_INTERNAL_H_ #define COSMOPOLITAN_LIBC_SOCK_STRUCT_POLLFD_INTERNAL_H_ #include "libc/calls/struct/sigset.h" #include "libc/calls/struct/timespec.h" #include "libc/mem/alloca.h" #include "libc/sock/struct/pollfd.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ int32_t sys_poll(struct pollfd *, uint64_t, signed) _Hide; int32_t __sys_poll(struct pollfd *, uint64_t, signed) _Hide; int sys_ppoll(struct pollfd *, size_t, const struct timespec *, const sigset_t *, size_t); int sys_poll_metal(struct pollfd *, size_t, unsigned); int sys_poll_nt(struct pollfd *, uint64_t, uint64_t *, const sigset_t *) _Hide; const char *DescribePollFds(char[300], ssize_t, struct pollfd *, size_t); #define DescribePollFds(x, y, z) DescribePollFds(alloca(300), x, y, z) COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LIBC_SOCK_STRUCT_POLLFD_INTERNAL_H_ */
955
23
jart/cosmopolitan
false
cosmopolitan/libc/sock/struct/ifconf.h
#ifndef COSMOPOLITAN_LIBC_SOCK_STRUCT_IFCONF_H_ #define COSMOPOLITAN_LIBC_SOCK_STRUCT_IFCONF_H_ #include "libc/sock/struct/ifreq.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ /* * Structure used in SIOCGIFCONF request. * Used to retrieve interface configuration * for machine (useful for programs which * must know all networks accessible). */ struct ifconf { int32_t ifc_len; /* size of buffer */ int32_t padding; union { char *ifcu_buf; struct ifreq *ifcu_req; } ifc_ifcu; }; /* Shortcuts to the ifconf buffer or ifreq array */ #define ifc_buf ifc_ifcu.ifcu_buf /* buffer address */ #define ifc_req ifc_ifcu.ifcu_req /* array of structures */ COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LIBC_SOCK_STRUCT_IFCONF_H_ */
809
29
jart/cosmopolitan
false
cosmopolitan/libc/sock/struct/msghdr.internal.h
#ifndef COSMOPOLITAN_LIBC_SOCK_STRUCT_MSGHDR_INTERNAL_H_ #define COSMOPOLITAN_LIBC_SOCK_STRUCT_MSGHDR_INTERNAL_H_ #include "libc/sock/struct/msghdr.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ struct msghdr_bsd { void *msg_name; uint32_t msg_namelen; struct iovec *msg_iov; uint32_t msg_iovlen; /* « different type */ void *msg_control; uint64_t msg_controllen; uint32_t msg_flags; /* « different type */ }; ssize_t sys_sendmsg(int, const struct msghdr *, int) _Hide; ssize_t sys_recvmsg(int, struct msghdr *, int) _Hide; bool __asan_is_valid_msghdr(const struct msghdr *); COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LIBC_SOCK_STRUCT_MSGHDR_INTERNAL_H_ */
740
24
jart/cosmopolitan
false
cosmopolitan/libc/sock/struct/ip_mreq.h
#ifndef COSMOPOLITAN_LIBC_SOCK_STRUCT_IP_MREQ_H_ #define COSMOPOLITAN_LIBC_SOCK_STRUCT_IP_MREQ_H_ #include "libc/sock/struct/sockaddr.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ struct ip_mreq { struct in_addr imr_multiaddr; /* IP multicast address of group */ struct in_addr imr_interface; /* local IP address of interface */ }; COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LIBC_SOCK_STRUCT_IP_MREQ_H_ */
476
15
jart/cosmopolitan
false
cosmopolitan/libc/sock/struct/sockaddr.internal.h
#ifndef COSMOPOLITAN_LIBC_SOCK_STRUCT_SOCKADDR_INTERNAL_H_ #define COSMOPOLITAN_LIBC_SOCK_STRUCT_SOCKADDR_INTERNAL_H_ #include "libc/mem/alloca.h" #include "libc/sock/struct/sockaddr.h" #include "libc/sock/struct/sockaddr6-bsd.internal.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ struct sockaddr_bsd { uint8_t sa_len; /* « different type */ uint8_t sa_family; /* « different type */ char sa_data[14]; }; struct sockaddr_in_bsd { uint8_t sin_len; /* « different type */ uint8_t sin_family; /* « different type */ uint16_t sin_port; struct in_addr sin_addr; uint8_t sin_zero[8]; }; struct sockaddr_un_bsd { uint8_t sun_len; /* sockaddr len including NUL on freebsd but excluding it on openbsd/xnu */ uint8_t sun_family; char sun_path[108]; }; union sockaddr_storage_bsd { struct sockaddr_bsd sa; struct sockaddr_in_bsd sin; struct sockaddr_in6_bsd sin6; struct sockaddr_un_bsd sun; }; union sockaddr_storage_linux { struct sockaddr sa; struct sockaddr_in sin; struct sockaddr_in6 sin6; struct sockaddr_un sun; }; const char *DescribeSockaddr(char[128], const struct sockaddr *, size_t); #define DescribeSockaddr(sa, sz) DescribeSockaddr(alloca(128), sa, sz) int sockaddr2bsd(const void *, uint32_t, union sockaddr_storage_bsd *, uint32_t *); void sockaddr2linux(const union sockaddr_storage_bsd *, uint32_t, union sockaddr_storage_linux *, uint32_t *); COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LIBC_SOCK_STRUCT_SOCKADDR_INTERNAL_H_ */
1,616
55
jart/cosmopolitan
false
cosmopolitan/libc/sock/struct/cmsghdr.h
#ifndef COSMOPOLITAN_LIBC_SOCK_STRUCT_CMSGHDR_H_ #define COSMOPOLITAN_LIBC_SOCK_STRUCT_CMSGHDR_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ #define CMSG_DATA(cmsg) ((unsigned char *)(((struct cmsghdr *)(cmsg)) + 1)) #define CMSG_FIRSTHDR(mhdr) \ ((size_t)(mhdr)->msg_controllen >= sizeof(struct cmsghdr) \ ? (struct cmsghdr *)(mhdr)->msg_control \ : (struct cmsghdr *)0) #define CMSG_NXTHDR(mhdr, cmsg) \ ((cmsg)->cmsg_len < sizeof(struct cmsghdr) || \ __CMSG_LEN(cmsg) + sizeof(struct cmsghdr) >= \ __MHDR_END(mhdr) - (unsigned char *)(cmsg) \ ? 0 \ : (struct cmsghdr *)__CMSG_NEXT(cmsg)) #define CMSG_ALIGN(len) \ (((len) + sizeof(size_t) - 1) & (size_t) ~(sizeof(size_t) - 1)) #define CMSG_SPACE(len) (CMSG_ALIGN(len) + CMSG_ALIGN(sizeof(struct cmsghdr))) #define CMSG_LEN(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + (len)) #define __CMSG_LEN(cmsg) \ (((cmsg)->cmsg_len + sizeof(long) - 1) & ~(long)(sizeof(long) - 1)) #define __CMSG_NEXT(cmsg) ((unsigned char *)(cmsg) + __CMSG_LEN(cmsg)) #define __MHDR_END(mhdr) \ ((unsigned char *)(mhdr)->msg_control + (mhdr)->msg_controllen) struct cmsghdr { /* linux abi */ uint32_t cmsg_len; uint32_t __pad1; int32_t cmsg_level; int32_t cmsg_type; }; COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LIBC_SOCK_STRUCT_CMSGHDR_H_ */
1,544
43
jart/cosmopolitan
false
cosmopolitan/libc/sock/struct/linger.h
#ifndef COSMOPOLITAN_LIBC_SOCK_STRUCT_LINGER_H_ #define COSMOPOLITAN_LIBC_SOCK_STRUCT_LINGER_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ struct linger { /* Linux+XNU+BSD ABI */ int32_t l_onoff; /* on/off */ int32_t l_linger; /* seconds */ }; COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LIBC_SOCK_STRUCT_LINGER_H_ */
392
14
jart/cosmopolitan
false
cosmopolitan/libc/sock/struct/cmsghdr.internal.h
#ifndef COSMOPOLITAN_LIBC_SOCK_STRUCT_CMSGHDR_INTERNAL_H_ #define COSMOPOLITAN_LIBC_SOCK_STRUCT_CMSGHDR_INTERNAL_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ struct cmsghdr_bsd { uint32_t cmsg_len; int32_t cmsg_level; int32_t cmsg_type; }; COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LIBC_SOCK_STRUCT_CMSGHDR_INTERNAL_H_ */
396
15
jart/cosmopolitan
false
cosmopolitan/libc/sock/struct/msghdr.h
#ifndef COSMOPOLITAN_LIBC_SOCK_STRUCT_MSGHDR_H_ #define COSMOPOLITAN_LIBC_SOCK_STRUCT_MSGHDR_H_ #include "libc/calls/struct/iovec.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ struct msghdr { /* Linux+NT ABI */ void *msg_name; /* optional address */ uint32_t msg_namelen; /* size of msg_name */ struct iovec *msg_iov; /* scatter/gather array */ uint64_t msg_iovlen; /* # elements in msg_iov */ void *msg_control; /* ancillary data c. cmsghdr */ uint64_t msg_controllen; /* ancillary data buffer len */ uint32_t msg_flags; /* MSG_XXX */ }; ssize_t recvmsg(int, struct msghdr *, int); ssize_t sendmsg(int, const struct msghdr *, int); COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LIBC_SOCK_STRUCT_MSGHDR_H_ */
827
23
jart/cosmopolitan
false
cosmopolitan/libc/sock/struct/sockaddr6-bsd.internal.h
#ifndef COSMOPOLITAN_LIBC_SOCK_STRUCT_SOCKADDR6_BSD_INTERNAL_H_ #define COSMOPOLITAN_LIBC_SOCK_STRUCT_SOCKADDR6_BSD_INTERNAL_H_ #include "libc/sock/struct/sockaddr6.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ struct sockaddr_in6_bsd { uint8_t sin6_len; uint8_t sin6_family; uint16_t sin6_port; uint32_t sin6_flowinfo; struct in6_addr sin6_addr; uint32_t sin6_scope_id; }; COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LIBC_SOCK_STRUCT_SOCKADDR6_BSD_INTERNAL_H_ */
541
19
jart/cosmopolitan
false
cosmopolitan/libc/sock/struct/ifreq.h
#ifndef COSMOPOLITAN_LIBC_SOCK_STRUCT_IFREQ_H_ #define COSMOPOLITAN_LIBC_SOCK_STRUCT_IFREQ_H_ #include "libc/sock/struct/sockaddr.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ #define IF_NAMESIZE 16 #define IFNAMSIZ IF_NAMESIZE struct ifreq { union { char ifrn_name[IFNAMSIZ]; /* Interface name, e.g. "en0". */ } ifr_ifrn; union { struct sockaddr ifru_addr; /* SIOCGIFADDR */ struct sockaddr ifru_dstaddr; /* SIOCGIFDSTADDR */ struct sockaddr ifru_netmask; /* SIOCGIFNETMASK */ struct sockaddr ifru_broadaddr; /* SIOCGIFBRDADDR */ short ifru_flags; /* SIOCGIFFLAGS */ char ifru_pad[24]; /* ifru_map is the largest, just pad */ } ifr_ifru; }; #define ifr_name ifr_ifrn.ifrn_name /* interface name */ #define ifr_addr ifr_ifru.ifru_addr /* address */ #define ifr_netmask ifr_ifru.ifru_netmask /* netmask */ #define ifr_broadaddr ifr_ifru.ifru_broadaddr /* broadcast address */ #define ifr_dstaddr ifr_ifru.ifru_dstaddr /* destination address */ #define ifr_flags ifr_ifru.ifru_flags /* flags */ COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LIBC_SOCK_STRUCT_IFREQ_H_ */
1,227
34
jart/cosmopolitan
false
cosmopolitan/libc/nt/iphlpapi.h
#ifndef COSMOPOLITAN_LIBC_NT_IPHLPAPI_H_ #define COSMOPOLITAN_LIBC_NT_IPHLPAPI_H_ #include "libc/nt/struct/ipadapteraddresses.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ /* ░░░░ ▒▒▒░░░▒▒▒▒▒▒▒▓▓▓░ ▒▒▒▒░░░▒▒▒▒▒▒▓▓▓▓▓▓░ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓▓ ▒▓░ ▒▒▒░░░░▒▒▒▒▒▒▓▓▓▓▓▓ ▓▓▓▓▓▓▒ ▒▒▒▓▓█ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▓ ░▒▒▒░░░░▒▒▒▒▒▒▓▓▓▓▓▓ █▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓█ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓░ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▓ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓▓ ▒▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▒ ▒▒▒▒▓▓ ▓▒▒▓▓▓▓ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓█ ▒▓ ▓▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓ ░░░░░░░░░░░▒▒▒▒ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓█ ▒▒░░░░░░░░░░▒▒▒▒▒▓▓▓ ▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▓ ░▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▓░ ░▓███▓ ▒▒░░░░░░░░░░▒▒▒▒▒▓▓░ ▒▓▓▓▒▒▒ ░▒▒▒▓ ████████████ ▒▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▒▓▓▓▓▒▒▒▒▒▒▒▒░░░▒▒▒▒▒░ ░███ ▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▓▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▓ ███ ▒▒░░░░░░░░░░▒▒▒▒▒▒▓▓ ▒▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▒ ▓██ ▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▓▓▓▓▒▒▒▒▒▒▒▒░░░▒▒▒▒▒▓ ▓██ ▒▒░░░▒▒▒░░░▒▒░▒▒▒▓▓▒ ▒▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▒ ███ ░▒▓ ░▓▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▓ ▓██ ╔────────────────────────────────────────────────────────────────▀▀▀─────────│─╗ │ cosmopolitan § new technology » ip helper api ─╬─│┼ ╚────────────────────────────────────────────────────────────────────────────│*/ uint32_t GetAdaptersAddresses(uint32_t Family, uint32_t Flags, void *Reserved, struct NtIpAdapterAddresses *AdapterAddresses, uint32_t *SizePointer); COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LIBC_NT_IPHLPAPI_H_ */
3,796
38
jart/cosmopolitan
false
cosmopolitan/libc/nt/systeminfo.h
#ifndef COSMOPOLITAN_LIBC_NT_INFO_H_ #define COSMOPOLITAN_LIBC_NT_INFO_H_ #include "libc/nt/struct/systeminfo.h" #include "libc/nt/thunk/msabi.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ void GetSystemInfo(struct NtSystemInfo *lpSystemInfo); uint32_t GetSystemDirectory(char16_t *lpBuffer, uint32_t uSize); uint32_t GetSystemDirectoryA(char *lpBuffer, uint32_t uSize); uint32_t GetWindowsDirectory(char16_t *lpBuffer, uint32_t uSize); uint32_t GetTempPath(uint32_t uSize, char16_t *lpBuffer); bool32 GetComputerNameEx(/* enum/computernameformat.h */ int NameType, char16_t *opt_lpBuffer, uint32_t *nSize); #if ShouldUseMsabiAttribute() #include "libc/nt/thunk/systeminfo.inc" #endif /* ShouldUseMsabiAttribute() */ COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LIBC_NT_INFO_H_ */
871
23
jart/cosmopolitan
false
cosmopolitan/libc/nt/thread.h
#ifndef COSMOPOLITAN_LIBC_NT_THREADS_H_ #define COSMOPOLITAN_LIBC_NT_THREADS_H_ #include "libc/nt/struct/overlapped.h" #include "libc/nt/struct/securityattributes.h" #include "libc/nt/thunk/msabi.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ /* ░░░░ ▒▒▒░░░▒▒▒▒▒▒▒▓▓▓░ ▒▒▒▒░░░▒▒▒▒▒▒▓▓▓▓▓▓░ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓▓ ▒▓░ ▒▒▒░░░░▒▒▒▒▒▒▓▓▓▓▓▓ ▓▓▓▓▓▓▒ ▒▒▒▓▓█ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▓ ░▒▒▒░░░░▒▒▒▒▒▒▓▓▓▓▓▓ █▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓█ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓░ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▓ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓▓ ▒▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▒ ▒▒▒▒▓▓ ▓▒▒▓▓▓▓ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓█ ▒▓ ▓▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓ ░░░░░░░░░░░▒▒▒▒ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓█ ▒▒░░░░░░░░░░▒▒▒▒▒▓▓▓ ▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▓ ░▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▓░ ░▓███▓ ▒▒░░░░░░░░░░▒▒▒▒▒▓▓░ ▒▓▓▓▒▒▒ ░▒▒▒▓ ████████████ ▒▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▒▓▓▓▓▒▒▒▒▒▒▒▒░░░▒▒▒▒▒░ ░███ ▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▓▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▓ ███ ▒▒░░░░░░░░░░▒▒▒▒▒▒▓▓ ▒▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▒ ▓██ ▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▓▓▓▓▒▒▒▒▒▒▒▒░░░▒▒▒▒▒▓ ▓██ ▒▒░░░▒▒▒░░░▒▒░▒▒▒▓▓▒ ▒▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▒ ███ ░▒▓ ░▓▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▓ ▓██ ╔────────────────────────────────────────────────────────────────▀▀▀─────────│─╗ │ cosmopolitan § new technology » threads ─╬─│┼ ╚────────────────────────────────────────────────────────────────────────────│*/ typedef uint32_t (*NtThreadStartRoutine)(void *lpParameter); int64_t CreateThread(struct NtSecurityAttributes *lpThreadAttributes, size_t dwStackSize, NtThreadStartRoutine lpStartAddress, void *lpParameter, uint32_t dwCreationFlags, uint32_t *opt_lpThreadId); void ExitThread(uint32_t dwExitCode) wontreturn; int64_t GetCurrentThread(void); uint32_t GetCurrentThreadId(void); uint64_t SetThreadAffinityMask(int64_t hThread, uintptr_t dwThreadAffinityMask); int64_t OpenThread(uint32_t dwDesiredAccess, bool32 bInheritHandle, uint32_t dwThreadId); bool32 TerminateThread(int64_t hThread, uint32_t dwExitCode); bool32 GetExitCodeThread(int64_t hThread, uint32_t *lpExitCode); /* e.g. kNtThreadPriorityAboveNormal, -1u on error */ uint32_t GetThreadPriority(int64_t hThread); bool32 SetThreadPriority(int64_t hThread, int32_t nPriority); bool32 SetThreadPriorityBoost(int64_t hThread, bool32 bDisablePriorityBoost); bool32 GetThreadPriorityBoost(int64_t hThread, bool32 *pDisablePriorityBoost); bool32 GetThreadIOPendingFlag(int64_t hThread, bool32 *lpIOIsPending); bool32 CancelSynchronousIo(int64_t hThread); bool32 CancelIo(int64_t hFile); bool32 CancelIoEx(int64_t hFile, struct NtOverlapped *opt_lpOverlapped); uint32_t TlsAlloc(void); bool32 TlsFree(uint32_t); bool32 TlsSetValue(uint32_t, void *); void *TlsGetValue(uint32_t); #if ShouldUseMsabiAttribute() #include "libc/nt/thunk/thread.inc" #endif /* ShouldUseMsabiAttribute() */ COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LIBC_NT_THREADS_H_ */
5,178
71
jart/cosmopolitan
false
cosmopolitan/libc/nt/version.h
#ifndef COSMOPOLITAN_LIBC_NT_VERSION_H_ #define COSMOPOLITAN_LIBC_NT_VERSION_H_ #include "libc/nt/struct/osversioninfo.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ bool IsAtLeastWindows10(void) pureconst; bool32 GetVersionEx(struct NtOsVersionInfo *lpVersionInformation); #if defined(__GNUC__) && !defined(__STRICT_ANSI__) && defined(__x86_64__) #define IsAtLeastWindows10() (GetNtMajorVersion() >= 10) #define GetNtMajorVersion() \ ({ \ uintptr_t __x; \ asm("mov\t%%gs:96,%q0\r\n" \ "mov\t280(%q0),%b0" \ : "=q"(__x)); \ (unsigned char)__x; \ }) #endif COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LIBC_NT_VERSION_H_ */
779
25
jart/cosmopolitan
false
cosmopolitan/libc/nt/synchronization.h
#ifndef COSMOPOLITAN_LIBC_NT_SYNCHRONIZATION_H_ #define COSMOPOLITAN_LIBC_NT_SYNCHRONIZATION_H_ #include "libc/intrin/atomic.h" #include "libc/nt/struct/criticalsection.h" #include "libc/nt/struct/filetime.h" #include "libc/nt/struct/linkedlist.h" #include "libc/nt/struct/securityattributes.h" #include "libc/nt/struct/systemtime.h" #include "libc/nt/thunk/msabi.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ /* ░░░░ ▒▒▒░░░▒▒▒▒▒▒▒▓▓▓░ ▒▒▒▒░░░▒▒▒▒▒▒▓▓▓▓▓▓░ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓▓ ▒▓░ ▒▒▒░░░░▒▒▒▒▒▒▓▓▓▓▓▓ ▓▓▓▓▓▓▒ ▒▒▒▓▓█ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▓ ░▒▒▒░░░░▒▒▒▒▒▒▓▓▓▓▓▓ █▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓█ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓░ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▓ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓▓ ▒▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▒ ▒▒▒▒▓▓ ▓▒▒▓▓▓▓ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓█ ▒▓ ▓▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓ ░░░░░░░░░░░▒▒▒▒ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓█ ▒▒░░░░░░░░░░▒▒▒▒▒▓▓▓ ▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▓ ░▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▓░ ░▓███▓ ▒▒░░░░░░░░░░▒▒▒▒▒▓▓░ ▒▓▓▓▒▒▒ ░▒▒▒▓ ████████████ ▒▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▒▓▓▓▓▒▒▒▒▒▒▒▒░░░▒▒▒▒▒░ ░███ ▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▓▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▓ ███ ▒▒░░░░░░░░░░▒▒▒▒▒▒▓▓ ▒▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▒ ▓██ ▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▓▓▓▓▒▒▒▒▒▒▒▒░░░▒▒▒▒▒▓ ▓██ ▒▒░░░▒▒▒░░░▒▒░▒▒▒▓▓▒ ▒▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▒ ███ ░▒▓ ░▓▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▓ ▓██ ╔────────────────────────────────────────────────────────────────▀▀▀─────────│─╗ │ cosmopolitan § new technology » synchronization ─╬─│┼ ╚────────────────────────────────────────────────────────────────────────────│*/ static inline int32_t InterlockedAdd(int32_t volatile *p, int32_t x) { return atomic_fetch_add((_Atomic(int32_t) *)p, x) + x; } static inline int32_t InterlockedExchange(int32_t volatile *p, int32_t x) { return atomic_exchange((_Atomic(int32_t) *)p, x); } typedef void (*NtTimerapcroutine)(void *lpArgToCompletionRoutine, uint32_t dwTimerLowValue, uint32_t dwTimerHighValue); typedef void (*NtWaitOrTimerCallback)(void *lpParameter, bool32 TimerOrWaitFired); void WakeByAddressAll(void *Address); void WakeByAddressSingle(void *Address); bool32 WaitOnAddress(volatile void *Address, void *CompareAddress, size_t AddressSize, uint32_t opt_dwMilliseconds); void Sleep(uint32_t dwMilliseconds); uint32_t SleepEx(uint32_t dwMilliseconds, bool32 bAlertable); void GetSystemTime(struct NtSystemTime *lpSystemTime); bool32 SystemTimeToFileTime(const struct NtSystemTime *lpSystemTime, struct NtFileTime *lpFileTime); void GetSystemTimeAsFileTime(struct NtFileTime *); /* win8+ */ void GetSystemTimePreciseAsFileTime(struct NtFileTime *); /* win8+ */ uint32_t WaitForSingleObject(int64_t hHandle, uint32_t dwMilliseconds); uint32_t WaitForMultipleObjects(uint32_t nCount, const int64_t *lpHandles, bool32 bWaitAll, uint32_t dwMilliseconds); uint32_t WaitForSingleObjectEx(int64_t hHandle, uint32_t dwMilliseconds, bool32 bAlertable); uint32_t WaitForMultipleObjectsEx(unsigned int nCount, const int64_t *lpHandles, bool32 bWaitAll, uint32_t dwMilliseconds, bool32 bAlertable); bool32 RegisterWaitForSingleObject(int64_t *phNewWaitObject, int64_t hObject, NtWaitOrTimerCallback Callback, void *Context, uint32_t dwMilliseconds, uint32_t dwFlags); int64_t CreateWaitableTimer(struct NtSecurityAttributes *lpTimerAttributes, bool32 bManualReset, const char16_t *lpTimerName); bool32 SetWaitableTimer(int64_t hTimer, const int64_t *lpDueTimeAsFtOrNegRela, int32_t opt_lPeriodMs, NtTimerapcroutine opt_callback, void *lpArgToCallback, bool32 fUnsleepSystem); int64_t CreateSemaphore(struct NtSecurityAttributes *opt_lpSemaphoreAttributes, uint32_t lInitialCount, uint32_t lMaximumCount, const char16_t *opt_lpName); int32_t SetEvent(int64_t hEvent); int32_t ResetEvent(int64_t hEvent); int32_t PulseEvent(int64_t hEvent); int32_t ReleaseMutex(int64_t hMutex); int32_t ReleaseSemaphore(int64_t hSemaphore, int32_t lReleaseCount, int *lpPreviousCount); void InitializeCriticalSection(struct NtCriticalSection *lpCriticalSection); void EnterCriticalSection(struct NtCriticalSection *lpCriticalSection); void LeaveCriticalSection(struct NtCriticalSection *lpCriticalSection); int32_t TryEnterCriticalSection(struct NtCriticalSection *lpCriticalSection); void DeleteCriticalSection(struct NtCriticalSection *lpCriticalSection); int32_t InitializeCriticalSectionAndSpinCount( struct NtCriticalSection *lpCriticalSection, uint32_t dwSpinCount); uint32_t SetCriticalSectionSpinCount( struct NtCriticalSection *lpCriticalSection, uint32_t dwSpinCount); void InitializeSRWLock(intptr_t *); void AcquireSRWLockExclusive(intptr_t *); void AcquireSRWLockShared(intptr_t *); void ReleaseSRWLockExclusive(intptr_t *); void ReleaseSRWLockShared(intptr_t *); void TryAcquireSRWLockExclusive(intptr_t *); void TryAcquireSRWLockShared(intptr_t *); uint64_t GetTickCount64(void); bool32 QueryPerformanceFrequency(int64_t *lpFrequency); bool32 QueryPerformanceCounter(int64_t *lpPerformanceCount); bool32 GetSystemTimeAdjustment(uint32_t *lpTimeAdjustment, uint32_t *lpTimeIncrement, bool32 *lpTimeAdjustmentDisabled); #if ShouldUseMsabiAttribute() #include "libc/nt/thunk/synchronization.inc" #endif /* ShouldUseMsabiAttribute() */ COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LIBC_NT_SYNCHRONIZATION_H_ */
8,065
128
jart/cosmopolitan
false
cosmopolitan/libc/nt/messagebox.h
#ifndef COSMOPOLITAN_LIBC_NT_MESSAGEBOX_H_ #define COSMOPOLITAN_LIBC_NT_MESSAGEBOX_H_ #include "libc/nt/enum/dialogresult.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ int MessageBox(int64_t hWnd, const char16_t *lpText, const char16_t *lpCaption, uint32_t mbType); int MessageBoxEx(int64_t hWnd, const char16_t *lpText, const char16_t *lpCaption, uint32_t mbType, uint16_t wLanguageId); COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LIBC_NT_MESSAGEBOX_H_ */
571
16
jart/cosmopolitan
false
cosmopolitan/libc/nt/runtime.h
#ifndef COSMOPOLITAN_LIBC_NT_RUNTIME_H_ #define COSMOPOLITAN_LIBC_NT_RUNTIME_H_ #include "libc/nt/struct/overlapped.h" #include "libc/nt/thunk/msabi.h" #include "libc/nt/typedef/handlerroutine.h" /** * @fileoverview NT Obligatory Runtime Functions. * * These functions are placed in their own file because they're (a) * abstracted by the Cosmopolitan runtime; and (b) it helps GCC avoid * bloating binaries with debug information the user doesn't need. */ #define kNtCpUtf8 65001 #define kNtInvalidHandleValue -1L #define kNtStdInputHandle -10L #define kNtStdOutputHandle -11L #define kNtStdErrorHandle -12L #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ char16_t *GetCommandLine(void) nosideeffect; char16_t *GetEnvironmentStrings(void) dontdiscard; bool32 FreeEnvironmentStrings(char16_t *) paramsnonnull(); bool32 ReadFile(int64_t hFile, void *lpBuffer, uint32_t nNumberOfBytesToRead, uint32_t *lpNumberOfBytesRead, struct NtOverlapped *opt_lpOverlapped); bool32 WriteFile(int64_t hFile, const void *lpBuffer, uint32_t nNumberOfBytesToWrite, uint32_t *lpNumberOfBytesWritten, struct NtOverlapped *opt_lpOverlapped); bool32 TerminateProcess(int64_t hProcess, uint32_t uExitCode); int64_t GetCurrentProcess(void) pureconst; void ExitProcess(uint32_t uExitCode) wontreturn; uint32_t GetLastError(void) nosideeffect; bool32 CloseHandle(int64_t hObject) dontthrow nocallback; intptr_t GetStdHandle(int64_t nStdHandle) nosideeffect; bool32 SetStdHandle(int64_t nStdHandle, int64_t hHandle); bool32 SetDefaultDllDirectories(unsigned dirflags); bool32 RtlGenRandom(void *RandomBuffer, uint32_t RandomBufferLength); uint32_t GetModuleFileName(int64_t hModule, char16_t *lpFilename, uint32_t nSize); #if ShouldUseMsabiAttribute() #include "libc/nt/thunk/runtime.inc" #endif /* ShouldUseMsabiAttribute() */ COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LIBC_NT_RUNTIME_H_ */
2,068
52
jart/cosmopolitan
false
cosmopolitan/libc/nt/ipc.h
#ifndef COSMOPOLITAN_LIBC_NT_IPC_H_ #define COSMOPOLITAN_LIBC_NT_IPC_H_ #include "libc/nt/struct/overlapped.h" #include "libc/nt/struct/securityattributes.h" /* ░░░░ ▒▒▒░░░▒▒▒▒▒▒▒▓▓▓░ ▒▒▒▒░░░▒▒▒▒▒▒▓▓▓▓▓▓░ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓▓ ▒▓░ ▒▒▒░░░░▒▒▒▒▒▒▓▓▓▓▓▓ ▓▓▓▓▓▓▒ ▒▒▒▓▓█ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▓ ░▒▒▒░░░░▒▒▒▒▒▒▓▓▓▓▓▓ █▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓█ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓░ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▓ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓▓ ▒▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▒ ▒▒▒▒▓▓ ▓▒▒▓▓▓▓ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓█ ▒▓ ▓▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓ ░░░░░░░░░░░▒▒▒▒ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓█ ▒▒░░░░░░░░░░▒▒▒▒▒▓▓▓ ▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▓ ░▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▓░ ░▓███▓ ▒▒░░░░░░░░░░▒▒▒▒▒▓▓░ ▒▓▓▓▒▒▒ ░▒▒▒▓ ████████████ ▒▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▒▓▓▓▓▒▒▒▒▒▒▒▒░░░▒▒▒▒▒░ ░███ ▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▓▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▓ ███ ▒▒░░░░░░░░░░▒▒▒▒▒▒▓▓ ▒▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▒ ▓██ ▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▓▓▓▓▒▒▒▒▒▒▒▒░░░▒▒▒▒▒▓ ▓██ ▒▒░░░▒▒▒░░░▒▒░▒▒▒▓▓▒ ▒▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▒ ███ ░▒▓ ░▓▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▓ ▓██ ╔────────────────────────────────────────────────────────────────▀▀▀─────────│─╗ │ cosmopolitan § new technology » ipc ─╬─│┼ ╚────────────────────────────────────────────────────────────────────────────│*/ /* CreateNamedPipe:dwOpenMode */ #define kNtPipeAccessInbound 0x00000001 #define kNtPipeAccessOutbound 0x00000002 #define kNtPipeAccessDuplex 0x00000003 /* CreateNamedPipe::dwPipeMode */ #define kNtPipeWait 0x00000000 #define kNtPipeNowait 0x00000001 #define kNtPipeReadmodeByte 0x00000000 #define kNtPipeReadmodeMessage 0x00000002 #define kNtPipeTypeByte 0x00000000 #define kNtPipeTypeMessage 0x00000004 #define kNtPipeAcceptRemoteClients 0x00000000 #define kNtPipeRejectRemoteClients 0x00000008 /* CreateNamedPipe::nMaxInstances */ #define kNtPipeUnlimitedInstances 255 /* GetNamedPipeInfo */ #define kNtPipeClientEnd 0x00000000 #define kNtPipeServerEnd 0x00000001 #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ bool32 CreatePipe(int64_t *out_hReadPipe, int64_t *out_hWritePipe, const struct NtSecurityAttributes *opt_lpPipeAttributes, uint32_t nSize) paramsnonnull((1, 2)); int64_t CreateNamedPipe( const char16_t *lpName, uint32_t dwOpenMode, uint32_t dwPipeMode, uint32_t nMaxInstances, uint32_t nOutBufferSize, uint32_t nInBufferSize, uint32_t nDefaultTimeOut, const struct NtSecurityAttributes *opt_lpSecurityAttributes) paramsnonnull((1)); bool32 CallNamedPipe(const char16_t *lpNamedPipeName, void *lpInBuffer, uint32_t nInBufferSize, void *lpOutBuffer, uint32_t nOutBufferSize, uint32_t *lpBytesRead, uint32_t nTimeOut); bool32 ConnectNamedPipe(int64_t hNamedPipe, struct NtOverlapped *lpOverlapped); bool32 WaitNamedPipe(const char16_t *lpNamedPipeName, uint32_t nTimeOut); bool32 DisconnectNamedPipe(int64_t hNamedPipe); bool32 SetNamedPipeHandleState(int64_t hNamedPipe, uint32_t *lpMode, uint32_t *lpMaxCollectionCount, uint32_t *lpCollectDataTimeout); bool32 PeekNamedPipe(int64_t hNamedPipe, void *lpBuffer, uint32_t nBufferSize, uint32_t *lpBytesRead, uint32_t *lpTotalBytesAvail, uint32_t *lpBytesLeftThisMessage); bool32 TransactNamedPipe(int64_t hNamedPipe, void *lpInBuffer, uint32_t nInBufferSize, void *lpOutBuffer, uint32_t nOutBufferSize, uint32_t *lpBytesRead, struct NtOverlapped *lpOverlapped); COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LIBC_NT_IPC_H_ */
5,956
91
jart/cosmopolitan
false
cosmopolitan/libc/nt/pdh.h
#ifndef COSMOPOLITAN_LIBC_NT_PDH_H_ #define COSMOPOLITAN_LIBC_NT_PDH_H_ #include "libc/nt/struct/pdhfmtcountervalue.h" /* ░░░░ ▒▒▒░░░▒▒▒▒▒▒▒▓▓▓░ ▒▒▒▒░░░▒▒▒▒▒▒▓▓▓▓▓▓░ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓▓ ▒▓░ ▒▒▒░░░░▒▒▒▒▒▒▓▓▓▓▓▓ ▓▓▓▓▓▓▒ ▒▒▒▓▓█ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▓ ░▒▒▒░░░░▒▒▒▒▒▒▓▓▓▓▓▓ █▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓█ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓░ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▓ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓▓ ▒▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▒ ▒▒▒▒▓▓ ▓▒▒▓▓▓▓ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓█ ▒▓ ▓▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓ ░░░░░░░░░░░▒▒▒▒ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓█ ▒▒░░░░░░░░░░▒▒▒▒▒▓▓▓ ▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▓ ░▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▓░ ░▓███▓ ▒▒░░░░░░░░░░▒▒▒▒▒▓▓░ ▒▓▓▓▒▒▒ ░▒▒▒▓ ████████████ ▒▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▒▓▓▓▓▒▒▒▒▒▒▒▒░░░▒▒▒▒▒░ ░███ ▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▓▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▓ ███ ▒▒░░░░░░░░░░▒▒▒▒▒▒▓▓ ▒▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▒ ▓██ ▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▓▓▓▓▒▒▒▒▒▒▒▒░░░▒▒▒▒▒▓ ▓██ ▒▒░░░▒▒▒░░░▒▒░▒▒▒▓▓▒ ▒▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▒ ███ ░▒▓ ░▓▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▓ ▓██ ╔────────────────────────────────────────────────────────────────▀▀▀─────────│─╗ │ cosmopolitan § new technology » performance counters ─╬─│┼ ╚────────────────────────────────────────────────────────────────────────────│*/ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ int PdhOpenQuery(const char16_t *opt_szDataSource, uint32_t *dwUserData, int64_t *out_phQuery); int PdhAddEnglishCounter(int64_t hQuery, const char16_t *szFullCounterPath, uint32_t *dwUserData, int64_t *out_phCounter); int PdhCollectQueryDataEx(int64_t hQuery, uint32_t dwIntervalTime, int64_t hNewDataEvent); int PdhGetFormattedCounterValue(int64_t hCounter, uint32_t dwFormat, uint32_t *out_opt_lpdwType, struct NtPdhFmtCountervalue *out_pValue); COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LIBC_NT_PDH_H_ */
4,157
49
jart/cosmopolitan
false
cosmopolitan/libc/nt/events.h
#ifndef COSMOPOLITAN_LIBC_NT_EVENTS_H_ #define COSMOPOLITAN_LIBC_NT_EVENTS_H_ #include "libc/nt/struct/msg.h" #include "libc/nt/struct/point.h" #include "libc/nt/struct/securityattributes.h" /* ░░░░ ▒▒▒░░░▒▒▒▒▒▒▒▓▓▓░ ▒▒▒▒░░░▒▒▒▒▒▒▓▓▓▓▓▓░ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓▓ ▒▓░ ▒▒▒░░░░▒▒▒▒▒▒▓▓▓▓▓▓ ▓▓▓▓▓▓▒ ▒▒▒▓▓█ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▓ ░▒▒▒░░░░▒▒▒▒▒▒▓▓▓▓▓▓ █▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓█ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓░ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▓ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓▓ ▒▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▒ ▒▒▒▒▓▓ ▓▒▒▓▓▓▓ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓█ ▒▓ ▓▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓ ░░░░░░░░░░░▒▒▒▒ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓█ ▒▒░░░░░░░░░░▒▒▒▒▒▓▓▓ ▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▓ ░▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▓░ ░▓███▓ ▒▒░░░░░░░░░░▒▒▒▒▒▓▓░ ▒▓▓▓▒▒▒ ░▒▒▒▓ ████████████ ▒▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▒▓▓▓▓▒▒▒▒▒▒▒▒░░░▒▒▒▒▒░ ░███ ▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▓▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▓ ███ ▒▒░░░░░░░░░░▒▒▒▒▒▒▓▓ ▒▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▒ ▓██ ▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▓▓▓▓▒▒▒▒▒▒▒▒░░░▒▒▒▒▒▓ ▓██ ▒▒░░░▒▒▒░░░▒▒░▒▒▒▓▓▒ ▒▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▒ ███ ░▒▓ ░▓▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▓ ▓██ ╔────────────────────────────────────────────────────────────────▀▀▀─────────│─╗ │ cosmopolitan § new technology » events ─╬─│┼ ╚────────────────────────────────────────────────────────────────────────────│*/ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ int32_t GetMessage(struct NtMsg *lpMsg, int64_t hWnd, uint32_t wMsgFilterMin, uint32_t wMsgFilterMax); int32_t TranslateMessage(const struct NtMsg *lpMsg); intptr_t DispatchMessage(const struct NtMsg *lpMsg); void PostQuitMessage(int nExitCode); bool32 GetCursorPos(struct NtPoint *lpPoint); int64_t SendMessage(int64_t hWnd, uint32_t Msg, uint64_t wParam, int64_t lParam); #define EVENTLOG_SUCCESS 0x00000000 #define EVENTLOG_ERROR_TYPE 0x00000001 #define EVENTLOG_WARNING_TYPE 0x00000002 #define EVENTLOG_INFORMATION_TYPE 0x00000004 #define EVENTLOG_AUDIT_SUCCESS 0x00000008 #define EVENTLOG_AUDIT_FAILURE 0x00000010 int32_t ReportEventA(int64_t handle, uint16_t wType, uint16_t wCategory, uint32_t dwEventID, const char *lpUserId, uint16_t wNumStrings, uint32_t dwDataSize, const char **lpStrings, void **lpRawData); int64_t RegisterEventSource(const char16_t *lpUNCServerName, const char16_t *lpSourceName); int32_t DeregisterEventSource(uint64_t handle); int64_t CreateEvent(struct NtSecurityAttributes *lpEventAttributes, bool32 bManualReset, bool32 bInitialState, const char16_t *lpName); int64_t CreateEventEx(struct NtSecurityAttributes *lpEventAttributes, const char16_t *lpName, uint32_t dwFlags, uint32_t dwDesiredAccess); COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LIBC_NT_EVENTS_H_ */
5,124
68
jart/cosmopolitan
false
cosmopolitan/libc/nt/comdlg.h
#ifndef COSMOPOLITAN_LIBC_NT_COMDLG_H_ #define COSMOPOLITAN_LIBC_NT_COMDLG_H_ #include "libc/nt/struct/openfilename.h" /* ░░░░ ▒▒▒░░░▒▒▒▒▒▒▒▓▓▓░ ▒▒▒▒░░░▒▒▒▒▒▒▓▓▓▓▓▓░ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓▓ ▒▓░ ▒▒▒░░░░▒▒▒▒▒▒▓▓▓▓▓▓ ▓▓▓▓▓▓▒ ▒▒▒▓▓█ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▓ ░▒▒▒░░░░▒▒▒▒▒▒▓▓▓▓▓▓ █▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓█ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓░ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▓ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓▓ ▒▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▒ ▒▒▒▒▓▓ ▓▒▒▓▓▓▓ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓█ ▒▓ ▓▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓ ░░░░░░░░░░░▒▒▒▒ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓█ ▒▒░░░░░░░░░░▒▒▒▒▒▓▓▓ ▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▓ ░▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▓░ ░▓███▓ ▒▒░░░░░░░░░░▒▒▒▒▒▓▓░ ▒▓▓▓▒▒▒ ░▒▒▒▓ ████████████ ▒▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▒▓▓▓▓▒▒▒▒▒▒▒▒░░░▒▒▒▒▒░ ░███ ▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▓▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▓ ███ ▒▒░░░░░░░░░░▒▒▒▒▒▒▓▓ ▒▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▒ ▓██ ▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▓▓▓▓▒▒▒▒▒▒▒▒░░░▒▒▒▒▒▓ ▓██ ▒▒░░░▒▒▒░░░▒▒░▒▒▒▓▓▒ ▒▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▒ ███ ░▒▓ ░▓▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▓ ▓██ ╔────────────────────────────────────────────────────────────────▀▀▀─────────│─╗ │ cosmopolitan § new technology » common dialogs ─╬─│┼ ╚────────────────────────────────────────────────────────────────────────────│*/ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ bool32 GetOpenFileName(struct NtOpenFilename *arg); bool32 GetSaveFileName(struct NtOpenFilename *arg); COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LIBC_NT_COMDLG_H_ */
3,679
38
jart/cosmopolitan
false
cosmopolitan/libc/nt/iocp.h
#ifndef COSMOPOLITAN_LIBC_NT_IOCP_H_ #define COSMOPOLITAN_LIBC_NT_IOCP_H_ #include "libc/nt/struct/overlapped.h" #include "libc/nt/struct/overlappedentry.h" /* ░░░░ ▒▒▒░░░▒▒▒▒▒▒▒▓▓▓░ ▒▒▒▒░░░▒▒▒▒▒▒▓▓▓▓▓▓░ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓▓ ▒▓░ ▒▒▒░░░░▒▒▒▒▒▒▓▓▓▓▓▓ ▓▓▓▓▓▓▒ ▒▒▒▓▓█ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▓ ░▒▒▒░░░░▒▒▒▒▒▒▓▓▓▓▓▓ █▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓█ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓░ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▓ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓▓ ▒▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▒ ▒▒▒▒▓▓ ▓▒▒▓▓▓▓ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓█ ▒▓ ▓▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓ ░░░░░░░░░░░▒▒▒▒ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓█ ▒▒░░░░░░░░░░▒▒▒▒▒▓▓▓ ▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▓ ░▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▓░ ░▓███▓ ▒▒░░░░░░░░░░▒▒▒▒▒▓▓░ ▒▓▓▓▒▒▒ ░▒▒▒▓ ████████████ ▒▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▒▓▓▓▓▒▒▒▒▒▒▒▒░░░▒▒▒▒▒░ ░███ ▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▓▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▓ ███ ▒▒░░░░░░░░░░▒▒▒▒▒▒▓▓ ▒▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▒ ▓██ ▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▓▓▓▓▒▒▒▒▒▒▒▒░░░▒▒▒▒▒▓ ▓██ ▒▒░░░▒▒▒░░░▒▒░▒▒▒▓▓▒ ▒▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▒ ███ ░▒▓ ░▓▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▓ ▓██ ╔────────────────────────────────────────────────────────────────▀▀▀─────────│─╗ │ cosmopolitan § new technology » i/o completion ports ─╬─│┼ ╚────────────────────────────────────────────────────────────────────────────│*/ #define kNtFileSkipCompletionPortOnSuccess 1 #define kNtFileSkipSetEventOnHandle 2 #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ typedef void (*NtOverlappedCompletionRoutine)( uint32_t dwErrorCode, uint32_t dwNumberOfBytesTransfered, struct NtOverlapped *inout_lpOverlapped); int64_t CreateIoCompletionPort(int64_t FileHandleOrNeg1, int64_t opt_ExistingCompletionPortOrZero, void *StatePointer, uint32_t NumberOfConcurrentThreads); bool32 GetQueuedCompletionStatus(int64_t CompletionPort, uint32_t *lpNumberOfBytesTransferred, void *StatePointerPointer, struct NtOverlapped **lpOverlapped, uint32_t dwMilliseconds); bool32 GetQueuedCompletionStatusEx( int64_t CompletionPort, struct NtOverlappedEntry *out_lpCompletionPortEntries, uint32_t ulCount, uint32_t *out_ulNumEntriesRemoved, uint32_t dwMilliseconds, bool32 fAlertable); bool32 PostQueuedCompletionStatus(int64_t CompletionPort, uint32_t dwNumberOfBytesTransferred, uint32_t *dwCompletionKey, struct NtOverlapped *opt_lpOverlapped); bool32 SetFileCompletionNotificationModes(int64_t FileHandle, unsigned char Flags); bool32 ReadFileEx(int64_t hFile, void *lpBuffer, uint32_t nNumberOfBytesToRead, uint32_t *lpNumberOfBytesRead, struct NtOverlapped *opt_lpOverlapped, NtOverlappedCompletionRoutine lpCompletionRoutine); bool32 WriteFileEx(int64_t hFile, const void *lpBuffer, uint32_t nNumberOfBytesToWrite, struct NtOverlapped *lpOverlapped, NtOverlappedCompletionRoutine lpCompletionRoutine); COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LIBC_NT_IOCP_H_ */
5,536
78
jart/cosmopolitan
false
cosmopolitan/libc/nt/startupinfo.h
#ifndef COSMOPOLITAN_LIBC_NT_NTSTARTUPINFO_H_ #define COSMOPOLITAN_LIBC_NT_NTSTARTUPINFO_H_ #include "libc/nt/struct/procthreadattributelist.h" #include "libc/nt/struct/startupinfo.h" #include "libc/nt/thunk/msabi.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ void GetStartupInfo(struct NtStartupInfo *lpStartupInfo); bool32 InitializeProcThreadAttributeList( struct NtProcThreadAttributeList *opt_inout_lpAttributeList, uint32_t dwAttributeCount, uint32_t reserved_dwFlags, size_t *inout_lpSize) paramsnonnull((4)); bool32 UpdateProcThreadAttribute( struct NtProcThreadAttributeList *inout_lpAttributeList, uint32_t dwFlags, const uint32_t *Attribute, const void *lpValue, size_t cbSize, void *reserved_lpPreviousValue, size_t *reserved_lpReturnSize) paramsnonnull((1, 3, 4)); void DeleteProcThreadAttributeList( struct NtProcThreadAttributeList *inout_lpAttributeList) paramsnonnull(); #if ShouldUseMsabiAttribute() #include "libc/nt/thunk/startupinfo.inc" #endif /* ShouldUseMsabiAttribute() */ COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LIBC_NT_NTSTARTUPINFO_H_ */
1,168
29
jart/cosmopolitan
false
cosmopolitan/libc/nt/master.sh
/usr/bin/env echo ' -*-mode:sh;indent-tabs-mode:nil;tab-width:8;coding:utf-8-*-│ │vi: set net ft=sh ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╚────────────────────────────────────────────────────────────────'>/dev/null #*/ . libc/nt/codegen.sh # The New Technology API # » so many sections # KERNEL32.DLL # # Name Actual DLL Hint Arity imp 'AcquireSRWLockExclusive' AcquireSRWLockExclusive kernel32 0 1 imp 'AcquireSRWLockShared' AcquireSRWLockShared kernel32 0 1 imp 'ActivateActCtx' ActivateActCtx kernel32 0 imp 'ActivateActCtxWorker' ActivateActCtxWorker kernel32 4 imp 'AddAtom' AddAtomW kernel32 6 imp 'AddConsoleAlias' AddConsoleAliasW kernel32 0 imp 'AddDllDirectory' AddDllDirectory kernel32 0 imp 'AddIntegrityLabelToBoundaryDescriptor' AddIntegrityLabelToBoundaryDescriptor kernel32 10 imp 'AddLocalAlternateComputerName' AddLocalAlternateComputerNameW kernel32 12 imp 'AddRefActCtx' AddRefActCtx kernel32 0 imp 'AddRefActCtxWorker' AddRefActCtxWorker kernel32 14 imp 'AddResourceAttributeAce' AddResourceAttributeAce kernel32 0 imp 'AddSIDToBoundaryDescriptor' AddSIDToBoundaryDescriptor kernel32 0 imp 'AddScopedPolicyIDAce' AddScopedPolicyIDAce kernel32 0 imp 'AddSecureMemoryCacheCallback' AddSecureMemoryCacheCallback kernel32 18 imp 'AddVectoredContinueHandler' AddVectoredContinueHandler kernel32 0 2 imp 'AddVectoredExceptionHandler' AddVectoredExceptionHandler kernel32 0 2 imp 'AdjustCalendarDate' AdjustCalendarDate kernel32 21 imp 'AllocConsole' AllocConsole kernel32 0 0 imp 'AllocateUserPhysicalPages' AllocateUserPhysicalPages kernel32 0 imp 'AllocateUserPhysicalPagesNuma' AllocateUserPhysicalPagesNuma kernel32 0 imp 'ApplicationRecoveryFinished' ApplicationRecoveryFinished kernel32 34 imp 'ApplicationRecoveryInProgress' ApplicationRecoveryInProgress kernel32 35 imp 'AreFileApisANSI' AreFileApisANSI kernel32 0 imp 'AssignProcessToJobObject' AssignProcessToJobObject kernel32 37 imp 'AttachConsole' AttachConsole kernel32 0 1 imp 'BackupRead' BackupRead kernel32 39 imp 'BackupSeek' BackupSeek kernel32 40 imp 'BackupWrite' BackupWrite kernel32 41 imp 'BaseCheckAppcompatCacheExWorker' BaseCheckAppcompatCacheExWorker kernel32 44 imp 'BaseCheckAppcompatCacheWorker' BaseCheckAppcompatCacheWorker kernel32 45 imp 'BaseCheckElevation' BaseCheckElevation kernel32 46 imp 'BaseCleanupAppcompatCacheSupportWorker' BaseCleanupAppcompatCacheSupportWorker kernel32 48 imp 'BaseDestroyVDMEnvironment' BaseDestroyVDMEnvironment kernel32 49 imp 'BaseDllReadWriteIniFile' BaseDllReadWriteIniFile kernel32 50 imp 'BaseDumpAppcompatCacheWorker' BaseDumpAppcompatCacheWorker kernel32 52 imp 'BaseElevationPostProcessing' BaseElevationPostProcessing kernel32 53 imp 'BaseFlushAppcompatCacheWorker' BaseFlushAppcompatCacheWorker kernel32 55 imp 'BaseFormatTimeOut' BaseFormatTimeOut kernel32 57 imp 'BaseFreeAppCompatDataForProcessWorker' BaseFreeAppCompatDataForProcessWorker kernel32 58 imp 'BaseGenerateAppCompatData' BaseGenerateAppCompatData kernel32 59 imp 'BaseInitAppcompatCacheSupportWorker' BaseInitAppcompatCacheSupportWorker kernel32 62 imp 'BaseIsAppcompatInfrastructureDisabledWorker' BaseIsAppcompatInfrastructureDisabledWorker kernel32 64 imp 'BaseIsDosApplication' BaseIsDosApplication kernel32 65 imp 'BaseQueryModuleData' BaseQueryModuleData kernel32 66 imp 'BaseReadAppCompatDataForProcessWorker' BaseReadAppCompatDataForProcessWorker kernel32 67 imp 'BaseSetLastNTError' BaseSetLastNTError kernel32 68 imp 'BaseThreadInitThunk' BaseThreadInitThunk kernel32 69 imp 'BaseUpdateAppcompatCacheWorker' BaseUpdateAppcompatCacheWorker kernel32 71 imp 'BaseUpdateVDMEntry' BaseUpdateVDMEntry kernel32 72 imp 'BaseVerifyUnicodeString' BaseVerifyUnicodeString kernel32 73 imp 'BaseWriteErrorElevationRequiredEvent' BaseWriteErrorElevationRequiredEvent kernel32 74 imp 'Basep8BitStringToDynamicUnicodeString' Basep8BitStringToDynamicUnicodeString kernel32 75 imp 'BasepAllocateActivationContextActivationBlock' BasepAllocateActivationContextActivationBlock kernel32 76 imp 'BasepAnsiStringToDynamicUnicodeString' BasepAnsiStringToDynamicUnicodeString kernel32 77 imp 'BasepAppContainerEnvironmentExtension' BasepAppContainerEnvironmentExtension kernel32 78 imp 'BasepAppXExtension' BasepAppXExtension kernel32 79 imp 'BasepCheckAppCompat' BasepCheckAppCompat kernel32 80 imp 'BasepCheckWebBladeHashes' BasepCheckWebBladeHashes kernel32 81 imp 'BasepCheckWinSaferRestrictions' BasepCheckWinSaferRestrictions kernel32 82 imp 'BasepConstructSxsCreateProcessMessage' BasepConstructSxsCreateProcessMessage kernel32 83 imp 'BasepCopyEncryption' BasepCopyEncryption kernel32 84 imp 'BasepFreeActivationContextActivationBlock' BasepFreeActivationContextActivationBlock kernel32 85 imp 'BasepFreeAppCompatData' BasepFreeAppCompatData kernel32 86 imp 'BasepGetAppCompatData' BasepGetAppCompatData kernel32 87 imp 'BasepGetComputerNameFromNtPath' BasepGetComputerNameFromNtPath kernel32 88 imp 'BasepGetExeArchType' BasepGetExeArchType kernel32 89 imp 'BasepInitAppCompatData' BasepInitAppCompatData kernel32 90 imp 'BasepIsProcessAllowed' BasepIsProcessAllowed kernel32 91 imp 'BasepMapModuleHandle' BasepMapModuleHandle kernel32 92 imp 'BasepNotifyLoadStringResource' BasepNotifyLoadStringResource kernel32 93 imp 'BasepPostSuccessAppXExtension' BasepPostSuccessAppXExtension kernel32 94 imp 'BasepProcessInvalidImage' BasepProcessInvalidImage kernel32 95 imp 'BasepQueryAppCompat' BasepQueryAppCompat kernel32 96 imp 'BasepQueryModuleChpeSettings' BasepQueryModuleChpeSettings kernel32 97 imp 'BasepReleaseAppXContext' BasepReleaseAppXContext kernel32 98 imp 'BasepReleaseSxsCreateProcessUtilityStruct' BasepReleaseSxsCreateProcessUtilityStruct kernel32 99 imp 'BasepReportFault' BasepReportFault kernel32 100 imp 'BasepSetFileEncryptionCompression' BasepSetFileEncryptionCompression kernel32 101 imp 'Beep' Beep kernel32 0 imp 'BeginUpdateResource' BeginUpdateResourceW kernel32 104 imp 'BindIoCompletionCallback' BindIoCompletionCallback kernel32 105 imp 'BuildCommDCBAndTimeouts' BuildCommDCBAndTimeoutsW kernel32 108 imp 'BuildCommDCBW' BuildCommDCBW kernel32 109 imp 'CallNamedPipe' CallNamedPipeW kernel32 0 7 imp 'CallNamedPipeA' CallNamedPipeA kernel32 110 7 imp 'CallbackMayRunLong' CallbackMayRunLong kernel32 0 imp 'CancelDeviceWakeupRequest' CancelDeviceWakeupRequest kernel32 113 imp 'CancelIo' CancelIo kernel32 0 1 imp 'CancelIoEx' CancelIoEx kernel32 0 2 imp 'CancelSynchronousIo' CancelSynchronousIo kernel32 0 1 imp 'CancelTimerQueueTimer' CancelTimerQueueTimer kernel32 118 imp 'CancelWaitableTimer' CancelWaitableTimer kernel32 0 imp 'CeipIsOptedIn' CeipIsOptedIn kernel32 0 imp 'ChangeTimerQueueTimer' ChangeTimerQueueTimer kernel32 0 imp 'CheckElevation' CheckElevation kernel32 123 imp 'CheckElevationEnabled' CheckElevationEnabled kernel32 124 imp 'CheckForReadOnlyResource' CheckForReadOnlyResource kernel32 125 imp 'CheckForReadOnlyResourceFilter' CheckForReadOnlyResourceFilter kernel32 126 imp 'CheckNameLegalDOS8Dot3' CheckNameLegalDOS8Dot3W kernel32 128 imp 'CheckRemoteDebuggerPresent' CheckRemoteDebuggerPresent kernel32 0 2 imp 'CheckTokenCapability' CheckTokenCapability kernel32 0 imp 'CheckTokenMembershipEx' CheckTokenMembershipEx kernel32 0 imp 'ClearCommBreak' ClearCommBreak kernel32 0 1 imp 'ClearCommError' ClearCommError kernel32 0 imp 'CloseConsoleHandle' CloseConsoleHandle kernel32 134 imp 'ClosePackageInfo' ClosePackageInfo kernel32 0 imp 'ClosePrivateNamespace' ClosePrivateNamespace kernel32 0 imp 'CloseProfileUserMapping' CloseProfileUserMapping kernel32 138 imp 'CmdBatNotification' CmdBatNotification kernel32 147 imp 'CommConfigDialog' CommConfigDialogW kernel32 149 imp 'CompareCalendarDates' CompareCalendarDates kernel32 150 imp 'CompareFileTime' CompareFileTime kernel32 0 imp 'CompareString' CompareStringW kernel32 0 imp 'CompareStringEx' CompareStringEx kernel32 0 imp 'CompareStringOrdinal' CompareStringOrdinal kernel32 0 imp 'ConnectNamedPipe' ConnectNamedPipe kernel32 0 2 imp 'ConsoleMenuControl' ConsoleMenuControl kernel32 157 imp 'ContinueDebugEvent' ContinueDebugEvent kernel32 0 3 imp 'ConvertCalDateTimeToSystemTime' ConvertCalDateTimeToSystemTime kernel32 159 imp 'ConvertDefaultLocale' ConvertDefaultLocale kernel32 0 imp 'ConvertFiberToThread' ConvertFiberToThread kernel32 0 imp 'ConvertNLSDayOfWeekToWin32DayOfWeek' ConvertNLSDayOfWeekToWin32DayOfWeek kernel32 162 imp 'ConvertSystemTimeToCalDateTime' ConvertSystemTimeToCalDateTime kernel32 163 imp 'ConvertThreadToFiber' ConvertThreadToFiber kernel32 0 imp 'ConvertThreadToFiberEx' ConvertThreadToFiberEx kernel32 0 imp 'CopyContext' CopyContext kernel32 0 imp 'CopyFile' CopyFileW kernel32 0 3 imp 'CopyFile2' CopyFile2 kernel32 0 imp 'CopyFileEx' CopyFileExW kernel32 0 imp 'CopyFileTransacted' CopyFileTransactedW kernel32 172 imp 'CopyLZFile' CopyLZFile kernel32 174 imp 'CreateActCtx' CreateActCtxW kernel32 0 imp 'CreateActCtxWWorker' CreateActCtxWWorker kernel32 177 imp 'CreateBoundaryDescriptor' CreateBoundaryDescriptorW kernel32 0 imp 'CreateConsoleScreenBuffer' CreateConsoleScreenBuffer kernel32 0 imp 'CreateDirectoryEx' CreateDirectoryExW kernel32 0 imp 'CreateDirectoryTransacted' CreateDirectoryTransactedW kernel32 185 imp 'CreateEvent' CreateEventW kernel32 0 4 imp 'CreateEventEx' CreateEventExW kernel32 0 4 imp 'CreateFiber' CreateFiber kernel32 0 imp 'CreateFiberEx' CreateFiberEx kernel32 0 imp 'CreateFile2' CreateFile2 kernel32 0 imp 'CreateFileMappingFromApp' CreateFileMappingFromApp kernel32 0 imp 'CreateFileTransacted' CreateFileTransactedW kernel32 202 imp 'CreateHardLink' CreateHardLinkW kernel32 0 3 imp 'CreateHardLinkTransacted' CreateHardLinkTransactedW kernel32 206 imp 'CreateIoCompletionPort' CreateIoCompletionPort kernel32 0 4 imp 'CreateJobObject' CreateJobObjectW kernel32 210 imp 'CreateJobSet' CreateJobSet kernel32 211 imp 'CreateMailslot' CreateMailslotW kernel32 213 imp 'CreateMemoryResourceNotification' CreateMemoryResourceNotification kernel32 0 imp 'CreateMutex' CreateMutexW kernel32 0 imp 'CreateMutexEx' CreateMutexExW kernel32 0 imp 'CreatePrivateNamespace' CreatePrivateNamespaceW kernel32 0 imp 'CreateRemoteThread' CreateRemoteThread kernel32 0 imp 'CreateRemoteThreadEx' CreateRemoteThreadEx kernel32 0 imp 'CreateSemaphore' CreateSemaphoreW kernel32 0 4 imp 'CreateSemaphoreEx' CreateSemaphoreExW kernel32 0 imp 'CreateSymbolicLinkTransacted' CreateSymbolicLinkTransactedW kernel32 238 imp 'CreateTapePartition' CreateTapePartition kernel32 240 imp 'CreateThreadpool' CreateThreadpool kernel32 0 imp 'CreateThreadpoolCleanupGroup' CreateThreadpoolCleanupGroup kernel32 0 imp 'CreateThreadpoolIo' CreateThreadpoolIo kernel32 0 imp 'CreateThreadpoolTimer' CreateThreadpoolTimer kernel32 0 imp 'CreateThreadpoolWait' CreateThreadpoolWait kernel32 0 imp 'CreateThreadpoolWork' CreateThreadpoolWork kernel32 0 imp 'CreateTimerQueue' CreateTimerQueue kernel32 0 imp 'CreateTimerQueueTimer' CreateTimerQueueTimer kernel32 0 imp 'CreateToolhelp32Snapshot' CreateToolhelp32Snapshot kernel32 0 2 imp 'CreateUmsCompletionList' CreateUmsCompletionList kernel32 251 imp 'CreateUmsThreadContext' CreateUmsThreadContext kernel32 252 imp 'CreateWaitableTimer' CreateWaitableTimerW kernel32 0 3 imp 'CreateWaitableTimerEx' CreateWaitableTimerExW kernel32 0 4 imp 'DeactivateActCtx' DeactivateActCtx kernel32 0 imp 'DeactivateActCtxWorker' DeactivateActCtxWorker kernel32 259 imp 'DebugActiveProcess' DebugActiveProcess kernel32 0 1 imp 'DebugActiveProcessStop' DebugActiveProcessStop kernel32 0 1 imp 'DebugBreakProcess' DebugBreakProcess kernel32 263 1 imp 'DebugSetProcessKillOnExit' DebugSetProcessKillOnExit kernel32 264 imp 'DefineDosDevice' DefineDosDeviceW kernel32 0 imp 'DeleteAtom' DeleteAtom kernel32 270 imp 'DeleteBoundaryDescriptor' DeleteBoundaryDescriptor kernel32 0 imp 'DeleteCriticalSection' DeleteCriticalSection kernel32 0 1 imp 'DeleteFiber' DeleteFiber kernel32 0 imp 'DeleteFileTransacted' DeleteFileTransactedW kernel32 276 imp 'DeleteProcThreadAttributeList' DeleteProcThreadAttributeList kernel32 0 1 imp 'DeleteSynchronizationBarrier' DeleteSynchronizationBarrier kernel32 279 imp 'DeleteTimerQueue' DeleteTimerQueue kernel32 280 imp 'DeleteTimerQueueEx' DeleteTimerQueueEx kernel32 0 imp 'DeleteTimerQueueTimer' DeleteTimerQueueTimer kernel32 0 imp 'DeleteUmsCompletionList' DeleteUmsCompletionList kernel32 283 imp 'DeleteUmsThreadContext' DeleteUmsThreadContext kernel32 284 imp 'DeleteVolumeMountPoint' DeleteVolumeMountPointW kernel32 0 imp 'DequeueUmsCompletionListItems' DequeueUmsCompletionListItems kernel32 287 imp 'DisableThreadLibraryCalls' DisableThreadLibraryCalls kernel32 0 imp 'DisableThreadProfiling' DisableThreadProfiling kernel32 290 imp 'DiscardVirtualMemory' DiscardVirtualMemory kernel32 0 imp 'DisconnectNamedPipe' DisconnectNamedPipe kernel32 0 1 imp 'DnsHostnameToComputerName' DnsHostnameToComputerNameW kernel32 296 imp 'DosDateTimeToFileTime' DosDateTimeToFileTime kernel32 297 imp 'DosPathToSessionPath' DosPathToSessionPathW kernel32 299 imp 'DuplicateConsoleHandle' DuplicateConsoleHandle kernel32 300 imp 'DuplicateEncryptionInfoFileExt' DuplicateEncryptionInfoFileExt kernel32 301 imp 'DuplicateHandle' DuplicateHandle kernel32 0 7 imp 'EnableThreadProfiling' EnableThreadProfiling kernel32 303 imp 'EndUpdateResource' EndUpdateResourceW kernel32 307 imp 'EnterCriticalSection' EnterCriticalSection kernel32 0 1 imp 'EnterSynchronizationBarrier' EnterSynchronizationBarrier kernel32 0 imp 'EnterUmsSchedulingMode' EnterUmsSchedulingMode kernel32 310 imp 'EnumCalendarInfo' EnumCalendarInfoW kernel32 0 imp 'EnumCalendarInfoEx' EnumCalendarInfoExW kernel32 0 imp 'EnumCalendarInfoExEx' EnumCalendarInfoExEx kernel32 0 imp 'EnumDateFormats' EnumDateFormatsW kernel32 0 imp 'EnumDateFormatsEx' EnumDateFormatsExW kernel32 0 imp 'EnumDateFormatsExEx' EnumDateFormatsExEx kernel32 0 imp 'EnumLanguageGroupLocales' EnumLanguageGroupLocalesW kernel32 0 imp 'EnumResourceLanguages' EnumResourceLanguagesW kernel32 326 imp 'EnumResourceLanguagesEx' EnumResourceLanguagesExW kernel32 0 imp 'EnumResourceNames' EnumResourceNamesW kernel32 0 imp 'EnumResourceNamesEx' EnumResourceNamesExW kernel32 0 imp 'EnumResourceTypes' EnumResourceTypesW kernel32 334 imp 'EnumResourceTypesEx' EnumResourceTypesExW kernel32 0 imp 'EnumSystemCodePages' EnumSystemCodePagesW kernel32 0 imp 'EnumSystemFirmwareTables' EnumSystemFirmwareTables kernel32 0 imp 'EnumSystemGeoID' EnumSystemGeoID kernel32 0 imp 'EnumSystemGeoNames' EnumSystemGeoNames kernel32 318 imp 'EnumSystemLanguageGroups' EnumSystemLanguageGroupsW kernel32 0 imp 'EnumSystemLocales' EnumSystemLocalesW kernel32 0 imp 'EnumSystemLocalesEx' EnumSystemLocalesEx kernel32 0 imp 'EnumTimeFormats' EnumTimeFormatsW kernel32 0 imp 'EnumTimeFormatsEx' EnumTimeFormatsEx kernel32 0 imp 'EnumUILanguages' EnumUILanguagesW kernel32 0 imp 'EnumerateLocalComputerNames' EnumerateLocalComputerNamesW kernel32 351 imp 'EraseTape' EraseTape kernel32 352 imp 'EscapeCommFunction' EscapeCommFunction kernel32 0 imp 'ExecuteUmsThread' ExecuteUmsThread kernel32 354 imp 'ExitProcess' ExitProcess kernel32 0 1 # a.k.a. RtlExitUserProcess imp 'ExitThread' ExitThread kernel32 0 1 imp 'ExitVDM' ExitVDM kernel32 357 imp 'ExpandEnvironmentStrings' ExpandEnvironmentStringsW kernel32 0 imp 'FatalAppExit' FatalAppExitW kernel32 0 imp 'FatalExit' FatalExit kernel32 364 1 imp 'FileTimeToDosDateTime' FileTimeToDosDateTime kernel32 365 imp 'FileTimeToLocalFileTime' FileTimeToLocalFileTime kernel32 0 imp 'FileTimeToSystemTime' FileTimeToSystemTime kernel32 0 imp 'FillConsoleOutputAttribute' FillConsoleOutputAttribute kernel32 0 5 imp 'FillConsoleOutputCharacter' FillConsoleOutputCharacterW kernel32 0 5 imp 'FindActCtxSectionGuid' FindActCtxSectionGuid kernel32 0 imp 'FindActCtxSectionGuidWorker' FindActCtxSectionGuidWorker kernel32 372 imp 'FindActCtxSectionString' FindActCtxSectionStringW kernel32 0 imp 'FindActCtxSectionStringWWorker' FindActCtxSectionStringWWorker kernel32 375 imp 'FindAtom' FindAtomW kernel32 377 imp 'FindCloseChangeNotification' FindCloseChangeNotification kernel32 0 imp 'FindFirstChangeNotification' FindFirstChangeNotificationW kernel32 0 imp 'FindFirstFileEx' FindFirstFileExW kernel32 0 6 imp 'FindFirstFileName' FindFirstFileNameW kernel32 0 imp 'FindFirstFileNameTransacted' FindFirstFileNameTransactedW kernel32 385 imp 'FindFirstFileTransacted' FindFirstFileTransactedW kernel32 388 imp 'FindFirstStream' FindFirstStreamW kernel32 0 imp 'FindFirstStreamTransacted' FindFirstStreamTransactedW kernel32 390 imp 'FindFirstVolume' FindFirstVolumeW kernel32 0 2 imp 'FindFirstVolumeMountPoint' FindFirstVolumeMountPointW kernel32 394 imp 'FindNLSString' FindNLSString kernel32 0 imp 'FindNLSStringEx' FindNLSStringEx kernel32 0 imp 'FindNextChangeNotification' FindNextChangeNotification kernel32 0 imp 'FindNextFileName' FindNextFileNameW kernel32 0 imp 'FindNextStream' FindNextStreamW kernel32 0 imp 'FindNextVolume' FindNextVolumeW kernel32 0 3 imp 'FindNextVolumeMountPoint' FindNextVolumeMountPointW kernel32 405 imp 'FindPackagesByPackageFamily' FindPackagesByPackageFamily kernel32 0 imp 'FindResource' FindResourceW kernel32 0 imp 'FindResourceEx' FindResourceExW kernel32 0 imp 'FindStringOrdinal' FindStringOrdinal kernel32 0 imp 'FindVolumeClose' FindVolumeClose kernel32 0 1 imp 'FindVolumeMountPointClose' FindVolumeMountPointClose kernel32 414 imp 'FlsAlloc' FlsAlloc kernel32 0 imp 'FlsFree' FlsFree kernel32 0 imp 'FlsGetValue' FlsGetValue kernel32 0 imp 'FlsSetValue' FlsSetValue kernel32 0 imp 'FlushConsoleInputBuffer' FlushConsoleInputBuffer kernel32 0 1 imp 'FlushInstructionCache' FlushInstructionCache kernel32 0 imp 'FoldString' FoldStringW kernel32 0 imp 'FormatApplicationUserModelId' FormatApplicationUserModelId kernel32 0 imp 'FormatMessage' FormatMessageW kernel32 0 7 imp 'FreeConsole' FreeConsole kernel32 0 0 imp 'FreeEnvironmentStrings' FreeEnvironmentStringsW kernel32 0 1 imp 'FreeLibrary' FreeLibrary kernel32 0 1 imp 'FreeLibraryAndExitThread' FreeLibraryAndExitThread kernel32 0 imp 'FreeMemoryJobObject' FreeMemoryJobObject kernel32 435 imp 'FreeResource' FreeResource kernel32 0 1 imp 'FreeUserPhysicalPages' FreeUserPhysicalPages kernel32 0 imp 'GetACP' GetACP kernel32 0 imp 'GetActiveProcessorCount' GetActiveProcessorCount kernel32 440 imp 'GetActiveProcessorGroupCount' GetActiveProcessorGroupCount kernel32 441 imp 'GetAppContainerNamedObjectPath' GetAppContainerNamedObjectPath kernel32 0 imp 'GetApplicationRecoveryCallback' GetApplicationRecoveryCallback kernel32 0 imp 'GetApplicationRecoveryCallbackWorker' GetApplicationRecoveryCallbackWorker kernel32 445 imp 'GetApplicationRestartSettings' GetApplicationRestartSettings kernel32 0 imp 'GetApplicationRestartSettingsWorker' GetApplicationRestartSettingsWorker kernel32 447 imp 'GetApplicationUserModelId' GetApplicationUserModelId kernel32 0 imp 'GetAtomName' GetAtomNameW kernel32 450 imp 'GetBinaryType' GetBinaryTypeW kernel32 453 imp 'GetCPInfo' GetCPInfo kernel32 0 imp 'GetCPInfoEx' GetCPInfoExW kernel32 0 imp 'GetCalendarDateFormat' GetCalendarDateFormat kernel32 458 imp 'GetCalendarDateFormatEx' GetCalendarDateFormatEx kernel32 459 imp 'GetCalendarDaysInMonth' GetCalendarDaysInMonth kernel32 460 imp 'GetCalendarDifferenceInDays' GetCalendarDifferenceInDays kernel32 461 imp 'GetCalendarInfo' GetCalendarInfoW kernel32 0 imp 'GetCalendarInfoEx' GetCalendarInfoEx kernel32 0 imp 'GetCalendarMonthsInYear' GetCalendarMonthsInYear kernel32 465 imp 'GetCalendarSupportedDateRange' GetCalendarSupportedDateRange kernel32 466 imp 'GetCalendarWeekNumber' GetCalendarWeekNumber kernel32 467 imp 'GetComPlusPackageInstallStatus' GetComPlusPackageInstallStatus kernel32 468 imp 'GetCommConfig' GetCommConfig kernel32 0 imp 'GetCommMask' GetCommMask kernel32 0 imp 'GetCommModemStatus' GetCommModemStatus kernel32 0 imp 'GetCommProperties' GetCommProperties kernel32 0 imp 'GetCommState' GetCommState kernel32 0 imp 'GetCommTimeouts' GetCommTimeouts kernel32 0 imp 'GetCommandLine' GetCommandLineW kernel32 0 0 imp 'GetCompressedFileSize' GetCompressedFileSizeW kernel32 0 2 imp 'GetCompressedFileSizeTransacted' GetCompressedFileSizeTransactedW kernel32 479 imp 'GetComputerName' GetComputerNameW kernel32 484 imp 'GetComputerNameEx' GetComputerNameExW kernel32 0 3 imp 'GetConsoleAlias' GetConsoleAliasW kernel32 0 imp 'GetConsoleAliasExes' GetConsoleAliasExesW kernel32 0 imp 'GetConsoleAliasExesLength' GetConsoleAliasExesLengthW kernel32 0 imp 'GetConsoleAliases' GetConsoleAliasesW kernel32 0 imp 'GetConsoleAliasesLength' GetConsoleAliasesLengthW kernel32 0 imp 'GetConsoleCP' GetConsoleCP kernel32 0 0 imp 'GetConsoleCharType' GetConsoleCharType kernel32 496 imp 'GetConsoleCursorInfo' GetConsoleCursorInfo kernel32 0 2 imp 'GetConsoleCursorMode' GetConsoleCursorMode kernel32 502 imp 'GetConsoleDisplayMode' GetConsoleDisplayMode kernel32 0 imp 'GetConsoleFontInfo' GetConsoleFontInfo kernel32 504 imp 'GetConsoleFontSize' GetConsoleFontSize kernel32 0 imp 'GetConsoleHardwareState' GetConsoleHardwareState kernel32 506 imp 'GetConsoleHistoryInfo' GetConsoleHistoryInfo kernel32 0 imp 'GetConsoleInputWaitHandle' GetConsoleInputWaitHandle kernel32 510 imp 'GetConsoleKeyboardLayoutName' GetConsoleKeyboardLayoutNameW kernel32 512 imp 'GetConsoleMode' GetConsoleMode kernel32 0 2 imp 'GetConsoleNlsMode' GetConsoleNlsMode kernel32 514 imp 'GetConsoleOriginalTitle' GetConsoleOriginalTitleW kernel32 0 imp 'GetConsoleOutputCP' GetConsoleOutputCP kernel32 0 0 imp 'GetConsoleProcessList' GetConsoleProcessList kernel32 0 imp 'GetConsoleScreenBufferInfo' GetConsoleScreenBufferInfo kernel32 0 2 imp 'GetConsoleScreenBufferInfoEx' GetConsoleScreenBufferInfoEx kernel32 0 2 imp 'GetConsoleSelectionInfo' GetConsoleSelectionInfo kernel32 0 1 imp 'GetConsoleTitle' GetConsoleTitleW kernel32 0 2 imp 'GetConsoleWindow' GetConsoleWindow kernel32 0 0 imp 'GetCurrencyFormat' GetCurrencyFormatW kernel32 0 imp 'GetCurrencyFormatEx' GetCurrencyFormatEx kernel32 0 imp 'GetCurrentActCtx' GetCurrentActCtx kernel32 0 imp 'GetCurrentActCtxWorker' GetCurrentActCtxWorker kernel32 529 imp 'GetCurrentApplicationUserModelId' GetCurrentApplicationUserModelId kernel32 0 imp 'GetCurrentConsoleFont' GetCurrentConsoleFont kernel32 0 imp 'GetCurrentConsoleFontEx' GetCurrentConsoleFontEx kernel32 0 imp 'GetCurrentDirectory' GetCurrentDirectoryW kernel32 0 2 imp 'GetCurrentPackageFamilyName' GetCurrentPackageFamilyName kernel32 0 imp 'GetCurrentPackageFullName' GetCurrentPackageFullName kernel32 0 imp 'GetCurrentPackageId' GetCurrentPackageId kernel32 0 imp 'GetCurrentPackageInfo' GetCurrentPackageInfo kernel32 0 imp 'GetCurrentPackagePath' GetCurrentPackagePath kernel32 0 imp 'GetCurrentProcess' GetCurrentProcess kernel32 0 0 imp 'GetCurrentProcessId' GetCurrentProcessId kernel32 0 0 imp 'GetCurrentThread' GetCurrentThread kernel32 0 0 imp 'GetCurrentThreadId' GetCurrentThreadId kernel32 0 0 imp 'GetCurrentThreadStackLimits' GetCurrentThreadStackLimits kernel32 0 imp 'GetCurrentUmsThread' GetCurrentUmsThread kernel32 547 imp 'GetDateFormat' GetDateFormatW kernel32 0 imp 'GetDateFormatAWorker' GetDateFormatAWorker kernel32 549 imp 'GetDateFormatEx' GetDateFormatEx kernel32 0 imp 'GetDateFormatWWorker' GetDateFormatWWorker kernel32 552 imp 'GetDefaultCommConfig' GetDefaultCommConfigW kernel32 554 imp 'GetDevicePowerState' GetDevicePowerState kernel32 555 imp 'GetDiskFreeSpace' GetDiskFreeSpaceW kernel32 0 imp 'GetDiskFreeSpaceEx' GetDiskFreeSpaceExW kernel32 0 imp 'GetDllDirectory' GetDllDirectoryW kernel32 561 imp 'GetDriveType' GetDriveTypeW kernel32 0 imp 'GetDurationFormat' GetDurationFormat kernel32 564 imp 'GetDurationFormatEx' GetDurationFormatEx kernel32 0 imp 'GetDynamicTimeZoneInformation' GetDynamicTimeZoneInformation kernel32 0 imp 'GetEnabledXStateFeatures' GetEnabledXStateFeatures kernel32 0 imp 'GetEncryptedFileVersionExt' GetEncryptedFileVersionExt kernel32 568 imp 'GetEnvironmentStrings' GetEnvironmentStringsW kernel32 0 1 imp 'GetEnvironmentVariable' GetEnvironmentVariableW kernel32 0 3 imp 'GetErrorMode' GetErrorMode kernel32 0 imp 'GetExitCodeThread' GetExitCodeThread kernel32 0 2 imp 'GetExpandedName' GetExpandedNameW kernel32 579 imp 'GetFileAttributesEx' GetFileAttributesExW kernel32 0 3 imp 'GetFileAttributesTransacted' GetFileAttributesTransactedW kernel32 584 imp 'GetFileBandwidthReservation' GetFileBandwidthReservation kernel32 586 imp 'GetFileInformationByHandle' GetFileInformationByHandle kernel32 0 2 imp 'GetFileInformationByHandleEx' GetFileInformationByHandleEx kernel32 0 4 imp 'GetFileMUIInfo' GetFileMUIInfo kernel32 0 imp 'GetFileMUIPath' GetFileMUIPath kernel32 0 imp 'GetFileSize' GetFileSize kernel32 0 2 imp 'GetFileSizeEx' GetFileSizeEx kernel32 0 2 imp 'GetFileTime' GetFileTime kernel32 0 4 imp 'GetFileType' GetFileType kernel32 0 1 imp 'GetFinalPathNameByHandle' GetFinalPathNameByHandleW kernel32 0 4 imp 'GetFirmwareEnvironmentVariable' GetFirmwareEnvironmentVariableW kernel32 600 imp 'GetFirmwareEnvironmentVariableEx' GetFirmwareEnvironmentVariableExW kernel32 599 imp 'GetFirmwareType' GetFirmwareType kernel32 601 imp 'GetFullPathName' GetFullPathNameW kernel32 0 4 imp 'GetFullPathNameTransacted' GetFullPathNameTransactedW kernel32 604 imp 'GetGeoInfo' GetGeoInfoW kernel32 0 imp 'GetHandleInformation' GetHandleInformation kernel32 0 2 imp 'GetLargePageMinimum' GetLargePageMinimum kernel32 0 imp 'GetLargestConsoleWindowSize' GetLargestConsoleWindowSize kernel32 0 1 imp 'GetLastError' GetLastError kernel32 0 0 imp 'GetLocalTime' GetLocalTime kernel32 0 imp 'GetLocaleInfo' GetLocaleInfoW kernel32 0 imp 'GetLocaleInfoEx' GetLocaleInfoEx kernel32 0 imp 'GetLogicalDriveStrings' GetLogicalDriveStringsW kernel32 0 imp 'GetLogicalDrives' GetLogicalDrives kernel32 0 0 imp 'GetLogicalProcessorInformation' GetLogicalProcessorInformation kernel32 0 imp 'GetLogicalProcessorInformationEx' GetLogicalProcessorInformationEx kernel32 0 imp 'GetLongPathName' GetLongPathNameW kernel32 0 imp 'GetLongPathNameTransacted' GetLongPathNameTransactedW kernel32 624 imp 'GetMailslotInfo' GetMailslotInfo kernel32 626 imp 'GetMaximumProcessorCount' GetMaximumProcessorCount kernel32 627 1 # Windows 7+ imp 'GetMaximumProcessorGroupCount' GetMaximumProcessorGroupCount kernel32 628 imp 'GetMemoryErrorHandlingCapabilities' GetMemoryErrorHandlingCapabilities kernel32 0 imp 'GetModuleFileName' GetModuleFileNameW kernel32 0 3 imp 'GetModuleHandle' GetModuleHandleA kernel32 0 1 imp 'GetModuleHandleEx' GetModuleHandleExW kernel32 0 3 imp 'GetModuleHandleW' GetModuleHandleW kernel32 0 1 imp 'GetNLSVersion' GetNLSVersion kernel32 0 imp 'GetNLSVersionEx' GetNLSVersionEx kernel32 0 imp 'GetNamedPipeClientComputerName' GetNamedPipeClientComputerNameW kernel32 0 imp 'GetNamedPipeClientProcessId' GetNamedPipeClientProcessId kernel32 641 imp 'GetNamedPipeClientSessionId' GetNamedPipeClientSessionId kernel32 642 imp 'GetNamedPipeHandleState' GetNamedPipeHandleStateW kernel32 0 imp 'GetNamedPipeInfo' GetNamedPipeInfo kernel32 0 imp 'GetNamedPipeServerProcessId' GetNamedPipeServerProcessId kernel32 646 imp 'GetNamedPipeServerSessionId' GetNamedPipeServerSessionId kernel32 647 imp 'GetNativeSystemInfo' GetNativeSystemInfo kernel32 0 imp 'GetNextUmsListItem' GetNextUmsListItem kernel32 649 imp 'GetNextVDMCommand' GetNextVDMCommand kernel32 650 imp 'GetNumaAvailableMemoryNode' GetNumaAvailableMemoryNode kernel32 651 imp 'GetNumaAvailableMemoryNodeEx' GetNumaAvailableMemoryNodeEx kernel32 652 imp 'GetNumaHighestNodeNumber' GetNumaHighestNodeNumber kernel32 0 imp 'GetNumaNodeNumberFromHandle' GetNumaNodeNumberFromHandle kernel32 654 imp 'GetNumaNodeProcessorMask' GetNumaNodeProcessorMask kernel32 655 imp 'GetNumaNodeProcessorMaskEx' GetNumaNodeProcessorMaskEx kernel32 0 imp 'GetNumaProcessorNode' GetNumaProcessorNode kernel32 657 imp 'GetNumaProcessorNodeEx' GetNumaProcessorNodeEx kernel32 658 imp 'GetNumaProximityNode' GetNumaProximityNode kernel32 659 imp 'GetNumaProximityNodeEx' GetNumaProximityNodeEx kernel32 0 imp 'GetNumberFormat' GetNumberFormatW kernel32 0 imp 'GetNumberFormatEx' GetNumberFormatEx kernel32 0 imp 'GetNumberOfConsoleFonts' GetNumberOfConsoleFonts kernel32 664 imp 'GetNumberOfConsoleInputEvents' GetNumberOfConsoleInputEvents kernel32 0 2 imp 'GetNumberOfConsoleMouseButtons' GetNumberOfConsoleMouseButtons kernel32 0 1 imp 'GetOEMCP' GetOEMCP kernel32 0 imp 'GetOverlappedResult' GetOverlappedResult kernel32 0 4 imp 'GetOverlappedResultEx' GetOverlappedResultEx kernel32 0 5 imp 'GetPackageApplicationIds' GetPackageApplicationIds kernel32 0 imp 'GetPackageFamilyName' GetPackageFamilyName kernel32 0 imp 'GetPackageFullName' GetPackageFullName kernel32 0 imp 'GetPackageId' GetPackageId kernel32 0 imp 'GetPackageInfo' GetPackageInfo kernel32 0 imp 'GetPackagePath' GetPackagePath kernel32 0 imp 'GetPackagePathByFullName' GetPackagePathByFullName kernel32 0 imp 'GetPackagesByPackageFamily' GetPackagesByPackageFamily kernel32 0 imp 'GetPhysicallyInstalledSystemMemory' GetPhysicallyInstalledSystemMemory kernel32 0 imp 'GetPriorityClass' GetPriorityClass kernel32 0 1 imp 'GetPrivateProfileInt' GetPrivateProfileIntW kernel32 681 imp 'GetPrivateProfileSection' GetPrivateProfileSectionW kernel32 685 imp 'GetPrivateProfileSectionNames' GetPrivateProfileSectionNamesW kernel32 684 imp 'GetPrivateProfileString' GetPrivateProfileStringW kernel32 687 imp 'GetPrivateProfileStruct' GetPrivateProfileStructW kernel32 689 imp 'GetProcAddress' GetProcAddress kernel32 0 2 imp 'GetProcessAffinityMask' GetProcessAffinityMask kernel32 0 3 imp 'GetProcessDEPPolicy' GetProcessDEPPolicy kernel32 692 imp 'GetProcessDefaultCpuSets' GetProcessDefaultCpuSets kernel32 0 imp 'GetProcessGroupAffinity' GetProcessGroupAffinity kernel32 0 imp 'GetProcessHandleCount' GetProcessHandleCount kernel32 0 2 imp 'GetProcessHeap' GetProcessHeap kernel32 0 0 imp 'GetProcessHeaps' GetProcessHeaps kernel32 0 2 imp 'GetProcessId' GetProcessId kernel32 0 1 imp 'GetProcessIdOfThread' GetProcessIdOfThread kernel32 0 1 imp 'GetProcessInformation' GetProcessInformation kernel32 0 4 imp 'GetProcessIoCounters' GetProcessIoCounters kernel32 701 2 imp 'GetProcessMitigationPolicy' GetProcessMitigationPolicy kernel32 0 imp 'GetProcessPreferredUILanguages' GetProcessPreferredUILanguages kernel32 0 imp 'GetProcessPriorityBoost' GetProcessPriorityBoost kernel32 0 2 imp 'GetProcessShutdownParameters' GetProcessShutdownParameters kernel32 0 imp 'GetProcessTimes' GetProcessTimes kernel32 0 5 imp 'GetProcessVersion' GetProcessVersion kernel32 0 imp 'GetProcessWorkingSetSize' GetProcessWorkingSetSize kernel32 708 3 imp 'GetProcessWorkingSetSizeEx' GetProcessWorkingSetSizeEx kernel32 0 4 imp 'GetProcessorSystemCycleTime' GetProcessorSystemCycleTime kernel32 0 imp 'GetProductInfo' GetProductInfo kernel32 0 imp 'GetProfileInt' GetProfileIntW kernel32 713 imp 'GetProfileSection' GetProfileSectionW kernel32 715 imp 'GetProfileString' GetProfileStringW kernel32 717 imp 'GetQueuedCompletionStatus' GetQueuedCompletionStatus kernel32 0 5 imp 'GetQueuedCompletionStatusEx' GetQueuedCompletionStatusEx kernel32 0 6 imp 'GetShortPathName' GetShortPathNameW kernel32 0 imp 'GetStagedPackagePathByFullName' GetStagedPackagePathByFullName kernel32 0 imp 'GetStartupInfo' GetStartupInfoW kernel32 0 1 imp 'GetStdHandle' GetStdHandle kernel32 0 1 imp 'GetStringScripts' GetStringScripts kernel32 0 imp 'GetStringType' GetStringTypeW kernel32 0 imp 'GetStringTypeEx' GetStringTypeExW kernel32 0 imp 'GetSystemCpuSetInformation' GetSystemCpuSetInformation kernel32 0 imp 'GetSystemDEPPolicy' GetSystemDEPPolicy kernel32 734 imp 'GetSystemDefaultLCID' GetSystemDefaultLCID kernel32 0 imp 'GetSystemDefaultLangID' GetSystemDefaultLangID kernel32 0 imp 'GetSystemDefaultLocaleName' GetSystemDefaultLocaleName kernel32 0 imp 'GetSystemDefaultUILanguage' GetSystemDefaultUILanguage kernel32 0 imp 'GetSystemDirectory' GetSystemDirectoryW kernel32 0 2 imp 'GetSystemDirectoryA' GetSystemDirectoryA kernel32 0 2 imp 'GetSystemFileCacheSize' GetSystemFileCacheSize kernel32 0 imp 'GetSystemFirmwareTable' GetSystemFirmwareTable kernel32 0 imp 'GetSystemInfo' GetSystemInfo kernel32 0 1 imp 'GetSystemPowerStatus' GetSystemPowerStatus kernel32 744 imp 'GetSystemPreferredUILanguages' GetSystemPreferredUILanguages kernel32 0 imp 'GetSystemRegistryQuota' GetSystemRegistryQuota kernel32 746 imp 'GetSystemTime' GetSystemTime kernel32 0 1 imp 'GetSystemTimeAdjustment' GetSystemTimeAdjustment kernel32 0 3 imp 'GetSystemTimeAsFileTime' GetSystemTimeAsFileTime kernel32 0 1 imp 'GetSystemTimePreciseAsFileTime' GetSystemTimePreciseAsFileTime kernel32 0 1 imp 'GetSystemTimes' GetSystemTimes kernel32 0 3 imp 'GetSystemWindowsDirectory' GetSystemWindowsDirectoryW kernel32 0 imp 'GetTapeParameters' GetTapeParameters kernel32 756 imp 'GetTapePosition' GetTapePosition kernel32 757 imp 'GetTapeStatus' GetTapeStatus kernel32 758 imp 'GetTempFileName' GetTempFileNameW kernel32 0 imp 'GetTempPath' GetTempPathW kernel32 0 2 imp 'GetTempPathA' GetTempPathA kernel32 0 2 imp 'GetThreadContext' GetThreadContext kernel32 0 imp 'GetThreadErrorMode' GetThreadErrorMode kernel32 0 imp 'GetThreadGroupAffinity' GetThreadGroupAffinity kernel32 0 imp 'GetThreadIOPendingFlag' GetThreadIOPendingFlag kernel32 0 2 imp 'GetThreadId' GetThreadId kernel32 0 1 imp 'GetThreadIdealProcessorEx' GetThreadIdealProcessorEx kernel32 0 imp 'GetThreadInformation' GetThreadInformation kernel32 0 imp 'GetThreadLocale' GetThreadLocale kernel32 0 imp 'GetThreadPreferredUILanguages' GetThreadPreferredUILanguages kernel32 0 imp 'GetThreadPriority' GetThreadPriority kernel32 0 1 imp 'GetThreadPriorityBoost' GetThreadPriorityBoost kernel32 0 2 imp 'GetThreadSelectedCpuSets' GetThreadSelectedCpuSets kernel32 0 imp 'GetThreadSelectorEntry' GetThreadSelectorEntry kernel32 776 imp 'GetThreadTimes' GetThreadTimes kernel32 0 5 imp 'GetThreadUILanguage' GetThreadUILanguage kernel32 0 imp 'GetTickCount' GetTickCount kernel32 0 imp 'GetTickCount64' GetTickCount64 kernel32 0 0 imp 'GetTimeFormat' GetTimeFormatW kernel32 0 imp 'GetTimeFormatAWorker' GetTimeFormatAWorker kernel32 782 imp 'GetTimeFormatEx' GetTimeFormatEx kernel32 0 imp 'GetTimeFormatWWorker' GetTimeFormatWWorker kernel32 785 imp 'GetTimeZoneInformation' GetTimeZoneInformation kernel32 0 imp 'GetTimeZoneInformationForYear' GetTimeZoneInformationForYear kernel32 0 imp 'GetUILanguageInfo' GetUILanguageInfo kernel32 0 imp 'GetUmsCompletionListEvent' GetUmsCompletionListEvent kernel32 789 imp 'GetUmsSystemThreadInformation' GetUmsSystemThreadInformation kernel32 790 imp 'GetUserDefaultLCID' GetUserDefaultLCID kernel32 0 imp 'GetUserDefaultLangID' GetUserDefaultLangID kernel32 0 imp 'GetUserDefaultLocaleName' GetUserDefaultLocaleName kernel32 0 imp 'GetUserDefaultUILanguage' GetUserDefaultUILanguage kernel32 0 imp 'GetUserGeoID' GetUserGeoID kernel32 0 imp 'GetUserPreferredUILanguages' GetUserPreferredUILanguages kernel32 0 imp 'GetVDMCurrentDirectories' GetVDMCurrentDirectories kernel32 798 imp 'GetVersion' GetVersion kernel32 0 imp 'GetVersionEx' GetVersionExW kernel32 0 1 imp 'GetVolumeInformation' GetVolumeInformationW kernel32 0 imp 'GetVolumeInformationByHandle' GetVolumeInformationByHandleW kernel32 0 8 imp 'GetVolumeNameForVolumeMountPoint' GetVolumeNameForVolumeMountPointW kernel32 0 imp 'GetVolumePathName' GetVolumePathNameW kernel32 0 3 imp 'GetVolumePathNamesForVolumeName' GetVolumePathNamesForVolumeNameW kernel32 0 imp 'GetWindowsDirectory' GetWindowsDirectoryW kernel32 0 2 imp 'GetWindowsDirectoryA' GetWindowsDirectoryA kernel32 0 2 imp 'GetWriteWatch' GetWriteWatch kernel32 0 imp 'GetXStateFeaturesMask' GetXStateFeaturesMask kernel32 0 imp 'GlobalAddAtom' GlobalAddAtomW kernel32 818 imp 'GlobalAddAtomEx' GlobalAddAtomExW kernel32 817 imp 'GlobalAlloc' GlobalAlloc kernel32 0 2 imp 'GlobalCompact' GlobalCompact kernel32 820 imp 'GlobalDeleteAtom' GlobalDeleteAtom kernel32 821 imp 'GlobalFindAtom' GlobalFindAtomW kernel32 823 imp 'GlobalFix' GlobalFix kernel32 824 imp 'GlobalFlags' GlobalFlags kernel32 825 imp 'GlobalFree' GlobalFree kernel32 0 1 imp 'GlobalGetAtomName' GlobalGetAtomNameW kernel32 828 imp 'GlobalHandle' GlobalHandle kernel32 829 imp 'GlobalLock' GlobalLock kernel32 830 imp 'GlobalMemoryStatus' GlobalMemoryStatus kernel32 831 imp 'GlobalMemoryStatusEx' GlobalMemoryStatusEx kernel32 0 1 imp 'GlobalReAlloc' GlobalReAlloc kernel32 833 imp 'GlobalSize' GlobalSize kernel32 834 imp 'GlobalUnWire' GlobalUnWire kernel32 835 imp 'GlobalUnfix' GlobalUnfix kernel32 836 imp 'GlobalUnlock' GlobalUnlock kernel32 837 imp 'GlobalWire' GlobalWire kernel32 838 imp 'Heap32First' Heap32First kernel32 839 imp 'Heap32ListFirst' Heap32ListFirst kernel32 840 imp 'Heap32ListNext' Heap32ListNext kernel32 841 imp 'Heap32Next' Heap32Next kernel32 842 imp 'HeapAlloc' HeapAlloc kernel32 0 3 imp 'HeapCompact' HeapCompact kernel32 0 2 imp 'HeapCreate' HeapCreate kernel32 0 3 imp 'HeapDestroy' HeapDestroy kernel32 0 1 imp 'HeapFree' HeapFree kernel32 847 3 imp 'HeapLock' HeapLock kernel32 0 imp 'HeapQueryInformation' HeapQueryInformation kernel32 0 imp 'HeapReAlloc' HeapReAlloc kernel32 0 4 imp 'HeapSetInformation' HeapSetInformation kernel32 0 imp 'HeapUnlock' HeapUnlock kernel32 0 imp 'HeapValidate' HeapValidate kernel32 0 imp 'HeapWalk' HeapWalk kernel32 0 imp 'IdnToAscii' IdnToAscii kernel32 0 imp 'IdnToNameprepUnicode' IdnToNameprepUnicode kernel32 0 imp 'IdnToUnicode' IdnToUnicode kernel32 0 imp 'InitAtomTable' InitAtomTable kernel32 860 imp 'InitOnceBeginInitialize' InitOnceBeginInitialize kernel32 0 imp 'InitOnceComplete' InitOnceComplete kernel32 0 imp 'InitOnceExecuteOnce' InitOnceExecuteOnce kernel32 0 imp 'InitializeContext' InitializeContext kernel32 0 imp 'InitializeCriticalSection' InitializeCriticalSection kernel32 0 1 imp 'InitializeCriticalSectionAndSpinCount' InitializeCriticalSectionAndSpinCount kernel32 0 2 imp 'InitializeCriticalSectionEx' InitializeCriticalSectionEx kernel32 0 imp 'InitializeProcThreadAttributeList' InitializeProcThreadAttributeList kernel32 0 4 imp 'InitializeSRWLock' InitializeSRWLock kernel32 0 1 imp 'InitializeSynchronizationBarrier' InitializeSynchronizationBarrier kernel32 0 imp 'InstallELAMCertificateInfo' InstallELAMCertificateInfo kernel32 0 imp 'InvalidateConsoleDIBits' InvalidateConsoleDIBits kernel32 881 imp 'IsBadCodePtr' IsBadCodePtr kernel32 882 imp 'IsBadHugeReadPtr' IsBadHugeReadPtr kernel32 883 imp 'IsBadHugeWritePtr' IsBadHugeWritePtr kernel32 884 imp 'IsBadReadPtr' IsBadReadPtr kernel32 885 imp 'IsBadStringPtr' IsBadStringPtrW kernel32 887 imp 'IsBadWritePtr' IsBadWritePtr kernel32 888 imp 'IsCalendarLeapDay' IsCalendarLeapDay kernel32 889 imp 'IsCalendarLeapMonth' IsCalendarLeapMonth kernel32 890 imp 'IsCalendarLeapYear' IsCalendarLeapYear kernel32 891 imp 'IsDBCSLeadByte' IsDBCSLeadByte kernel32 0 imp 'IsDBCSLeadByteEx' IsDBCSLeadByteEx kernel32 0 imp 'IsNLSDefinedString' IsNLSDefinedString kernel32 0 imp 'IsNativeVhdBoot' IsNativeVhdBoot kernel32 897 imp 'IsNormalizedString' IsNormalizedString kernel32 0 imp 'IsProcessCritical' IsProcessCritical kernel32 0 imp 'IsProcessInJob' IsProcessInJob kernel32 0 imp 'IsProcessorFeaturePresent' IsProcessorFeaturePresent kernel32 0 imp 'IsSystemResumeAutomatic' IsSystemResumeAutomatic kernel32 902 imp 'IsThreadAFiber' IsThreadAFiber kernel32 0 imp 'IsValidCalDateTime' IsValidCalDateTime kernel32 905 imp 'IsValidCodePage' IsValidCodePage kernel32 0 imp 'IsValidLanguageGroup' IsValidLanguageGroup kernel32 0 imp 'IsValidLocale' IsValidLocale kernel32 0 imp 'IsValidLocaleName' IsValidLocaleName kernel32 0 imp 'IsValidNLSVersion' IsValidNLSVersion kernel32 0 imp 'LCIDToLocaleName' LCIDToLocaleName kernel32 0 imp 'LCMapString' LCMapStringW kernel32 0 imp 'LCMapStringEx' LCMapStringEx kernel32 0 imp 'LZClose' LZClose kernel32 945 imp 'LZCloseFile' LZCloseFile kernel32 946 imp 'LZCopy' LZCopy kernel32 947 imp 'LZCreateFile' LZCreateFileW kernel32 948 imp 'LZDone' LZDone kernel32 949 imp 'LZInit' LZInit kernel32 950 imp 'LZOpenFile' LZOpenFileW kernel32 952 imp 'LZRead' LZRead kernel32 953 imp 'LZSeek' LZSeek kernel32 954 imp 'LZStart' LZStart kernel32 955 imp 'LeaveCriticalSection' LeaveCriticalSection kernel32 0 1 imp 'LoadLibrary' LoadLibraryW kernel32 0 1 imp 'LoadLibraryEx' LoadLibraryExW kernel32 0 3 imp 'LoadModule' LoadModule kernel32 964 imp 'LoadPackagedLibrary' LoadPackagedLibrary kernel32 0 imp 'LoadResource' LoadResource kernel32 0 2 imp 'LoadStringBase' LoadStringBaseW kernel32 968 imp 'LocalAlloc' LocalAlloc kernel32 0 imp 'LocalCompact' LocalCompact kernel32 970 imp 'LocalFileTimeToFileTime' LocalFileTimeToFileTime kernel32 0 imp 'LocalFlags' LocalFlags kernel32 972 imp 'LocalFree' LocalFree kernel32 0 1 imp 'LocalHandle' LocalHandle kernel32 974 imp 'LocalLock' LocalLock kernel32 0 imp 'LocalReAlloc' LocalReAlloc kernel32 0 imp 'LocalShrink' LocalShrink kernel32 977 imp 'LocalSize' LocalSize kernel32 978 imp 'LocalUnlock' LocalUnlock kernel32 0 imp 'LocaleNameToLCID' LocaleNameToLCID kernel32 0 imp 'LocateXStateFeature' LocateXStateFeature kernel32 0 imp 'LockFile' LockFile kernel32 0 5 imp 'LockResource' LockResource kernel32 0 1 imp 'MapUserPhysicalPages' MapUserPhysicalPages kernel32 0 imp 'MapUserPhysicalPagesScatter' MapUserPhysicalPagesScatter kernel32 986 imp 'MapViewOfFile' MapViewOfFile kernel32 0 imp 'MapViewOfFileFromApp' MapViewOfFileFromApp kernel32 0 imp 'Module32First' Module32FirstW kernel32 992 imp 'Module32Next' Module32NextW kernel32 994 imp 'MoveFile' MoveFileW kernel32 1000 2 imp 'MoveFileTransacted' MoveFileTransactedW kernel32 999 imp 'MoveFileWithProgress' MoveFileWithProgressW kernel32 0 imp 'MulDiv' MulDiv kernel32 0 imp 'MultiByteToWideChar' MultiByteToWideChar kernel32 0 6 imp 'NeedCurrentDirectoryForExePath' NeedCurrentDirectoryForExePathW kernel32 0 imp 'NormalizeString' NormalizeString kernel32 0 imp 'NotifyUILanguageChange' NotifyUILanguageChange kernel32 1015 imp 'OOBEComplete' OOBEComplete kernel32 1017 imp 'OfferVirtualMemory' OfferVirtualMemory kernel32 0 3 imp 'OpenConsole' OpenConsoleW kernel32 1019 imp 'OpenConsoleWStub' OpenConsoleWStub kernel32 1020 imp 'OpenEvent' OpenEventW kernel32 0 imp 'OpenFile' OpenFile kernel32 1023 imp 'OpenFileById' OpenFileById kernel32 0 imp 'OpenFileMapping' OpenFileMappingW kernel32 0 imp 'OpenJobObject' OpenJobObjectW kernel32 1028 imp 'OpenMutex' OpenMutexW kernel32 0 imp 'OpenPackageInfoByFullName' OpenPackageInfoByFullName kernel32 0 imp 'OpenPrivateNamespace' OpenPrivateNamespaceW kernel32 0 imp 'OpenProfileUserMapping' OpenProfileUserMapping kernel32 1036 imp 'OpenSemaphore' OpenSemaphoreW kernel32 0 imp 'OpenThread' OpenThread kernel32 0 3 imp 'OpenWaitableTimer' OpenWaitableTimerW kernel32 0 imp 'OutputDebugString' OutputDebugStringW kernel32 0 imp 'PackageFamilyNameFromFullName' PackageFamilyNameFromFullName kernel32 0 imp 'PackageFamilyNameFromId' PackageFamilyNameFromId kernel32 0 imp 'PackageFullNameFromId' PackageFullNameFromId kernel32 0 imp 'PackageIdFromFullName' PackageIdFromFullName kernel32 0 imp 'PackageNameAndPublisherIdFromFamilyName' PackageNameAndPublisherIdFromFamilyName kernel32 0 imp 'ParseApplicationUserModelId' ParseApplicationUserModelId kernel32 0 imp 'PeekConsoleInput' PeekConsoleInputW kernel32 0 4 imp 'PeekNamedPipe' PeekNamedPipe kernel32 0 6 imp 'PostQueuedCompletionStatus' PostQueuedCompletionStatus kernel32 0 4 imp 'PowerClearRequest' PowerClearRequest kernel32 1057 imp 'PowerCreateRequest' PowerCreateRequest kernel32 1058 imp 'PowerSetRequest' PowerSetRequest kernel32 1059 imp 'PrefetchVirtualMemory' PrefetchVirtualMemory kernel32 0 4 imp 'PrepareTape' PrepareTape kernel32 1061 imp 'PrivMoveFileIdentity' PrivMoveFileIdentityW kernel32 1063 imp 'Process32First' Process32FirstW kernel32 0 2 imp 'Process32Next' Process32NextW kernel32 0 2 imp 'ProcessIdToSessionId' ProcessIdToSessionId kernel32 0 imp 'PssCaptureSnapshot' PssCaptureSnapshot kernel32 0 imp 'PssDuplicateSnapshot' PssDuplicateSnapshot kernel32 0 imp 'PssFreeSnapshot' PssFreeSnapshot kernel32 0 imp 'PssQuerySnapshot' PssQuerySnapshot kernel32 0 imp 'PssWalkMarkerCreate' PssWalkMarkerCreate kernel32 0 imp 'PssWalkMarkerFree' PssWalkMarkerFree kernel32 0 imp 'PssWalkMarkerGetPosition' PssWalkMarkerGetPosition kernel32 0 imp 'PssWalkMarkerRewind' PssWalkMarkerRewind kernel32 1076 imp 'PssWalkMarkerSeek' PssWalkMarkerSeek kernel32 1077 imp 'PssWalkMarkerSeekToBeginning' PssWalkMarkerSeekToBeginning kernel32 0 imp 'PssWalkMarkerSetPosition' PssWalkMarkerSetPosition kernel32 0 imp 'PssWalkMarkerTell' PssWalkMarkerTell kernel32 1080 imp 'PssWalkSnapshot' PssWalkSnapshot kernel32 0 imp 'PulseEvent' PulseEvent kernel32 0 1 imp 'PurgeComm' PurgeComm kernel32 0 2 imp 'QueryActCtx' QueryActCtxW kernel32 0 imp 'QueryActCtxSettings' QueryActCtxSettingsW kernel32 0 imp 'QueryActCtxSettingsWWorker' QueryActCtxSettingsWWorker kernel32 1085 imp 'QueryActCtxWWorker' QueryActCtxWWorker kernel32 1087 imp 'QueryDosDevice' QueryDosDeviceW kernel32 0 imp 'QueryFullProcessImageName' QueryFullProcessImageNameW kernel32 0 imp 'QueryIdleProcessorCycleTime' QueryIdleProcessorCycleTime kernel32 0 imp 'QueryIdleProcessorCycleTimeEx' QueryIdleProcessorCycleTimeEx kernel32 0 imp 'QueryInformationJobObject' QueryInformationJobObject kernel32 1095 imp 'QueryIoRateControlInformationJobObject' QueryIoRateControlInformationJobObject kernel32 1096 imp 'QueryMemoryResourceNotification' QueryMemoryResourceNotification kernel32 0 imp 'QueryPerformanceCounter' QueryPerformanceCounter kernel32 1098 1 imp 'QueryPerformanceFrequency' QueryPerformanceFrequency kernel32 1099 1 imp 'QueryProcessAffinityUpdateMode' QueryProcessAffinityUpdateMode kernel32 0 imp 'QueryProcessCycleTime' QueryProcessCycleTime kernel32 0 imp 'QueryProtectedPolicy' QueryProtectedPolicy kernel32 0 imp 'QueryThreadCycleTime' QueryThreadCycleTime kernel32 0 imp 'QueryThreadProfiling' QueryThreadProfiling kernel32 1104 imp 'QueryThreadpoolStackInformation' QueryThreadpoolStackInformation kernel32 0 imp 'QueryUmsThreadInformation' QueryUmsThreadInformation kernel32 1106 imp 'QueryUnbiasedInterruptTime' QueryUnbiasedInterruptTime kernel32 1107 imp 'QueueUserAPC' QueueUserAPC kernel32 0 imp 'QueueUserWorkItem' QueueUserWorkItem kernel32 0 imp 'QuirkGetData2Worker' QuirkGetData2Worker kernel32 1110 imp 'QuirkGetDataWorker' QuirkGetDataWorker kernel32 1111 imp 'QuirkIsEnabled2Worker' QuirkIsEnabled2Worker kernel32 1112 imp 'QuirkIsEnabled3Worker' QuirkIsEnabled3Worker kernel32 1113 imp 'QuirkIsEnabledForPackage2Worker' QuirkIsEnabledForPackage2Worker kernel32 1114 imp 'QuirkIsEnabledForPackage3Worker' QuirkIsEnabledForPackage3Worker kernel32 1115 imp 'QuirkIsEnabledForPackage4Worker' QuirkIsEnabledForPackage4Worker kernel32 1116 imp 'QuirkIsEnabledForPackageWorker' QuirkIsEnabledForPackageWorker kernel32 1117 imp 'QuirkIsEnabledForProcessWorker' QuirkIsEnabledForProcessWorker kernel32 1118 imp 'QuirkIsEnabledWorker' QuirkIsEnabledWorker kernel32 1119 imp 'RaiseException' RaiseException kernel32 0 imp 'RaiseFailFastException' RaiseFailFastException kernel32 0 imp 'RaiseInvalid16BitExeError' RaiseInvalid16BitExeError kernel32 1122 imp 'ReadConsole' ReadConsoleW kernel32 0 5 imp 'ReadConsoleInput' ReadConsoleInputW kernel32 0 4 imp 'ReadConsoleOutput' ReadConsoleOutputW kernel32 0 5 imp 'ReadConsoleOutputAttribute' ReadConsoleOutputAttribute kernel32 0 5 imp 'ReadConsoleOutputCharacter' ReadConsoleOutputCharacterW kernel32 0 5 imp 'ReadDirectoryChanges' ReadDirectoryChangesW kernel32 0 imp 'ReadFile' ReadFile kernel32 0 5 imp 'ReadFileEx' ReadFileEx kernel32 0 5 imp 'ReadFileScatter' ReadFileScatter kernel32 0 5 imp 'ReadProcessMemory' ReadProcessMemory kernel32 0 imp 'ReadThreadProfilingData' ReadThreadProfilingData kernel32 1141 imp 'ReclaimVirtualMemory' ReclaimVirtualMemory kernel32 0 imp 'RegDisablePredefinedCacheEx' RegDisablePredefinedCacheEx kernel32 0 imp 'RegisterApplicationRecoveryCallback' RegisterApplicationRecoveryCallback kernel32 1184 imp 'RegisterApplicationRestart' RegisterApplicationRestart kernel32 1185 imp 'RegisterBadMemoryNotification' RegisterBadMemoryNotification kernel32 0 imp 'RegisterConsoleIME' RegisterConsoleIME kernel32 1187 imp 'RegisterConsoleOS2' RegisterConsoleOS2 kernel32 1188 imp 'RegisterConsoleVDM' RegisterConsoleVDM kernel32 1189 imp 'RegisterWaitForInputIdle' RegisterWaitForInputIdle kernel32 1190 imp 'RegisterWaitForSingleObject' RegisterWaitForSingleObject kernel32 1191 6 imp 'RegisterWaitUntilOOBECompleted' RegisterWaitUntilOOBECompleted kernel32 1193 imp 'RegisterWowBaseHandlers' RegisterWowBaseHandlers kernel32 1194 imp 'RegisterWowExec' RegisterWowExec kernel32 1195 imp 'ReleaseActCtx' ReleaseActCtx kernel32 0 imp 'ReleaseActCtxWorker' ReleaseActCtxWorker kernel32 1197 imp 'ReleaseMutex' ReleaseMutex kernel32 0 1 imp 'ReleaseSRWLockExclusive' ReleaseSRWLockExclusive kernel32 0 1 imp 'ReleaseSRWLockShared' ReleaseSRWLockShared kernel32 0 1 imp 'ReleaseSemaphore' ReleaseSemaphore kernel32 0 3 imp 'RemoveDirectoryTransacted' RemoveDirectoryTransactedW kernel32 1206 imp 'RemoveDllDirectory' RemoveDllDirectory kernel32 0 imp 'RemoveLocalAlternateComputerName' RemoveLocalAlternateComputerNameW kernel32 1210 imp 'RemoveSecureMemoryCacheCallback' RemoveSecureMemoryCacheCallback kernel32 1211 imp 'RemoveVectoredContinueHandler' RemoveVectoredContinueHandler kernel32 0 1 imp 'RemoveVectoredExceptionHandler' RemoveVectoredExceptionHandler kernel32 0 1 imp 'ReplaceFile' ReplaceFileW kernel32 0 imp 'ReplacePartitionUnit' ReplacePartitionUnit kernel32 1217 imp 'RequestDeviceWakeup' RequestDeviceWakeup kernel32 1218 imp 'RequestWakeupLatency' RequestWakeupLatency kernel32 1219 imp 'ResetEvent' ResetEvent kernel32 0 1 imp 'ResetWriteWatch' ResetWriteWatch kernel32 0 imp 'ResolveDelayLoadedAPI' ResolveDelayLoadedAPI kernel32 0 imp 'ResolveDelayLoadsFromDll' ResolveDelayLoadsFromDll kernel32 0 imp 'ResolveLocaleName' ResolveLocaleName kernel32 0 imp 'ResumeThread' ResumeThread kernel32 0 imp 'ScrollConsoleScreenBuffer' ScrollConsoleScreenBufferW kernel32 0 imp 'SearchPath' SearchPathW kernel32 0 imp 'SetCalendarInfo' SetCalendarInfoW kernel32 0 imp 'SetComPlusPackageInstallStatus' SetComPlusPackageInstallStatus kernel32 1251 imp 'SetCommBreak' SetCommBreak kernel32 0 imp 'SetCommConfig' SetCommConfig kernel32 0 imp 'SetCommMask' SetCommMask kernel32 0 imp 'SetCommState' SetCommState kernel32 0 imp 'SetCommTimeouts' SetCommTimeouts kernel32 0 imp 'SetComputerName' SetComputerNameW kernel32 0 imp 'SetComputerNameEx' SetComputerNameExW kernel32 0 imp 'SetConsoleActiveScreenBuffer' SetConsoleActiveScreenBuffer kernel32 0 1 # TODO(jart): 6.2 and higher imp 'SetConsoleCP' SetConsoleCP kernel32 0 1 # TODO(jart): 6.2 and higher imp 'SetConsoleCtrlHandler' SetConsoleCtrlHandler kernel32 0 2 imp 'SetConsoleCursor' SetConsoleCursor kernel32 1265 imp 'SetConsoleCursorInfo' SetConsoleCursorInfo kernel32 0 2 imp 'SetConsoleCursorMode' SetConsoleCursorMode kernel32 1267 imp 'SetConsoleCursorPosition' SetConsoleCursorPosition kernel32 0 2 imp 'SetConsoleDisplayMode' SetConsoleDisplayMode kernel32 0 imp 'SetConsoleFont' SetConsoleFont kernel32 1270 imp 'SetConsoleHardwareState' SetConsoleHardwareState kernel32 1271 imp 'SetConsoleHistoryInfo' SetConsoleHistoryInfo kernel32 0 imp 'SetConsoleIcon' SetConsoleIcon kernel32 1273 imp 'SetConsoleKeyShortcuts' SetConsoleKeyShortcuts kernel32 1276 imp 'SetConsoleLocalEUDC' SetConsoleLocalEUDC kernel32 1277 imp 'SetConsoleMaximumWindowSize' SetConsoleMaximumWindowSize kernel32 1278 imp 'SetConsoleMenuClose' SetConsoleMenuClose kernel32 1279 imp 'SetConsoleMode' SetConsoleMode kernel32 0 2 imp 'SetConsoleNlsMode' SetConsoleNlsMode kernel32 1281 imp 'SetConsoleOS2OemFormat' SetConsoleOS2OemFormat kernel32 1284 imp 'SetConsoleOutputCP' SetConsoleOutputCP kernel32 0 1 imp 'SetConsolePalette' SetConsolePalette kernel32 1286 imp 'SetConsoleScreenBufferInfoEx' SetConsoleScreenBufferInfoEx kernel32 0 2 imp 'SetConsoleScreenBufferSize' SetConsoleScreenBufferSize kernel32 0 2 imp 'SetConsoleTextAttribute' SetConsoleTextAttribute kernel32 0 imp 'SetConsoleTitle' SetConsoleTitleW kernel32 0 1 imp 'SetConsoleWindowInfo' SetConsoleWindowInfo kernel32 0 3 imp 'SetCriticalSectionSpinCount' SetCriticalSectionSpinCount kernel32 0 2 imp 'SetCurrentConsoleFontEx' SetCurrentConsoleFontEx kernel32 0 imp 'SetDefaultCommConfig' SetDefaultCommConfigW kernel32 1298 imp 'SetDefaultDllDirectories' SetDefaultDllDirectories kernel32 0 1 # Windows 8+, KB2533623 on Windows 7 imp 'SetDllDirectory' SetDllDirectoryW kernel32 1301 imp 'SetDynamicTimeZoneInformation' SetDynamicTimeZoneInformation kernel32 0 imp 'SetEndOfFile' SetEndOfFile kernel32 0 1 imp 'SetEnvironmentVariable' SetEnvironmentVariableW kernel32 0 2 imp 'SetErrorMode' SetErrorMode kernel32 0 1 imp 'SetEvent' SetEvent kernel32 0 1 imp 'SetFileApisToANSI' SetFileApisToANSI kernel32 0 imp 'SetFileApisToOEM' SetFileApisToOEM kernel32 0 imp 'SetFileAttributes' SetFileAttributesW kernel32 0 2 imp 'SetFileAttributesTransacted' SetFileAttributesTransactedW kernel32 1315 imp 'SetFileBandwidthReservation' SetFileBandwidthReservation kernel32 1317 imp 'SetFileCompletionNotificationModes' SetFileCompletionNotificationModes kernel32 1318 2 imp 'SetFileInformationByHandle' SetFileInformationByHandle kernel32 0 imp 'SetFileIoOverlappedRange' SetFileIoOverlappedRange kernel32 0 imp 'SetFilePointer' SetFilePointer kernel32 0 4 imp 'SetFilePointerEx' SetFilePointerEx kernel32 0 4 imp 'SetFileShortName' SetFileShortNameW kernel32 1324 imp 'SetFileTime' SetFileTime kernel32 0 4 imp 'SetFileValidData' SetFileValidData kernel32 0 2 imp 'SetFirmwareEnvironmentVariable' SetFirmwareEnvironmentVariableW kernel32 1330 imp 'SetFirmwareEnvironmentVariableEx' SetFirmwareEnvironmentVariableExW kernel32 1329 imp 'SetHandleCount' SetHandleCount kernel32 0 1 imp 'SetHandleInformation' SetHandleInformation kernel32 0 3 imp 'SetInformationJobObject' SetInformationJobObject kernel32 1333 imp 'SetIoRateControlInformationJobObject' SetIoRateControlInformationJobObject kernel32 1334 imp 'SetLastError' SetLastError kernel32 0 1 imp 'SetLocalPrimaryComputerName' SetLocalPrimaryComputerNameW kernel32 1338 imp 'SetLocalTime' SetLocalTime kernel32 0 imp 'SetLocaleInfo' SetLocaleInfoW kernel32 0 imp 'SetMailslotInfo' SetMailslotInfo kernel32 1342 imp 'SetMessageWaitingIndicator' SetMessageWaitingIndicator kernel32 1343 imp 'SetNamedPipeAttribute' SetNamedPipeAttribute kernel32 1344 imp 'SetNamedPipeHandleState' SetNamedPipeHandleState kernel32 0 4 imp 'SetPriorityClass' SetPriorityClass kernel32 0 2 imp 'SetProcessAffinityMask' SetProcessAffinityMask kernel32 1347 2 imp 'SetProcessAffinityUpdateMode' SetProcessAffinityUpdateMode kernel32 0 imp 'SetProcessDEPPolicy' SetProcessDEPPolicy kernel32 1349 imp 'SetProcessDefaultCpuSets' SetProcessDefaultCpuSets kernel32 0 imp 'SetProcessInformation' SetProcessInformation kernel32 0 imp 'SetProcessMitigationPolicy' SetProcessMitigationPolicy kernel32 0 imp 'SetProcessPreferredUILanguages' SetProcessPreferredUILanguages kernel32 0 imp 'SetProcessPriorityBoost' SetProcessPriorityBoost kernel32 0 2 imp 'SetProcessShutdownParameters' SetProcessShutdownParameters kernel32 0 imp 'SetProcessWorkingSetSize' SetProcessWorkingSetSize kernel32 1356 3 imp 'SetProcessWorkingSetSizeEx' SetProcessWorkingSetSizeEx kernel32 0 4 imp 'SetProtectedPolicy' SetProtectedPolicy kernel32 0 imp 'SetSearchPathMode' SetSearchPathMode kernel32 1359 imp 'SetStdHandle' SetStdHandle kernel32 0 2 imp 'SetSystemFileCacheSize' SetSystemFileCacheSize kernel32 0 imp 'SetSystemPowerState' SetSystemPowerState kernel32 1363 imp 'SetSystemTime' SetSystemTime kernel32 0 imp 'SetSystemTimeAdjustment' SetSystemTimeAdjustment kernel32 0 imp 'SetTapeParameters' SetTapeParameters kernel32 1366 imp 'SetTapePosition' SetTapePosition kernel32 1367 imp 'SetTermsrvAppInstallMode' SetTermsrvAppInstallMode kernel32 1368 imp 'SetThreadAffinityMask' SetThreadAffinityMask kernel32 1369 2 imp 'SetThreadContext' SetThreadContext kernel32 0 imp 'SetThreadErrorMode' SetThreadErrorMode kernel32 0 imp 'SetThreadExecutionState' SetThreadExecutionState kernel32 1373 imp 'SetThreadGroupAffinity' SetThreadGroupAffinity kernel32 0 imp 'SetThreadIdealProcessor' SetThreadIdealProcessor kernel32 0 imp 'SetThreadIdealProcessorEx' SetThreadIdealProcessorEx kernel32 0 imp 'SetThreadInformation' SetThreadInformation kernel32 0 imp 'SetThreadLocale' SetThreadLocale kernel32 0 imp 'SetThreadPreferredUILanguages' SetThreadPreferredUILanguages kernel32 0 imp 'SetThreadPriority' SetThreadPriority kernel32 0 2 imp 'SetThreadPriorityBoost' SetThreadPriorityBoost kernel32 0 2 imp 'SetThreadSelectedCpuSets' SetThreadSelectedCpuSets kernel32 0 imp 'SetThreadStackGuarantee' SetThreadStackGuarantee kernel32 0 imp 'SetThreadUILanguage' SetThreadUILanguage kernel32 0 imp 'SetThreadpoolStackInformation' SetThreadpoolStackInformation kernel32 0 imp 'SetThreadpoolThreadMinimum' SetThreadpoolThreadMinimum kernel32 0 imp 'SetTimeZoneInformation' SetTimeZoneInformation kernel32 0 imp 'SetTimerQueueTimer' SetTimerQueueTimer kernel32 1394 imp 'SetUmsThreadInformation' SetUmsThreadInformation kernel32 1395 imp 'SetUnhandledExceptionFilter' SetUnhandledExceptionFilter kernel32 0 1 imp 'SetUserGeoID' SetUserGeoID kernel32 0 imp 'SetVDMCurrentDirectories' SetVDMCurrentDirectories kernel32 1399 imp 'SetVolumeLabel' SetVolumeLabelW kernel32 1401 imp 'SetVolumeMountPoint' SetVolumeMountPointW kernel32 1403 imp 'SetVolumeMountPointWStub' SetVolumeMountPointWStub kernel32 1404 imp 'SetWaitableTimer' SetWaitableTimer kernel32 0 6 imp 'SetWaitableTimerEx' SetWaitableTimerEx kernel32 0 imp 'SetXStateFeaturesMask' SetXStateFeaturesMask kernel32 0 imp 'SetupComm' SetupComm kernel32 0 imp 'ShowConsoleCursor' ShowConsoleCursor kernel32 1409 imp 'SignalObjectAndWait' SignalObjectAndWait kernel32 0 imp 'SizeofResource' SizeofResource kernel32 0 imp 'Sleep' Sleep kernel32 0 1 imp 'SleepConditionVariableCS' SleepConditionVariableCS kernel32 0 imp 'SleepConditionVariableSRW' SleepConditionVariableSRW kernel32 0 imp 'SleepEx' SleepEx kernel32 0 2 imp 'SortCloseHandle' SortCloseHandle kernel32 1416 imp 'SortGetHandle' SortGetHandle kernel32 1417 imp 'SuspendThread' SuspendThread kernel32 0 1 imp 'SwitchToFiber' SwitchToFiber kernel32 0 imp 'SwitchToThread' SwitchToThread kernel32 0 imp 'SystemTimeToFileTime' SystemTimeToFileTime kernel32 0 2 imp 'SystemTimeToTzSpecificLocalTime' SystemTimeToTzSpecificLocalTime kernel32 0 imp 'SystemTimeToTzSpecificLocalTimeEx' SystemTimeToTzSpecificLocalTimeEx kernel32 0 imp 'TerminateJobObject' TerminateJobObject kernel32 1426 imp 'TerminateThread' TerminateThread kernel32 0 2 imp 'TermsrvAppInstallMode' TermsrvAppInstallMode kernel32 1429 imp 'TermsrvConvertSysRootToUserDir' TermsrvConvertSysRootToUserDir kernel32 1430 imp 'TermsrvCreateRegEntry' TermsrvCreateRegEntry kernel32 1431 imp 'TermsrvDeleteKey' TermsrvDeleteKey kernel32 1432 imp 'TermsrvDeleteValue' TermsrvDeleteValue kernel32 1433 imp 'TermsrvGetPreSetValue' TermsrvGetPreSetValue kernel32 1434 imp 'TermsrvGetWindowsDirectory' TermsrvGetWindowsDirectoryW kernel32 1436 imp 'TermsrvOpenRegEntry' TermsrvOpenRegEntry kernel32 1437 imp 'TermsrvOpenUserClasses' TermsrvOpenUserClasses kernel32 1438 imp 'TermsrvRestoreKey' TermsrvRestoreKey kernel32 1439 imp 'TermsrvSetKeySecurity' TermsrvSetKeySecurity kernel32 1440 imp 'TermsrvSetValueKey' TermsrvSetValueKey kernel32 1441 imp 'TermsrvSyncUserIniFileExt' TermsrvSyncUserIniFileExt kernel32 1442 imp 'Thread32First' Thread32First kernel32 1443 imp 'Thread32Next' Thread32Next kernel32 1444 imp 'TlsAlloc' TlsAlloc kernel32 0 0 imp 'TlsFree' TlsFree kernel32 0 1 imp 'TlsGetValue' TlsGetValue kernel32 0 1 imp 'TlsSetValue' TlsSetValue kernel32 0 2 imp 'Toolhelp32ReadProcessMemory' Toolhelp32ReadProcessMemory kernel32 1449 imp 'TransactNamedPipe' TransactNamedPipe kernel32 0 7 imp 'TransmitCommChar' TransmitCommChar kernel32 0 2 imp 'TryAcquireSRWLockExclusive' TryAcquireSRWLockExclusive kernel32 0 1 imp 'TryAcquireSRWLockShared' TryAcquireSRWLockShared kernel32 0 1 imp 'TryEnterCriticalSection' TryEnterCriticalSection kernel32 0 1 imp 'TrySubmitThreadpoolCallback' TrySubmitThreadpoolCallback kernel32 0 imp 'TzSpecificLocalTimeToSystemTime' TzSpecificLocalTimeToSystemTime kernel32 0 imp 'TzSpecificLocalTimeToSystemTimeEx' TzSpecificLocalTimeToSystemTimeEx kernel32 0 imp 'UTRegister' UTRegister kernel32 1458 imp 'UTUnRegister' UTUnRegister kernel32 1459 imp 'UmsThreadYield' UmsThreadYield kernel32 1460 imp 'UnhandledExceptionFilter' UnhandledExceptionFilter kernel32 0 imp 'UnlockFile' UnlockFile kernel32 0 5 imp 'UnmapViewOfFile2' UnmapViewOfFile2 kernel32 0 2 imp 'UnmapViewOfFileEx' UnmapViewOfFileEx kernel32 0 3 imp 'UnregisterApplicationRecoveryCallback' UnregisterApplicationRecoveryCallback kernel32 1466 imp 'UnregisterApplicationRestart' UnregisterApplicationRestart kernel32 1467 imp 'UnregisterBadMemoryNotification' UnregisterBadMemoryNotification kernel32 0 imp 'UnregisterConsoleIME' UnregisterConsoleIME kernel32 1469 imp 'UnregisterWait' UnregisterWait kernel32 1470 imp 'UnregisterWaitEx' UnregisterWaitEx kernel32 0 imp 'UnregisterWaitUntilOOBECompleted' UnregisterWaitUntilOOBECompleted kernel32 1472 imp 'UpdateCalendarDayOfWeek' UpdateCalendarDayOfWeek kernel32 1473 imp 'UpdateProcThreadAttribute' UpdateProcThreadAttribute kernel32 0 7 imp 'UpdateResource' UpdateResourceW kernel32 1476 imp 'VDMConsoleOperation' VDMConsoleOperation kernel32 1477 imp 'VDMOperationStarted' VDMOperationStarted kernel32 1478 imp 'VerLanguageName' VerLanguageNameW kernel32 0 imp 'VerifyConsoleIoHandle' VerifyConsoleIoHandle kernel32 1482 imp 'VerifyScripts' VerifyScripts kernel32 0 imp 'VerifyVersionInfo' VerifyVersionInfoW kernel32 1485 imp 'VirtualAlloc' VirtualAlloc kernel32 0 4 imp 'VirtualAllocEx' VirtualAllocEx kernel32 0 5 imp 'VirtualAllocExNuma' VirtualAllocExNuma kernel32 0 imp 'VirtualFree' VirtualFree kernel32 0 3 imp 'VirtualFreeEx' VirtualFreeEx kernel32 0 imp 'VirtualLock' VirtualLock kernel32 0 2 imp 'VirtualUnlock' VirtualUnlock kernel32 0 2 imp 'VirtualProtectEx' VirtualProtectEx kernel32 0 imp 'VirtualQuery' VirtualQuery kernel32 0 3 imp 'VirtualQueryEx' VirtualQueryEx kernel32 0 imp 'WTSGetActiveConsoleSessionId' WTSGetActiveConsoleSessionId kernel32 1497 imp 'WaitCommEvent' WaitCommEvent kernel32 0 imp 'WaitForDebugEvent' WaitForDebugEvent kernel32 0 imp 'WaitForMultipleObjectsEx' WaitForMultipleObjectsEx kernel32 0 5 imp 'WaitForSingleObjectEx' WaitForSingleObjectEx kernel32 0 3 imp 'WaitNamedPipe' WaitNamedPipeW kernel32 0 imp 'WerGetFlags' WerGetFlags kernel32 0 imp 'WerGetFlagsWorker' WerGetFlagsWorker kernel32 1514 imp 'WerRegisterFile' WerRegisterFile kernel32 0 imp 'WerRegisterFileWorker' WerRegisterFileWorker kernel32 1520 imp 'WerRegisterMemoryBlock' WerRegisterMemoryBlock kernel32 0 imp 'WerRegisterMemoryBlockWorker' WerRegisterMemoryBlockWorker kernel32 1522 imp 'WerRegisterRuntimeExceptionModule' WerRegisterRuntimeExceptionModule kernel32 0 imp 'WerRegisterRuntimeExceptionModuleWorker' WerRegisterRuntimeExceptionModuleWorker kernel32 1524 imp 'WerSetFlags' WerSetFlags kernel32 0 imp 'WerSetFlagsWorker' WerSetFlagsWorker kernel32 1526 imp 'WerUnregisterFile' WerUnregisterFile kernel32 0 imp 'WerUnregisterFileWorker' WerUnregisterFileWorker kernel32 1532 imp 'WerUnregisterMemoryBlock' WerUnregisterMemoryBlock kernel32 0 imp 'WerUnregisterMemoryBlockWorker' WerUnregisterMemoryBlockWorker kernel32 1534 imp 'WerUnregisterRuntimeExceptionModule' WerUnregisterRuntimeExceptionModule kernel32 0 imp 'WerUnregisterRuntimeExceptionModuleWorker' WerUnregisterRuntimeExceptionModuleWorker kernel32 1536 imp 'WerpGetDebugger' WerpGetDebugger kernel32 1537 imp 'WerpInitiateRemoteRecovery' WerpInitiateRemoteRecovery kernel32 1538 imp 'WerpLaunchAeDebug' WerpLaunchAeDebug kernel32 1539 imp 'WerpNotifyLoadStringResourceWorker' WerpNotifyLoadStringResourceWorker kernel32 1540 imp 'WerpNotifyUseStringResourceWorker' WerpNotifyUseStringResourceWorker kernel32 1541 imp 'WideCharToMultiByte' WideCharToMultiByte kernel32 1553 8 imp 'WinExec' WinExec kernel32 1543 imp 'WriteConsole' WriteConsoleW kernel32 0 5 imp 'WriteConsoleInput' WriteConsoleInputW kernel32 0 4 imp 'WriteConsoleInputVDMW' WriteConsoleInputVDMW kernel32 1554 imp 'WriteConsoleOutput' WriteConsoleOutputW kernel32 0 imp 'WriteConsoleOutputAttribute' WriteConsoleOutputAttribute kernel32 0 5 imp 'WriteConsoleOutputCharacter' WriteConsoleOutputCharacterW kernel32 0 5 imp 'WriteFile' WriteFile kernel32 0 5 imp 'WriteFileEx' WriteFileEx kernel32 0 5 imp 'WriteFileGather' WriteFileGather kernel32 0 5 imp 'WritePrivateProfileSection' WritePrivateProfileSectionW kernel32 1566 imp 'WritePrivateProfileString' WritePrivateProfileStringW kernel32 1568 imp 'WritePrivateProfileStruct' WritePrivateProfileStructW kernel32 1570 imp 'WriteProcessMemory' WriteProcessMemory kernel32 0 imp 'WriteProfileSection' WriteProfileSectionW kernel32 1573 imp 'WriteProfileString' WriteProfileStringW kernel32 1575 imp 'WriteTapemark' WriteTapemark kernel32 1576 imp 'ZombifyActCtx' ZombifyActCtx kernel32 0 imp 'ZombifyActCtxWorker' ZombifyActCtxWorker kernel32 1578 imp '__CloseHandle' CloseHandle kernel32 0 1 imp '__CreateDirectory' CreateDirectoryW kernel32 0 2 imp '__CreateFile' CreateFileW kernel32 0 7 imp '__CreateFileMapping' CreateFileMappingW kernel32 0 6 imp '__CreateFileMappingNuma' CreateFileMappingNumaW kernel32 0 7 imp '__CreateNamedPipe' CreateNamedPipeW kernel32 0 8 imp '__CreatePipe' CreatePipe kernel32 0 4 imp '__CreateProcess' CreateProcessW kernel32 0 10 imp '__CreateSymbolicLink' CreateSymbolicLinkW kernel32 0 3 imp '__CreateThread' CreateThread kernel32 0 6 imp '__DeleteFile' DeleteFileW kernel32 0 1 imp '__DeviceIoControl' DeviceIoControl kernel32 0 8 imp '__FindClose' FindClose kernel32 0 1 imp '__FindFirstFile' FindFirstFileW kernel32 0 2 imp '__FindNextFile' FindNextFileW kernel32 0 2 imp '__FlushFileBuffers' FlushFileBuffers kernel32 0 1 imp '__FlushViewOfFile' FlushViewOfFile kernel32 0 2 imp '__GenerateConsoleCtrlEvent' GenerateConsoleCtrlEvent kernel32 0 2 imp '__GetExitCodeProcess' GetExitCodeProcess kernel32 0 2 imp '__GetFileAttributes' GetFileAttributesW kernel32 0 1 imp '__LockFileEx' LockFileEx kernel32 0 6 imp '__MapViewOfFileEx' MapViewOfFileEx kernel32 0 6 imp '__MapViewOfFileExNuma' MapViewOfFileExNuma kernel32 0 7 imp '__MoveFileEx' MoveFileExW kernel32 0 3 imp '__OpenProcess' OpenProcess kernel32 0 3 imp '__ReOpenFile' ReOpenFile kernel32 0 4 # TODO(jart): 6.2 and higher imp '__RemoveDirectory' RemoveDirectoryW kernel32 0 1 imp '__SetCurrentDirectory' SetCurrentDirectoryW kernel32 0 1 imp '__TerminateProcess' TerminateProcess kernel32 0 2 imp '__UnlockFileEx' UnlockFileEx kernel32 0 5 imp '__UnmapViewOfFile' UnmapViewOfFile kernel32 0 1 imp '__VirtualProtect' VirtualProtect kernel32 0 4 imp '__WaitForMultipleObjects' WaitForMultipleObjects kernel32 0 4 imp '__WaitForSingleObject' WaitForSingleObject kernel32 0 2 # ADVAPI32.DLL # # Name Actual DLL Hint Arity imp 'AbortSystemShutdown' AbortSystemShutdownW advapi32 1006 imp 'AccessCheck' AccessCheck advapi32 0 8 imp 'AccessCheckAndAuditAlarm' AccessCheckAndAuditAlarmW advapi32 0 imp 'AccessCheckByType' AccessCheckByType advapi32 0 imp 'AccessCheckByTypeAndAuditAlarm' AccessCheckByTypeAndAuditAlarmW advapi32 0 imp 'AccessCheckByTypeResultList' AccessCheckByTypeResultList advapi32 0 imp 'AccessCheckByTypeResultListAndAuditAlarm' AccessCheckByTypeResultListAndAuditAlarmW advapi32 0 imp 'AccessCheckByTypeResultListAndAuditAlarmByHandle' AccessCheckByTypeResultListAndAuditAlarmByHandleW advapi32 0 imp 'AddAccessAllowedAce' AddAccessAllowedAce advapi32 0 imp 'AddAccessAllowedAceEx' AddAccessAllowedAceEx advapi32 0 imp 'AddAccessAllowedObjectAce' AddAccessAllowedObjectAce advapi32 0 imp 'AddAccessDeniedAce' AddAccessDeniedAce advapi32 0 imp 'AddAccessDeniedAceEx' AddAccessDeniedAceEx advapi32 0 imp 'AddAccessDeniedObjectAce' AddAccessDeniedObjectAce advapi32 0 imp 'AddAce' AddAce advapi32 0 imp 'AddAuditAccessAce' AddAuditAccessAce advapi32 0 imp 'AddAuditAccessAceEx' AddAuditAccessAceEx advapi32 0 imp 'AddAuditAccessObjectAce' AddAuditAccessObjectAce advapi32 0 imp 'AddConditionalAce' AddConditionalAce advapi32 1028 # Windows 7+ imp 'AddMandatoryAce' AddMandatoryAce advapi32 0 imp 'AddUsersToEncryptedFile' AddUsersToEncryptedFile advapi32 1030 imp 'AdjustTokenGroups' AdjustTokenGroups advapi32 0 imp 'AdjustTokenPrivileges' AdjustTokenPrivileges advapi32 0 6 imp 'AllocateAndInitializeSid' AllocateAndInitializeSid advapi32 0 imp 'AllocateLocallyUniqueId' AllocateLocallyUniqueId advapi32 0 imp 'AreAllAccessesGranted' AreAllAccessesGranted advapi32 0 imp 'AreAnyAccessesGranted' AreAnyAccessesGranted advapi32 0 imp 'AuditComputeEffectivePolicyBySid' AuditComputeEffectivePolicyBySid advapi32 1038 imp 'AuditComputeEffectivePolicyByToken' AuditComputeEffectivePolicyByToken advapi32 1039 imp 'AuditEnumerateCategories' AuditEnumerateCategories advapi32 1040 imp 'AuditEnumeratePerUserPolicy' AuditEnumeratePerUserPolicy advapi32 1041 imp 'AuditEnumerateSubCategories' AuditEnumerateSubCategories advapi32 1042 imp 'AuditFree' AuditFree advapi32 1043 imp 'AuditLookupCategoryGuidFromCategoryId' AuditLookupCategoryGuidFromCategoryId advapi32 1044 imp 'AuditLookupCategoryIdFromCategoryGuid' AuditLookupCategoryIdFromCategoryGuid advapi32 1045 imp 'AuditLookupCategoryName' AuditLookupCategoryNameW advapi32 1047 imp 'AuditLookupSubCategoryName' AuditLookupSubCategoryNameW advapi32 1049 imp 'AuditQueryPerUserPolicy' AuditQueryPerUserPolicy advapi32 1052 imp 'AuditQuerySecurity' AuditQuerySecurity advapi32 1053 imp 'AuditQuerySystemPolicy' AuditQuerySystemPolicy advapi32 1054 imp 'AuditSetPerUserPolicy' AuditSetPerUserPolicy advapi32 1057 imp 'AuditSetSecurity' AuditSetSecurity advapi32 1058 imp 'AuditSetSystemPolicy' AuditSetSystemPolicy advapi32 1059 imp 'BackupEventLog' BackupEventLogW advapi32 1061 imp 'BuildExplicitAccessWithName' BuildExplicitAccessWithNameW advapi32 1076 imp 'BuildImpersonateExplicitAccessWithName' BuildImpersonateExplicitAccessWithNameW advapi32 1078 imp 'BuildImpersonateTrustee' BuildImpersonateTrusteeW advapi32 1080 imp 'BuildSecurityDescriptor' BuildSecurityDescriptorW advapi32 1082 imp 'BuildTrusteeWithName' BuildTrusteeWithNameW advapi32 1084 imp 'BuildTrusteeWithObjectsAndName' BuildTrusteeWithObjectsAndNameW advapi32 1086 imp 'BuildTrusteeWithObjectsAndSid' BuildTrusteeWithObjectsAndSidW advapi32 1088 imp 'BuildTrusteeWithSid' BuildTrusteeWithSidW advapi32 1090 imp 'ChangeServiceConfig' ChangeServiceConfigW advapi32 1095 imp 'ChangeServiceConfig2W' ChangeServiceConfig2W advapi32 1093 imp 'CheckTokenMembership' CheckTokenMembership advapi32 0 imp 'ClearEventLog' ClearEventLogW advapi32 1099 imp 'CloseEncryptedFileRaw' CloseEncryptedFileRaw advapi32 1101 imp 'CloseEventLog' CloseEventLog advapi32 1102 imp 'CloseServiceHandle' CloseServiceHandle advapi32 1103 imp 'CloseThreadWaitChainSession' CloseThreadWaitChainSession advapi32 1104 imp 'CloseTrace' CloseTrace advapi32 1105 imp 'ControlService' ControlService advapi32 1108 imp 'ControlServiceEx' ControlServiceExW advapi32 1110 imp 'ControlTrace' ControlTraceW advapi32 1112 imp 'ConvertSecurityDescriptorToStringSecurityDescriptor' ConvertSecurityDescriptorToStringSecurityDescriptorW advapi32 1123 imp 'ConvertSidToStringSid' ConvertSidToStringSidW advapi32 1125 imp 'ConvertStringSDToSDDomain' ConvertStringSDToSDDomainW advapi32 1127 imp 'ConvertStringSecurityDescriptorToSecurityDescriptor' ConvertStringSecurityDescriptorToSecurityDescriptorW advapi32 1131 imp 'ConvertStringSidToSid' ConvertStringSidToSidW advapi32 1133 imp 'ConvertToAutoInheritPrivateObjectSecurity' ConvertToAutoInheritPrivateObjectSecurity advapi32 0 imp 'CopySid' CopySid advapi32 0 imp 'CreatePrivateObjectSecurity' CreatePrivateObjectSecurity advapi32 0 imp 'CreatePrivateObjectSecurityEx' CreatePrivateObjectSecurityEx advapi32 0 imp 'CreatePrivateObjectSecurityWithMultipleInheritance' CreatePrivateObjectSecurityWithMultipleInheritance advapi32 0 imp 'CreateProcessAsUser' CreateProcessAsUserW advapi32 0 11 imp 'CreateProcessWithLogon' CreateProcessWithLogonW advapi32 1142 imp 'CreateProcessWithToken' CreateProcessWithTokenW advapi32 1143 imp 'CreateRestrictedToken' CreateRestrictedToken advapi32 0 imp 'CreateService' CreateServiceW advapi32 1147 imp 'CreateTraceInstanceId' CreateTraceInstanceId advapi32 0 imp 'CreateWellKnownSid' CreateWellKnownSid advapi32 0 imp 'CredDelete' CredDeleteW advapi32 1152 imp 'CredEnumerate' CredEnumerateW advapi32 1155 imp 'CredFindBestCredential' CredFindBestCredentialW advapi32 1157 imp 'CredFree' CredFree advapi32 1158 imp 'CredGetSessionTypes' CredGetSessionTypes advapi32 1159 imp 'CredGetTargetInfo' CredGetTargetInfoW advapi32 1161 imp 'CredIsMarshaledCredential' CredIsMarshaledCredentialW advapi32 1163 imp 'CredIsProtected' CredIsProtectedW advapi32 1165 imp 'CredMarshalCredential' CredMarshalCredentialW advapi32 1167 imp 'CredProtect' CredProtectW advapi32 1172 imp 'CredRead' CredReadW advapi32 1177 imp 'CredReadDomainCredentials' CredReadDomainCredentialsW advapi32 1176 imp 'CredRename' CredRenameW advapi32 1179 imp 'CredUnmarshalCredential' CredUnmarshalCredentialW advapi32 1182 imp 'CredUnprotect' CredUnprotectW advapi32 1184 imp 'CredWrite' CredWriteW advapi32 1188 imp 'CredWriteDomainCredentials' CredWriteDomainCredentialsW advapi32 1187 imp 'CryptAcquireContext' CryptAcquireContextW advapi32 1196 imp 'CryptContextAddRef' CryptContextAddRef advapi32 1197 imp 'CryptCreateHash' CryptCreateHash advapi32 1198 imp 'CryptDecrypt' CryptDecrypt advapi32 1199 imp 'CryptDeriveKey' CryptDeriveKey advapi32 1200 imp 'CryptDestroyHash' CryptDestroyHash advapi32 1201 imp 'CryptDestroyKey' CryptDestroyKey advapi32 1202 imp 'CryptDuplicateHash' CryptDuplicateHash advapi32 1203 imp 'CryptDuplicateKey' CryptDuplicateKey advapi32 1204 imp 'CryptEncrypt' CryptEncrypt advapi32 1205 imp 'CryptEnumProviderTypes' CryptEnumProviderTypesW advapi32 1207 imp 'CryptEnumProviders' CryptEnumProvidersW advapi32 1209 imp 'CryptExportKey' CryptExportKey advapi32 1210 imp 'CryptGenKey' CryptGenKey advapi32 1211 imp 'CryptGenRandom' CryptGenRandom advapi32 1212 imp 'CryptGetDefaultProvider' CryptGetDefaultProviderW advapi32 1214 imp 'CryptGetHashParam' CryptGetHashParam advapi32 1215 imp 'CryptGetKeyParam' CryptGetKeyParam advapi32 1216 imp 'CryptGetLocalKeyLimits' CryptGetLocalKeyLimits advapi32 0 imp 'CryptGetProvParam' CryptGetProvParam advapi32 1217 imp 'CryptGetUserKey' CryptGetUserKey advapi32 1218 imp 'CryptHashData' CryptHashData advapi32 1219 imp 'CryptHashSessionKey' CryptHashSessionKey advapi32 1220 imp 'CryptImportKey' CryptImportKey advapi32 1221 imp 'CryptReleaseContext' CryptReleaseContext advapi32 1222 imp 'CryptSetHashParam' CryptSetHashParam advapi32 1223 imp 'CryptSetKeyParam' CryptSetKeyParam advapi32 1224 imp 'CryptSetProvParam' CryptSetProvParam advapi32 1225 imp 'CryptSetProvider' CryptSetProviderW advapi32 1229 imp 'CryptSetProviderEx' CryptSetProviderExW advapi32 1228 imp 'CryptSignHash' CryptSignHashW advapi32 1231 imp 'CryptVerifySignature' CryptVerifySignatureW advapi32 1233 imp 'DecryptFile' DecryptFileW advapi32 1236 imp 'DeleteAce' DeleteAce advapi32 0 imp 'DeleteService' DeleteService advapi32 1238 imp 'DeregisterEventSource' DeregisterEventSource advapi32 1239 1 imp 'DestroyPrivateObjectSecurity' DestroyPrivateObjectSecurity advapi32 0 imp 'DuplicateEncryptionInfoFile' DuplicateEncryptionInfoFile advapi32 1241 imp 'DuplicateToken' DuplicateToken advapi32 0 3 imp 'DuplicateTokenEx' DuplicateTokenEx advapi32 0 6 imp 'EnableTrace' EnableTrace advapi32 1265 imp 'EnableTraceEx' EnableTraceEx advapi32 1266 imp 'EnableTraceEx2' EnableTraceEx2 advapi32 1267 # Windows 7+ imp 'EncryptFile' EncryptFileW advapi32 1269 imp 'EncryptionDisable' EncryptionDisable advapi32 1271 imp 'EnumDependentServices' EnumDependentServicesW advapi32 1273 imp 'EnumServicesStatus' EnumServicesStatusW advapi32 1279 imp 'EnumServicesStatusEx' EnumServicesStatusExW advapi32 1278 imp 'EnumerateTraceGuids' EnumerateTraceGuids advapi32 1280 imp 'EnumerateTraceGuidsEx' EnumerateTraceGuidsEx advapi32 1281 imp 'EqualDomainSid' EqualDomainSid advapi32 0 imp 'EqualPrefixSid' EqualPrefixSid advapi32 0 imp 'EqualSid' EqualSid advapi32 0 imp 'EventAccessControl' EventAccessControl advapi32 1285 imp 'EventAccessQuery' EventAccessQuery advapi32 1286 imp 'EventAccessRemove' EventAccessRemove advapi32 1287 imp 'EventActivityIdControl' EventActivityIdControl advapi32 0 imp 'EventEnabled' EventEnabled advapi32 0 imp 'EventProviderEnabled' EventProviderEnabled advapi32 0 imp 'EventRegister' EventRegister advapi32 0 imp 'EventUnregister' EventUnregister advapi32 0 imp 'EventWrite' EventWrite advapi32 0 imp 'EventWriteEx' EventWriteEx advapi32 0 imp 'EventWriteString' EventWriteString advapi32 0 imp 'EventWriteTransfer' EventWriteTransfer advapi32 0 imp 'FileEncryptionStatus' FileEncryptionStatusW advapi32 1301 imp 'FindFirstFreeAce' FindFirstFreeAce advapi32 0 imp 'FlushTrace' FlushTraceW advapi32 1305 imp 'FreeEncryptionCertificateHashList' FreeEncryptionCertificateHashList advapi32 1308 imp 'FreeInheritedFromArray' FreeInheritedFromArray advapi32 1309 imp 'FreeSid' FreeSid advapi32 0 imp 'GetAce' GetAce advapi32 0 imp 'GetAclInformation' GetAclInformation advapi32 0 imp 'GetAuditedPermissionsFromAcl' GetAuditedPermissionsFromAclW advapi32 1316 imp 'GetCurrentHwProfile' GetCurrentHwProfileW advapi32 1318 imp 'GetEffectiveRightsFromAcl' GetEffectiveRightsFromAclW advapi32 1321 imp 'GetEventLogInformation' GetEventLogInformation advapi32 1323 imp 'GetExplicitEntriesFromAcl' GetExplicitEntriesFromAclW advapi32 1325 imp 'GetFileSecurity' GetFileSecurityW advapi32 0 5 imp 'GetInheritanceSource' GetInheritanceSourceW advapi32 1331 imp 'GetKernelObjectSecurity' GetKernelObjectSecurity advapi32 0 imp 'GetLengthSid' GetLengthSid advapi32 0 imp 'GetLocalManagedApplications' GetLocalManagedApplications advapi32 1335 imp 'GetManagedApplicationCategories' GetManagedApplicationCategories advapi32 1336 imp 'GetManagedApplications' GetManagedApplications advapi32 1337 imp 'GetMultipleTrustee' GetMultipleTrusteeW advapi32 1341 imp 'GetMultipleTrusteeOperation' GetMultipleTrusteeOperationW advapi32 1340 imp 'GetNamedSecurityInfo' GetNamedSecurityInfoW advapi32 1345 imp 'GetNumberOfEventLogRecords' GetNumberOfEventLogRecords advapi32 1346 imp 'GetOldestEventLogRecord' GetOldestEventLogRecord advapi32 1347 imp 'GetPrivateObjectSecurity' GetPrivateObjectSecurity advapi32 0 imp 'GetSecurityDescriptorControl' GetSecurityDescriptorControl advapi32 0 imp 'GetSecurityDescriptorDacl' GetSecurityDescriptorDacl advapi32 0 imp 'GetSecurityDescriptorGroup' GetSecurityDescriptorGroup advapi32 0 imp 'GetSecurityDescriptorLength' GetSecurityDescriptorLength advapi32 0 imp 'GetSecurityDescriptorOwner' GetSecurityDescriptorOwner advapi32 0 imp 'GetSecurityDescriptorRMControl' GetSecurityDescriptorRMControl advapi32 0 imp 'GetSecurityDescriptorSacl' GetSecurityDescriptorSacl advapi32 0 imp 'GetSecurityInfo' GetSecurityInfo advapi32 1357 imp 'GetServiceDisplayName' GetServiceDisplayNameW advapi32 1361 imp 'GetServiceKeyName' GetServiceKeyNameW advapi32 1363 imp 'GetSidIdentifierAuthority' GetSidIdentifierAuthority advapi32 0 imp 'GetSidLengthRequired' GetSidLengthRequired advapi32 0 imp 'GetSidSubAuthority' GetSidSubAuthority advapi32 0 imp 'GetSidSubAuthorityCount' GetSidSubAuthorityCount advapi32 0 imp 'GetThreadWaitChain' GetThreadWaitChain advapi32 1369 imp 'GetTokenInformation' GetTokenInformation advapi32 0 imp 'GetTraceEnableFlags' GetTraceEnableFlags advapi32 0 imp 'GetTraceEnableLevel' GetTraceEnableLevel advapi32 0 imp 'GetTraceLoggerHandle' GetTraceLoggerHandle advapi32 0 imp 'GetTrusteeForm' GetTrusteeFormW advapi32 1375 imp 'GetTrusteeName' GetTrusteeNameW advapi32 1377 imp 'GetTrusteeType' GetTrusteeTypeW advapi32 1379 imp 'GetUserName' GetUserNameW advapi32 1381 2 imp 'GetWindowsAccountDomainSid' GetWindowsAccountDomainSid advapi32 0 imp 'ImpersonateAnonymousToken' ImpersonateAnonymousToken advapi32 0 imp 'ImpersonateLoggedOnUser' ImpersonateLoggedOnUser advapi32 0 imp 'ImpersonateNamedPipeClient' ImpersonateNamedPipeClient advapi32 0 imp 'ImpersonateSelf' ImpersonateSelf advapi32 0 1 imp 'InitializeAcl' InitializeAcl advapi32 0 imp 'InitializeSecurityDescriptor' InitializeSecurityDescriptor advapi32 0 imp 'InitializeSid' InitializeSid advapi32 0 imp 'InitiateShutdown' InitiateShutdownW advapi32 1403 5 imp 'InitiateSystemShutdown' InitiateSystemShutdownW advapi32 1407 imp 'InitiateSystemShutdownEx' InitiateSystemShutdownExW advapi32 1406 imp 'InstallApplication' InstallApplication advapi32 1408 imp 'IsTextUnicode' IsTextUnicode advapi32 1409 imp 'IsTokenRestricted' IsTokenRestricted advapi32 0 imp 'IsValidAcl' IsValidAcl advapi32 0 imp 'IsValidSecurityDescriptor' IsValidSecurityDescriptor advapi32 0 imp 'IsValidSid' IsValidSid advapi32 0 imp 'IsWellKnownSid' IsWellKnownSid advapi32 0 imp 'LockServiceDatabase' LockServiceDatabase advapi32 1417 imp 'LogonUser' LogonUserW advapi32 1422 imp 'LogonUserEx' LogonUserExW advapi32 1421 imp 'LogonUserExEx' LogonUserExExW advapi32 1420 imp 'LookupAccountName' LookupAccountNameW advapi32 1424 imp 'LookupAccountSid' LookupAccountSidW advapi32 1426 imp 'LookupPrivilegeDisplayName' LookupPrivilegeDisplayNameW advapi32 1428 imp 'LookupPrivilegeName' LookupPrivilegeNameW advapi32 1430 imp 'LookupPrivilegeValue' LookupPrivilegeValueW advapi32 1432 3 imp 'LookupSecurityDescriptorParts' LookupSecurityDescriptorPartsW advapi32 1434 imp 'LsaAddAccountRights' LsaAddAccountRights advapi32 1435 imp 'LsaClose' LsaClose advapi32 1438 imp 'LsaCreateTrustedDomain' LsaCreateTrustedDomain advapi32 1441 imp 'LsaCreateTrustedDomainEx' LsaCreateTrustedDomainEx advapi32 1442 imp 'LsaDeleteTrustedDomain' LsaDeleteTrustedDomain advapi32 1444 imp 'LsaEnumerateAccountRights' LsaEnumerateAccountRights advapi32 1445 imp 'LsaEnumerateAccountsWithUserRight' LsaEnumerateAccountsWithUserRight advapi32 1447 imp 'LsaEnumerateTrustedDomains' LsaEnumerateTrustedDomains advapi32 1450 imp 'LsaEnumerateTrustedDomainsEx' LsaEnumerateTrustedDomainsEx advapi32 1451 imp 'LsaFreeMemory' LsaFreeMemory advapi32 1452 imp 'LsaLookupNames' LsaLookupNames advapi32 1462 imp 'LsaLookupNames2' LsaLookupNames2 advapi32 1463 imp 'LsaLookupSids' LsaLookupSids advapi32 1467 imp 'LsaNtStatusToWinError' LsaNtStatusToWinError advapi32 1470 imp 'LsaOpenPolicy' LsaOpenPolicy advapi32 1472 imp 'LsaOpenTrustedDomainByName' LsaOpenTrustedDomainByName advapi32 1476 imp 'LsaQueryDomainInformationPolicy' LsaQueryDomainInformationPolicy advapi32 1478 imp 'LsaQueryForestTrustInformation' LsaQueryForestTrustInformation advapi32 1479 imp 'LsaQueryInformationPolicy' LsaQueryInformationPolicy advapi32 1481 imp 'LsaQueryTrustedDomainInfo' LsaQueryTrustedDomainInfo advapi32 1484 imp 'LsaQueryTrustedDomainInfoByName' LsaQueryTrustedDomainInfoByName advapi32 1485 imp 'LsaRemoveAccountRights' LsaRemoveAccountRights advapi32 1486 imp 'LsaRetrievePrivateData' LsaRetrievePrivateData advapi32 1488 imp 'LsaSetDomainInformationPolicy' LsaSetDomainInformationPolicy advapi32 1490 imp 'LsaSetForestTrustInformation' LsaSetForestTrustInformation advapi32 1491 imp 'LsaSetInformationPolicy' LsaSetInformationPolicy advapi32 1492 imp 'LsaSetTrustedDomainInfoByName' LsaSetTrustedDomainInfoByName advapi32 1498 imp 'LsaSetTrustedDomainInformation' LsaSetTrustedDomainInformation advapi32 1499 imp 'LsaStorePrivateData' LsaStorePrivateData advapi32 1500 imp 'MSChapSrvChangePassword' MSChapSrvChangePassword advapi32 1508 imp 'MSChapSrvChangePassword2' MSChapSrvChangePassword2 advapi32 1509 imp 'MakeAbsoluteSD' MakeAbsoluteSD advapi32 0 imp 'MakeSelfRelativeSD' MakeSelfRelativeSD advapi32 0 imp 'MapGenericMask' MapGenericMask advapi32 0 2 imp 'NotifyBootConfigStatus' NotifyBootConfigStatus advapi32 1514 imp 'NotifyChangeEventLog' NotifyChangeEventLog advapi32 1515 imp 'NotifyServiceStatusChange' NotifyServiceStatusChangeW advapi32 1518 imp 'ObjectCloseAuditAlarm' ObjectCloseAuditAlarmW advapi32 0 imp 'ObjectDeleteAuditAlarm' ObjectDeleteAuditAlarmW advapi32 0 imp 'ObjectOpenAuditAlarm' ObjectOpenAuditAlarmW advapi32 0 imp 'ObjectPrivilegeAuditAlarm' ObjectPrivilegeAuditAlarmW advapi32 0 imp 'OpenBackupEventLog' OpenBackupEventLogW advapi32 1529 imp 'OpenEncryptedFileRaw' OpenEncryptedFileRawW advapi32 1531 imp 'OpenEventLog' OpenEventLogW advapi32 1533 imp 'OpenProcessToken' OpenProcessToken advapi32 0 3 imp 'OpenSCManager' OpenSCManagerW advapi32 1536 imp 'OpenService' OpenServiceW advapi32 1538 imp 'OpenThreadToken' OpenThreadToken advapi32 0 4 imp 'OpenThreadWaitChainSession' OpenThreadWaitChainSession advapi32 1540 imp 'OpenTrace' OpenTraceW advapi32 1542 imp 'PerfCreateInstance' PerfCreateInstance advapi32 0 imp 'PerfDecrementULongCounterValue' PerfDecrementULongCounterValue advapi32 0 imp 'PerfDecrementULongLongCounterValue' PerfDecrementULongLongCounterValue advapi32 0 imp 'PerfDeleteInstance' PerfDeleteInstance advapi32 0 imp 'PerfIncrementULongCounterValue' PerfIncrementULongCounterValue advapi32 0 imp 'PerfIncrementULongLongCounterValue' PerfIncrementULongLongCounterValue advapi32 0 imp 'PerfQueryInstance' PerfQueryInstance advapi32 0 imp 'PerfSetCounterRefValue' PerfSetCounterRefValue advapi32 0 imp 'PerfSetCounterSetInfo' PerfSetCounterSetInfo advapi32 0 imp 'PerfSetULongCounterValue' PerfSetULongCounterValue advapi32 0 imp 'PerfSetULongLongCounterValue' PerfSetULongLongCounterValue advapi32 0 imp 'PerfStartProvider' PerfStartProvider advapi32 0 imp 'PerfStartProviderEx' PerfStartProviderEx advapi32 0 imp 'PerfStopProvider' PerfStopProvider advapi32 0 imp 'PrivilegeCheck' PrivilegeCheck advapi32 0 imp 'PrivilegedServiceAuditAlarm' PrivilegedServiceAuditAlarmW advapi32 0 imp 'ProcessTrace' ProcessTrace advapi32 1579 imp 'QueryAllTraces' QueryAllTracesW advapi32 1581 imp 'QueryRecoveryAgentsOnEncryptedFile' QueryRecoveryAgentsOnEncryptedFile advapi32 1583 imp 'QuerySecurityAccessMask' QuerySecurityAccessMask advapi32 0 imp 'QueryServiceConfig' QueryServiceConfigW advapi32 1588 imp 'QueryServiceConfig2W' QueryServiceConfig2W advapi32 1586 imp 'QueryServiceLockStatus' QueryServiceLockStatusW advapi32 1591 imp 'QueryServiceObjectSecurity' QueryServiceObjectSecurity advapi32 1592 imp 'QueryServiceStatus' QueryServiceStatus advapi32 1593 imp 'QueryServiceStatusEx' QueryServiceStatusEx advapi32 1594 imp 'QueryTrace' QueryTraceW advapi32 1597 imp 'QueryUsersOnEncryptedFile' QueryUsersOnEncryptedFile advapi32 1600 imp 'ReadEncryptedFileRaw' ReadEncryptedFileRaw advapi32 1601 imp 'ReadEventLog' ReadEventLogW advapi32 1603 imp 'RegCloseKey' RegCloseKey advapi32 0 1 imp 'RegConnectRegistry' RegConnectRegistryW advapi32 1608 3 imp 'RegCopyTree' RegCopyTreeW advapi32 0 imp 'RegCreateKey' RegCreateKeyW advapi32 1616 3 imp 'RegCreateKeyEx' RegCreateKeyExW advapi32 0 9 imp 'RegCreateKeyTransacted' RegCreateKeyTransactedW advapi32 1615 imp 'RegDeleteKey' RegDeleteKeyW advapi32 1624 2 imp 'RegDeleteKeyEx' RegDeleteKeyExW advapi32 0 4 imp 'RegDeleteKeyTransacted' RegDeleteKeyTransactedW advapi32 1621 imp 'RegDeleteKeyValue' RegDeleteKeyValueW advapi32 0 imp 'RegDeleteTree' RegDeleteTreeW advapi32 0 2 imp 'RegDeleteValue' RegDeleteValueW advapi32 0 2 imp 'RegDisablePredefinedCache' RegDisablePredefinedCache advapi32 1629 1 imp 'RegDisablePredefinedCacheEx' RegDisablePredefinedCacheEx advapi32 0 imp 'RegDisableReflectionKey' RegDisableReflectionKey advapi32 1631 1 imp 'RegEnableReflectionKey' RegEnableReflectionKey advapi32 1632 1 imp 'RegEnumKey' RegEnumKeyW advapi32 1636 4 imp 'RegEnumKeyEx' RegEnumKeyExW advapi32 0 8 imp 'RegEnumValue' RegEnumValueW advapi32 0 8 imp 'RegFlushKey' RegFlushKey advapi32 0 1 imp 'RegGetKeySecurity' RegGetKeySecurity advapi32 0 4 imp 'RegGetValue' RegGetValueW advapi32 0 7 imp 'RegLoadAppKey' RegLoadAppKeyW advapi32 0 imp 'RegLoadKey' RegLoadKeyW advapi32 0 3 imp 'RegLoadMUIString' RegLoadMUIStringW advapi32 0 imp 'RegNotifyChangeKeyValue' RegNotifyChangeKeyValue advapi32 0 5 imp 'RegOpenCurrentUser' RegOpenCurrentUser advapi32 0 2 imp 'RegOpenKey' RegOpenKeyW advapi32 1656 imp 'RegOpenKeyEx' RegOpenKeyExW advapi32 0 5 imp 'RegOpenKeyTransacted' RegOpenKeyTransactedW advapi32 1655 imp 'RegOpenUserClassesRoot' RegOpenUserClassesRoot advapi32 0 4 imp 'RegOverridePredefKey' RegOverridePredefKey advapi32 1658 2 imp 'RegQueryInfoKey' RegQueryInfoKeyW advapi32 0 12 imp 'RegQueryMultipleValues' RegQueryMultipleValuesW advapi32 0 5 imp 'RegQueryReflectionKey' RegQueryReflectionKey advapi32 1663 2 imp 'RegQueryValue' RegQueryValueW advapi32 1667 4 imp 'RegQueryValueEx' RegQueryValueExW advapi32 0 6 imp 'RegReplaceKey' RegReplaceKeyW advapi32 1670 4 imp 'RegRestoreKey' RegRestoreKeyW advapi32 0 3 imp 'RegSaveKey' RegSaveKeyW advapi32 1676 3 imp 'RegSaveKeyEx' RegSaveKeyExW advapi32 0 imp 'RegSetKeySecurity' RegSetKeySecurity advapi32 0 3 imp 'RegSetKeyValue' RegSetKeyValueW advapi32 0 imp 'RegSetValue' RegSetValueW advapi32 1683 5 imp 'RegSetValueEx' RegSetValueExW advapi32 0 6 imp 'RegUnLoadKey' RegUnLoadKeyW advapi32 0 2 imp 'RegisterEventSource' RegisterEventSourceW advapi32 1687 2 imp 'RegisterServiceCtrlHandler' RegisterServiceCtrlHandlerW advapi32 1692 imp 'RegisterServiceCtrlHandlerEx' RegisterServiceCtrlHandlerExW advapi32 1691 imp 'RegisterTraceGuids' RegisterTraceGuidsW advapi32 0 imp 'RegisterWaitChainCOMCallback' RegisterWaitChainCOMCallback advapi32 1695 imp 'RemoveTraceCallback' RemoveTraceCallback advapi32 0 imp 'RemoveUsersFromEncryptedFile' RemoveUsersFromEncryptedFile advapi32 1703 imp 'ReportEvent' ReportEventW advapi32 0 9 imp 'ReportEventA' ReportEventA advapi32 0 9 imp 'RevertToSelf' RevertToSelf advapi32 0 0 imp 'RtlGenRandom' SystemFunction036 advapi32 0 2 imp 'SaferCloseLevel' SaferCloseLevel advapi32 1708 imp 'SaferComputeTokenFromLevel' SaferComputeTokenFromLevel advapi32 1709 imp 'SaferCreateLevel' SaferCreateLevel advapi32 1710 imp 'SaferGetLevelInformation' SaferGetLevelInformation advapi32 1711 imp 'SaferGetPolicyInformation' SaferGetPolicyInformation advapi32 1712 imp 'SaferIdentifyLevel' SaferIdentifyLevel advapi32 1713 imp 'SaferRecordEventLogEntry' SaferRecordEventLogEntry advapi32 1714 imp 'SaferiIsExecutableFileType' SaferiIsExecutableFileType advapi32 1720 imp 'SetAclInformation' SetAclInformation advapi32 0 imp 'SetEntriesInAcl' SetEntriesInAclW advapi32 1729 imp 'SetFileSecurity' SetFileSecurityW advapi32 0 imp 'SetKernelObjectSecurity' SetKernelObjectSecurity advapi32 0 imp 'SetNamedSecurityInfo' SetNamedSecurityInfoW advapi32 1740 imp 'SetPrivateObjectSecurity' SetPrivateObjectSecurity advapi32 0 imp 'SetPrivateObjectSecurityEx' SetPrivateObjectSecurityEx advapi32 0 imp 'SetSecurityAccessMask' SetSecurityAccessMask advapi32 0 imp 'SetSecurityDescriptorControl' SetSecurityDescriptorControl advapi32 0 imp 'SetSecurityDescriptorDacl' SetSecurityDescriptorDacl advapi32 0 imp 'SetSecurityDescriptorGroup' SetSecurityDescriptorGroup advapi32 0 imp 'SetSecurityDescriptorOwner' SetSecurityDescriptorOwner advapi32 0 imp 'SetSecurityDescriptorRMControl' SetSecurityDescriptorRMControl advapi32 0 imp 'SetSecurityDescriptorSacl' SetSecurityDescriptorSacl advapi32 0 imp 'SetSecurityInfo' SetSecurityInfo advapi32 1750 imp 'SetServiceBits' SetServiceBits advapi32 1753 imp 'SetServiceObjectSecurity' SetServiceObjectSecurity advapi32 1754 imp 'SetServiceStatus' SetServiceStatus advapi32 1755 imp 'SetThreadToken' SetThreadToken advapi32 0 imp 'SetTokenInformation' SetTokenInformation advapi32 0 imp 'SetTraceCallback' SetTraceCallback advapi32 0 imp 'SetUserFileEncryptionKey' SetUserFileEncryptionKey advapi32 1759 imp 'StartService' StartServiceW advapi32 1764 imp 'StartServiceCtrlDispatcher' StartServiceCtrlDispatcherW advapi32 1763 imp 'StartTrace' StartTraceW advapi32 1766 imp 'StopTrace' StopTraceW advapi32 1768 imp 'SystemFunction040' SystemFunction040 advapi32 0 imp 'SystemFunction041' SystemFunction041 advapi32 0 imp 'TraceEvent' TraceEvent advapi32 0 imp 'TraceEventInstance' TraceEventInstance advapi32 0 imp 'TraceMessage' TraceMessage advapi32 0 imp 'TraceMessageVa' TraceMessageVa advapi32 0 imp 'TraceSetInformation' TraceSetInformation advapi32 1812 # Windows 7+ imp 'TreeResetNamedSecurityInfo' TreeResetNamedSecurityInfoW advapi32 1814 imp 'TreeSetNamedSecurityInfo' TreeSetNamedSecurityInfoW advapi32 1816 imp 'UninstallApplication' UninstallApplication advapi32 1819 imp 'UnlockServiceDatabase' UnlockServiceDatabase advapi32 1820 imp 'UnregisterTraceGuids' UnregisterTraceGuids advapi32 0 imp 'UpdateTrace' UpdateTraceW advapi32 1824 # USER32.DLL # # Name Actual DLL Hint Arity imp 'ActivateKeyboardLayout' ActivateKeyboardLayout user32 1505 imp 'AddClipboardFormatListener' AddClipboardFormatListener user32 1506 imp 'AdjustWindowRect' AdjustWindowRect user32 1507 3 imp 'AdjustWindowRectEx' AdjustWindowRectEx user32 1508 imp 'AdjustWindowRectExForDpi' AdjustWindowRectExForDpi user32 1509 imp 'AlignRects' AlignRects user32 1510 imp 'AllowForegroundActivation' AllowForegroundActivation user32 1511 imp 'AllowSetForegroundWindow' AllowSetForegroundWindow user32 1512 imp 'AnimateWindow' AnimateWindow user32 1513 3 imp 'AnyPopup' AnyPopup user32 1514 imp 'AppendMenuA' AppendMenuA user32 1515 4 imp 'AppendMenu' AppendMenuW user32 1516 4 imp 'AreDpiAwarenessContextsEqual' AreDpiAwarenessContextsEqual user32 1517 imp 'ArrangeIconicWindows' ArrangeIconicWindows user32 1518 imp 'AttachThreadInput' AttachThreadInput user32 1519 imp 'BeginDeferWindowPos' BeginDeferWindowPos user32 1520 imp 'BeginPaint' BeginPaint user32 1521 2 imp 'BlockInput' BlockInput user32 1522 imp 'BringWindowToTop' BringWindowToTop user32 1523 1 imp 'BroadcastSystemMessage' BroadcastSystemMessageW user32 1528 imp 'BroadcastSystemMessageEx' BroadcastSystemMessageExW user32 1527 imp 'BuildReasonArray' BuildReasonArray user32 1529 imp 'CalcMenuBar' CalcMenuBar user32 1530 imp 'CalculatePopupWindowPosition' CalculatePopupWindowPosition user32 1531 imp 'CallMsgFilter' CallMsgFilterW user32 1534 imp 'CallNextHookEx' CallNextHookEx user32 1535 4 imp 'CallWindowProc' CallWindowProcW user32 1537 imp 'CancelShutdown' CancelShutdown user32 1538 imp 'CascadeChildWindows' CascadeChildWindows user32 1539 imp 'CascadeWindows' CascadeWindows user32 1540 imp 'ChangeClipboardChain' ChangeClipboardChain user32 1541 imp 'ChangeDisplaySettings' ChangeDisplaySettingsW user32 1545 imp 'ChangeDisplaySettingsEx' ChangeDisplaySettingsExW user32 1544 imp 'ChangeMenu' ChangeMenuW user32 1547 imp 'ChangeWindowMessageFilter' ChangeWindowMessageFilter user32 1548 imp 'ChangeWindowMessageFilterEx' ChangeWindowMessageFilterEx user32 1549 imp 'CharToOem' CharToOemW user32 1568 imp 'CharToOemBuff' CharToOemBuffW user32 1567 imp 'CheckDBCSEnabledExt' CheckDBCSEnabledExt user32 1573 imp 'CheckDlgButton' CheckDlgButton user32 1574 imp 'CheckMenuItem' CheckMenuItem user32 1575 imp 'CheckMenuRadioItem' CheckMenuRadioItem user32 1576 imp 'CheckProcessForClipboardAccess' CheckProcessForClipboardAccess user32 1577 imp 'CheckProcessSession' CheckProcessSession user32 1578 imp 'CheckRadioButton' CheckRadioButton user32 1579 imp 'CheckWindowThreadDesktop' CheckWindowThreadDesktop user32 1580 imp 'ChildWindowFromPoint' ChildWindowFromPoint user32 1581 imp 'ChildWindowFromPointEx' ChildWindowFromPointEx user32 1582 imp 'CliImmSetHotKey' CliImmSetHotKey user32 1583 imp 'ClientThreadSetup' ClientThreadSetup user32 1584 imp 'ClientToScreen' ClientToScreen user32 1585 imp 'ClipCursor' ClipCursor user32 1586 imp 'CloseClipboard' CloseClipboard user32 1587 imp 'CloseDesktop' CloseDesktop user32 1588 imp 'CloseGestureInfoHandle' CloseGestureInfoHandle user32 1589 imp 'CloseTouchInputHandle' CloseTouchInputHandle user32 1590 imp 'CloseWindow' CloseWindow user32 1591 1 imp 'CloseWindowStation' CloseWindowStation user32 1592 imp 'ConsoleControl' ConsoleControl user32 1593 imp 'ControlMagnification' ControlMagnification user32 1594 imp 'CopyAcceleratorTable' CopyAcceleratorTableW user32 1596 imp 'CopyIcon' CopyIcon user32 1597 imp 'CopyImage' CopyImage user32 1598 imp 'CopyRect' CopyRect user32 1599 imp 'CountClipboardFormats' CountClipboardFormats user32 1600 imp 'CreateAcceleratorTable' CreateAcceleratorTableW user32 1602 imp 'CreateCaret' CreateCaret user32 1603 imp 'CreateCursor' CreateCursor user32 1604 imp 'CreateDCompositionHwndTarget' CreateDCompositionHwndTarget user32 1605 imp 'CreateDesktop' CreateDesktopW user32 1609 imp 'CreateDesktopEx' CreateDesktopExW user32 1608 imp 'CreateDialogIndirectParam' CreateDialogIndirectParamW user32 1612 imp 'CreateDialogIndirectParamAor' CreateDialogIndirectParamAorW user32 1611 imp 'CreateDialogParam' CreateDialogParamW user32 1614 imp 'CreateIcon' CreateIcon user32 1615 imp 'CreateIconFromResource' CreateIconFromResource user32 1616 imp 'CreateIconFromResourceEx' CreateIconFromResourceEx user32 1617 imp 'CreateIconIndirect' CreateIconIndirect user32 1618 1 imp 'CreateMDIWindow' CreateMDIWindowW user32 1620 imp 'CreateMenu' CreateMenu user32 1621 0 imp 'CreatePalmRejectionDelayZone' CreatePalmRejectionDelayZone user32 1503 imp 'CreatePopupMenu' CreatePopupMenu user32 1622 0 imp 'CreateSystemThreads' CreateSystemThreads user32 1623 imp 'CreateWindowEx' CreateWindowExW user32 1625 12 imp 'CreateWindowInBand' CreateWindowInBand user32 1626 imp 'CreateWindowInBandEx' CreateWindowInBandEx user32 1627 imp 'CreateWindowIndirect' CreateWindowIndirect user32 1628 imp 'CreateWindowStation' CreateWindowStationW user32 1630 imp 'CsrBroadcastSystemMessageEx' CsrBroadcastSystemMessageExW user32 1631 imp 'CtxInitUser32' CtxInitUser32 user32 1632 imp 'DWMBindCursorToOutputConfig' DWMBindCursorToOutputConfig user32 1633 imp 'DWMCommitInputSystemOutputConfig' DWMCommitInputSystemOutputConfig user32 1634 imp 'DWMSetCursorOrientation' DWMSetCursorOrientation user32 1635 imp 'DWMSetInputSystemOutputConfig' DWMSetInputSystemOutputConfig user32 1636 imp 'DdeAbandonTransaction' DdeAbandonTransaction user32 1637 imp 'DdeAccessData' DdeAccessData user32 1638 imp 'DdeAddData' DdeAddData user32 1639 imp 'DdeClientTransaction' DdeClientTransaction user32 1640 imp 'DdeCmpStringHandles' DdeCmpStringHandles user32 1641 imp 'DdeConnect' DdeConnect user32 1642 imp 'DdeConnectList' DdeConnectList user32 1643 imp 'DdeCreateDataHandle' DdeCreateDataHandle user32 1644 imp 'DdeCreateStringHandle' DdeCreateStringHandleW user32 1646 imp 'DdeDisconnect' DdeDisconnect user32 1647 imp 'DdeDisconnectList' DdeDisconnectList user32 1648 imp 'DdeEnableCallback' DdeEnableCallback user32 1649 imp 'DdeFreeDataHandle' DdeFreeDataHandle user32 1650 imp 'DdeFreeStringHandle' DdeFreeStringHandle user32 1651 imp 'DdeGetData' DdeGetData user32 1652 imp 'DdeGetLastError' DdeGetLastError user32 1653 imp 'DdeGetQualityOfService' DdeGetQualityOfService user32 1654 imp 'DdeImpersonateClient' DdeImpersonateClient user32 1655 imp 'DdeInitialize' DdeInitializeW user32 1657 imp 'DdeKeepStringHandle' DdeKeepStringHandle user32 1658 imp 'DdeNameService' DdeNameService user32 1659 imp 'DdePostAdvise' DdePostAdvise user32 1660 imp 'DdeQueryConvInfo' DdeQueryConvInfo user32 1661 imp 'DdeQueryNextServer' DdeQueryNextServer user32 1662 imp 'DdeQueryString' DdeQueryStringW user32 1664 imp 'DdeReconnect' DdeReconnect user32 1665 imp 'DdeSetQualityOfService' DdeSetQualityOfService user32 1666 imp 'DdeSetUserHandle' DdeSetUserHandle user32 1667 imp 'DdeUnaccessData' DdeUnaccessData user32 1668 imp 'DdeUninitialize' DdeUninitialize user32 1669 imp 'DefFrameProc' DefFrameProcW user32 1673 imp 'DefMDIChildProc' DefMDIChildProcW user32 1675 imp 'DefRawInputProc' DefRawInputProc user32 1676 imp 'DefWindowProc' DefWindowProcW user32 174 4 imp 'DeferWindowPos' DeferWindowPos user32 1679 imp 'DeferWindowPosAndBand' DeferWindowPosAndBand user32 1680 imp 'DelegateInput' DelegateInput user32 2503 imp 'DeleteMenu' DeleteMenu user32 1681 3 imp 'DeregisterShellHookWindow' DeregisterShellHookWindow user32 1682 imp 'DestroyAcceleratorTable' DestroyAcceleratorTable user32 1683 imp 'DestroyCaret' DestroyCaret user32 1684 imp 'DestroyCursor' DestroyCursor user32 1685 imp 'DestroyDCompositionHwndTarget' DestroyDCompositionHwndTarget user32 1686 imp 'DestroyIcon' DestroyIcon user32 1687 1 imp 'DestroyMenu' DestroyMenu user32 1688 1 imp 'DestroyPalmRejectionDelayZone' DestroyPalmRejectionDelayZone user32 1504 imp 'DestroyReasons' DestroyReasons user32 1689 imp 'DestroyWindow' DestroyWindow user32 1690 1 imp 'DialogBoxIndirectParam' DialogBoxIndirectParamW user32 1693 imp 'DialogBoxIndirectParamAor' DialogBoxIndirectParamAorW user32 1692 imp 'DialogBoxParam' DialogBoxParamW user32 1695 imp 'DisableProcessWindowsGhosting' DisableProcessWindowsGhosting user32 1696 imp 'DispatchMessage' DispatchMessageW user32 1698 1 imp 'DisplayConfigGetDeviceInfo' DisplayConfigGetDeviceInfo user32 1699 imp 'DisplayConfigSetDeviceInfo' DisplayConfigSetDeviceInfo user32 1700 imp 'DisplayExitWindowsWarnings' DisplayExitWindowsWarnings user32 1701 imp 'DlgDirList' DlgDirListW user32 1705 imp 'DlgDirListComboBox' DlgDirListComboBoxW user32 1704 imp 'DlgDirSelectComboBoxEx' DlgDirSelectComboBoxExW user32 1707 imp 'DlgDirSelectEx' DlgDirSelectExW user32 1709 imp 'DoSoundConnect' DoSoundConnect user32 1710 imp 'DoSoundDisconnect' DoSoundDisconnect user32 1711 imp 'DragDetect' DragDetect user32 1712 imp 'DragObject' DragObject user32 1713 imp 'DrawAnimatedRects' DrawAnimatedRects user32 1714 imp 'DrawCaption' DrawCaption user32 1715 imp 'DrawCaptionTemp' DrawCaptionTempW user32 1717 imp 'DrawEdge' DrawEdge user32 1718 imp 'DrawFocusRect' DrawFocusRect user32 1719 imp 'DrawFrame' DrawFrame user32 1720 imp 'DrawFrameControl' DrawFrameControl user32 1721 imp 'DrawIcon' DrawIcon user32 1722 imp 'DrawIconEx' DrawIconEx user32 1723 imp 'DrawMenuBar' DrawMenuBar user32 1724 imp 'DrawMenuBarTemp' DrawMenuBarTemp user32 1725 imp 'DrawState' DrawStateW user32 1727 imp 'DrawText' DrawTextW user32 1731 5 imp 'DrawTextEx' DrawTextExW user32 1730 6 imp 'DwmGetDxRgn' DwmGetDxRgn user32 1553 imp 'DwmGetDxSharedSurface' DwmGetDxSharedSurface user32 1732 imp 'DwmGetRemoteSessionOcclusionEvent' DwmGetRemoteSessionOcclusionEvent user32 1733 imp 'DwmGetRemoteSessionOcclusionState' DwmGetRemoteSessionOcclusionState user32 1734 imp 'DwmKernelShutdown' DwmKernelShutdown user32 1735 imp 'DwmKernelStartup' DwmKernelStartup user32 1736 imp 'DwmLockScreenUpdates' DwmLockScreenUpdates user32 1737 imp 'DwmValidateWindow' DwmValidateWindow user32 1738 imp 'EditWndProc' EditWndProc user32 1739 imp 'EmptyClipboard' EmptyClipboard user32 1704 imp 'EnableMenuItem' EnableMenuItem user32 1741 imp 'EnableMouseInPointer' EnableMouseInPointer user32 1742 imp 'EnableNonClientDpiScaling' EnableNonClientDpiScaling user32 1743 imp 'EnableOneCoreTransformMode' EnableOneCoreTransformMode user32 1744 imp 'EnableScrollBar' EnableScrollBar user32 1745 imp 'EnableSessionForMMCSS' EnableSessionForMMCSS user32 1746 imp 'EnableWindow' EnableWindow user32 1747 imp 'EndDeferWindowPos' EndDeferWindowPos user32 1748 imp 'EndDeferWindowPosEx' EndDeferWindowPosEx user32 1749 imp 'EndDialog' EndDialog user32 1750 imp 'EndMenu' EndMenu user32 1751 imp 'EndPaint' EndPaint user32 1752 2 imp 'EndTask' EndTask user32 1753 imp 'EnterReaderModeHelper' EnterReaderModeHelper user32 1754 imp 'EnumChildWindows' EnumChildWindows user32 1755 3 imp 'EnumClipboardFormats' EnumClipboardFormats user32 1756 imp 'EnumDesktopWindows' EnumDesktopWindows user32 1757 imp 'EnumDesktops' EnumDesktopsW user32 1759 imp 'EnumDisplayDevices' EnumDisplayDevicesW user32 1761 imp 'EnumDisplayMonitors' EnumDisplayMonitors user32 1762 imp 'EnumDisplaySettings' EnumDisplaySettingsW user32 1766 imp 'EnumDisplaySettingsEx' EnumDisplaySettingsExW user32 1765 imp 'EnumProps' EnumPropsW user32 1770 imp 'EnumPropsEx' EnumPropsExW user32 1769 imp 'EnumThreadWindows' EnumThreadWindows user32 1771 imp 'EnumWindowStations' EnumWindowStationsW user32 1773 imp 'EnumWindows' EnumWindows user32 1774 imp 'EqualRect' EqualRect user32 1775 imp 'EvaluateProximityToPolygon' EvaluateProximityToPolygon user32 1776 imp 'EvaluateProximityToRect' EvaluateProximityToRect user32 1777 imp 'ExcludeUpdateRgn' ExcludeUpdateRgn user32 1778 imp 'ExitWindowsEx' ExitWindowsEx user32 1779 imp 'FillRect' FillRect user32 1780 3 imp 'FindWindow' FindWindowW user32 1784 2 imp 'FindWindowEx' FindWindowExW user32 1783 4 imp 'FlashWindow' FlashWindow user32 1785 imp 'FlashWindowEx' FlashWindowEx user32 1786 imp 'FrameRect' FrameRect user32 1787 imp 'FreeDDElParam' FreeDDElParam user32 1788 imp 'FrostCrashedWindow' FrostCrashedWindow user32 1789 imp 'GetActiveWindow' GetActiveWindow user32 1790 imp 'GetAltTabInfo' GetAltTabInfoW user32 1793 imp 'GetAncestor' GetAncestor user32 1794 imp 'GetAppCompatFlags' GetAppCompatFlags user32 1795 imp 'GetAppCompatFlags2' GetAppCompatFlags2 user32 1796 imp 'GetAsyncKeyState' GetAsyncKeyState user32 1797 imp 'GetAutoRotationState' GetAutoRotationState user32 1798 imp 'GetAwarenessFromDpiAwarenessContext' GetAwarenessFromDpiAwarenessContext user32 1799 imp 'GetCIMSSM' GetCIMSSM user32 1800 imp 'GetCapture' GetCapture user32 1801 imp 'GetCaretBlinkTime' GetCaretBlinkTime user32 1802 imp 'GetCaretPos' GetCaretPos user32 1803 imp 'GetClassInfo' GetClassInfoW user32 1807 imp 'GetClassInfoEx' GetClassInfoExW user32 1806 imp 'GetClassLong' GetClassLongW user32 1811 imp 'GetClassLongPtr' GetClassLongPtrW user32 1810 imp 'GetClassName' GetClassNameW user32 1813 imp 'GetClassWord' GetClassWord user32 1814 imp 'GetClientRect' GetClientRect user32 1815 2 imp 'GetClipCursor' GetClipCursor user32 1816 imp 'GetClipboardAccessToken' GetClipboardAccessToken user32 1817 imp 'GetClipboardData' GetClipboardData user32 1818 imp 'GetClipboardFormatName' GetClipboardFormatNameW user32 1820 imp 'GetClipboardOwner' GetClipboardOwner user32 1821 imp 'GetClipboardSequenceNumber' GetClipboardSequenceNumber user32 1822 imp 'GetClipboardViewer' GetClipboardViewer user32 1823 imp 'GetComboBoxInfo' GetComboBoxInfo user32 1824 imp 'GetCurrentInputMessageSource' GetCurrentInputMessageSource user32 1825 imp 'GetCursor' GetCursor user32 1826 0 imp 'GetCursorFrameInfo' GetCursorFrameInfo user32 1827 imp 'GetCursorInfo' GetCursorInfo user32 1828 imp 'GetCursorPos' GetCursorPos user32 1829 1 imp 'GetDC' GetDC user32 1830 1 imp 'GetDCEx' GetDCEx user32 1831 imp 'GetDesktopID' GetDesktopID user32 1832 imp 'GetDesktopWindow' GetDesktopWindow user32 1833 0 imp 'GetDialogBaseUnits' GetDialogBaseUnits user32 1834 imp 'GetDialogControlDpiChangeBehavior' GetDialogControlDpiChangeBehavior user32 1835 imp 'GetDialogDpiChangeBehavior' GetDialogDpiChangeBehavior user32 1836 imp 'GetDisplayAutoRotationPreferences' GetDisplayAutoRotationPreferences user32 1837 imp 'GetDisplayConfigBufferSizes' GetDisplayConfigBufferSizes user32 1838 imp 'GetDlgCtrlID' GetDlgCtrlID user32 1839 imp 'GetDlgItem' GetDlgItem user32 1840 imp 'GetDlgItemInt' GetDlgItemInt user32 1841 imp 'GetDlgItemText' GetDlgItemTextW user32 1843 imp 'GetDoubleClickTime' GetDoubleClickTime user32 1844 imp 'GetDpiForMonitorInternal' GetDpiForMonitorInternal user32 1845 imp 'GetDpiForSystem' GetDpiForSystem user32 1846 imp 'GetDpiForWindow' GetDpiForWindow user32 1847 imp 'GetDpiFromDpiAwarenessContext' GetDpiFromDpiAwarenessContext user32 1848 imp 'GetFocus' GetFocus user32 1849 imp 'GetForegroundWindow' GetForegroundWindow user32 1850 imp 'GetGUIThreadInfo' GetGUIThreadInfo user32 1851 imp 'GetGestureConfig' GetGestureConfig user32 1852 imp 'GetGestureExtraArgs' GetGestureExtraArgs user32 1853 imp 'GetGestureInfo' GetGestureInfo user32 1854 imp 'GetGuiResources' GetGuiResources user32 1855 imp 'GetIconInfo' GetIconInfo user32 1856 imp 'GetIconInfoEx' GetIconInfoExW user32 1858 imp 'GetInputDesktop' GetInputDesktop user32 1859 imp 'GetInputLocaleInfo' GetInputLocaleInfo user32 1860 imp 'GetInputState' GetInputState user32 1861 imp 'GetInternalWindowPos' GetInternalWindowPos user32 1862 imp 'GetKBCodePage' GetKBCodePage user32 1863 imp 'GetKeyNameText' GetKeyNameTextW user32 1865 imp 'GetKeyState' GetKeyState user32 1866 1 imp 'GetKeyboardLayout' GetKeyboardLayout user32 1867 1 imp 'GetKeyboardLayoutList' GetKeyboardLayoutList user32 1868 imp 'GetKeyboardLayoutName' GetKeyboardLayoutNameW user32 1870 imp 'GetKeyboardState' GetKeyboardState user32 1871 imp 'GetKeyboardType' GetKeyboardType user32 1872 imp 'GetLastActivePopup' GetLastActivePopup user32 1873 imp 'GetLastInputInfo' GetLastInputInfo user32 1874 imp 'GetLayeredWindowAttributes' GetLayeredWindowAttributes user32 1875 imp 'GetListBoxInfo' GetListBoxInfo user32 1876 imp 'GetMagnificationDesktopColorEffect' GetMagnificationDesktopColorEffect user32 1877 imp 'GetMagnificationDesktopMagnification' GetMagnificationDesktopMagnification user32 1878 imp 'GetMagnificationDesktopSamplingMode' GetMagnificationDesktopSamplingMode user32 1879 imp 'GetMagnificationLensCtxInformation' GetMagnificationLensCtxInformation user32 1880 imp 'GetMenu' GetMenu user32 1881 1 imp 'GetMenuBarInfo' GetMenuBarInfo user32 1882 imp 'GetMenuCheckMarkDimensions' GetMenuCheckMarkDimensions user32 1883 imp 'GetMenuContextHelpId' GetMenuContextHelpId user32 1884 imp 'GetMenuDefaultItem' GetMenuDefaultItem user32 1885 imp 'GetMenuInfo' GetMenuInfo user32 1886 imp 'GetMenuItemCount' GetMenuItemCount user32 1887 imp 'GetMenuItemID' GetMenuItemID user32 1888 imp 'GetMenuItemInfo' GetMenuItemInfoW user32 1890 imp 'GetMenuItemRect' GetMenuItemRect user32 1891 imp 'GetMenuState' GetMenuState user32 1892 imp 'GetMenuString' GetMenuStringW user32 1894 imp 'GetMessage' GetMessageW user32 1899 4 imp 'GetMessageExtraInfo' GetMessageExtraInfo user32 1896 imp 'GetMessagePos' GetMessagePos user32 1897 imp 'GetMessageTime' GetMessageTime user32 1898 imp 'GetMonitorInfo' GetMonitorInfoW user32 1901 imp 'GetMouseMovePointsEx' GetMouseMovePointsEx user32 1902 imp 'GetNextDlgGroupItem' GetNextDlgGroupItem user32 1903 imp 'GetNextDlgTabItem' GetNextDlgTabItem user32 1904 imp 'GetOpenClipboardWindow' GetOpenClipboardWindow user32 1905 imp 'GetParent' GetParent user32 1906 1 imp 'GetPhysicalCursorPos' GetPhysicalCursorPos user32 1907 imp 'GetPointerCursorId' GetPointerCursorId user32 1908 imp 'GetPointerDevice' GetPointerDevice user32 1909 imp 'GetPointerDeviceCursors' GetPointerDeviceCursors user32 1910 imp 'GetPointerDeviceProperties' GetPointerDeviceProperties user32 1911 imp 'GetPointerDeviceRects' GetPointerDeviceRects user32 1912 imp 'GetPointerDevices' GetPointerDevices user32 1913 imp 'GetPointerFrameArrivalTimes' GetPointerFrameArrivalTimes user32 1914 imp 'GetPointerFrameInfo' GetPointerFrameInfo user32 1915 imp 'GetPointerFrameInfoHistory' GetPointerFrameInfoHistory user32 1916 imp 'GetPointerFramePenInfo' GetPointerFramePenInfo user32 1917 imp 'GetPointerFramePenInfoHistory' GetPointerFramePenInfoHistory user32 1918 imp 'GetPointerFrameTouchInfo' GetPointerFrameTouchInfo user32 1919 imp 'GetPointerFrameTouchInfoHistory' GetPointerFrameTouchInfoHistory user32 1920 imp 'GetPointerInfo' GetPointerInfo user32 1921 imp 'GetPointerInfoHistory' GetPointerInfoHistory user32 1922 imp 'GetPointerInputTransform' GetPointerInputTransform user32 1923 imp 'GetPointerPenInfo' GetPointerPenInfo user32 1924 imp 'GetPointerPenInfoHistory' GetPointerPenInfoHistory user32 1925 imp 'GetPointerTouchInfo' GetPointerTouchInfo user32 1926 imp 'GetPointerTouchInfoHistory' GetPointerTouchInfoHistory user32 1927 imp 'GetPointerType' GetPointerType user32 1928 imp 'GetPriorityClipboardFormat' GetPriorityClipboardFormat user32 1929 imp 'GetProcessDefaultLayout' GetProcessDefaultLayout user32 1930 imp 'GetProcessDpiAwarenessInternal' GetProcessDpiAwarenessInternal user32 1931 imp 'GetProcessUIContextInformation' GetProcessUIContextInformation user32 2521 imp 'GetProcessWindowStation' GetProcessWindowStation user32 1932 imp 'GetProgmanWindow' GetProgmanWindow user32 1933 imp 'GetProp' GetPropW user32 1935 imp 'GetQueueStatus' GetQueueStatus user32 1936 imp 'GetRawInputBuffer' GetRawInputBuffer user32 1937 imp 'GetRawInputData' GetRawInputData user32 1938 imp 'GetRawInputDeviceInfo' GetRawInputDeviceInfoW user32 1940 imp 'GetRawInputDeviceList' GetRawInputDeviceList user32 1941 imp 'GetRawPointerDeviceData' GetRawPointerDeviceData user32 1942 imp 'GetReasonTitleFromReasonCode' GetReasonTitleFromReasonCode user32 1943 imp 'GetRegisteredRawInputDevices' GetRegisteredRawInputDevices user32 1944 imp 'GetScrollBarInfo' GetScrollBarInfo user32 1945 imp 'GetScrollInfo' GetScrollInfo user32 1946 imp 'GetScrollPos' GetScrollPos user32 1947 imp 'GetScrollRange' GetScrollRange user32 1948 imp 'GetSendMessageReceiver' GetSendMessageReceiver user32 1949 imp 'GetShellWindow' GetShellWindow user32 1950 0 imp 'GetSubMenu' GetSubMenu user32 1951 imp 'GetSysColor' GetSysColor user32 1952 imp 'GetSysColorBrush' GetSysColorBrush user32 1953 imp 'GetSystemDpiForProcess' GetSystemDpiForProcess user32 1954 imp 'GetSystemMenu' GetSystemMenu user32 1955 2 imp 'GetSystemMetrics' GetSystemMetrics user32 1956 imp 'GetSystemMetricsForDpi' GetSystemMetricsForDpi user32 1957 imp 'GetTabbedTextExtent' GetTabbedTextExtentW user32 1959 imp 'GetTaskmanWindow' GetTaskmanWindow user32 1960 imp 'GetThreadDesktop' GetThreadDesktop user32 1961 imp 'GetThreadDpiAwarenessContext' GetThreadDpiAwarenessContext user32 1962 imp 'GetThreadDpiHostingBehavior' GetThreadDpiHostingBehavior user32 1963 imp 'GetTitleBarInfo' GetTitleBarInfo user32 1964 imp 'GetTopLevelWindow' GetTopLevelWindow user32 1965 imp 'GetTopWindow' GetTopWindow user32 1966 imp 'GetTouchInputInfo' GetTouchInputInfo user32 1967 imp 'GetUnpredictedMessagePos' GetUnpredictedMessagePos user32 1968 imp 'GetUpdateRect' GetUpdateRect user32 1969 imp 'GetUpdateRgn' GetUpdateRgn user32 1970 imp 'GetUpdatedClipboardFormats' GetUpdatedClipboardFormats user32 1971 imp 'GetUserObjectInformation' GetUserObjectInformationW user32 1973 imp 'GetUserObjectSecurity' GetUserObjectSecurity user32 1974 imp 'GetWinStationInfo' GetWinStationInfo user32 1975 imp 'GetWindow' GetWindow user32 1976 2 imp 'GetWindowBand' GetWindowBand user32 1977 imp 'GetWindowCompositionAttribute' GetWindowCompositionAttribute user32 1978 imp 'GetWindowCompositionInfo' GetWindowCompositionInfo user32 1979 imp 'GetWindowContextHelpId' GetWindowContextHelpId user32 1980 imp 'GetWindowDC' GetWindowDC user32 1981 imp 'GetWindowDisplayAffinity' GetWindowDisplayAffinity user32 1982 imp 'GetWindowDpiAwarenessContext' GetWindowDpiAwarenessContext user32 1983 imp 'GetWindowDpiHostingBehavior' GetWindowDpiHostingBehavior user32 1984 imp 'GetWindowFeedbackSetting' GetWindowFeedbackSetting user32 1985 imp 'GetWindowInfo' GetWindowInfo user32 1986 imp 'GetWindowLong' GetWindowLongW user32 1990 imp 'GetWindowLongPtr' GetWindowLongPtrW user32 1989 imp 'GetWindowMinimizeRect' GetWindowMinimizeRect user32 1991 imp 'GetWindowModuleFileName' GetWindowModuleFileNameW user32 1994 imp 'GetWindowPlacement' GetWindowPlacement user32 1995 2 imp 'GetWindowProcessHandle' GetWindowProcessHandle user32 1996 imp 'GetWindowRect' GetWindowRect user32 1997 2 imp 'GetWindowRgn' GetWindowRgn user32 1998 imp 'GetWindowRgnBox' GetWindowRgnBox user32 1999 imp 'GetWindowRgnEx' GetWindowRgnEx user32 2000 imp 'GetWindowText' GetWindowTextW user32 2007 3 imp 'GetWindowTextLength' GetWindowTextLengthW user32 2006 imp 'GetWindowThreadProcessId' GetWindowThreadProcessId user32 2008 imp 'GetWindowWord' GetWindowWord user32 2009 imp 'GhostWindowFromHungWindow' GhostWindowFromHungWindow user32 2011 imp 'GrayString' GrayStringW user32 2013 imp 'HandleDelegatedInput' HandleDelegatedInput user32 2505 imp 'HideCaret' HideCaret user32 2014 imp 'HiliteMenuItem' HiliteMenuItem user32 2015 imp 'HungWindowFromGhostWindow' HungWindowFromGhostWindow user32 2016 imp 'IMPGetIMEW' IMPGetIMEW user32 2018 imp 'IMPQueryIMEW' IMPQueryIMEW user32 2020 imp 'IMPSetIMEW' IMPSetIMEW user32 2022 imp 'ImpersonateDdeClientWindow' ImpersonateDdeClientWindow user32 2023 imp 'InSendMessage' InSendMessage user32 2024 imp 'InSendMessageEx' InSendMessageEx user32 2025 imp 'InflateRect' InflateRect user32 2026 imp 'InheritWindowMonitor' InheritWindowMonitor user32 2027 imp 'InitDManipHook' InitDManipHook user32 2028 imp 'InitializeGenericHidInjection' InitializeGenericHidInjection user32 2029 imp 'InitializeInputDeviceInjection' InitializeInputDeviceInjection user32 2030 imp 'InitializeLpkHooks' InitializeLpkHooks user32 2031 imp 'InitializePointerDeviceInjection' InitializePointerDeviceInjection user32 2032 imp 'InitializePointerDeviceInjectionEx' InitializePointerDeviceInjectionEx user32 2033 imp 'InitializeTouchInjection' InitializeTouchInjection user32 2034 imp 'InjectDeviceInput' InjectDeviceInput user32 2035 imp 'InjectGenericHidInput' InjectGenericHidInput user32 2036 imp 'InjectKeyboardInput' InjectKeyboardInput user32 2037 imp 'InjectMouseInput' InjectMouseInput user32 2038 imp 'InjectPointerInput' InjectPointerInput user32 2039 imp 'InjectTouchInput' InjectTouchInput user32 2040 imp 'InsertMenu' InsertMenuW user32 2044 5 imp 'InsertMenuItem' InsertMenuItemW user32 2043 imp 'InternalGetWindowIcon' InternalGetWindowIcon user32 2045 imp 'InternalGetWindowText' InternalGetWindowText user32 2046 imp 'IntersectRect' IntersectRect user32 2047 imp 'InvalidateRect' InvalidateRect user32 2048 3 imp 'InvalidateRgn' InvalidateRgn user32 2049 imp 'InvertRect' InvertRect user32 2050 imp 'IsChild' IsChild user32 2059 2 imp 'IsClipboardFormatAvailable' IsClipboardFormatAvailable user32 2060 imp 'IsDialogMessage' IsDialogMessageW user32 2063 imp 'IsDlgButtonChecked' IsDlgButtonChecked user32 2064 imp 'IsGUIThread' IsGUIThread user32 2065 imp 'IsHungAppWindow' IsHungAppWindow user32 2066 imp 'IsIconic' IsIconic user32 2067 1 imp 'IsImmersiveProcess' IsImmersiveProcess user32 2068 imp 'IsInDesktopWindowBand' IsInDesktopWindowBand user32 2069 imp 'IsMenu' IsMenu user32 2070 1 imp 'IsMouseInPointerEnabled' IsMouseInPointerEnabled user32 2071 imp 'IsOneCoreTransformMode' IsOneCoreTransformMode user32 2072 imp 'IsProcessDPIAware' IsProcessDPIAware user32 2073 imp 'IsQueueAttached' IsQueueAttached user32 2074 imp 'IsRectEmpty' IsRectEmpty user32 2075 imp 'IsSETEnabled' IsSETEnabled user32 2076 imp 'IsServerSideWindow' IsServerSideWindow user32 2077 imp 'IsThreadDesktopComposited' IsThreadDesktopComposited user32 2078 imp 'IsThreadMessageQueueAttached' IsThreadMessageQueueAttached user32 2528 imp 'IsThreadTSFEventAware' IsThreadTSFEventAware user32 2079 imp 'IsTopLevelWindow' IsTopLevelWindow user32 2080 imp 'IsTouchWindow' IsTouchWindow user32 2081 imp 'IsValidDpiAwarenessContext' IsValidDpiAwarenessContext user32 2082 imp 'IsWinEventHookInstalled' IsWinEventHookInstalled user32 2083 imp 'IsWindow' IsWindow user32 2084 1 imp 'IsWindowArranged' IsWindowArranged user32 2085 imp 'IsWindowEnabled' IsWindowEnabled user32 2086 imp 'IsWindowInDestroy' IsWindowInDestroy user32 2087 imp 'IsWindowRedirectedForPrint' IsWindowRedirectedForPrint user32 2088 imp 'IsWindowUnicode' IsWindowUnicode user32 2089 imp 'IsWindowVisible' IsWindowVisible user32 2090 1 imp 'IsZoomed' IsZoomed user32 2092 1 imp 'KillTimer' KillTimer user32 2093 2 imp 'LoadAccelerators' LoadAcceleratorsW user32 2095 imp 'LoadBitmap' LoadBitmapW user32 2097 imp 'LoadCursor' LoadCursorW user32 2101 2 imp 'LoadCursorFromFile' LoadCursorFromFileW user32 2100 imp 'LoadIcon' LoadIconW user32 2103 2 imp 'LoadImage' LoadImageW user32 2105 6 imp 'LoadKeyboardLayout' LoadKeyboardLayoutW user32 2108 imp 'LoadKeyboardLayoutEx' LoadKeyboardLayoutEx user32 2107 imp 'LoadLocalFonts' LoadLocalFonts user32 2109 imp 'LoadMenu' LoadMenuW user32 2113 imp 'LoadMenuIndirect' LoadMenuIndirectW user32 2112 imp 'LoadRemoteFonts' LoadRemoteFonts user32 2114 imp 'LockSetForegroundWindow' LockSetForegroundWindow user32 2117 imp 'LockWindowStation' LockWindowStation user32 2118 imp 'LockWindowUpdate' LockWindowUpdate user32 2119 imp 'LockWorkStation' LockWorkStation user32 2120 imp 'LogicalToPhysicalPoint' LogicalToPhysicalPoint user32 2121 imp 'LogicalToPhysicalPointForPerMonitorDPI' LogicalToPhysicalPointForPerMonitorDPI user32 2122 imp 'LookupIconIdFromDirectory' LookupIconIdFromDirectory user32 2123 imp 'LookupIconIdFromDirectoryEx' LookupIconIdFromDirectoryEx user32 2124 imp 'MBToWCSEx' MBToWCSEx user32 2125 imp 'MBToWCSExt' MBToWCSExt user32 2126 imp 'MB_GetString' MB_GetString user32 2127 imp 'MITActivateInputProcessing' MITActivateInputProcessing user32 2128 imp 'MITBindInputTypeToMonitors' MITBindInputTypeToMonitors user32 2129 imp 'MITCoreMsgKGetConnectionHandle' MITCoreMsgKGetConnectionHandle user32 2130 imp 'MITCoreMsgKOpenConnectionTo' MITCoreMsgKOpenConnectionTo user32 2131 imp 'MITCoreMsgKSend' MITCoreMsgKSend user32 2132 imp 'MITDeactivateInputProcessing' MITDeactivateInputProcessing user32 2133 imp 'MITDisableMouseIntercept' MITDisableMouseIntercept user32 2134 imp 'MITDispatchCompletion' MITDispatchCompletion user32 2135 imp 'MITEnableMouseIntercept' MITEnableMouseIntercept user32 2136 imp 'MITGetCursorUpdateHandle' MITGetCursorUpdateHandle user32 2137 imp 'MITInjectLegacyISMTouchFrame' MITInjectLegacyISMTouchFrame user32 2138 imp 'MITRegisterManipulationThread' MITRegisterManipulationThread user32 2139 imp 'MITSetForegroundRoutingInfo' MITSetForegroundRoutingInfo user32 2140 imp 'MITSetInputCallbacks' MITSetInputCallbacks user32 2141 imp 'MITSetInputDelegationMode' MITSetInputDelegationMode user32 2142 imp 'MITSetLastInputRecipient' MITSetLastInputRecipient user32 2143 imp 'MITSetManipulationInputTarget' MITSetManipulationInputTarget user32 2144 imp 'MITStopAndEndInertia' MITStopAndEndInertia user32 2145 imp 'MITSynthesizeMouseInput' MITSynthesizeMouseInput user32 2146 imp 'MITSynthesizeMouseWheel' MITSynthesizeMouseWheel user32 2147 imp 'MITSynthesizeTouchInput' MITSynthesizeTouchInput user32 2148 imp 'MITUpdateInputGlobals' MITUpdateInputGlobals user32 2149 imp 'MITWaitForMultipleObjectsEx' MITWaitForMultipleObjectsEx user32 2150 imp 'MakeThreadTSFEventAware' MakeThreadTSFEventAware user32 2151 imp 'MapDialogRect' MapDialogRect user32 2152 imp 'MapVirtualKey' MapVirtualKeyW user32 2156 imp 'MapVirtualKeyEx' MapVirtualKeyExW user32 2155 3 imp 'MapVisualRelativePoints' MapVisualRelativePoints user32 2157 imp 'MapWindowPoints' MapWindowPoints user32 2158 imp 'MenuItemFromPoint' MenuItemFromPoint user32 2159 imp 'MenuWindowProc' MenuWindowProcW user32 2161 imp 'MessageBeep' MessageBeep user32 2162 imp 'MessageBox' MessageBoxW user32 2170 4 imp 'MessageBoxEx' MessageBoxExW user32 2165 5 imp 'MessageBoxIndirect' MessageBoxIndirectW user32 2167 imp 'MessageBoxTimeout' MessageBoxTimeoutW user32 2169 imp 'ModifyMenu' ModifyMenuW user32 2172 imp 'MonitorFromPoint' MonitorFromPoint user32 2173 imp 'MonitorFromRect' MonitorFromRect user32 2174 imp 'MonitorFromWindow' MonitorFromWindow user32 2175 imp 'MoveWindow' MoveWindow user32 2176 6 imp 'MsgWaitForMultipleObjects' MsgWaitForMultipleObjects user32 2177 imp 'MsgWaitForMultipleObjectsEx' MsgWaitForMultipleObjectsEx user32 2178 imp 'NotifyOverlayWindow' NotifyOverlayWindow user32 2179 imp 'NotifyWinEvent' NotifyWinEvent user32 2180 imp 'OemKeyScan' OemKeyScan user32 2181 imp 'OemToChar' OemToCharW user32 2185 imp 'OemToCharBuff' OemToCharBuffW user32 2184 imp 'OffsetRect' OffsetRect user32 2186 imp 'OpenClipboard' OpenClipboard user32 2187 imp 'OpenDesktop' OpenDesktopW user32 2189 imp 'OpenIcon' OpenIcon user32 2190 imp 'OpenInputDesktop' OpenInputDesktop user32 2191 imp 'OpenThreadDesktop' OpenThreadDesktop user32 2192 imp 'OpenWindowStation' OpenWindowStationW user32 2194 imp 'PackDDElParam' PackDDElParam user32 2195 imp 'PackTouchHitTestingProximityEvaluation' PackTouchHitTestingProximityEvaluation user32 2196 imp 'PaintDesktop' PaintDesktop user32 2197 imp 'PaintMenuBar' PaintMenuBar user32 2198 imp 'PaintMonitor' PaintMonitor user32 2199 imp 'PeekMessage' PeekMessageW user32 2201 5 imp 'PhysicalToLogicalPoint' PhysicalToLogicalPoint user32 2202 imp 'PhysicalToLogicalPointForPerMonitorDPI' PhysicalToLogicalPointForPerMonitorDPI user32 2203 imp 'PostMessage' PostMessageW user32 2205 imp 'PostQuitMessage' PostQuitMessage user32 2206 1 imp 'PostThreadMessage' PostThreadMessageW user32 2208 imp 'PrintWindow' PrintWindow user32 2209 imp 'PrivateExtractIconEx' PrivateExtractIconExW user32 2211 imp 'PrivateExtractIcons' PrivateExtractIconsW user32 2213 imp 'PrivateRegisterICSProc' PrivateRegisterICSProc user32 2214 imp 'PtInRect' PtInRect user32 2215 imp 'QueryBSDRWindow' QueryBSDRWindow user32 2216 imp 'QueryDisplayConfig' QueryDisplayConfig user32 2217 imp 'QuerySendMessage' QuerySendMessage user32 2218 imp 'RIMAddInputObserver' RIMAddInputObserver user32 2219 imp 'RIMAreSiblingDevices' RIMAreSiblingDevices user32 2220 imp 'RIMDeviceIoControl' RIMDeviceIoControl user32 2221 imp 'RIMEnableMonitorMappingForDevice' RIMEnableMonitorMappingForDevice user32 2222 imp 'RIMFreeInputBuffer' RIMFreeInputBuffer user32 2223 imp 'RIMGetDevicePreparsedData' RIMGetDevicePreparsedData user32 2224 imp 'RIMGetDevicePreparsedDataLockfree' RIMGetDevicePreparsedDataLockfree user32 2225 imp 'RIMGetDeviceProperties' RIMGetDeviceProperties user32 2226 imp 'RIMGetDevicePropertiesLockfree' RIMGetDevicePropertiesLockfree user32 2227 imp 'RIMGetPhysicalDeviceRect' RIMGetPhysicalDeviceRect user32 2228 imp 'RIMGetSourceProcessId' RIMGetSourceProcessId user32 2229 imp 'RIMObserveNextInput' RIMObserveNextInput user32 2230 imp 'RIMOnPnpNotification' RIMOnPnpNotification user32 2231 imp 'RIMOnTimerNotification' RIMOnTimerNotification user32 2232 imp 'RIMReadInput' RIMReadInput user32 2233 imp 'RIMRegisterForInput' RIMRegisterForInput user32 2234 imp 'RIMRemoveInputObserver' RIMRemoveInputObserver user32 2235 imp 'RIMSetTestModeStatus' RIMSetTestModeStatus user32 2236 imp 'RIMUnregisterForInput' RIMUnregisterForInput user32 2237 imp 'RIMUpdateInputObserverRegistration' RIMUpdateInputObserverRegistration user32 2238 imp 'RealChildWindowFromPoint' RealChildWindowFromPoint user32 2239 imp 'RealGetWindowClass' RealGetWindowClassW user32 2242 imp 'ReasonCodeNeedsBugID' ReasonCodeNeedsBugID user32 2243 imp 'ReasonCodeNeedsComment' ReasonCodeNeedsComment user32 2244 imp 'RecordShutdownReason' RecordShutdownReason user32 2245 imp 'RedrawWindow' RedrawWindow user32 2246 4 imp 'RegisterBSDRWindow' RegisterBSDRWindow user32 2247 imp 'RegisterClass' RegisterClassW user32 2251 1 imp 'RegisterClassEx' RegisterClassExW user32 2250 1 imp 'RegisterClipboardFormat' RegisterClipboardFormatW user32 2253 imp 'RegisterDManipHook' RegisterDManipHook user32 2254 imp 'RegisterDeviceNotification' RegisterDeviceNotificationW user32 2256 imp 'RegisterErrorReportingDialog' RegisterErrorReportingDialog user32 2257 imp 'RegisterFrostWindow' RegisterFrostWindow user32 2258 imp 'RegisterGhostWindow' RegisterGhostWindow user32 2259 imp 'RegisterHotKey' RegisterHotKey user32 2260 imp 'RegisterLogonProcess' RegisterLogonProcess user32 2261 imp 'RegisterMessagePumpHook' RegisterMessagePumpHook user32 2262 imp 'RegisterPointerDeviceNotifications' RegisterPointerDeviceNotifications user32 2263 imp 'RegisterPointerInputTarget' RegisterPointerInputTarget user32 2264 imp 'RegisterPointerInputTargetEx' RegisterPointerInputTargetEx user32 2265 imp 'RegisterPowerSettingNotification' RegisterPowerSettingNotification user32 2266 imp 'RegisterRawInputDevices' RegisterRawInputDevices user32 2267 imp 'RegisterServicesProcess' RegisterServicesProcess user32 2268 imp 'RegisterSessionPort' RegisterSessionPort user32 2269 imp 'RegisterShellHookWindow' RegisterShellHookWindow user32 2270 imp 'RegisterSuspendResumeNotification' RegisterSuspendResumeNotification user32 2271 imp 'RegisterSystemThread' RegisterSystemThread user32 2272 imp 'RegisterTasklist' RegisterTasklist user32 2273 imp 'RegisterTouchHitTestingWindow' RegisterTouchHitTestingWindow user32 2274 imp 'RegisterTouchWindow' RegisterTouchWindow user32 2275 imp 'RegisterUserApiHook' RegisterUserApiHook user32 2276 imp 'RegisterWindowMessage' RegisterWindowMessageW user32 2278 imp 'ReleaseCapture' ReleaseCapture user32 2279 0 imp 'ReleaseDC' ReleaseDC user32 2280 2 imp 'ReleaseDwmHitTestWaiters' ReleaseDwmHitTestWaiters user32 2281 imp 'RemoveClipboardFormatListener' RemoveClipboardFormatListener user32 2282 imp 'RemoveInjectionDevice' RemoveInjectionDevice user32 2283 imp 'RemoveMenu' RemoveMenu user32 2284 imp 'RemoveProp' RemovePropW user32 2286 imp 'RemoveThreadTSFEventAwareness' RemoveThreadTSFEventAwareness user32 2287 imp 'ReplyMessage' ReplyMessage user32 2288 imp 'ReportInertia' ReportInertia user32 2551 imp 'ResolveDesktopForWOW' ResolveDesktopForWOW user32 2289 imp 'ReuseDDElParam' ReuseDDElParam user32 2290 imp 'ScreenToClient' ScreenToClient user32 2291 imp 'ScrollChildren' ScrollChildren user32 2292 imp 'ScrollDC' ScrollDC user32 2293 imp 'ScrollWindow' ScrollWindow user32 2294 imp 'ScrollWindowEx' ScrollWindowEx user32 2295 imp 'SendDlgItemMessage' SendDlgItemMessageW user32 2297 imp 'SendIMEMessageEx' SendIMEMessageExW user32 2299 imp 'SendInput' SendInput user32 2300 imp 'SendMessage' SendMessageW user32 2306 4 imp 'SendMessageCallback' SendMessageCallbackW user32 2303 imp 'SendMessageTimeout' SendMessageTimeoutW user32 2305 imp 'SendNotifyMessage' SendNotifyMessageW user32 2308 imp 'SetActiveWindow' SetActiveWindow user32 2309 imp 'SetCapture' SetCapture user32 2310 1 imp 'SetCaretBlinkTime' SetCaretBlinkTime user32 2311 imp 'SetCaretPos' SetCaretPos user32 2312 imp 'SetClassLong' SetClassLongW user32 2316 3 imp 'SetClassLongPtr' SetClassLongPtrW user32 2315 imp 'SetClassWord' SetClassWord user32 2317 imp 'SetClipboardData' SetClipboardData user32 2318 imp 'SetClipboardViewer' SetClipboardViewer user32 2319 imp 'SetCoalescableTimer' SetCoalescableTimer user32 2320 imp 'SetCoreWindow' SetCoreWindow user32 2571 imp 'SetCursor' SetCursor user32 2321 1 imp 'SetCursorContents' SetCursorContents user32 2322 imp 'SetCursorPos' SetCursorPos user32 2323 imp 'SetDebugErrorLevel' SetDebugErrorLevel user32 2324 imp 'SetDeskWallpaper' SetDeskWallpaper user32 2325 imp 'SetDesktopColorTransform' SetDesktopColorTransform user32 2326 imp 'SetDialogControlDpiChangeBehavior' SetDialogControlDpiChangeBehavior user32 2327 imp 'SetDialogDpiChangeBehavior' SetDialogDpiChangeBehavior user32 2328 imp 'SetDisplayAutoRotationPreferences' SetDisplayAutoRotationPreferences user32 2329 imp 'SetDisplayConfig' SetDisplayConfig user32 2330 imp 'SetDlgItemInt' SetDlgItemInt user32 2331 imp 'SetDlgItemText' SetDlgItemTextW user32 2333 imp 'SetDoubleClickTime' SetDoubleClickTime user32 2334 imp 'SetFeatureReportResponse' SetFeatureReportResponse user32 2335 imp 'SetFocus' SetFocus user32 2336 imp 'SetForegroundWindow' SetForegroundWindow user32 2337 imp 'SetGestureConfig' SetGestureConfig user32 2338 imp 'SetInternalWindowPos' SetInternalWindowPos user32 2339 imp 'SetKeyboardState' SetKeyboardState user32 2340 imp 'SetLastErrorEx' SetLastErrorEx user32 2341 imp 'SetLayeredWindowAttributes' SetLayeredWindowAttributes user32 2342 imp 'SetMagnificationDesktopColorEffect' SetMagnificationDesktopColorEffect user32 2343 imp 'SetMagnificationDesktopMagnification' SetMagnificationDesktopMagnification user32 2344 imp 'SetMagnificationDesktopSamplingMode' SetMagnificationDesktopSamplingMode user32 2345 imp 'SetMagnificationLensCtxInformation' SetMagnificationLensCtxInformation user32 2346 imp 'SetMenu' SetMenu user32 2347 imp 'SetMenuContextHelpId' SetMenuContextHelpId user32 2348 imp 'SetMenuDefaultItem' SetMenuDefaultItem user32 2349 imp 'SetMenuInfo' SetMenuInfo user32 2350 imp 'SetMenuItemBitmaps' SetMenuItemBitmaps user32 2351 imp 'SetMenuItemInfo' SetMenuItemInfoW user32 2353 imp 'SetMessageExtraInfo' SetMessageExtraInfo user32 2354 imp 'SetMessageQueue' SetMessageQueue user32 2355 imp 'SetMirrorRendering' SetMirrorRendering user32 2356 imp 'SetParent' SetParent user32 2357 2 imp 'SetPhysicalCursorPos' SetPhysicalCursorPos user32 2358 imp 'SetProcessDPIAware' SetProcessDPIAware user32 2359 imp 'SetProcessDefaultLayout' SetProcessDefaultLayout user32 2360 imp 'SetProcessDpiAwarenessContext' SetProcessDpiAwarenessContext user32 2361 imp 'SetProcessDpiAwarenessInternal' SetProcessDpiAwarenessInternal user32 2362 imp 'SetProcessRestrictionExemption' SetProcessRestrictionExemption user32 2363 imp 'SetProcessWindowStation' SetProcessWindowStation user32 2364 imp 'SetProgmanWindow' SetProgmanWindow user32 2365 imp 'SetProp' SetPropW user32 2367 imp 'SetRect' SetRect user32 2368 imp 'SetRectEmpty' SetRectEmpty user32 2369 imp 'SetScrollInfo' SetScrollInfo user32 2370 imp 'SetScrollPos' SetScrollPos user32 2371 imp 'SetScrollRange' SetScrollRange user32 2372 imp 'SetShellWindow' SetShellWindow user32 2373 imp 'SetShellWindowEx' SetShellWindowEx user32 2374 imp 'SetSysColors' SetSysColors user32 2375 imp 'SetSysColorsTemp' SetSysColorsTemp user32 2376 imp 'SetSystemCursor' SetSystemCursor user32 2377 imp 'SetSystemMenu' SetSystemMenu user32 2378 imp 'SetTaskmanWindow' SetTaskmanWindow user32 2379 imp 'SetThreadDesktop' SetThreadDesktop user32 2380 imp 'SetThreadDpiAwarenessContext' SetThreadDpiAwarenessContext user32 2381 imp 'SetThreadDpiHostingBehavior' SetThreadDpiHostingBehavior user32 2382 imp 'SetThreadInputBlocked' SetThreadInputBlocked user32 2383 imp 'SetTimer' SetTimer user32 2384 4 imp 'SetUserObjectInformation' SetUserObjectInformationW user32 2386 imp 'SetUserObjectSecurity' SetUserObjectSecurity user32 2387 imp 'SetWinEventHook' SetWinEventHook user32 2388 imp 'SetWindowBand' SetWindowBand user32 2389 imp 'SetWindowCompositionAttribute' SetWindowCompositionAttribute user32 2390 imp 'SetWindowCompositionTransition' SetWindowCompositionTransition user32 2391 imp 'SetWindowContextHelpId' SetWindowContextHelpId user32 2392 imp 'SetWindowDisplayAffinity' SetWindowDisplayAffinity user32 2393 imp 'SetWindowFeedbackSetting' SetWindowFeedbackSetting user32 2394 imp 'SetWindowLong' SetWindowLongW user32 2398 3 imp 'SetWindowLongPtr' SetWindowLongPtrW user32 2397 imp 'SetWindowPlacement' SetWindowPlacement user32 2399 2 imp 'SetWindowPos' SetWindowPos user32 2400 7 imp 'SetWindowRgn' SetWindowRgn user32 2401 imp 'SetWindowRgnEx' SetWindowRgnEx user32 2402 imp 'SetWindowStationUser' SetWindowStationUser user32 2403 imp 'SetWindowText' SetWindowTextW user32 2405 2 imp 'SetWindowWord' SetWindowWord user32 2406 imp 'SetWindowsHook' SetWindowsHookW user32 2410 2 imp 'SetWindowsHookEx' SetWindowsHookExW user32 2409 4 imp 'ShowCaret' ShowCaret user32 2411 1 imp 'ShowCursor' ShowCursor user32 2412 1 imp 'ShowOwnedPopups' ShowOwnedPopups user32 2413 imp 'ShowScrollBar' ShowScrollBar user32 2414 imp 'ShowStartGlass' ShowStartGlass user32 2415 imp 'ShowSystemCursor' ShowSystemCursor user32 2416 imp 'ShowWindow' ShowWindow user32 2417 2 imp 'ShowWindowAsync' ShowWindowAsync user32 2418 imp 'ShutdownBlockReasonCreate' ShutdownBlockReasonCreate user32 2419 imp 'ShutdownBlockReasonDestroy' ShutdownBlockReasonDestroy user32 2420 imp 'ShutdownBlockReasonQuery' ShutdownBlockReasonQuery user32 2421 imp 'SignalRedirectionStartComplete' SignalRedirectionStartComplete user32 2422 imp 'SkipPointerFrameMessages' SkipPointerFrameMessages user32 2423 imp 'SoftModalMessageBox' SoftModalMessageBox user32 2424 imp 'SoundSentry' SoundSentry user32 2425 imp 'SubtractRect' SubtractRect user32 2426 imp 'SwapMouseButton' SwapMouseButton user32 2427 imp 'SwitchDesktop' SwitchDesktop user32 2428 imp 'SwitchDesktopWithFade' SwitchDesktopWithFade user32 2429 imp 'SwitchToThisWindow' SwitchToThisWindow user32 2430 imp 'SystemParametersInfo' SystemParametersInfoW user32 2433 imp 'SystemParametersInfoForDpi' SystemParametersInfoForDpi user32 2432 imp 'TabbedTextOut' TabbedTextOutW user32 2435 imp 'TileChildWindows' TileChildWindows user32 2436 imp 'TileWindows' TileWindows user32 2437 imp 'ToAscii' ToAscii user32 2438 imp 'ToAsciiEx' ToAsciiEx user32 2439 imp 'ToUnicode' ToUnicode user32 2440 imp 'ToUnicodeEx' ToUnicodeEx user32 2441 imp 'TrackMouseEvent' TrackMouseEvent user32 2442 imp 'TrackPopupMenu' TrackPopupMenu user32 2443 7 imp 'TrackPopupMenuEx' TrackPopupMenuEx user32 2444 imp 'TranslateAccelerator' TranslateAcceleratorW user32 2447 imp 'TranslateMDISysAccel' TranslateMDISysAccel user32 2448 imp 'TranslateMessage' TranslateMessage user32 2449 1 imp 'TranslateMessageEx' TranslateMessageEx user32 2450 imp 'UndelegateInput' UndelegateInput user32 2504 imp 'UnhookWinEvent' UnhookWinEvent user32 2451 imp 'UnhookWindowsHook' UnhookWindowsHook user32 2452 2 imp 'UnhookWindowsHookEx' UnhookWindowsHookEx user32 2453 1 imp 'UnionRect' UnionRect user32 2454 imp 'UnloadKeyboardLayout' UnloadKeyboardLayout user32 2455 imp 'UnlockWindowStation' UnlockWindowStation user32 2456 imp 'UnpackDDElParam' UnpackDDElParam user32 2457 imp 'UnregisterClass' UnregisterClassW user32 2459 imp 'UnregisterDeviceNotification' UnregisterDeviceNotification user32 2460 imp 'UnregisterHotKey' UnregisterHotKey user32 2461 imp 'UnregisterMessagePumpHook' UnregisterMessagePumpHook user32 2462 imp 'UnregisterPointerInputTarget' UnregisterPointerInputTarget user32 2463 imp 'UnregisterPointerInputTargetEx' UnregisterPointerInputTargetEx user32 2464 imp 'UnregisterPowerSettingNotification' UnregisterPowerSettingNotification user32 2465 imp 'UnregisterSessionPort' UnregisterSessionPort user32 2466 imp 'UnregisterSuspendResumeNotification' UnregisterSuspendResumeNotification user32 2467 imp 'UnregisterTouchWindow' UnregisterTouchWindow user32 2468 imp 'UnregisterUserApiHook' UnregisterUserApiHook user32 2469 imp 'UpdateDefaultDesktopThumbnail' UpdateDefaultDesktopThumbnail user32 2470 imp 'UpdateLayeredWindow' UpdateLayeredWindow user32 2471 imp 'UpdateLayeredWindowIndirect' UpdateLayeredWindowIndirect user32 2472 imp 'UpdatePerUserSystemParameters' UpdatePerUserSystemParameters user32 2473 imp 'UpdateWindow' UpdateWindow user32 2474 1 imp 'UpdateWindowInputSinkHints' UpdateWindowInputSinkHints user32 2475 imp 'User32InitializeImmEntryTable' User32InitializeImmEntryTable user32 2476 imp 'UserClientDllInitialize' UserClientDllInitialize user32 2477 imp 'UserHandleGrantAccess' UserHandleGrantAccess user32 2478 imp 'UserLpkPSMTextOut' UserLpkPSMTextOut user32 2479 imp 'UserLpkTabbedTextOut' UserLpkTabbedTextOut user32 2480 imp 'UserRealizePalette' UserRealizePalette user32 2481 imp 'UserRegisterWowHandlers' UserRegisterWowHandlers user32 2482 imp 'VRipOutput' VRipOutput user32 2483 imp 'VTagOutput' VTagOutput user32 2484 imp 'ValidateRect' ValidateRect user32 2485 imp 'ValidateRgn' ValidateRgn user32 2486 imp 'VkKeyScan' VkKeyScanW user32 2490 imp 'VkKeyScanEx' VkKeyScanExW user32 2489 imp 'WCSToMBEx' WCSToMBEx user32 2491 imp 'WINNLSEnableIME' WINNLSEnableIME user32 2492 imp 'WINNLSGetEnableStatus' WINNLSGetEnableStatus user32 2493 imp 'WINNLSGetIMEHotkey' WINNLSGetIMEHotkey user32 2494 imp 'WaitForInputIdle' WaitForInputIdle user32 2495 2 imp 'WaitForRedirectionStartComplete' WaitForRedirectionStartComplete user32 2496 imp 'WaitMessage' WaitMessage user32 2497 imp 'WinHelp' WinHelpW user32 2499 imp 'WindowFromDC' WindowFromDC user32 2500 imp 'WindowFromPhysicalPoint' WindowFromPhysicalPoint user32 2501 imp 'WindowFromPoint' WindowFromPoint user32 2502 # GDI32.DLL # # Name Actual DLL Hint Arity imp 'AbortDoc' AbortDoc gdi32 1011 imp 'AbortPath' AbortPath gdi32 1012 imp 'AddFontMemResourceEx' AddFontMemResourceEx gdi32 1017 imp 'AddFontResource' AddFontResourceW gdi32 1022 imp 'AddFontResourceEx' AddFontResourceExW gdi32 1020 imp 'AddFontResourceTracking' AddFontResourceTracking gdi32 1021 imp 'AngleArc' AngleArc gdi32 1023 imp 'AnimatePalette' AnimatePalette gdi32 1024 imp 'AnyLinkedFonts' AnyLinkedFonts gdi32 1025 imp 'Arc' Arc gdi32 1026 imp 'ArcTo' ArcTo gdi32 1027 imp 'BRUSHOBJ_hGetColorTransform' BRUSHOBJ_hGetColorTransform gdi32 1028 imp 'BRUSHOBJ_pvAllocRbrush' BRUSHOBJ_pvAllocRbrush gdi32 1029 imp 'BRUSHOBJ_pvGetRbrush' BRUSHOBJ_pvGetRbrush gdi32 1030 imp 'BRUSHOBJ_ulGetBrushColor' BRUSHOBJ_ulGetBrushColor gdi32 1031 imp 'BeginGdiRendering' BeginGdiRendering gdi32 1032 imp 'BeginPath' BeginPath gdi32 1033 imp 'BitBlt' BitBlt gdi32 1034 9 imp 'CLIPOBJ_bEnum' CLIPOBJ_bEnum gdi32 1035 imp 'CLIPOBJ_cEnumStart' CLIPOBJ_cEnumStart gdi32 1036 imp 'CLIPOBJ_ppoGetPath' CLIPOBJ_ppoGetPath gdi32 1037 imp 'CancelDC' CancelDC gdi32 1038 imp 'CheckColorsInGamut' CheckColorsInGamut gdi32 1039 imp 'ChoosePixelFormat' ChoosePixelFormat gdi32 1040 2 imp 'Chord' Chord gdi32 1041 imp 'ClearBitmapAttributes' ClearBitmapAttributes gdi32 1042 imp 'ClearBrushAttributes' ClearBrushAttributes gdi32 1043 imp 'CloseEnhMetaFile' CloseEnhMetaFile gdi32 1044 imp 'CloseFigure' CloseFigure gdi32 1045 imp 'CloseMetaFile' CloseMetaFile gdi32 1046 imp 'ColorCorrectPalette' ColorCorrectPalette gdi32 1047 imp 'ColorMatchToTarget' ColorMatchToTarget gdi32 1048 imp 'CombineRgn' CombineRgn gdi32 1049 imp 'CombineTransform' CombineTransform gdi32 1050 imp 'ConfigureOPMProtectedOutput' ConfigureOPMProtectedOutput gdi32 1051 imp 'CopyEnhMetaFile' CopyEnhMetaFileW gdi32 1053 imp 'CopyMetaFile' CopyMetaFileW gdi32 1055 imp 'CreateBitmap' CreateBitmap gdi32 1056 5 imp 'CreateBitmapFromDxSurface' CreateBitmapFromDxSurface gdi32 1057 imp 'CreateBitmapFromDxSurface2' CreateBitmapFromDxSurface2 gdi32 1058 imp 'CreateBitmapIndirect' CreateBitmapIndirect gdi32 1059 imp 'CreateBrushIndirect' CreateBrushIndirect gdi32 1060 imp 'CreateColorSpace' CreateColorSpaceW gdi32 1062 imp 'CreateCompatibleBitmap' CreateCompatibleBitmap gdi32 1063 3 imp 'CreateCompatibleDC' CreateCompatibleDC gdi32 1064 1 imp 'CreateDCEx' CreateDCExW gdi32 2000 imp 'CreateDCW' CreateDCW gdi32 1066 imp 'CreateDIBPatternBrush' CreateDIBPatternBrush gdi32 1067 imp 'CreateDIBPatternBrushPt' CreateDIBPatternBrushPt gdi32 1068 imp 'CreateDIBSection' CreateDIBSection gdi32 1069 6 imp 'CreateDIBitmap' CreateDIBitmap gdi32 1070 imp 'CreateDPIScaledDIBSection' CreateDPIScaledDIBSection gdi32 1071 imp 'CreateDiscardableBitmap' CreateDiscardableBitmap gdi32 1072 imp 'CreateEllipticRgn' CreateEllipticRgn gdi32 1073 imp 'CreateEllipticRgnIndirect' CreateEllipticRgnIndirect gdi32 1074 imp 'CreateEnhMetaFile' CreateEnhMetaFileW gdi32 1076 imp 'CreateFont' CreateFontW gdi32 1082 imp 'CreateFontIndirect' CreateFontIndirectW gdi32 1081 imp 'CreateFontIndirectEx' CreateFontIndirectExW gdi32 1080 imp 'CreateHalftonePalette' CreateHalftonePalette gdi32 1083 imp 'CreateHatchBrush' CreateHatchBrush gdi32 1084 imp 'CreateICW' CreateICW gdi32 1086 imp 'CreateMetaFile' CreateMetaFileW gdi32 1088 imp 'CreateOPMProtectedOutput' CreateOPMProtectedOutput gdi32 1089 imp 'CreateOPMProtectedOutputs' CreateOPMProtectedOutputs gdi32 1090 imp 'CreatePalette' CreatePalette gdi32 1091 imp 'CreatePatternBrush' CreatePatternBrush gdi32 1092 imp 'CreatePen' CreatePen gdi32 1093 imp 'CreatePenIndirect' CreatePenIndirect gdi32 1094 imp 'CreatePolyPolygonRgn' CreatePolyPolygonRgn gdi32 1095 imp 'CreatePolygonRgn' CreatePolygonRgn gdi32 1096 imp 'CreateRectRgn' CreateRectRgn gdi32 1097 4 imp 'CreateRectRgnIndirect' CreateRectRgnIndirect gdi32 1098 imp 'CreateRoundRectRgn' CreateRoundRectRgn gdi32 1099 imp 'CreateScalableFontResource' CreateScalableFontResourceW gdi32 1101 imp 'CreateSessionMappedDIBSection' CreateSessionMappedDIBSection gdi32 1102 imp 'CreateSolidBrush' CreateSolidBrush gdi32 1103 imp 'D3DKMTAbandonSwapChain' D3DKMTAbandonSwapChain gdi32 1104 imp 'D3DKMTAcquireKeyedMutex' D3DKMTAcquireKeyedMutex gdi32 1105 imp 'D3DKMTAcquireKeyedMutex2' D3DKMTAcquireKeyedMutex2 gdi32 1106 imp 'D3DKMTAcquireSwapChain' D3DKMTAcquireSwapChain gdi32 1107 imp 'D3DKMTAddSurfaceToSwapChain' D3DKMTAddSurfaceToSwapChain gdi32 1108 imp 'D3DKMTAdjustFullscreenGamma' D3DKMTAdjustFullscreenGamma gdi32 1109 imp 'D3DKMTCacheHybridQueryValue' D3DKMTCacheHybridQueryValue gdi32 1110 imp 'D3DKMTChangeVideoMemoryReservation' D3DKMTChangeVideoMemoryReservation gdi32 1111 imp 'D3DKMTCheckExclusiveOwnership' D3DKMTCheckExclusiveOwnership gdi32 1112 imp 'D3DKMTCheckMonitorPowerState' D3DKMTCheckMonitorPowerState gdi32 1113 imp 'D3DKMTCheckMultiPlaneOverlaySupport' D3DKMTCheckMultiPlaneOverlaySupport gdi32 1114 imp 'D3DKMTCheckMultiPlaneOverlaySupport2' D3DKMTCheckMultiPlaneOverlaySupport2 gdi32 1115 imp 'D3DKMTCheckMultiPlaneOverlaySupport3' D3DKMTCheckMultiPlaneOverlaySupport3 gdi32 1116 imp 'D3DKMTCheckOcclusion' D3DKMTCheckOcclusion gdi32 1117 imp 'D3DKMTCheckSharedResourceAccess' D3DKMTCheckSharedResourceAccess gdi32 1118 imp 'D3DKMTCheckVidPnExclusiveOwnership' D3DKMTCheckVidPnExclusiveOwnership gdi32 1119 imp 'D3DKMTCloseAdapter' D3DKMTCloseAdapter gdi32 1120 imp 'D3DKMTConfigureSharedResource' D3DKMTConfigureSharedResource gdi32 1121 imp 'D3DKMTCreateAllocation' D3DKMTCreateAllocation gdi32 1122 imp 'D3DKMTCreateAllocation2' D3DKMTCreateAllocation2 gdi32 1123 imp 'D3DKMTCreateBundleObject' D3DKMTCreateBundleObject gdi32 1124 imp 'D3DKMTCreateContext' D3DKMTCreateContext gdi32 1125 imp 'D3DKMTCreateContextVirtual' D3DKMTCreateContextVirtual gdi32 1126 imp 'D3DKMTCreateDCFromMemory' D3DKMTCreateDCFromMemory gdi32 1127 imp 'D3DKMTCreateDevice' D3DKMTCreateDevice gdi32 1128 imp 'D3DKMTCreateHwContext' D3DKMTCreateHwContext gdi32 1129 imp 'D3DKMTCreateHwQueue' D3DKMTCreateHwQueue gdi32 1130 imp 'D3DKMTCreateKeyedMutex' D3DKMTCreateKeyedMutex gdi32 1131 imp 'D3DKMTCreateKeyedMutex2' D3DKMTCreateKeyedMutex2 gdi32 1132 imp 'D3DKMTCreateOutputDupl' D3DKMTCreateOutputDupl gdi32 1133 imp 'D3DKMTCreateOverlay' D3DKMTCreateOverlay gdi32 1134 imp 'D3DKMTCreatePagingQueue' D3DKMTCreatePagingQueue gdi32 1135 imp 'D3DKMTCreateProtectedSession' D3DKMTCreateProtectedSession gdi32 1136 imp 'D3DKMTCreateSwapChain' D3DKMTCreateSwapChain gdi32 1137 imp 'D3DKMTCreateSynchronizationObject' D3DKMTCreateSynchronizationObject gdi32 1138 imp 'D3DKMTCreateSynchronizationObject2' D3DKMTCreateSynchronizationObject2 gdi32 1139 imp 'D3DKMTDDisplayEnum' D3DKMTDDisplayEnum gdi32 1140 imp 'D3DKMTDestroyAllocation' D3DKMTDestroyAllocation gdi32 1141 imp 'D3DKMTDestroyAllocation2' D3DKMTDestroyAllocation2 gdi32 1142 imp 'D3DKMTDestroyContext' D3DKMTDestroyContext gdi32 1143 imp 'D3DKMTDestroyDCFromMemory' D3DKMTDestroyDCFromMemory gdi32 1144 imp 'D3DKMTDestroyDevice' D3DKMTDestroyDevice gdi32 1145 imp 'D3DKMTDestroyHwContext' D3DKMTDestroyHwContext gdi32 1146 imp 'D3DKMTDestroyHwQueue' D3DKMTDestroyHwQueue gdi32 1147 imp 'D3DKMTDestroyKeyedMutex' D3DKMTDestroyKeyedMutex gdi32 1148 imp 'D3DKMTDestroyOutputDupl' D3DKMTDestroyOutputDupl gdi32 1149 imp 'D3DKMTDestroyOverlay' D3DKMTDestroyOverlay gdi32 1150 imp 'D3DKMTDestroyPagingQueue' D3DKMTDestroyPagingQueue gdi32 1151 imp 'D3DKMTDestroyProtectedSession' D3DKMTDestroyProtectedSession gdi32 1152 imp 'D3DKMTDestroySynchronizationObject' D3DKMTDestroySynchronizationObject gdi32 1153 imp 'D3DKMTDispMgrCreate' D3DKMTDispMgrCreate gdi32 1154 imp 'D3DKMTDispMgrSourceOperation' D3DKMTDispMgrSourceOperation gdi32 1155 imp 'D3DKMTDispMgrTargetOperation' D3DKMTDispMgrTargetOperation gdi32 1156 imp 'D3DKMTEnumAdapters' D3DKMTEnumAdapters gdi32 1157 imp 'D3DKMTEnumAdapters2' D3DKMTEnumAdapters2 gdi32 1158 imp 'D3DKMTEscape' D3DKMTEscape gdi32 1159 imp 'D3DKMTEvict' D3DKMTEvict gdi32 1160 imp 'D3DKMTExtractBundleObject' D3DKMTExtractBundleObject gdi32 1161 imp 'D3DKMTFlipOverlay' D3DKMTFlipOverlay gdi32 1162 imp 'D3DKMTFlushHeapTransitions' D3DKMTFlushHeapTransitions gdi32 1163 imp 'D3DKMTFreeGpuVirtualAddress' D3DKMTFreeGpuVirtualAddress gdi32 1164 imp 'D3DKMTGetAllocationPriority' D3DKMTGetAllocationPriority gdi32 1165 imp 'D3DKMTGetCachedHybridQueryValue' D3DKMTGetCachedHybridQueryValue gdi32 1166 imp 'D3DKMTGetContextInProcessSchedulingPriority' D3DKMTGetContextInProcessSchedulingPriority gdi32 1167 imp 'D3DKMTGetContextSchedulingPriority' D3DKMTGetContextSchedulingPriority gdi32 1168 imp 'D3DKMTGetDWMVerticalBlankEvent' D3DKMTGetDWMVerticalBlankEvent gdi32 1169 imp 'D3DKMTGetDeviceState' D3DKMTGetDeviceState gdi32 1170 imp 'D3DKMTGetDisplayModeList' D3DKMTGetDisplayModeList gdi32 1171 imp 'D3DKMTGetMemoryBudgetTarget' D3DKMTGetMemoryBudgetTarget gdi32 1172 imp 'D3DKMTGetMultiPlaneOverlayCaps' D3DKMTGetMultiPlaneOverlayCaps gdi32 1173 imp 'D3DKMTGetMultisampleMethodList' D3DKMTGetMultisampleMethodList gdi32 1174 imp 'D3DKMTGetOverlayState' D3DKMTGetOverlayState gdi32 1175 imp 'D3DKMTGetPostCompositionCaps' D3DKMTGetPostCompositionCaps gdi32 1176 imp 'D3DKMTGetPresentHistory' D3DKMTGetPresentHistory gdi32 1177 imp 'D3DKMTGetPresentQueueEvent' D3DKMTGetPresentQueueEvent gdi32 1178 imp 'D3DKMTGetProcessDeviceRemovalSupport' D3DKMTGetProcessDeviceRemovalSupport gdi32 1179 imp 'D3DKMTGetProcessList' D3DKMTGetProcessList gdi32 1180 imp 'D3DKMTGetProcessSchedulingPriorityBand' D3DKMTGetProcessSchedulingPriorityBand gdi32 1181 imp 'D3DKMTGetProcessSchedulingPriorityClass' D3DKMTGetProcessSchedulingPriorityClass gdi32 1182 imp 'D3DKMTGetResourcePresentPrivateDriverData' D3DKMTGetResourcePresentPrivateDriverData gdi32 1183 imp 'D3DKMTGetRuntimeData' D3DKMTGetRuntimeData gdi32 1184 imp 'D3DKMTGetScanLine' D3DKMTGetScanLine gdi32 1185 imp 'D3DKMTGetSetSwapChainMetadata' D3DKMTGetSetSwapChainMetadata gdi32 1186 imp 'D3DKMTGetSharedPrimaryHandle' D3DKMTGetSharedPrimaryHandle gdi32 1187 imp 'D3DKMTGetSharedResourceAdapterLuid' D3DKMTGetSharedResourceAdapterLuid gdi32 1188 imp 'D3DKMTGetYieldPercentage' D3DKMTGetYieldPercentage gdi32 1189 imp 'D3DKMTInvalidateActiveVidPn' D3DKMTInvalidateActiveVidPn gdi32 1190 imp 'D3DKMTInvalidateCache' D3DKMTInvalidateCache gdi32 1191 imp 'D3DKMTLock' D3DKMTLock gdi32 1192 imp 'D3DKMTLock2' D3DKMTLock2 gdi32 1193 imp 'D3DKMTMakeResident' D3DKMTMakeResident gdi32 1194 imp 'D3DKMTMapGpuVirtualAddress' D3DKMTMapGpuVirtualAddress gdi32 1195 imp 'D3DKMTMarkDeviceAsError' D3DKMTMarkDeviceAsError gdi32 1196 imp 'D3DKMTNetDispGetNextChunkInfo' D3DKMTNetDispGetNextChunkInfo gdi32 1197 imp 'D3DKMTNetDispQueryMiracastDisplayDeviceStatus' D3DKMTNetDispQueryMiracastDisplayDeviceStatus gdi32 1198 imp 'D3DKMTNetDispQueryMiracastDisplayDeviceSupport' D3DKMTNetDispQueryMiracastDisplayDeviceSupport gdi32 1199 imp 'D3DKMTNetDispStartMiracastDisplayDevice' D3DKMTNetDispStartMiracastDisplayDevice gdi32 1200 imp 'D3DKMTNetDispStartMiracastDisplayDevice2' D3DKMTNetDispStartMiracastDisplayDevice2 gdi32 1201 imp 'D3DKMTNetDispStartMiracastDisplayDeviceEx' D3DKMTNetDispStartMiracastDisplayDeviceEx gdi32 1202 imp 'D3DKMTNetDispStopMiracastDisplayDevice' D3DKMTNetDispStopMiracastDisplayDevice gdi32 1203 imp 'D3DKMTNetDispStopSessions' D3DKMTNetDispStopSessions gdi32 1204 imp 'D3DKMTOfferAllocations' D3DKMTOfferAllocations gdi32 1205 imp 'D3DKMTOpenAdapterFromDeviceName' D3DKMTOpenAdapterFromDeviceName gdi32 1206 imp 'D3DKMTOpenAdapterFromGdiDisplayName' D3DKMTOpenAdapterFromGdiDisplayName gdi32 1207 imp 'D3DKMTOpenAdapterFromHdc' D3DKMTOpenAdapterFromHdc gdi32 1208 imp 'D3DKMTOpenAdapterFromLuid' D3DKMTOpenAdapterFromLuid gdi32 1209 imp 'D3DKMTOpenBundleObjectNtHandleFromName' D3DKMTOpenBundleObjectNtHandleFromName gdi32 1210 imp 'D3DKMTOpenKeyedMutex' D3DKMTOpenKeyedMutex gdi32 1211 imp 'D3DKMTOpenKeyedMutex2' D3DKMTOpenKeyedMutex2 gdi32 1212 imp 'D3DKMTOpenKeyedMutexFromNtHandle' D3DKMTOpenKeyedMutexFromNtHandle gdi32 1213 imp 'D3DKMTOpenNtHandleFromName' D3DKMTOpenNtHandleFromName gdi32 1214 imp 'D3DKMTOpenProtectedSessionFromNtHandle' D3DKMTOpenProtectedSessionFromNtHandle gdi32 1215 imp 'D3DKMTOpenResource' D3DKMTOpenResource gdi32 1216 imp 'D3DKMTOpenResource2' D3DKMTOpenResource2 gdi32 1217 imp 'D3DKMTOpenResourceFromNtHandle' D3DKMTOpenResourceFromNtHandle gdi32 1218 imp 'D3DKMTOpenSwapChain' D3DKMTOpenSwapChain gdi32 1219 imp 'D3DKMTOpenSyncObjectFromNtHandle' D3DKMTOpenSyncObjectFromNtHandle gdi32 1220 imp 'D3DKMTOpenSyncObjectFromNtHandle2' D3DKMTOpenSyncObjectFromNtHandle2 gdi32 1221 imp 'D3DKMTOpenSyncObjectNtHandleFromName' D3DKMTOpenSyncObjectNtHandleFromName gdi32 1222 imp 'D3DKMTOpenSynchronizationObject' D3DKMTOpenSynchronizationObject gdi32 1223 imp 'D3DKMTOutputDuplGetFrameInfo' D3DKMTOutputDuplGetFrameInfo gdi32 1224 imp 'D3DKMTOutputDuplGetMetaData' D3DKMTOutputDuplGetMetaData gdi32 1225 imp 'D3DKMTOutputDuplGetPointerShapeData' D3DKMTOutputDuplGetPointerShapeData gdi32 1226 imp 'D3DKMTOutputDuplPresent' D3DKMTOutputDuplPresent gdi32 1227 imp 'D3DKMTOutputDuplReleaseFrame' D3DKMTOutputDuplReleaseFrame gdi32 1228 imp 'D3DKMTPinDirectFlipResources' D3DKMTPinDirectFlipResources gdi32 1229 imp 'D3DKMTPollDisplayChildren' D3DKMTPollDisplayChildren gdi32 1230 imp 'D3DKMTPresent' D3DKMTPresent gdi32 1231 imp 'D3DKMTPresentMultiPlaneOverlay' D3DKMTPresentMultiPlaneOverlay gdi32 1232 imp 'D3DKMTPresentMultiPlaneOverlay2' D3DKMTPresentMultiPlaneOverlay2 gdi32 1233 imp 'D3DKMTPresentMultiPlaneOverlay3' D3DKMTPresentMultiPlaneOverlay3 gdi32 1234 imp 'D3DKMTPresentRedirected' D3DKMTPresentRedirected gdi32 1235 imp 'D3DKMTQueryAdapterInfo' D3DKMTQueryAdapterInfo gdi32 1236 imp 'D3DKMTQueryAllocationResidency' D3DKMTQueryAllocationResidency gdi32 1237 imp 'D3DKMTQueryClockCalibration' D3DKMTQueryClockCalibration gdi32 1238 imp 'D3DKMTQueryFSEBlock' D3DKMTQueryFSEBlock gdi32 1239 imp 'D3DKMTQueryProcessOfferInfo' D3DKMTQueryProcessOfferInfo gdi32 1240 imp 'D3DKMTQueryProtectedSessionInfoFromNtHandle' D3DKMTQueryProtectedSessionInfoFromNtHandle gdi32 1241 imp 'D3DKMTQueryProtectedSessionStatus' D3DKMTQueryProtectedSessionStatus gdi32 1242 imp 'D3DKMTQueryRemoteVidPnSourceFromGdiDisplayName' D3DKMTQueryRemoteVidPnSourceFromGdiDisplayName gdi32 1243 imp 'D3DKMTQueryResourceInfo' D3DKMTQueryResourceInfo gdi32 1244 imp 'D3DKMTQueryResourceInfoFromNtHandle' D3DKMTQueryResourceInfoFromNtHandle gdi32 1245 imp 'D3DKMTQueryStatistics' D3DKMTQueryStatistics gdi32 1246 imp 'D3DKMTQueryVidPnExclusiveOwnership' D3DKMTQueryVidPnExclusiveOwnership gdi32 1247 imp 'D3DKMTQueryVideoMemoryInfo' D3DKMTQueryVideoMemoryInfo gdi32 1248 imp 'D3DKMTReclaimAllocations' D3DKMTReclaimAllocations gdi32 1249 imp 'D3DKMTReclaimAllocations2' D3DKMTReclaimAllocations2 gdi32 1250 imp 'D3DKMTRegisterTrimNotification' D3DKMTRegisterTrimNotification gdi32 1251 imp 'D3DKMTRegisterVailProcess' D3DKMTRegisterVailProcess gdi32 1252 imp 'D3DKMTReleaseKeyedMutex' D3DKMTReleaseKeyedMutex gdi32 1253 imp 'D3DKMTReleaseKeyedMutex2' D3DKMTReleaseKeyedMutex2 gdi32 1254 imp 'D3DKMTReleaseProcessVidPnSourceOwners' D3DKMTReleaseProcessVidPnSourceOwners gdi32 1255 imp 'D3DKMTReleaseSwapChain' D3DKMTReleaseSwapChain gdi32 1256 imp 'D3DKMTRemoveSurfaceFromSwapChain' D3DKMTRemoveSurfaceFromSwapChain gdi32 1257 imp 'D3DKMTRender' D3DKMTRender gdi32 1258 imp 'D3DKMTReserveGpuVirtualAddress' D3DKMTReserveGpuVirtualAddress gdi32 1259 imp 'D3DKMTSetAllocationPriority' D3DKMTSetAllocationPriority gdi32 1260 imp 'D3DKMTSetContextInProcessSchedulingPriority' D3DKMTSetContextInProcessSchedulingPriority gdi32 1261 imp 'D3DKMTSetContextSchedulingPriority' D3DKMTSetContextSchedulingPriority gdi32 1262 imp 'D3DKMTSetDisplayMode' D3DKMTSetDisplayMode gdi32 1263 imp 'D3DKMTSetDisplayPrivateDriverFormat' D3DKMTSetDisplayPrivateDriverFormat gdi32 1264 imp 'D3DKMTSetDodIndirectSwapchain' D3DKMTSetDodIndirectSwapchain gdi32 1265 imp 'D3DKMTSetFSEBlock' D3DKMTSetFSEBlock gdi32 1266 imp 'D3DKMTSetGammaRamp' D3DKMTSetGammaRamp gdi32 1267 imp 'D3DKMTSetHwProtectionTeardownRecovery' D3DKMTSetHwProtectionTeardownRecovery gdi32 1268 imp 'D3DKMTSetMemoryBudgetTarget' D3DKMTSetMemoryBudgetTarget gdi32 1269 imp 'D3DKMTSetMonitorColorSpaceTransform' D3DKMTSetMonitorColorSpaceTransform gdi32 1270 imp 'D3DKMTSetProcessDeviceRemovalSupport' D3DKMTSetProcessDeviceRemovalSupport gdi32 1271 imp 'D3DKMTSetProcessSchedulingPriorityBand' D3DKMTSetProcessSchedulingPriorityBand gdi32 1272 imp 'D3DKMTSetProcessSchedulingPriorityClass' D3DKMTSetProcessSchedulingPriorityClass gdi32 1273 imp 'D3DKMTSetQueuedLimit' D3DKMTSetQueuedLimit gdi32 1274 imp 'D3DKMTSetStablePowerState' D3DKMTSetStablePowerState gdi32 1275 imp 'D3DKMTSetStereoEnabled' D3DKMTSetStereoEnabled gdi32 1276 imp 'D3DKMTSetSyncRefreshCountWaitTarget' D3DKMTSetSyncRefreshCountWaitTarget gdi32 1277 imp 'D3DKMTSetVidPnSourceHwProtection' D3DKMTSetVidPnSourceHwProtection gdi32 1278 imp 'D3DKMTSetVidPnSourceOwner' D3DKMTSetVidPnSourceOwner gdi32 1279 imp 'D3DKMTSetVidPnSourceOwner1' D3DKMTSetVidPnSourceOwner1 gdi32 1280 imp 'D3DKMTSetVidPnSourceOwner2' D3DKMTSetVidPnSourceOwner2 gdi32 1281 imp 'D3DKMTSetYieldPercentage' D3DKMTSetYieldPercentage gdi32 1282 imp 'D3DKMTShareObjects' D3DKMTShareObjects gdi32 1283 imp 'D3DKMTSharedPrimaryLockNotification' D3DKMTSharedPrimaryLockNotification gdi32 1284 imp 'D3DKMTSharedPrimaryUnLockNotification' D3DKMTSharedPrimaryUnLockNotification gdi32 1285 imp 'D3DKMTSignalSynchronizationObject' D3DKMTSignalSynchronizationObject gdi32 1286 imp 'D3DKMTSignalSynchronizationObject2' D3DKMTSignalSynchronizationObject2 gdi32 1287 imp 'D3DKMTSignalSynchronizationObjectFromCpu' D3DKMTSignalSynchronizationObjectFromCpu gdi32 1288 imp 'D3DKMTSignalSynchronizationObjectFromGpu' D3DKMTSignalSynchronizationObjectFromGpu gdi32 1289 imp 'D3DKMTSignalSynchronizationObjectFromGpu2' D3DKMTSignalSynchronizationObjectFromGpu2 gdi32 1290 imp 'D3DKMTSubmitCommand' D3DKMTSubmitCommand gdi32 1291 imp 'D3DKMTSubmitCommandToHwQueue' D3DKMTSubmitCommandToHwQueue gdi32 1292 imp 'D3DKMTSubmitPresentBltToHwQueue' D3DKMTSubmitPresentBltToHwQueue gdi32 1293 imp 'D3DKMTSubmitSignalSyncObjectsToHwQueue' D3DKMTSubmitSignalSyncObjectsToHwQueue gdi32 1294 imp 'D3DKMTSubmitWaitForSyncObjectsToHwQueue' D3DKMTSubmitWaitForSyncObjectsToHwQueue gdi32 1295 imp 'D3DKMTTrimProcessCommitment' D3DKMTTrimProcessCommitment gdi32 1296 imp 'D3DKMTUnOrderedPresentSwapChain' D3DKMTUnOrderedPresentSwapChain gdi32 1297 imp 'D3DKMTUnlock' D3DKMTUnlock gdi32 1298 imp 'D3DKMTUnlock2' D3DKMTUnlock2 gdi32 1299 imp 'D3DKMTUnpinDirectFlipResources' D3DKMTUnpinDirectFlipResources gdi32 1300 imp 'D3DKMTUnregisterTrimNotification' D3DKMTUnregisterTrimNotification gdi32 1301 imp 'D3DKMTUpdateAllocationProperty' D3DKMTUpdateAllocationProperty gdi32 1302 imp 'D3DKMTUpdateGpuVirtualAddress' D3DKMTUpdateGpuVirtualAddress gdi32 1303 imp 'D3DKMTUpdateOverlay' D3DKMTUpdateOverlay gdi32 1304 imp 'D3DKMTVailConnect' D3DKMTVailConnect gdi32 1305 imp 'D3DKMTVailDisconnect' D3DKMTVailDisconnect gdi32 1306 imp 'D3DKMTVailPromoteCompositionSurface' D3DKMTVailPromoteCompositionSurface gdi32 1307 imp 'D3DKMTWaitForIdle' D3DKMTWaitForIdle gdi32 1308 imp 'D3DKMTWaitForSynchronizationObject' D3DKMTWaitForSynchronizationObject gdi32 1309 imp 'D3DKMTWaitForSynchronizationObject2' D3DKMTWaitForSynchronizationObject2 gdi32 1310 imp 'D3DKMTWaitForSynchronizationObjectFromCpu' D3DKMTWaitForSynchronizationObjectFromCpu gdi32 1311 imp 'D3DKMTWaitForSynchronizationObjectFromGpu' D3DKMTWaitForSynchronizationObjectFromGpu gdi32 1312 imp 'D3DKMTWaitForVerticalBlankEvent' D3DKMTWaitForVerticalBlankEvent gdi32 1313 imp 'D3DKMTWaitForVerticalBlankEvent2' D3DKMTWaitForVerticalBlankEvent2 gdi32 1314 imp 'DDCCIGetCapabilitiesString' DDCCIGetCapabilitiesString gdi32 1315 imp 'DDCCIGetCapabilitiesStringLength' DDCCIGetCapabilitiesStringLength gdi32 1316 imp 'DDCCIGetTimingReport' DDCCIGetTimingReport gdi32 1317 imp 'DDCCIGetVCPFeature' DDCCIGetVCPFeature gdi32 1318 imp 'DDCCISaveCurrentSettings' DDCCISaveCurrentSettings gdi32 1319 imp 'DDCCISetVCPFeature' DDCCISetVCPFeature gdi32 1320 imp 'DPtoLP' DPtoLP gdi32 1321 imp 'DdCreateFullscreenSprite' DdCreateFullscreenSprite gdi32 1322 imp 'DdDestroyFullscreenSprite' DdDestroyFullscreenSprite gdi32 1323 imp 'DdNotifyFullscreenSpriteUpdate' DdNotifyFullscreenSpriteUpdate gdi32 1381 imp 'DdQueryVisRgnUniqueness' DdQueryVisRgnUniqueness gdi32 1382 imp 'DeleteColorSpace' DeleteColorSpace gdi32 1383 imp 'DeleteDC' DeleteDC gdi32 1384 1 imp 'DeleteEnhMetaFile' DeleteEnhMetaFile gdi32 1385 imp 'DeleteMetaFile' DeleteMetaFile gdi32 1386 imp 'DeleteObject' DeleteObject gdi32 1387 1 imp 'DescribePixelFormat' DescribePixelFormat gdi32 1388 imp 'DestroyOPMProtectedOutput' DestroyOPMProtectedOutput gdi32 1389 imp 'DestroyPhysicalMonitorInternal' DestroyPhysicalMonitorInternal gdi32 1390 imp 'DrawEscape' DrawEscape gdi32 1393 imp 'DwmCreatedBitmapRemotingOutput' DwmCreatedBitmapRemotingOutput gdi32 1014 imp 'DxTrimNotificationListHead' DxTrimNotificationListHead gdi32 1394 imp 'Ellipse' Ellipse gdi32 1395 imp 'EnableEUDC' EnableEUDC gdi32 1396 imp 'EndDoc' EndDoc gdi32 1397 imp 'EndFormPage' EndFormPage gdi32 1398 imp 'EndGdiRendering' EndGdiRendering gdi32 1399 imp 'EndPage' EndPage gdi32 1400 imp 'EndPath' EndPath gdi32 1401 imp 'EngAcquireSemaphore' EngAcquireSemaphore gdi32 1402 imp 'EngAlphaBlend' EngAlphaBlend gdi32 1403 imp 'EngAssociateSurface' EngAssociateSurface gdi32 1404 imp 'EngBitBlt' EngBitBlt gdi32 1405 imp 'EngCheckAbort' EngCheckAbort gdi32 1406 imp 'EngComputeGlyphSet' EngComputeGlyphSet gdi32 1407 imp 'EngCopyBits' EngCopyBits gdi32 1408 imp 'EngCreateBitmap' EngCreateBitmap gdi32 1409 imp 'EngCreateClip' EngCreateClip gdi32 1410 imp 'EngCreateDeviceBitmap' EngCreateDeviceBitmap gdi32 1411 imp 'EngCreateDeviceSurface' EngCreateDeviceSurface gdi32 1412 imp 'EngCreatePalette' EngCreatePalette gdi32 1413 imp 'EngCreateSemaphore' EngCreateSemaphore gdi32 1414 imp 'EngDeleteClip' EngDeleteClip gdi32 1415 imp 'EngDeletePalette' EngDeletePalette gdi32 1416 imp 'EngDeletePath' EngDeletePath gdi32 1417 imp 'EngDeleteSemaphore' EngDeleteSemaphore gdi32 1418 imp 'EngDeleteSurface' EngDeleteSurface gdi32 1419 imp 'EngEraseSurface' EngEraseSurface gdi32 1420 imp 'EngFillPath' EngFillPath gdi32 1421 imp 'EngFindResource' EngFindResource gdi32 1422 imp 'EngFreeModule' EngFreeModule gdi32 1423 imp 'EngGetCurrentCodePage' EngGetCurrentCodePage gdi32 1424 imp 'EngGetDriverName' EngGetDriverName gdi32 1425 imp 'EngGetPrinterDataFileName' EngGetPrinterDataFileName gdi32 1426 imp 'EngGradientFill' EngGradientFill gdi32 1427 imp 'EngLineTo' EngLineTo gdi32 1428 imp 'EngLoadModule' EngLoadModule gdi32 1429 imp 'EngLockSurface' EngLockSurface gdi32 1430 imp 'EngMarkBandingSurface' EngMarkBandingSurface gdi32 1431 imp 'EngMultiByteToUnicodeN' EngMultiByteToUnicodeN gdi32 1432 imp 'EngMultiByteToWideChar' EngMultiByteToWideChar gdi32 1433 imp 'EngPaint' EngPaint gdi32 1434 imp 'EngPlgBlt' EngPlgBlt gdi32 1435 imp 'EngQueryEMFInfo' EngQueryEMFInfo gdi32 1436 imp 'EngQueryLocalTime' EngQueryLocalTime gdi32 1437 imp 'EngReleaseSemaphore' EngReleaseSemaphore gdi32 1438 imp 'EngStretchBlt' EngStretchBlt gdi32 1439 imp 'EngStretchBltROP' EngStretchBltROP gdi32 1440 imp 'EngStrokeAndFillPath' EngStrokeAndFillPath gdi32 1441 imp 'EngStrokePath' EngStrokePath gdi32 1442 imp 'EngTextOut' EngTextOut gdi32 1443 imp 'EngTransparentBlt' EngTransparentBlt gdi32 1444 imp 'EngUnicodeToMultiByteN' EngUnicodeToMultiByteN gdi32 1445 imp 'EngUnlockSurface' EngUnlockSurface gdi32 1446 imp 'EngWideCharToMultiByte' EngWideCharToMultiByte gdi32 1447 imp 'EnumEnhMetaFile' EnumEnhMetaFile gdi32 1448 imp 'EnumFontFamilies' EnumFontFamiliesW gdi32 1452 imp 'EnumFontFamiliesEx' EnumFontFamiliesExW gdi32 1451 imp 'EnumFonts' EnumFontsW gdi32 1454 imp 'EnumICMProfiles' EnumICMProfilesW gdi32 1456 imp 'EnumMetaFile' EnumMetaFile gdi32 1457 imp 'EnumObjects' EnumObjects gdi32 1458 imp 'EqualRgn' EqualRgn gdi32 1459 imp 'Escape' Escape gdi32 1460 imp 'EudcLoadLink' EudcLoadLinkW gdi32 1461 imp 'EudcUnloadLink' EudcUnloadLinkW gdi32 1462 imp 'ExcludeClipRect' ExcludeClipRect gdi32 1463 imp 'ExtCreatePen' ExtCreatePen gdi32 1464 imp 'ExtCreateRegion' ExtCreateRegion gdi32 1465 imp 'ExtEscape' ExtEscape gdi32 1466 imp 'ExtFloodFill' ExtFloodFill gdi32 1467 imp 'ExtSelectClipRgn' ExtSelectClipRgn gdi32 1468 imp 'ExtTextOut' ExtTextOutW gdi32 1470 imp 'FONTOBJ_cGetAllGlyphHandles' FONTOBJ_cGetAllGlyphHandles gdi32 1471 imp 'FONTOBJ_cGetGlyphs' FONTOBJ_cGetGlyphs gdi32 1472 imp 'FONTOBJ_pQueryGlyphAttrs' FONTOBJ_pQueryGlyphAttrs gdi32 1473 imp 'FONTOBJ_pfdg' FONTOBJ_pfdg gdi32 1474 imp 'FONTOBJ_pifi' FONTOBJ_pifi gdi32 1475 imp 'FONTOBJ_pvTrueTypeFontFile' FONTOBJ_pvTrueTypeFontFile gdi32 1476 imp 'FONTOBJ_pxoGetXform' FONTOBJ_pxoGetXform gdi32 1477 imp 'FONTOBJ_vGetInfo' FONTOBJ_vGetInfo gdi32 1478 imp 'FillPath' FillPath gdi32 1479 imp 'FillRgn' FillRgn gdi32 1480 imp 'FixBrushOrgEx' FixBrushOrgEx gdi32 1481 imp 'FlattenPath' FlattenPath gdi32 1482 imp 'FloodFill' FloodFill gdi32 1483 imp 'FontIsLinked' FontIsLinked gdi32 1484 imp 'FrameRgn' FrameRgn gdi32 1485 imp 'Gdi32DllInitialize' Gdi32DllInitialize gdi32 1486 imp 'GdiAddFontResource' GdiAddFontResourceW gdi32 1487 imp 'GdiAddGlsBounds' GdiAddGlsBounds gdi32 1488 imp 'GdiAddGlsRecord' GdiAddGlsRecord gdi32 1489 imp 'GdiAddInitialFonts' GdiAddInitialFonts gdi32 1490 imp 'GdiAlphaBlend' GdiAlphaBlend gdi32 1491 imp 'GdiArtificialDecrementDriver' GdiArtificialDecrementDriver gdi32 1492 imp 'GdiBatchLimit' GdiBatchLimit gdi32 1493 imp 'GdiCleanCacheDC' GdiCleanCacheDC gdi32 1494 imp 'GdiComment' GdiComment gdi32 1495 imp 'GdiConsoleTextOut' GdiConsoleTextOut gdi32 1496 imp 'GdiConvertAndCheckDC' GdiConvertAndCheckDC gdi32 1497 imp 'GdiConvertBitmap' GdiConvertBitmap gdi32 1498 imp 'GdiConvertBitmapV5' GdiConvertBitmapV5 gdi32 1499 imp 'GdiConvertBrush' GdiConvertBrush gdi32 1500 imp 'GdiConvertDC' GdiConvertDC gdi32 1501 imp 'GdiConvertEnhMetaFile' GdiConvertEnhMetaFile gdi32 1502 imp 'GdiConvertFont' GdiConvertFont gdi32 1503 imp 'GdiConvertMetaFilePict' GdiConvertMetaFilePict gdi32 1504 imp 'GdiConvertPalette' GdiConvertPalette gdi32 1505 imp 'GdiConvertRegion' GdiConvertRegion gdi32 1506 imp 'GdiConvertToDevmode' GdiConvertToDevmodeW gdi32 1507 imp 'GdiCreateLocalEnhMetaFile' GdiCreateLocalEnhMetaFile gdi32 1508 imp 'GdiCreateLocalMetaFilePict' GdiCreateLocalMetaFilePict gdi32 1509 imp 'GdiDeleteLocalDC' GdiDeleteLocalDC gdi32 1511 imp 'GdiDeleteSpoolFileHandle' GdiDeleteSpoolFileHandle gdi32 1512 imp 'GdiDescribePixelFormat' GdiDescribePixelFormat gdi32 1513 imp 'GdiDllInitialize' GdiDllInitialize gdi32 1514 imp 'GdiDrawStream' GdiDrawStream gdi32 1515 imp 'GdiEndDocEMF' GdiEndDocEMF gdi32 1516 imp 'GdiEndPageEMF' GdiEndPageEMF gdi32 1517 imp 'GdiFixUpHandle' GdiFixUpHandle gdi32 1534 imp 'GdiFlush' GdiFlush gdi32 1535 imp 'GdiFullscreenControl' GdiFullscreenControl gdi32 1536 imp 'GdiGetBatchLimit' GdiGetBatchLimit gdi32 1537 imp 'GdiGetBitmapBitsSize' GdiGetBitmapBitsSize gdi32 1538 imp 'GdiGetCharDimensions' GdiGetCharDimensions gdi32 1539 imp 'GdiGetCodePage' GdiGetCodePage gdi32 1540 imp 'GdiGetDC' GdiGetDC gdi32 1541 imp 'GdiGetDevmodeForPage' GdiGetDevmodeForPage gdi32 1542 imp 'GdiGetEntry' GdiGetEntry gdi32 1543 imp 'GdiGetLocalBrush' GdiGetLocalBrush gdi32 1544 imp 'GdiGetLocalDC' GdiGetLocalDC gdi32 1545 imp 'GdiGetLocalFont' GdiGetLocalFont gdi32 1546 imp 'GdiGetPageCount' GdiGetPageCount gdi32 1547 imp 'GdiGetPageHandle' GdiGetPageHandle gdi32 1548 imp 'GdiGetSpoolFileHandle' GdiGetSpoolFileHandle gdi32 1549 imp 'GdiGetSpoolMessage' GdiGetSpoolMessage gdi32 1550 imp 'GdiGetVariationStoreDelta' GdiGetVariationStoreDelta gdi32 1551 imp 'GdiGradientFill' GdiGradientFill gdi32 1552 imp 'GdiInitSpool' GdiInitSpool gdi32 1553 imp 'GdiInitializeLanguagePack' GdiInitializeLanguagePack gdi32 1554 imp 'GdiIsMetaFileDC' GdiIsMetaFileDC gdi32 1555 imp 'GdiIsMetaPrintDC' GdiIsMetaPrintDC gdi32 1556 imp 'GdiIsPlayMetafileDC' GdiIsPlayMetafileDC gdi32 1557 imp 'GdiIsScreenDC' GdiIsScreenDC gdi32 1558 imp 'GdiIsTrackingEnabled' GdiIsTrackingEnabled gdi32 1559 imp 'GdiIsUMPDSandboxingEnabled' GdiIsUMPDSandboxingEnabled gdi32 1560 imp 'GdiLoadType1Fonts' GdiLoadType1Fonts gdi32 1561 imp 'GdiPlayDCScript' GdiPlayDCScript gdi32 1562 imp 'GdiPlayEMF' GdiPlayEMF gdi32 1563 imp 'GdiPlayJournal' GdiPlayJournal gdi32 1564 imp 'GdiPlayPageEMF' GdiPlayPageEMF gdi32 1565 imp 'GdiPlayPrivatePageEMF' GdiPlayPrivatePageEMF gdi32 1566 imp 'GdiPlayScript' GdiPlayScript gdi32 1567 imp 'GdiPrinterThunk' GdiPrinterThunk gdi32 1568 imp 'GdiProcessSetup' GdiProcessSetup gdi32 1569 imp 'GdiQueryFonts' GdiQueryFonts gdi32 1570 imp 'GdiQueryTable' GdiQueryTable gdi32 1571 imp 'GdiRealizationInfo' GdiRealizationInfo gdi32 1572 imp 'GdiReleaseDC' GdiReleaseDC gdi32 1573 imp 'GdiReleaseLocalDC' GdiReleaseLocalDC gdi32 1574 imp 'GdiResetDCEMF' GdiResetDCEMF gdi32 1575 imp 'GdiSetAttrs' GdiSetAttrs gdi32 1576 imp 'GdiSetBatchLimit' GdiSetBatchLimit gdi32 1577 imp 'GdiSetLastError' GdiSetLastError gdi32 1578 imp 'GdiSetPixelFormat' GdiSetPixelFormat gdi32 1579 imp 'GdiSetServerAttr' GdiSetServerAttr gdi32 1580 imp 'GdiStartDocEMF' GdiStartDocEMF gdi32 1581 imp 'GdiStartPageEMF' GdiStartPageEMF gdi32 1582 imp 'GdiSupportsFontChangeEvent' GdiSupportsFontChangeEvent gdi32 1583 imp 'GdiSwapBuffers' GdiSwapBuffers gdi32 1584 imp 'GdiTrackHCreate' GdiTrackHCreate gdi32 1585 imp 'GdiTrackHDelete' GdiTrackHDelete gdi32 1586 imp 'GdiTransparentBlt' GdiTransparentBlt gdi32 1587 imp 'GdiValidateHandle' GdiValidateHandle gdi32 1588 imp 'GetArcDirection' GetArcDirection gdi32 1589 imp 'GetAspectRatioFilterEx' GetAspectRatioFilterEx gdi32 1590 imp 'GetBitmapAttributes' GetBitmapAttributes gdi32 1591 imp 'GetBitmapBits' GetBitmapBits gdi32 1592 imp 'GetBitmapDimensionEx' GetBitmapDimensionEx gdi32 1593 imp 'GetBitmapDpiScaleValue' GetBitmapDpiScaleValue gdi32 1594 imp 'GetBkColor' GetBkColor gdi32 1595 imp 'GetBkMode' GetBkMode gdi32 1596 imp 'GetBoundsRect' GetBoundsRect gdi32 1597 imp 'GetBrushAttributes' GetBrushAttributes gdi32 1598 imp 'GetBrushOrgEx' GetBrushOrgEx gdi32 1599 imp 'GetCOPPCompatibleOPMInformation' GetCOPPCompatibleOPMInformation gdi32 1600 imp 'GetCertificate' GetCertificate gdi32 1601 imp 'GetCertificateByHandle' GetCertificateByHandle gdi32 1602 imp 'GetCertificateSize' GetCertificateSize gdi32 1603 imp 'GetCertificateSizeByHandle' GetCertificateSizeByHandle gdi32 1604 imp 'GetCharABCWidths' GetCharABCWidthsW gdi32 1610 imp 'GetCharABCWidthsFloat' GetCharABCWidthsFloatW gdi32 1608 imp 'GetCharABCWidthsFloatI' GetCharABCWidthsFloatI gdi32 1607 imp 'GetCharABCWidthsI' GetCharABCWidthsI gdi32 1609 imp 'GetCharWidth' GetCharWidthW gdi32 1618 imp 'GetCharWidth32W' GetCharWidth32W gdi32 1612 imp 'GetCharWidthFloat' GetCharWidthFloatW gdi32 1615 imp 'GetCharWidthI' GetCharWidthI gdi32 1616 imp 'GetCharWidthInfo' GetCharWidthInfo gdi32 1617 imp 'GetCharacterPlacement' GetCharacterPlacementW gdi32 1620 imp 'GetClipBox' GetClipBox gdi32 1621 imp 'GetClipRgn' GetClipRgn gdi32 1622 imp 'GetColorAdjustment' GetColorAdjustment gdi32 1623 imp 'GetColorSpace' GetColorSpace gdi32 1624 imp 'GetCurrentDpiInfo' GetCurrentDpiInfo gdi32 1625 imp 'GetCurrentObject' GetCurrentObject gdi32 1626 imp 'GetCurrentPositionEx' GetCurrentPositionEx gdi32 1627 imp 'GetDCBrushColor' GetDCBrushColor gdi32 1628 imp 'GetDCDpiScaleValue' GetDCDpiScaleValue gdi32 1629 imp 'GetDCOrgEx' GetDCOrgEx gdi32 1630 imp 'GetDCPenColor' GetDCPenColor gdi32 1631 imp 'GetDIBColorTable' GetDIBColorTable gdi32 1632 imp 'GetDIBits' GetDIBits gdi32 1633 imp 'GetDeviceCaps' GetDeviceCaps gdi32 1634 imp 'GetDeviceGammaRamp' GetDeviceGammaRamp gdi32 1635 imp 'GetETM' GetETM gdi32 1636 imp 'GetEUDCTimeStamp' GetEUDCTimeStamp gdi32 1637 imp 'GetEUDCTimeStampEx' GetEUDCTimeStampExW gdi32 1638 imp 'GetEnhMetaFile' GetEnhMetaFileW gdi32 1646 imp 'GetEnhMetaFileBits' GetEnhMetaFileBits gdi32 1640 imp 'GetEnhMetaFileDescription' GetEnhMetaFileDescriptionW gdi32 1642 imp 'GetEnhMetaFileHeader' GetEnhMetaFileHeader gdi32 1643 imp 'GetEnhMetaFilePaletteEntries' GetEnhMetaFilePaletteEntries gdi32 1644 imp 'GetEnhMetaFilePixelFormat' GetEnhMetaFilePixelFormat gdi32 1645 imp 'GetFontAssocStatus' GetFontAssocStatus gdi32 1647 imp 'GetFontData' GetFontData gdi32 1648 imp 'GetFontFileData' GetFontFileData gdi32 1649 imp 'GetFontFileInfo' GetFontFileInfo gdi32 1650 imp 'GetFontLanguageInfo' GetFontLanguageInfo gdi32 1651 imp 'GetFontRealizationInfo' GetFontRealizationInfo gdi32 1652 imp 'GetFontResourceInfo' GetFontResourceInfoW gdi32 1653 imp 'GetFontUnicodeRanges' GetFontUnicodeRanges gdi32 1654 imp 'GetGlyphIndices' GetGlyphIndicesW gdi32 1656 imp 'GetGlyphOutline' GetGlyphOutlineW gdi32 1659 imp 'GetGlyphOutlineWow' GetGlyphOutlineWow gdi32 1660 imp 'GetGraphicsMode' GetGraphicsMode gdi32 1661 imp 'GetHFONT' GetHFONT gdi32 1662 imp 'GetICMProfile' GetICMProfileW gdi32 1664 imp 'GetKerningPairs' GetKerningPairsW gdi32 1667 imp 'GetLayout' GetLayout gdi32 1668 imp 'GetLogColorSpace' GetLogColorSpaceW gdi32 1670 imp 'GetMapMode' GetMapMode gdi32 1671 imp 'GetMetaFile' GetMetaFileW gdi32 1674 imp 'GetMetaFileBitsEx' GetMetaFileBitsEx gdi32 1673 imp 'GetMetaRgn' GetMetaRgn gdi32 1675 imp 'GetMiterLimit' GetMiterLimit gdi32 1676 imp 'GetNearestColor' GetNearestColor gdi32 1677 imp 'GetNearestPaletteIndex' GetNearestPaletteIndex gdi32 1678 imp 'GetNumberOfPhysicalMonitors' GetNumberOfPhysicalMonitors gdi32 1679 imp 'GetOPMInformation' GetOPMInformation gdi32 1680 imp 'GetOPMRandomNumber' GetOPMRandomNumber gdi32 1681 imp 'GetObject' GetObjectW gdi32 1684 imp 'GetObjectType' GetObjectType gdi32 1683 imp 'GetOutlineTextMetrics' GetOutlineTextMetricsW gdi32 1686 imp 'GetPaletteEntries' GetPaletteEntries gdi32 1687 imp 'GetPath' GetPath gdi32 1688 imp 'GetPhysicalMonitorDescription' GetPhysicalMonitorDescription gdi32 1689 imp 'GetPhysicalMonitors' GetPhysicalMonitors gdi32 1690 imp 'GetPixel' GetPixel gdi32 1691 3 imp 'GetPixelFormat' GetPixelFormat gdi32 1692 imp 'GetPolyFillMode' GetPolyFillMode gdi32 1693 imp 'GetProcessSessionFonts' GetProcessSessionFonts gdi32 1694 imp 'GetROP2' GetROP2 gdi32 1695 imp 'GetRandomRgn' GetRandomRgn gdi32 1696 imp 'GetRasterizerCaps' GetRasterizerCaps gdi32 1697 imp 'GetRegionData' GetRegionData gdi32 1698 imp 'GetRelAbs' GetRelAbs gdi32 1699 imp 'GetRgnBox' GetRgnBox gdi32 1700 imp 'GetStockObject' GetStockObject gdi32 1701 imp 'GetStretchBltMode' GetStretchBltMode gdi32 1702 imp 'GetStringBitmap' GetStringBitmapW gdi32 1704 imp 'GetSuggestedOPMProtectedOutputArraySize' GetSuggestedOPMProtectedOutputArraySize gdi32 1705 imp 'GetSystemPaletteEntries' GetSystemPaletteEntries gdi32 1706 imp 'GetSystemPaletteUse' GetSystemPaletteUse gdi32 1707 imp 'GetTextAlign' GetTextAlign gdi32 1708 imp 'GetTextCharacterExtra' GetTextCharacterExtra gdi32 1709 imp 'GetTextCharset' GetTextCharset gdi32 1710 imp 'GetTextCharsetInfo' GetTextCharsetInfo gdi32 1711 imp 'GetTextColor' GetTextColor gdi32 1712 imp 'GetTextExtentExPoint' GetTextExtentExPointW gdi32 1715 imp 'GetTextExtentExPointI' GetTextExtentExPointI gdi32 1714 imp 'GetTextExtentExPointWPri' GetTextExtentExPointWPri gdi32 1716 imp 'GetTextExtentPoint' GetTextExtentPointW gdi32 1721 imp 'GetTextExtentPoint32W' GetTextExtentPoint32W gdi32 1718 imp 'GetTextExtentPointI' GetTextExtentPointI gdi32 1720 imp 'GetTextFace' GetTextFaceW gdi32 1724 imp 'GetTextFaceAlias' GetTextFaceAliasW gdi32 1723 imp 'GetTextMetrics' GetTextMetricsW gdi32 1726 imp 'GetTransform' GetTransform gdi32 1727 imp 'GetViewportExtEx' GetViewportExtEx gdi32 1728 imp 'GetViewportOrgEx' GetViewportOrgEx gdi32 1729 imp 'GetWinMetaFileBits' GetWinMetaFileBits gdi32 1730 imp 'GetWindowExtEx' GetWindowExtEx gdi32 1731 imp 'GetWindowOrgEx' GetWindowOrgEx gdi32 1732 imp 'GetWorldTransform' GetWorldTransform gdi32 1733 imp 'HT_Get8BPPFormatPalette' HT_Get8BPPFormatPalette gdi32 1734 imp 'HT_Get8BPPMaskPalette' HT_Get8BPPMaskPalette gdi32 1735 imp 'InternalDeleteDC' InternalDeleteDC gdi32 1736 imp 'IntersectClipRect' IntersectClipRect gdi32 1737 imp 'InvertRgn' InvertRgn gdi32 1738 imp 'IsValidEnhMetaRecord' IsValidEnhMetaRecord gdi32 1739 imp 'IsValidEnhMetaRecordOffExt' IsValidEnhMetaRecordOffExt gdi32 1740 imp 'LPtoDP' LPtoDP gdi32 1741 imp 'LineTo' LineTo gdi32 1743 imp 'LpkEditControl' LpkEditControl gdi32 1745 imp 'LpkGetEditControl' LpkGetEditControl gdi32 1748 imp 'LpkpEditControlSize' LpkpEditControlSize gdi32 1755 imp 'LpkpInitializeEditControl' LpkpInitializeEditControl gdi32 1756 imp 'MaskBlt' MaskBlt gdi32 1757 imp 'MirrorRgn' MirrorRgn gdi32 1758 imp 'ModerncoreGdiInit' ModerncoreGdiInit gdi32 1759 imp 'ModifyWorldTransform' ModifyWorldTransform gdi32 1760 imp 'MoveToEx' MoveToEx gdi32 1761 imp 'NamedEscape' NamedEscape gdi32 1762 imp 'OffsetClipRgn' OffsetClipRgn gdi32 1763 imp 'OffsetRgn' OffsetRgn gdi32 1764 imp 'OffsetViewportOrgEx' OffsetViewportOrgEx gdi32 1765 imp 'OffsetWindowOrgEx' OffsetWindowOrgEx gdi32 1766 imp 'PATHOBJ_bEnum' PATHOBJ_bEnum gdi32 1767 imp 'PATHOBJ_bEnumClipLines' PATHOBJ_bEnumClipLines gdi32 1768 imp 'PATHOBJ_vEnumStart' PATHOBJ_vEnumStart gdi32 1769 imp 'PATHOBJ_vEnumStartClipLines' PATHOBJ_vEnumStartClipLines gdi32 1770 imp 'PATHOBJ_vGetBounds' PATHOBJ_vGetBounds gdi32 1771 imp 'PaintRgn' PaintRgn gdi32 1772 imp 'PatBlt' PatBlt gdi32 1773 imp 'PathToRegion' PathToRegion gdi32 1774 imp 'Pie' Pie gdi32 1775 imp 'PlayEnhMetaFile' PlayEnhMetaFile gdi32 1776 imp 'PlayEnhMetaFileRecord' PlayEnhMetaFileRecord gdi32 1777 imp 'PlayMetaFile' PlayMetaFile gdi32 1778 imp 'PlayMetaFileRecord' PlayMetaFileRecord gdi32 1779 imp 'PlgBlt' PlgBlt gdi32 1780 imp 'PolyBezier' PolyBezier gdi32 1781 imp 'PolyBezierTo' PolyBezierTo gdi32 1782 imp 'PolyDraw' PolyDraw gdi32 1783 imp 'PolyPatBlt' PolyPatBlt gdi32 1784 imp 'PolyPolygon' PolyPolygon gdi32 1785 imp 'PolyPolyline' PolyPolyline gdi32 1786 imp 'PolyTextOut' PolyTextOutW gdi32 1788 imp 'Polygon' Polygon gdi32 1789 imp 'Polyline' Polyline gdi32 1790 imp 'PolylineTo' PolylineTo gdi32 1791 imp 'PtInRegion' PtInRegion gdi32 1792 imp 'PtVisible' PtVisible gdi32 1793 imp 'QueryFontAssocStatus' QueryFontAssocStatus gdi32 1794 imp 'RealizePalette' RealizePalette gdi32 1795 imp 'RectInRegion' RectInRegion gdi32 1796 imp 'RectVisible' RectVisible gdi32 1797 imp 'Rectangle' Rectangle gdi32 1798 imp 'RemoveFontMemResourceEx' RemoveFontMemResourceEx gdi32 1799 imp 'RemoveFontResource' RemoveFontResourceW gdi32 1804 imp 'RemoveFontResourceEx' RemoveFontResourceExW gdi32 1802 imp 'RemoveFontResourceTracking' RemoveFontResourceTracking gdi32 1803 imp 'ResetDCW' ResetDCW gdi32 1806 imp 'ResizePalette' ResizePalette gdi32 1807 imp 'RestoreDC' RestoreDC gdi32 1808 2 imp 'RoundRect' RoundRect gdi32 1809 imp 'STROBJ_bEnum' STROBJ_bEnum gdi32 1810 imp 'STROBJ_bEnumPositionsOnly' STROBJ_bEnumPositionsOnly gdi32 1811 imp 'STROBJ_bGetAdvanceWidths' STROBJ_bGetAdvanceWidths gdi32 1812 imp 'STROBJ_dwGetCodePage' STROBJ_dwGetCodePage gdi32 1813 imp 'STROBJ_vEnumStart' STROBJ_vEnumStart gdi32 1814 imp 'SaveDC' SaveDC gdi32 1815 1 imp 'ScaleRgn' ScaleRgn gdi32 1816 imp 'ScaleValues' ScaleValues gdi32 1817 imp 'ScaleViewportExtEx' ScaleViewportExtEx gdi32 1818 imp 'ScaleWindowExtEx' ScaleWindowExtEx gdi32 1819 imp 'SelectBrushLocal' SelectBrushLocal gdi32 1860 imp 'SelectClipPath' SelectClipPath gdi32 1861 imp 'SelectClipRgn' SelectClipRgn gdi32 1862 imp 'SelectFontLocal' SelectFontLocal gdi32 1863 imp 'SelectObject' SelectObject gdi32 1864 2 imp 'SelectPalette' SelectPalette gdi32 1865 imp 'SetAbortProc' SetAbortProc gdi32 1866 imp 'SetArcDirection' SetArcDirection gdi32 1867 imp 'SetBitmapAttributes' SetBitmapAttributes gdi32 1868 imp 'SetBitmapBits' SetBitmapBits gdi32 1869 imp 'SetBitmapDimensionEx' SetBitmapDimensionEx gdi32 1870 imp 'SetBkColor' SetBkColor gdi32 1871 imp 'SetBkMode' SetBkMode gdi32 1872 2 imp 'SetBoundsRect' SetBoundsRect gdi32 1873 imp 'SetBrushAttributes' SetBrushAttributes gdi32 1874 imp 'SetBrushOrgEx' SetBrushOrgEx gdi32 1875 imp 'SetColorAdjustment' SetColorAdjustment gdi32 1876 imp 'SetColorSpace' SetColorSpace gdi32 1877 imp 'SetDCBrushColor' SetDCBrushColor gdi32 1878 imp 'SetDCDpiScaleValue' SetDCDpiScaleValue gdi32 1879 imp 'SetDCPenColor' SetDCPenColor gdi32 1880 imp 'SetDIBColorTable' SetDIBColorTable gdi32 1881 imp 'SetDIBits' SetDIBits gdi32 1882 imp 'SetDIBitsToDevice' SetDIBitsToDevice gdi32 1883 imp 'SetDeviceGammaRamp' SetDeviceGammaRamp gdi32 1884 imp 'SetEnhMetaFileBits' SetEnhMetaFileBits gdi32 1885 imp 'SetFontEnumeration' SetFontEnumeration gdi32 1886 imp 'SetGraphicsMode' SetGraphicsMode gdi32 1887 imp 'SetICMMode' SetICMMode gdi32 1888 imp 'SetICMProfile' SetICMProfileW gdi32 1890 imp 'SetLayout' SetLayout gdi32 1891 imp 'SetLayoutWidth' SetLayoutWidth gdi32 1892 imp 'SetMagicColors' SetMagicColors gdi32 1893 imp 'SetMapMode' SetMapMode gdi32 1894 imp 'SetMapperFlags' SetMapperFlags gdi32 1895 imp 'SetMetaFileBitsEx' SetMetaFileBitsEx gdi32 1896 imp 'SetMetaRgn' SetMetaRgn gdi32 1897 imp 'SetMiterLimit' SetMiterLimit gdi32 1898 imp 'SetOPMSigningKeyAndSequenceNumbers' SetOPMSigningKeyAndSequenceNumbers gdi32 1899 imp 'SetPaletteEntries' SetPaletteEntries gdi32 1900 imp 'SetPixel' SetPixel gdi32 1901 4 imp 'SetPixelFormat' SetPixelFormat gdi32 1902 3 imp 'SetPixelV' SetPixelV gdi32 1903 imp 'SetPolyFillMode' SetPolyFillMode gdi32 1904 imp 'SetROP2' SetROP2 gdi32 1905 imp 'SetRectRgn' SetRectRgn gdi32 1906 imp 'SetRelAbs' SetRelAbs gdi32 1907 imp 'SetStretchBltMode' SetStretchBltMode gdi32 1908 imp 'SetSystemPaletteUse' SetSystemPaletteUse gdi32 1909 imp 'SetTextAlign' SetTextAlign gdi32 1910 2 imp 'SetTextCharacterExtra' SetTextCharacterExtra gdi32 1911 imp 'SetTextColor' SetTextColor gdi32 1912 2 imp 'SetTextJustification' SetTextJustification gdi32 1913 3 imp 'SetViewportExtEx' SetViewportExtEx gdi32 1914 imp 'SetViewportOrgEx' SetViewportOrgEx gdi32 1915 imp 'SetVirtualResolution' SetVirtualResolution gdi32 1916 imp 'SetWinMetaFileBits' SetWinMetaFileBits gdi32 1917 imp 'SetWindowExtEx' SetWindowExtEx gdi32 1918 imp 'SetWindowOrgEx' SetWindowOrgEx gdi32 1919 imp 'SetWorldTransform' SetWorldTransform gdi32 1920 imp 'StartDoc' StartDocW gdi32 1922 imp 'StartFormPage' StartFormPage gdi32 1923 imp 'StartPage' StartPage gdi32 1924 imp 'StretchBlt' StretchBlt gdi32 1925 imp 'StretchDIBits' StretchDIBits gdi32 1926 imp 'StrokeAndFillPath' StrokeAndFillPath gdi32 1927 imp 'StrokePath' StrokePath gdi32 1928 imp 'SwapBuffers' SwapBuffers gdi32 1929 1 imp 'TextOut' TextOutW gdi32 1931 imp 'TranslateCharsetInfo' TranslateCharsetInfo gdi32 1932 imp 'UnloadNetworkFonts' UnloadNetworkFonts gdi32 1933 imp 'UnrealizeObject' UnrealizeObject gdi32 1934 imp 'UpdateColors' UpdateColors gdi32 1935 imp 'UpdateICMRegKey' UpdateICMRegKeyW gdi32 1937 imp 'WidenPath' WidenPath gdi32 1941 imp 'XFORMOBJ_bApplyXform' XFORMOBJ_bApplyXform gdi32 1942 imp 'XFORMOBJ_iGetXform' XFORMOBJ_iGetXform gdi32 1943 imp 'XLATEOBJ_cGetPalette' XLATEOBJ_cGetPalette gdi32 1944 imp 'XLATEOBJ_hGetColorTransform' XLATEOBJ_hGetColorTransform gdi32 1945 imp 'XLATEOBJ_iXlate' XLATEOBJ_iXlate gdi32 1946 imp 'XLATEOBJ_piVector' XLATEOBJ_piVector gdi32 1947 imp 'cGetTTFFromFOT' cGetTTFFromFOT gdi32 1952 imp 'fpClosePrinter' fpClosePrinter gdi32 1953 imp 'gMaxGdiHandleCount' gMaxGdiHandleCount gdi32 1955 imp 'gW32PID' gW32PID gdi32 1956 imp 'g_systemCallFilterId' g_systemCallFilterId gdi32 1957 imp 'gdiPlaySpoolStream' gdiPlaySpoolStream gdi32 1958 # COMDLG32.DLL # # Name Actual DLL Hint Arity imp 'ChooseColor' ChooseColorW comdlg32 103 1 imp 'ChooseFont' ChooseFontW comdlg32 105 1 imp 'CommDlgExtendedError' CommDlgExtendedError comdlg32 106 imp 'DllCanUnloadNow' DllCanUnloadNow comdlg32 107 imp 'DllGetClassObject' DllGetClassObject comdlg32 108 imp 'FindText' FindTextW comdlg32 110 imp 'GetFileTitle' GetFileTitleW comdlg32 112 3 imp 'GetOpenFileName' GetOpenFileNameW comdlg32 114 1 imp 'GetSaveFileName' GetSaveFileNameW comdlg32 116 1 imp 'LoadAlterBitmap' LoadAlterBitmap comdlg32 117 imp 'PageSetupDlg' PageSetupDlgW comdlg32 119 imp 'PrintDlg' PrintDlgW comdlg32 123 1 imp 'PrintDlgEx' PrintDlgExW comdlg32 122 imp 'ReplaceText' ReplaceTextW comdlg32 125 1 imp 'Ssync_ANSI_UNICODE_Struct_For_WOW' Ssync_ANSI_UNICODE_Struct_For_WOW comdlg32 126 imp 'WantArrows' WantArrows comdlg32 127 # MSWSOCK.DLL # # Name Actual DLL Hint Arity imp 'AcceptEx' AcceptEx MsWSock 0 8 imp 'DisconnectEx' DisconnectEx MsWSock 0 4 imp 'GetAcceptExSockaddrs' GetAcceptExSockaddrs MsWSock 0 8 imp 'TransmitFile' TransmitFile MsWSock 0 7 imp 'WSARecvEx' WSARecvEx MsWSock 0 4 # WS2_32.DLL # # Name Actual DLL Hint Arity imp 'FreeAddrInfo' FreeAddrInfoW ws2_32 27 1 imp 'FreeAddrInfoEx' FreeAddrInfoExW ws2_32 26 1 imp 'GetAddrInfo' GetAddrInfoW ws2_32 32 4 imp 'GetAddrInfoEx' GetAddrInfoExW ws2_32 31 10 imp 'GetAddrInfoExCancel' GetAddrInfoExCancel ws2_32 29 1 imp 'GetAddrInfoExOverlappedResult' GetAddrInfoExOverlappedResult ws2_32 30 1 imp 'GetHostName' GetHostNameW ws2_32 33 2 imp 'GetNameInfo' GetNameInfoW ws2_32 34 7 imp 'SetAddrInfoEx' SetAddrInfoExW ws2_32 38 12 imp 'WSAAccept' WSAAccept ws2_32 41 5 imp 'WSAAddressToString' WSAAddressToStringW ws2_32 43 5 imp 'WSAAsyncGetHostByAddr' WSAAsyncGetHostByAddr ws2_32 102 7 imp 'WSAAsyncGetHostByName' WSAAsyncGetHostByName ws2_32 103 5 imp 'WSAAsyncGetProtoByName' WSAAsyncGetProtoByName ws2_32 105 5 imp 'WSAAsyncGetProtoByNumber' WSAAsyncGetProtoByNumber ws2_32 104 5 imp 'WSAAsyncGetServByName' WSAAsyncGetServByName ws2_32 107 imp 'WSAAsyncGetServByPort' WSAAsyncGetServByPort ws2_32 106 imp 'WSAAsyncSelect' WSAAsyncSelect ws2_32 101 imp 'WSACancelAsyncRequest' WSACancelAsyncRequest ws2_32 108 imp 'WSACancelBlockingCall' WSACancelBlockingCall ws2_32 113 imp 'WSACleanup' WSACleanup ws2_32 116 0 imp 'WSACloseEvent' WSACloseEvent ws2_32 45 1 imp 'WSAConnect' WSAConnect ws2_32 46 7 imp 'WSAConnectByList' WSAConnectByList ws2_32 47 8 imp 'WSAConnectByName' WSAConnectByNameW ws2_32 49 9 imp 'WSACreateEvent' WSACreateEvent ws2_32 50 0 imp 'WSADuplicateSocket' WSADuplicateSocketW ws2_32 59 3 imp 'WSAEnumNameSpaceProviders' WSAEnumNameSpaceProvidersW ws2_32 63 2 imp 'WSAEnumNameSpaceProvidersEx' WSAEnumNameSpaceProvidersExW ws2_32 62 2 imp 'WSAEnumNetworkEvents' WSAEnumNetworkEvents ws2_32 64 3 imp 'WSAEnumProtocols' WSAEnumProtocolsW ws2_32 66 3 imp 'WSAEventSelect' WSAEventSelect ws2_32 67 3 imp 'WSAGetLastError' WSAGetLastError ws2_32 111 0 imp 'WSAGetOverlappedResult' WSAGetOverlappedResult ws2_32 68 5 imp 'WSAGetQOSByName' WSAGetQOSByName ws2_32 69 3 imp 'WSAGetServiceClassInfo' WSAGetServiceClassInfoW ws2_32 71 4 imp 'WSAGetServiceClassNameByClassId' WSAGetServiceClassNameByClassIdW ws2_32 73 3 imp 'WSAInstallServiceClass' WSAInstallServiceClassW ws2_32 77 1 imp 'WSAIoctl' WSAIoctl ws2_32 78 9 imp 'WSAJoinLeaf' WSAJoinLeaf ws2_32 79 8 imp 'WSALookupServiceBegin' WSALookupServiceBeginW ws2_32 81 3 imp 'WSALookupServiceEnd' WSALookupServiceEnd ws2_32 82 1 imp 'WSALookupServiceNext' WSALookupServiceNextW ws2_32 84 4 imp 'WSANSPIoctl' WSANSPIoctl ws2_32 85 8 imp 'WSAPoll' WSAPoll ws2_32 88 3 imp 'WSAProviderCompleteAsyncCall' WSAProviderCompleteAsyncCall ws2_32 89 imp 'WSAProviderConfigChange' WSAProviderConfigChange ws2_32 90 3 imp 'WSARecvDisconnect' WSARecvDisconnect ws2_32 92 2 imp 'WSARemoveServiceClass' WSARemoveServiceClass ws2_32 94 1 imp 'WSAResetEvent' WSAResetEvent ws2_32 95 1 imp 'WSASend' WSASend ws2_32 96 7 imp 'WSASendDisconnect' WSASendDisconnect ws2_32 97 2 imp 'WSASendMsg' WSASendMsg ws2_32 98 6 imp 'WSASendTo' WSASendTo ws2_32 99 9 imp 'WSASetBlockingHook' WSASetBlockingHook ws2_32 109 imp 'WSASetEvent' WSASetEvent ws2_32 100 1 imp 'WSASetLastError' WSASetLastError ws2_32 112 1 imp 'WSASetService' WSASetServiceW ws2_32 118 3 imp 'WSASocket' WSASocketW ws2_32 120 6 imp 'WSAStartup' WSAStartup ws2_32 115 2 imp 'WSAStringToAddress' WSAStringToAddressW ws2_32 122 imp 'WSAUnadvertiseProvider' WSAUnadvertiseProvider ws2_32 123 imp 'WSAUnhookBlockingHook' WSAUnhookBlockingHook ws2_32 110 imp 'WSApSetPostRoutine' WSApSetPostRoutine ws2_32 24 imp 'WSCDeinstallProvider' WSCDeinstallProvider ws2_32 125 imp 'WSCDeinstallProvider32' WSCDeinstallProvider32 ws2_32 126 imp 'WSCDeinstallProviderEx' WSCDeinstallProviderEx ws2_32 127 imp 'WSCEnableNSProvider' WSCEnableNSProvider ws2_32 128 imp 'WSCEnableNSProvider32' WSCEnableNSProvider32 ws2_32 129 imp 'WSCEnumNameSpaceProviders32' WSCEnumNameSpaceProviders32 ws2_32 130 imp 'WSCEnumNameSpaceProvidersEx32' WSCEnumNameSpaceProvidersEx32 ws2_32 131 imp 'WSCEnumProtocols' WSCEnumProtocols ws2_32 132 imp 'WSCEnumProtocols32' WSCEnumProtocols32 ws2_32 133 imp 'WSCEnumProtocolsEx' WSCEnumProtocolsEx ws2_32 134 imp 'WSCGetApplicationCategory' WSCGetApplicationCategory ws2_32 135 imp 'WSCGetApplicationCategoryEx' WSCGetApplicationCategoryEx ws2_32 136 imp 'WSCGetProviderInfo' WSCGetProviderInfo ws2_32 137 imp 'WSCGetProviderInfo32' WSCGetProviderInfo32 ws2_32 138 imp 'WSCGetProviderPath' WSCGetProviderPath ws2_32 139 imp 'WSCGetProviderPath32' WSCGetProviderPath32 ws2_32 140 imp 'WSCInstallNameSpace' WSCInstallNameSpace ws2_32 141 imp 'WSCInstallNameSpace32' WSCInstallNameSpace32 ws2_32 142 imp 'WSCInstallNameSpaceEx' WSCInstallNameSpaceEx ws2_32 143 imp 'WSCInstallNameSpaceEx2' WSCInstallNameSpaceEx2 ws2_32 144 imp 'WSCInstallNameSpaceEx32' WSCInstallNameSpaceEx32 ws2_32 145 imp 'WSCInstallProvider' WSCInstallProvider ws2_32 146 imp 'WSCInstallProvider64_32' WSCInstallProvider64_32 ws2_32 147 imp 'WSCInstallProviderAndChains64_32' WSCInstallProviderAndChains64_32 ws2_32 148 imp 'WSCInstallProviderEx' WSCInstallProviderEx ws2_32 149 imp 'WSCSetApplicationCategory' WSCSetApplicationCategory ws2_32 150 imp 'WSCSetApplicationCategoryEx' WSCSetApplicationCategoryEx ws2_32 152 imp 'WSCSetProviderInfo' WSCSetProviderInfo ws2_32 153 imp 'WSCSetProviderInfo32' WSCSetProviderInfo32 ws2_32 154 imp 'WSCUnInstallNameSpace' WSCUnInstallNameSpace ws2_32 155 imp 'WSCUnInstallNameSpace32' WSCUnInstallNameSpace32 ws2_32 156 imp 'WSCUnInstallNameSpaceEx2' WSCUnInstallNameSpaceEx2 ws2_32 157 imp 'WSCUpdateProvider' WSCUpdateProvider ws2_32 158 imp 'WSCUpdateProvider32' WSCUpdateProvider32 ws2_32 159 imp 'WSCUpdateProviderEx' WSCUpdateProviderEx ws2_32 160 imp 'WSCWriteNameSpaceOrder' WSCWriteNameSpaceOrder ws2_32 161 imp 'WSCWriteNameSpaceOrder32' WSCWriteNameSpaceOrder32 ws2_32 162 imp 'WSCWriteProviderOrder' WSCWriteProviderOrder ws2_32 163 imp 'WSCWriteProviderOrder32' WSCWriteProviderOrder32 ws2_32 164 imp 'WSCWriteProviderOrderEx' WSCWriteProviderOrderEx ws2_32 165 imp '__sys_accept_nt' accept ws2_32 1 3 # we're using WSAAccept() imp '__sys_bind_nt' bind ws2_32 2 3 imp '__sys_closesocket_nt' closesocket ws2_32 3 1 imp '__sys_connect_nt' connect ws2_32 4 imp '__sys_getpeername_nt' getpeername ws2_32 5 3 imp '__sys_getsockname_nt' getsockname ws2_32 6 3 imp '__sys_getsockopt_nt' getsockopt ws2_32 7 5 imp '__sys_ioctlsocket_nt' ioctlsocket ws2_32 10 3 imp '__sys_listen_nt' listen ws2_32 13 2 imp '__sys_recvfrom_nt' recvfrom ws2_32 17 6 # we're using WSARecvFrom() imp '__sys_select_nt' select ws2_32 18 5 imp '__sys_sendto_nt' sendto ws2_32 20 6 # we're using WSASendTo() imp '__sys_setsockopt_nt' setsockopt ws2_32 21 5 imp '__sys_shutdown_nt' shutdown ws2_32 22 2 imp '__sys_socket_nt' socket ws2_32 23 3 imp 'sys_freeaddrinfo_nt' freeaddrinfo ws2_32 190 imp 'sys_getaddrinfo_nt' getaddrinfo ws2_32 191 imp 'sys_gethostbyaddr_nt' gethostbyaddr ws2_32 51 imp 'sys_gethostbyname_nt' gethostbyname ws2_32 52 imp 'sys_gethostname_nt' gethostname ws2_32 57 imp 'sys_getnameinfo_nt' getnameinfo ws2_32 192 imp 'sys_getprotobyname_nt' getprotobyname ws2_32 53 imp 'sys_getprotobynumber_nt' getprotobynumber ws2_32 54 imp 'sys_getservbyname_nt' getservbyname ws2_32 55 imp 'sys_getservbyport_nt' getservbyport ws2_32 56 imp '__WSARecv' WSARecv ws2_32 91 7 imp '__WSARecvFrom' WSARecvFrom ws2_32 93 9 imp '__WSAWaitForMultipleEvents' WSAWaitForMultipleEvents ws2_32 124 5 imp '__sys_recv_nt' recv ws2_32 16 4 # we're using WSARecvFrom() imp '__sys_send_nt' send ws2_32 19 4 # we're using WSASendTo() # IPHLPAPI.DLL # # Name Actual DLL Hint Arity imp 'AddIPAddress' AddIPAddress iphlpapi 0 5 imp 'AllocateAndGetTcpExTableFromStack' AllocateAndGetTcpExTableFromStack iphlpapi 0 5 imp 'AllocateAndGetUdpExTableFromStack' AllocateAndGetUdpExTableFromStack iphlpapi 0 5 imp 'CancelIPChangeNotify' CancelIPChangeNotify iphlpapi 0 1 imp 'CaptureInterfaceHardwareCrossTimestamp' CaptureInterfaceHardwareCrossTimestamp iphlpapi 0 2 imp 'CreateIpForwardEntry' CreateIpForwardEntry iphlpapi 0 1 imp 'CreateIpNetEntry' CreateIpNetEntry iphlpapi 0 imp 'CreatePersistentTcpPortReservation' CreatePersistentTcpPortReservation iphlpapi 0 imp 'CreatePersistentUdpPortReservation' CreatePersistentUdpPortReservation iphlpapi 0 imp 'CreateProxyArpEntry' CreateProxyArpEntry iphlpapi 0 imp 'DeleteIPAddress' DeleteIPAddress iphlpapi 0 imp 'DeleteIpForwardEntry' DeleteIpForwardEntry iphlpapi 0 imp 'DeleteIpNetEntry' DeleteIpNetEntry iphlpapi 0 imp 'DeletePersistentTcpPortReservation' DeletePersistentTcpPortReservation iphlpapi 0 imp 'DeletePersistentUdpPortReservation' DeletePersistentUdpPortReservation iphlpapi 0 imp 'DeleteProxyArpEntry' DeleteProxyArpEntry iphlpapi 0 imp 'DisableMediaSense' DisableMediaSense iphlpapi 0 imp 'EnableRouter' EnableRouter iphlpapi 0 imp 'FlushIpNetTable' FlushIpNetTable iphlpapi 0 1 imp 'GetAdapterIndex' GetAdapterIndex iphlpapi 0 2 imp 'GetAdapterOrderMap' GetAdapterOrderMap iphlpapi 0 0 imp 'GetAdaptersAddresses' GetAdaptersAddresses iphlpapi 67 5 imp 'GetAdaptersInfo' GetAdaptersInfo iphlpapi 0 2 imp 'GetBestInterface' GetBestInterface iphlpapi 0 2 imp 'GetBestInterfaceEx' GetBestInterfaceEx iphlpapi 0 2 imp 'GetBestRoute' GetBestRoute iphlpapi 0 3 imp 'GetExtendedTcpTable' GetExtendedTcpTable iphlpapi 0 imp 'GetExtendedUdpTable' GetExtendedUdpTable iphlpapi 0 imp 'GetFriendlyIfIndex' GetFriendlyIfIndex iphlpapi 0 imp 'GetIcmpStatistics' GetIcmpStatistics iphlpapi 0 imp 'GetIcmpStatisticsEx' GetIcmpStatisticsEx iphlpapi 0 imp 'GetIfEntry' GetIfEntry iphlpapi 0 imp 'GetIfTable' GetIfTable iphlpapi 0 imp 'GetInterfaceActiveTimestampCapabilities' GetInterfaceActiveTimestampCapabilities iphlpapi 0 imp 'GetInterfaceInfo' GetInterfaceInfo iphlpapi 0 imp 'GetInterfaceSupportedTimestampCapabilities' GetInterfaceSupportedTimestampCapabilities iphlpapi 0 imp 'GetIpAddrTable' GetIpAddrTable iphlpapi 0 imp 'GetIpErrorString' GetIpErrorString iphlpapi 0 imp 'GetIpForwardTable' GetIpForwardTable iphlpapi 0 imp 'GetIpNetTable' GetIpNetTable iphlpapi 0 imp 'GetIpStatistics' GetIpStatistics iphlpapi 0 imp 'GetIpStatisticsEx' GetIpStatisticsEx iphlpapi 0 imp 'GetNetworkParams' GetNetworkParams iphlpapi 0 imp 'GetNumberOfInterfaces' GetNumberOfInterfaces iphlpapi 0 1 imp 'GetOwnerModuleFromTcp6Entry' GetOwnerModuleFromTcp6Entry iphlpapi 0 imp 'GetOwnerModuleFromTcpEntry' GetOwnerModuleFromTcpEntry iphlpapi 0 imp 'GetOwnerModuleFromUdp6Entry' GetOwnerModuleFromUdp6Entry iphlpapi 0 imp 'GetOwnerModuleFromUdpEntry' GetOwnerModuleFromUdpEntry iphlpapi 0 imp 'GetPerAdapterInfo' GetPerAdapterInfo iphlpapi 0 imp 'GetPerTcp6ConnectionEStats' GetPerTcp6ConnectionEStats iphlpapi 0 imp 'GetPerTcpConnectionEStats' GetPerTcpConnectionEStats iphlpapi 0 imp 'GetRTTAndHopCount' GetRTTAndHopCount iphlpapi 0 imp 'GetTcp6Table' GetTcp6Table iphlpapi 0 imp 'GetTcp6Table2' GetTcp6Table2 iphlpapi 0 imp 'GetTcpStatistics' GetTcpStatistics iphlpapi 0 imp 'GetTcpStatisticsEx' GetTcpStatisticsEx iphlpapi 0 imp 'GetTcpStatisticsEx2' GetTcpStatisticsEx2 iphlpapi 0 imp 'GetTcpTable' GetTcpTable iphlpapi 0 3 imp 'GetTcpTable2' GetTcpTable2 iphlpapi 0 3 imp 'GetUdp6Table' GetUdp6Table iphlpapi 0 imp 'GetUdpStatistics' GetUdpStatistics iphlpapi 0 imp 'GetUdpStatisticsEx' GetUdpStatisticsEx iphlpapi 0 imp 'GetUdpStatisticsEx2' GetUdpStatisticsEx2 iphlpapi 0 imp 'GetUdpTable' GetUdpTable iphlpapi 0 imp 'GetUniDirectionalAdapterInfo' GetUniDirectionalAdapterInfo iphlpapi 0 imp 'IpReleaseAddress' IpReleaseAddress iphlpapi 0 imp 'IpRenewAddress' IpRenewAddress iphlpapi 0 imp 'LookupPersistentTcpPortReservation' LookupPersistentTcpPortReservation iphlpapi 0 imp 'LookupPersistentUdpPortReservation' LookupPersistentUdpPortReservation iphlpapi 0 imp 'NhpAllocateAndGetInterfaceInfoFromStack' NhpAllocateAndGetInterfaceInfoFromStack iphlpapi 0 imp 'NotifyAddrChange' NotifyAddrChange iphlpapi 0 imp 'NotifyRouteChange' NotifyRouteChange iphlpapi 0 imp 'ParseNetworkString' ParseNetworkString iphlpapi 0 imp 'RegisterInterfaceTimestampConfigChange' RegisterInterfaceTimestampConfigChange iphlpapi 0 imp 'ResolveNeighbor' ResolveNeighbor iphlpapi 0 imp 'RestoreMediaSense' RestoreMediaSense iphlpapi 0 imp 'SendARP' SendARP iphlpapi 0 imp 'SetIfEntry' SetIfEntry iphlpapi 0 imp 'SetIpForwardEntry' SetIpForwardEntry iphlpapi 0 imp 'SetIpNetEntry' SetIpNetEntry iphlpapi 0 imp 'SetIpStatistics' SetIpStatistics iphlpapi 0 imp 'SetIpStatisticsEx' SetIpStatisticsEx iphlpapi 0 imp 'SetIpTTL' SetIpTTL iphlpapi 0 imp 'SetPerTcp6ConnectionEStats' SetPerTcp6ConnectionEStats iphlpapi 0 imp 'SetPerTcpConnectionEStats' SetPerTcpConnectionEStats iphlpapi 0 imp 'SetTcpEntry' SetTcpEntry iphlpapi 0 imp 'UnenableRouter' UnenableRouter iphlpapi 0 imp 'UnregisterInterfaceTimestampConfigChange' UnregisterInterfaceTimestampConfigChange iphlpapi 0 # POWRPROF.DLL # # Name Actual DLL Hint Arity imp 'SetSuspendState' SetSuspendState PowrProf 0 3 # PDH.DLL # # Name Actual DLL Hint Arity imp 'CounterPathCallBack' CounterPathCallBack pdh 0 # Applications implement the CounterPathCallBack function to process the counter path strings returned by the Browse dialog box. imp 'LoadPerfCounterTextStrings' LoadPerfCounterTextStringsW pdh 0 # Loads onto the computer the performance objects and counters defined in the specified initialization file. imp 'PdhAddCounter' PdhAddCounterW pdh 0 # Adds the specified counter to the query. imp 'PdhAddEnglishCounter' PdhAddEnglishCounterW pdh 0 4 # Adds the specified language-neutral counter to the query. imp 'PdhBindInputDataSource' PdhBindInputDataSourceW pdh 0 # Binds one or more binary log files together for reading log data. imp 'PdhBrowseCounters' PdhBrowseCountersW pdh 0 # Displays a Browse Counters dialog box that the user can use to select one or more counters that they want to add to the query. To use handles to data sources, use the PdhBrowseCountersH function. imp 'PdhBrowseCountersH' PdhBrowseCountersHW pdh 0 # Displays a Browse Counters dialog box that the user can use to select one or more counters that they want to add to the query. This function is identical to the PdhBrowseCounters function, except that it supports the use of handles to data sources. imp 'PdhCalculateCounterFromRawValue' PdhCalculateCounterFromRawValue pdh 0 # Calculates the displayable value of two raw counter values. imp 'PdhCloseLog' PdhCloseLog pdh 0 # Closes the specified log file. imp 'PdhCloseQuery' PdhCloseQuery pdh 0 # Closes all counters contained in the specified query, closes all handles related to the query, and frees all memory associated with the query. imp 'PdhCollectQueryData' PdhCollectQueryData pdh 0 # Collects the current raw data value for all counters in the specified query and updates the status code of each counter. imp 'PdhCollectQueryDataEx' PdhCollectQueryDataEx pdh 0 3 # Uses a separate thread to collect the current raw data value for all counters in the specified query. The function then signals the application-defined event and waits the specified time interval before returning. imp 'PdhCollectQueryDataWithTime' PdhCollectQueryDataWithTime pdh 0 # Collects the current raw data value for all counters in the specified query and updates the status code of each counter. imp 'PdhComputeCounterStatistics' PdhComputeCounterStatistics pdh 0 # Computes statistics for a counter from an array of raw values. imp 'PdhConnectMachine' PdhConnectMachineW pdh 0 # Connects to the specified computer. imp 'PdhEnumLogSetNames' PdhEnumLogSetNamesW pdh 0 # Enumerates the names of the log sets within the DSN. imp 'PdhEnumMachines' PdhEnumMachinesW pdh 0 # Returns a list of the computer names associated with counters in a log file. imp 'PdhEnumMachinesH' PdhEnumMachinesHW pdh 0 # Returns a list of the computer names associated with counters in a log file. imp 'PdhEnumObjectItems' PdhEnumObjectItemsW pdh 0 # Returns the specified object's counter and instance names that exist on the specified computer or in the specified log file. To use handles to data sources, use the PdhEnumObjectItemsH function. imp 'PdhEnumObjectItemsH' PdhEnumObjectItemsHW pdh 0 # Returns the specified object's counter and instance names that exist on the specified computer or in the specified log file. This function is identical to the PdhEnumObjectItems function, except that it supports the use of handles to data sources. imp 'PdhEnumObjects' PdhEnumObjectsW pdh 0 # Returns a list of objects available on the specified computer or in the specified log file. To use handles to data sources, use the PdhEnumObjectsH function. imp 'PdhEnumObjectsH' PdhEnumObjectsHW pdh 0 # Returns a list of objects available on the specified computer or in the specified log file.This function is identical to PdhEnumObjects, except that it supports the use of handles to data sources. imp 'PdhExpandCounterPath' PdhExpandCounterPathW pdh 0 # Examines the specified computer (or local computer if none is specified) for counters and instances of counters that match the wildcard strings in the counter path. imp 'PdhExpandWildCardPath' PdhExpandWildCardPathW pdh 0 # Examines the specified computer or log file and returns those counter paths that match the given counter path which contains wildcard characters. To use handles to data sources, use the PdhExpandWildCardPathH function. imp 'PdhExpandWildCardPathH' PdhExpandWildCardPathHW pdh 0 # Examines the specified computer or log file and returns those counter paths that match the given counter path which contains wildcard characters.This function is identical to the PdhExpandWildCardPath function, except that it supports the use of handles to data sources. imp 'PdhFormatFromRawValue' PdhFormatFromRawValue pdh 0 # Computes a displayable value for the given raw counter values. imp 'PdhGetCounterInfo' PdhGetCounterInfoW pdh 0 # Retrieves information about a counter, such as data size, counter type, path, and user-supplied data values. imp 'PdhGetCounterTimeBase' PdhGetCounterTimeBase pdh 0 # Returns the time base of the specified counter. imp 'PdhGetDataSourceTimeRange' PdhGetDataSourceTimeRangeW pdh 0 # Determines the time range, number of entries and, if applicable, the size of the buffer containing the performance data from the specified input source. To use handles to data sources, use the PdhGetDataSourceTimeRangeH function. imp 'PdhGetDataSourceTimeRangeH' PdhGetDataSourceTimeRangeH pdh 0 # Determines the time range, number of entries and, if applicable, the size of the buffer containing the performance data from the specified input source.This function is identical to the PdhGetDataSourceTimeRange function, except that it supports the use of handles to data sources. imp 'PdhGetDefaultPerfCounter' PdhGetDefaultPerfCounterW pdh 0 # Retrieves the name of the default counter for the specified object. This name can be used to set the initial counter selection in the Browse Counter dialog box. To use handles to data sources, use the PdhGetDefaultPerfCounterH function. imp 'PdhGetDefaultPerfCounterH' PdhGetDefaultPerfCounterHW pdh 0 # Retrieves the name of the default counter for the specified object. imp 'PdhGetDefaultPerfObject' PdhGetDefaultPerfObjectW pdh 0 # Retrieves the name of the default object. This name can be used to set the initial object selection in the Browse Counter dialog box. To use handles to data sources, use the PdhGetDefaultPerfObjectH function. imp 'PdhGetDefaultPerfObjectH' PdhGetDefaultPerfObjectHW pdh 0 # Retrieves the name of the default object. imp 'PdhGetDllVersion' PdhGetDllVersion pdh 0 # Returns the version of the currently installed Pdh.dll file. imp 'PdhGetFormattedCounterArray' PdhGetFormattedCounterArrayW pdh 0 # Returns an array of formatted counter values. Use this function when you want to format the counter values of a counter that contains a wildcard character for the instance name. imp 'PdhGetFormattedCounterValue' PdhGetFormattedCounterValue pdh 0 4 # Computes a displayable value for the specified counter. imp 'PdhGetLogFileSize' PdhGetLogFileSize pdh 0 # Returns the size of the specified log file. imp 'PdhGetRawCounterArray' PdhGetRawCounterArrayW pdh 0 # Returns an array of raw values from the specified counter. Use this function when you want to retrieve the raw counter values of a counter that contains a wildcard character for the instance name. imp 'PdhGetRawCounterValue' PdhGetRawCounterValue pdh 0 # Returns the current raw value of the counter. imp 'PdhIsRealTimeQuery' PdhIsRealTimeQuery pdh 0 # Determines if the specified query is a real-time query. imp 'PdhLookupPerfIndexByName' PdhLookupPerfIndexByNameW pdh 0 # Returns the counter index corresponding to the specified counter name. imp 'PdhLookupPerfNameByIndex' PdhLookupPerfNameByIndexW pdh 0 # Returns the performance object name or counter name corresponding to the specified index. imp 'PdhMakeCounterPath' PdhMakeCounterPathW pdh 0 # Creates a full counter path using the members specified in the PDH_COUNTER_PATH_ELEMENTS structure. imp 'PdhOpenLog' PdhOpenLogW pdh 0 # Opens the specified log file for reading or writing. imp 'PdhOpenQuery' PdhOpenQueryW pdh 0 3 # Creates a new query that is used to manage the collection of performance data. To use handles to data sources, use the PdhOpenQueryH function. imp 'PdhOpenQueryH' PdhOpenQueryH pdh 0 # Creates a new query that is used to manage the collection of performance data. This function is identical to the PdhOpenQuery function, except that it supports the use of handles to data sources. imp 'PdhParseCounterPath' PdhParseCounterPathW pdh 0 # Parses the elements of the counter path and stores the results in the PDH_COUNTER_PATH_ELEMENTS structure. imp 'PdhParseInstanceName' PdhParseInstanceNameW pdh 0 # Parses the elements of an instance string. imp 'PdhReadRawLogRecord' PdhReadRawLogRecord pdh 0 # Reads the information in the specified binary trace log file. imp 'PdhRemoveCounter' PdhRemoveCounter pdh 0 # Removes a counter from a query. imp 'PdhSelectDataSource' PdhSelectDataSourceW pdh 0 # Displays a dialog window that prompts the user to specify the source of the performance data. imp 'PdhSetCounterScaleFactor' PdhSetCounterScaleFactor pdh 0 # Sets the scale factor that is applied to the calculated value of the specified counter when you request the formatted counter value. If the PDH_FMT_NOSCALE flag is set, then this scale factor is ignored. imp 'PdhSetDefaultRealTimeDataSource' PdhSetDefaultRealTimeDataSource pdh 0 # Specifies the source of the real-time data. imp 'PdhSetQueryTimeRange' PdhSetQueryTimeRange pdh 0 # Limits the samples that you can read from a log file to those within the specified time range, inclusively. imp 'PdhUpdateLog' PdhUpdateLogW pdh 0 # Collects counter data for the current query and writes the data to the log file. imp 'PdhUpdateLogFileCatalog' PdhUpdateLogFileCatalog pdh 0 # Synchronizes the information in the log file catalog with the performance data in the log file. imp 'PdhValidatePath' PdhValidatePathW pdh 0 # Validates that the counter is present on the computer specified in the counter path. imp 'PdhValidatePathEx' PdhValidatePathExW pdh 0 # Validates that the specified counter is present on the computer or in the log file. imp 'PerfAddCounters' PerfAddCounters pdh 0 # Adds performance counter specifications to the specified query. imp 'PerfCloseQueryHandle' PerfCloseQueryHandle pdh 0 # Closes a query handle that you opened by calling PerfOpenQueryHandle. imp 'PerfCreateInstance' PerfCreateInstance pdh 0 # Creates an instance of the specified counter set. imp 'PerfDecrementULongCounterValue' PerfDecrementULongCounterValue pdh 0 # Decrements the value of a counter whose value is a 4-byte unsigned integer. Providers use this function. imp 'PerfDecrementULongLongCounterValue' PerfDecrementULongLongCounterValue pdh 0 # Decrements the value of a counter whose value is an 8-byte unsigned integer. Providers use this function. imp 'PerfDeleteCounters' PerfDeleteCounters pdh 0 # Removes the specified performance counter specifications from the specified query. imp 'PerfDeleteInstance' PerfDeleteInstance pdh 0 # Deletes an instance of the counter set created by the PerfCreateInstance function. imp 'PerfEnumerateCounterSet' PerfEnumerateCounterSet pdh 0 # Gets the counter set identifiers of the counter sets that are registered on the specified system. Counter set identifiers are globally unique identifiers (GUIDs). imp 'PerfEnumerateCounterSetInstances' PerfEnumerateCounterSetInstances pdh 0 # Gets the names and identifiers of the active instances of a counter set on the specified system. imp 'PerfIncrementULongCounterValue' PerfIncrementULongCounterValue pdh 0 # Increments the value of a counter whose value is a 4-byte unsigned integer. Providers use this function. imp 'PerfIncrementULongLongCounterValue' PerfIncrementULongLongCounterValue pdh 0 # Increments the value of a counter whose value is an 8-byte unsigned integer. Providers use this function. imp 'PerfOpenQueryHandle' PerfOpenQueryHandle pdh 0 # Creates a handle that references a query on the specified system. A query is a list of counter specifications. imp 'PerfQueryCounterData' PerfQueryCounterData pdh 0 # Gets the values of the performance counters that match the counter specifications in the specified query. imp 'PerfQueryCounterInfo' PerfQueryCounterInfo pdh 0 # Gets the counter specifications in the specified query. imp 'PerfQueryCounterSetRegistrationInfo' PerfQueryCounterSetRegistrationInfo pdh 0 # Gets information about a counter set on the specified system. imp 'PerfQueryInstance' PerfQueryInstance pdh 0 # Retrieves a pointer to the specified counter set instance. Providers use this function. imp 'PerfSetCounterRefValue' PerfSetCounterRefValue pdh 0 # Updates the value of a counter whose value is a pointer to the actual data. Providers use this function. imp 'PerfSetCounterSetInfo' PerfSetCounterSetInfo pdh 0 # Specifies the layout of a particular counter set. imp 'PerfSetULongCounterValue' PerfSetULongCounterValue pdh 0 # Updates the value of a counter whose value is a 4-byte unsigned integer. Providers use this function. imp 'PerfSetULongLongCounterValue' PerfSetULongLongCounterValue pdh 0 # Updates the value of a counter whose value is an 8-byte unsigned integer. Providers use this function. imp 'PerfStartProvider' PerfStartProvider pdh 0 # Registers the provider. imp 'PerfStartProviderEx' PerfStartProviderEx pdh 0 # Registers the provider. imp 'PerfStopProvider' PerfStopProvider pdh 0 # Removes the provider's registration from the list of registered providers and frees all resources associated with the provider. imp 'UnloadPerfCounterTextStrings' UnloadPerfCounterTextStringsW pdh 0 # Unloads performance objects and counters from the computer for the specified application. # PSAPI.DLL # # Name Actual DLL Hint Arity imp 'EmptyWorkingSet' EmptyWorkingSet psapi 0 imp 'EnumDeviceDrivers' EnumDeviceDrivers psapi 0 imp 'EnumPageFiles' EnumPageFilesW psapi 0 imp 'EnumProcessModules' EnumProcessModules psapi 0 imp 'EnumProcessModulesEx' EnumProcessModulesEx psapi 0 imp 'EnumProcesses' EnumProcesses psapi 0 imp 'GetDeviceDriverBaseName' GetDeviceDriverBaseNameW psapi 0 imp 'GetDeviceDriverFileName' GetDeviceDriverFileNameW psapi 0 imp 'GetMappedFileName' GetMappedFileNameW psapi 0 imp 'GetModuleBaseName' GetModuleBaseNameW psapi 0 imp 'GetModuleFileNameEx' GetModuleFileNameExW psapi 0 imp 'GetModuleInformation' GetModuleInformation psapi 0 imp 'GetPerformanceInfo' GetPerformanceInfo psapi 0 imp 'GetProcessImageFileName' GetProcessImageFileNameW psapi 0 3 imp 'GetProcessMemoryInfo' GetProcessMemoryInfo psapi 0 3 imp 'GetWsChanges' GetWsChanges psapi 0 imp 'GetWsChangesEx' GetWsChangesEx psapi 0 imp 'InitializeProcessForWsWatch' InitializeProcessForWsWatch psapi 0 imp 'QueryWorkingSet' QueryWorkingSet psapi 0 imp 'QueryWorkingSetEx' QueryWorkingSetEx psapi 0 # URL.DLL # # Name Actual DLL Hint Arity imp 'OpenURL' OpenURL url 111 imp 'TelnetProtocolHandler' TelnetProtocolHandler url 113 imp 'TranslateURLW' TranslateURLW url 116 imp 'URLAssociationDialog' URLAssociationDialogW url 118 imp 'AddMIMEFileTypesPS' AddMIMEFileTypesPS url 102 imp 'AutodialHookCallback' AutodialHookCallback url 103 imp 'FileProtocolHandler' FileProtocolHandler url 104 imp 'InetIsOffline' InetIsOffline url 106 imp 'MIMEAssociationDialog' MIMEAssociationDialogW url 108 imp 'MailToProtocolHandler' MailToProtocolHandler url 109 # API-MS-Win-Core-Synch-l1-2-0.dll (Windows 8+) # # Name Actual DLL Hint Arity imp 'WaitOnAddress' WaitOnAddress API-MS-Win-Core-Synch-l1-2-0 111 4 imp 'WakeByAddressAll' WakeByAddressAll API-MS-Win-Core-Synch-l1-2-0 113 1 imp 'WakeByAddressSingle' WakeByAddressSingle API-MS-Win-Core-Synch-l1-2-0 116 1 # NTDLL.DLL # BEYOND THE PALE # # “The functions and structures in [for these APIs] are internal to # the operating system and subject to change from one release of # Windows to the next, and possibly even between service packs for # each release.” ──Quoth MSDN # # Name Actual DLL Hint Arity imp 'AlpcAdjustCompletionListConcurrencyCount' AlpcAdjustCompletionListConcurrencyCount ntdll 12 imp 'AlpcFreeCompletionListMessage' AlpcFreeCompletionListMessage ntdll 13 imp 'AlpcGetCompletionListLastMessageInformation' AlpcGetCompletionListLastMessageInformation ntdll 14 imp 'AlpcGetCompletionListMessageAttributes' AlpcGetCompletionListMessageAttributes ntdll 15 imp 'AlpcGetHeaderSize' AlpcGetHeaderSize ntdll 16 imp 'AlpcGetMessageAttribute' AlpcGetMessageAttribute ntdll 17 imp 'AlpcGetMessageFromCompletionList' AlpcGetMessageFromCompletionList ntdll 18 imp 'AlpcGetOutstandingCompletionListMessageCount' AlpcGetOutstandingCompletionListMessageCount ntdll 19 imp 'AlpcInitializeMessageAttribute' AlpcInitializeMessageAttribute ntdll 20 imp 'AlpcMaxAllowedMessageLength' AlpcMaxAllowedMessageLength ntdll 21 imp 'AlpcRegisterCompletionList' AlpcRegisterCompletionList ntdll 22 imp 'AlpcRegisterCompletionListWorkerThread' AlpcRegisterCompletionListWorkerThread ntdll 23 imp 'AlpcRundownCompletionList' AlpcRundownCompletionList ntdll 24 imp 'AlpcUnregisterCompletionList' AlpcUnregisterCompletionList ntdll 25 imp 'AlpcUnregisterCompletionListWorkerThread' AlpcUnregisterCompletionListWorkerThread ntdll 26 imp 'ApiSetQueryApiSetPresence' ApiSetQueryApiSetPresence ntdll 27 imp 'CsrAllocateCaptureBuffer' CsrAllocateCaptureBuffer ntdll 28 imp 'CsrAllocateMessagePointer' CsrAllocateMessagePointer ntdll 29 imp 'CsrCaptureMessageBuffer' CsrCaptureMessageBuffer ntdll 30 imp 'CsrCaptureMessageMultiUnicodeStringsInPlace' CsrCaptureMessageMultiUnicodeStringsInPlace ntdll 31 imp 'CsrCaptureMessageString' CsrCaptureMessageString ntdll 32 imp 'CsrCaptureTimeout' CsrCaptureTimeout ntdll 33 imp 'CsrClientCallServer' CsrClientCallServer ntdll 34 4 imp 'CsrClientConnectToServer' CsrClientConnectToServer ntdll 35 imp 'CsrFreeCaptureBuffer' CsrFreeCaptureBuffer ntdll 36 imp 'CsrGetProcessId' CsrGetProcessId ntdll 37 imp 'CsrIdentifyAlertableThread' CsrIdentifyAlertableThread ntdll 38 imp 'CsrSetPriorityClass' CsrSetPriorityClass ntdll 39 imp 'CsrVerifyRegion' CsrVerifyRegion ntdll 40 imp 'DbgBreakPoint' DbgBreakPoint ntdll 41 imp 'DbgPrint' DbgPrint ntdll 42 imp 'DbgPrintEx' DbgPrintEx ntdll 43 imp 'DbgPrintReturnControlC' DbgPrintReturnControlC ntdll 44 imp 'DbgPrompt' DbgPrompt ntdll 45 imp 'DbgQueryDebugFilterState' DbgQueryDebugFilterState ntdll 46 imp 'DbgSetDebugFilterState' DbgSetDebugFilterState ntdll 47 imp 'DbgUiConnectToDbg' DbgUiConnectToDbg ntdll 48 imp 'DbgUiContinue' DbgUiContinue ntdll 49 imp 'DbgUiConvertStateChangeStructure' DbgUiConvertStateChangeStructure ntdll 50 imp 'DbgUiConvertStateChangeStructureEx' DbgUiConvertStateChangeStructureEx ntdll 51 imp 'DbgUiDebugActiveProcess' DbgUiDebugActiveProcess ntdll 52 imp 'DbgUiGetThreadDebugObject' DbgUiGetThreadDebugObject ntdll 53 imp 'DbgUiIssueRemoteBreakin' DbgUiIssueRemoteBreakin ntdll 54 imp 'DbgUiRemoteBreakin' DbgUiRemoteBreakin ntdll 55 imp 'DbgUiSetThreadDebugObject' DbgUiSetThreadDebugObject ntdll 56 imp 'DbgUiStopDebugging' DbgUiStopDebugging ntdll 57 imp 'DbgUiWaitStateChange' DbgUiWaitStateChange ntdll 58 imp 'DbgUserBreakPoint' DbgUserBreakPoint ntdll 59 imp 'EtwCheckCoverage' EtwCheckCoverage ntdll 60 imp 'EtwCreateTraceInstanceId' EtwCreateTraceInstanceId ntdll 61 imp 'EtwDeliverDataBlock' EtwDeliverDataBlock ntdll 62 imp 'EtwEnumerateProcessRegGuids' EtwEnumerateProcessRegGuids ntdll 63 imp 'EtwEventActivityIdControl' EtwEventActivityIdControl ntdll 64 imp 'EtwEventEnabled' EtwEventEnabled ntdll 65 imp 'EtwEventProviderEnabled' EtwEventProviderEnabled ntdll 66 imp 'EtwEventRegister' EtwEventRegister ntdll 67 imp 'EtwEventSetInformation' EtwEventSetInformation ntdll 68 imp 'EtwEventUnregister' EtwEventUnregister ntdll 69 imp 'EtwEventWrite' EtwEventWrite ntdll 70 imp 'EtwEventWriteEndScenario' EtwEventWriteEndScenario ntdll 71 imp 'EtwEventWriteEx' EtwEventWriteEx ntdll 72 imp 'EtwEventWriteFull' EtwEventWriteFull ntdll 73 imp 'EtwEventWriteNoRegistration' EtwEventWriteNoRegistration ntdll 74 imp 'EtwEventWriteStartScenario' EtwEventWriteStartScenario ntdll 75 imp 'EtwEventWriteString' EtwEventWriteString ntdll 76 imp 'EtwEventWriteTransfer' EtwEventWriteTransfer ntdll 77 imp 'EtwGetTraceEnableFlags' EtwGetTraceEnableFlags ntdll 78 imp 'EtwGetTraceEnableLevel' EtwGetTraceEnableLevel ntdll 79 imp 'EtwGetTraceLoggerHandle' EtwGetTraceLoggerHandle ntdll 80 imp 'EtwLogTraceEvent' EtwLogTraceEvent ntdll 81 imp 'EtwNotificationRegister' EtwNotificationRegister ntdll 82 imp 'EtwNotificationUnregister' EtwNotificationUnregister ntdll 83 imp 'EtwProcessPrivateLoggerRequest' EtwProcessPrivateLoggerRequest ntdll 84 imp 'EtwRegisterSecurityProvider' EtwRegisterSecurityProvider ntdll 85 imp 'EtwRegisterTraceGuids' EtwRegisterTraceGuidsW ntdll 87 imp 'EtwReplyNotification' EtwReplyNotification ntdll 88 imp 'EtwSendNotification' EtwSendNotification ntdll 89 imp 'EtwSetMark' EtwSetMark ntdll 90 imp 'EtwTraceEventInstance' EtwTraceEventInstance ntdll 91 imp 'EtwTraceMessage' EtwTraceMessage ntdll 92 imp 'EtwTraceMessageVa' EtwTraceMessageVa ntdll 93 imp 'EtwUnregisterTraceGuids' EtwUnregisterTraceGuids ntdll 94 imp 'EtwWriteUMSecurityEvent' EtwWriteUMSecurityEvent ntdll 95 imp 'EtwpCreateEtwThread' EtwpCreateEtwThread ntdll 96 imp 'EtwpGetCpuSpeed' EtwpGetCpuSpeed ntdll 97 imp 'EvtIntReportAuthzEventAndSourceAsync' EvtIntReportAuthzEventAndSourceAsync ntdll 98 imp 'EvtIntReportEventAndSourceAsync' EvtIntReportEventAndSourceAsync ntdll 99 imp 'ExpInterlockedPopEntrySListEnd' ExpInterlockedPopEntrySListEnd ntdll 100 imp 'ExpInterlockedPopEntrySListFault' ExpInterlockedPopEntrySListFault ntdll 101 imp 'ExpInterlockedPopEntrySListResume' ExpInterlockedPopEntrySListResume ntdll 102 imp 'KiRaiseUserExceptionDispatcher' KiRaiseUserExceptionDispatcher ntdll 103 imp 'KiUserApcDispatcher' KiUserApcDispatcher ntdll 104 imp 'KiUserCallbackDispatcher' KiUserCallbackDispatcher ntdll 105 imp 'KiUserExceptionDispatcher' KiUserExceptionDispatcher ntdll 106 imp 'KiUserInvertedFunctionTable' KiUserInvertedFunctionTable ntdll 107 imp 'LdrAccessResource' LdrAccessResource ntdll 108 imp 'LdrAddDllDirectory' LdrAddDllDirectory ntdll 109 imp 'LdrAddLoadAsDataTable' LdrAddLoadAsDataTable ntdll 110 imp 'LdrAddRefDll' LdrAddRefDll ntdll 111 imp 'LdrAppxHandleIntegrityFailure' LdrAppxHandleIntegrityFailure ntdll 112 imp 'LdrCallEnclave' LdrCallEnclave ntdll 113 imp 'LdrControlFlowGuardEnforced' LdrControlFlowGuardEnforced ntdll 114 imp 'LdrCreateEnclave' LdrCreateEnclave ntdll 115 imp 'LdrDeleteEnclave' LdrDeleteEnclave ntdll 116 imp 'LdrDisableThreadCalloutsForDll' LdrDisableThreadCalloutsForDll ntdll 117 imp 'LdrEnumResources' LdrEnumResources ntdll 118 imp 'LdrEnumerateLoadedModules' LdrEnumerateLoadedModules ntdll 119 imp 'LdrFastFailInLoaderCallout' LdrFastFailInLoaderCallout ntdll 120 imp 'LdrFindEntryForAddress' LdrFindEntryForAddress ntdll 121 imp 'LdrFindResourceDirectory_U' LdrFindResourceDirectory_U ntdll 122 imp 'LdrFindResourceEx_U' LdrFindResourceEx_U ntdll 123 imp 'LdrFindResource_U' LdrFindResource_U ntdll 124 imp 'LdrFlushAlternateResourceModules' LdrFlushAlternateResourceModules ntdll 125 imp 'LdrGetDllDirectory' LdrGetDllDirectory ntdll 126 imp 'LdrGetDllFullName' LdrGetDllFullName ntdll 127 imp 'LdrGetDllHandle' LdrGetDllHandle ntdll 128 4 imp 'LdrGetDllHandleByMapping' LdrGetDllHandleByMapping ntdll 129 imp 'LdrGetDllHandleByName' LdrGetDllHandleByName ntdll 130 imp 'LdrGetDllHandleEx' LdrGetDllHandleEx ntdll 131 imp 'LdrGetDllPath' LdrGetDllPath ntdll 132 imp 'LdrGetFailureData' LdrGetFailureData ntdll 133 imp 'LdrGetFileNameFromLoadAsDataTable' LdrGetFileNameFromLoadAsDataTable ntdll 134 imp 'LdrGetKnownDllSectionHandle' LdrGetKnownDllSectionHandle ntdll 135 imp 'LdrGetProcedureAddress' LdrGetProcedureAddress ntdll 136 4 imp 'LdrGetProcedureAddressEx' LdrGetProcedureAddressEx ntdll 137 imp 'LdrGetProcedureAddressForCaller' LdrGetProcedureAddressForCaller ntdll 138 imp 'LdrInitShimEngineDynamic' LdrInitShimEngineDynamic ntdll 139 imp 'LdrInitializeEnclave' LdrInitializeEnclave ntdll 140 imp 'LdrInitializeThunk' LdrInitializeThunk ntdll 141 imp 'LdrLoadAlternateResourceModule' LdrLoadAlternateResourceModule ntdll 142 imp 'LdrLoadAlternateResourceModuleEx' LdrLoadAlternateResourceModuleEx ntdll 143 imp 'LdrLoadDll' LdrLoadDll ntdll 144 4 imp 'LdrLoadEnclaveModule' LdrLoadEnclaveModule ntdll 145 imp 'LdrLockLoaderLock' LdrLockLoaderLock ntdll 146 imp 'LdrOpenImageFileOptionsKey' LdrOpenImageFileOptionsKey ntdll 147 imp 'LdrProcessInitializationComplete' LdrProcessInitializationComplete ntdll 148 imp 'LdrProcessRelocationBlock' LdrProcessRelocationBlock ntdll 149 imp 'LdrProcessRelocationBlockEx' LdrProcessRelocationBlockEx ntdll 150 imp 'LdrQueryImageFileExecutionOptions' LdrQueryImageFileExecutionOptions ntdll 151 imp 'LdrQueryImageFileExecutionOptionsEx' LdrQueryImageFileExecutionOptionsEx ntdll 152 imp 'LdrQueryImageFileKeyOption' LdrQueryImageFileKeyOption ntdll 153 imp 'LdrQueryModuleServiceTags' LdrQueryModuleServiceTags ntdll 154 imp 'LdrQueryOptionalDelayLoadedAPI' LdrQueryOptionalDelayLoadedAPI ntdll 155 imp 'LdrQueryProcessModuleInformation' LdrQueryProcessModuleInformation ntdll 156 imp 'LdrRegisterDllNotification' LdrRegisterDllNotification ntdll 157 imp 'LdrRemoveDllDirectory' LdrRemoveDllDirectory ntdll 158 imp 'LdrRemoveLoadAsDataTable' LdrRemoveLoadAsDataTable ntdll 159 imp 'LdrResFindResource' LdrResFindResource ntdll 160 imp 'LdrResFindResourceDirectory' LdrResFindResourceDirectory ntdll 161 imp 'LdrResGetRCConfig' LdrResGetRCConfig ntdll 162 imp 'LdrResRelease' LdrResRelease ntdll 163 imp 'LdrResSearchResource' LdrResSearchResource ntdll 164 imp 'LdrResolveDelayLoadedAPI' LdrResolveDelayLoadedAPI ntdll 165 imp 'LdrResolveDelayLoadsFromDll' LdrResolveDelayLoadsFromDll ntdll 166 imp 'LdrRscIsTypeExist' LdrRscIsTypeExist ntdll 167 imp 'LdrSetAppCompatDllRedirectionCallback' LdrSetAppCompatDllRedirectionCallback ntdll 168 imp 'LdrSetDefaultDllDirectories' LdrSetDefaultDllDirectories ntdll 169 imp 'LdrSetDllDirectory' LdrSetDllDirectory ntdll 170 imp 'LdrSetDllManifestProber' LdrSetDllManifestProber ntdll 171 imp 'LdrSetImplicitPathOptions' LdrSetImplicitPathOptions ntdll 172 imp 'LdrSetMUICacheType' LdrSetMUICacheType ntdll 173 imp 'LdrShutdownProcess' LdrShutdownProcess ntdll 174 imp 'LdrShutdownThread' LdrShutdownThread ntdll 175 imp 'LdrStandardizeSystemPath' LdrStandardizeSystemPath ntdll 176 imp 'LdrSystemDllInitBlock' LdrSystemDllInitBlock ntdll 177 imp 'LdrUnloadAlternateResourceModule' LdrUnloadAlternateResourceModule ntdll 178 imp 'LdrUnloadAlternateResourceModuleEx' LdrUnloadAlternateResourceModuleEx ntdll 179 imp 'LdrUnloadDll' LdrUnloadDll ntdll 180 1 imp 'LdrUnlockLoaderLock' LdrUnlockLoaderLock ntdll 181 imp 'LdrUnregisterDllNotification' LdrUnregisterDllNotification ntdll 182 imp 'LdrUpdatePackageSearchPath' LdrUpdatePackageSearchPath ntdll 183 imp 'LdrVerifyImageMatchesChecksum' LdrVerifyImageMatchesChecksum ntdll 184 imp 'LdrVerifyImageMatchesChecksumEx' LdrVerifyImageMatchesChecksumEx ntdll 185 imp 'LdrpResGetMappingSize' LdrpResGetMappingSize ntdll 186 imp 'LdrpResGetResourceDirectory' LdrpResGetResourceDirectory ntdll 187 imp 'MD4Final' MD4Final ntdll 188 imp 'MD4Init' MD4Init ntdll 189 imp 'MD4Update' MD4Update ntdll 190 imp 'NlsAnsiCodePage' NlsAnsiCodePage ntdll 194 imp 'NlsMbCodePageTag' NlsMbCodePageTag ntdll 195 imp 'NlsMbOemCodePageTag' NlsMbOemCodePageTag ntdll 196 imp 'NtAcceptConnectPort' NtAcceptConnectPort ntdll 197 imp 'NtAccessCheck' NtAccessCheck ntdll 198 imp 'NtAccessCheckAndAuditAlarm' NtAccessCheckAndAuditAlarm ntdll 199 imp 'NtAccessCheckByType' NtAccessCheckByType ntdll 200 imp 'NtAccessCheckByTypeAndAuditAlarm' NtAccessCheckByTypeAndAuditAlarm ntdll 201 imp 'NtAccessCheckByTypeResultList' NtAccessCheckByTypeResultList ntdll 202 imp 'NtAccessCheckByTypeResultListAndAuditAlarm' NtAccessCheckByTypeResultListAndAuditAlarm ntdll 203 imp 'NtAccessCheckByTypeResultListAndAuditAlarmByHandle' NtAccessCheckByTypeResultListAndAuditAlarmByHandle ntdll 204 imp 'NtAcquireProcessActivityReference' NtAcquireProcessActivityReference ntdll 205 imp 'NtAddAtom' NtAddAtom ntdll 206 imp 'NtAddAtomEx' NtAddAtomEx ntdll 207 imp 'NtAddBootEntry' NtAddBootEntry ntdll 208 imp 'NtAddDriverEntry' NtAddDriverEntry ntdll 209 imp 'NtAdjustGroupsToken' NtAdjustGroupsToken ntdll 210 imp 'NtAdjustPrivilegesToken' NtAdjustPrivilegesToken ntdll 211 imp 'NtAdjustTokenClaimsAndDeviceGroups' NtAdjustTokenClaimsAndDeviceGroups ntdll 212 imp 'NtAlertResumeThread' NtAlertResumeThread ntdll 213 imp 'NtAlertThread' NtAlertThread ntdll 214 imp 'NtAlertThreadByThreadId' NtAlertThreadByThreadId ntdll 215 imp 'NtAllocateLocallyUniqueId' NtAllocateLocallyUniqueId ntdll 216 imp 'NtAllocateReserveObject' NtAllocateReserveObject ntdll 217 imp 'NtAllocateUserPhysicalPages' NtAllocateUserPhysicalPages ntdll 218 imp 'NtAllocateUuids' NtAllocateUuids ntdll 219 imp 'NtAllocateVirtualMemory' NtAllocateVirtualMemory ntdll 220 6 imp 'NtAllocateVirtualMemoryEx' NtAllocateVirtualMemoryEx ntdll 221 imp 'NtAlpcAcceptConnectPort' NtAlpcAcceptConnectPort ntdll 222 imp 'NtAlpcCancelMessage' NtAlpcCancelMessage ntdll 223 imp 'NtAlpcConnectPort' NtAlpcConnectPort ntdll 224 imp 'NtAlpcConnectPortEx' NtAlpcConnectPortEx ntdll 225 imp 'NtAlpcCreatePort' NtAlpcCreatePort ntdll 226 imp 'NtAlpcCreatePortSection' NtAlpcCreatePortSection ntdll 227 imp 'NtAlpcCreateResourceReserve' NtAlpcCreateResourceReserve ntdll 228 imp 'NtAlpcCreateSectionView' NtAlpcCreateSectionView ntdll 229 imp 'NtAlpcCreateSecurityContext' NtAlpcCreateSecurityContext ntdll 230 imp 'NtAlpcDeletePortSection' NtAlpcDeletePortSection ntdll 231 imp 'NtAlpcDeleteResourceReserve' NtAlpcDeleteResourceReserve ntdll 232 imp 'NtAlpcDeleteSectionView' NtAlpcDeleteSectionView ntdll 233 imp 'NtAlpcDeleteSecurityContext' NtAlpcDeleteSecurityContext ntdll 234 imp 'NtAlpcDisconnectPort' NtAlpcDisconnectPort ntdll 235 imp 'NtAlpcImpersonateClientContainerOfPort' NtAlpcImpersonateClientContainerOfPort ntdll 236 imp 'NtAlpcImpersonateClientOfPort' NtAlpcImpersonateClientOfPort ntdll 237 imp 'NtAlpcOpenSenderProcess' NtAlpcOpenSenderProcess ntdll 238 imp 'NtAlpcOpenSenderThread' NtAlpcOpenSenderThread ntdll 239 imp 'NtAlpcQueryInformation' NtAlpcQueryInformation ntdll 240 imp 'NtAlpcQueryInformationMessage' NtAlpcQueryInformationMessage ntdll 241 imp 'NtAlpcRevokeSecurityContext' NtAlpcRevokeSecurityContext ntdll 242 imp 'NtAlpcSendWaitReceivePort' NtAlpcSendWaitReceivePort ntdll 243 imp 'NtAlpcSetInformation' NtAlpcSetInformation ntdll 244 imp 'NtApphelpCacheControl' NtApphelpCacheControl ntdll 245 imp 'NtAreMappedFilesTheSame' NtAreMappedFilesTheSame ntdll 246 imp 'NtAssignProcessToJobObject' NtAssignProcessToJobObject ntdll 247 imp 'NtAssociateWaitCompletionPacket' NtAssociateWaitCompletionPacket ntdll 248 imp 'NtCallEnclave' NtCallEnclave ntdll 249 imp 'NtCallbackReturn' NtCallbackReturn ntdll 250 3 imp 'NtCancelIoFile' NtCancelIoFile ntdll 251 2 imp 'NtCancelIoFileEx' NtCancelIoFileEx ntdll 252 3 imp 'NtCancelSynchronousIoFile' NtCancelSynchronousIoFile ntdll 253 imp 'NtCancelTimer' NtCancelTimer ntdll 254 imp 'NtCancelTimer2' NtCancelTimer2 ntdll 255 imp 'NtCancelWaitCompletionPacket' NtCancelWaitCompletionPacket ntdll 256 imp 'NtClearEvent' NtClearEvent ntdll 257 1 imp 'NtClose' NtClose ntdll 258 1 imp 'NtCloseObjectAuditAlarm' NtCloseObjectAuditAlarm ntdll 259 imp 'NtCommitComplete' NtCommitComplete ntdll 260 imp 'NtCommitEnlistment' NtCommitEnlistment ntdll 261 imp 'NtCommitRegistryTransaction' NtCommitRegistryTransaction ntdll 262 imp 'NtCommitTransaction' NtCommitTransaction ntdll 263 imp 'NtCompactKeys' NtCompactKeys ntdll 264 imp 'NtCompareObjects' NtCompareObjects ntdll 265 imp 'NtCompareSigningLevels' NtCompareSigningLevels ntdll 266 imp 'NtCompareTokens' NtCompareTokens ntdll 267 imp 'NtCompleteConnectPort' NtCompleteConnectPort ntdll 268 imp 'NtCompressKey' NtCompressKey ntdll 269 imp 'NtConnectPort' NtConnectPort ntdll 270 imp 'NtContinue' NtContinue ntdll 271 2 imp 'NtConvertBetweenAuxiliaryCounterAndPerformanceCounter' NtConvertBetweenAuxiliaryCounterAndPerformanceCounter ntdll 272 imp 'NtCreateDebugObject' NtCreateDebugObject ntdll 273 imp 'NtCreateDirectoryObject' NtCreateDirectoryObject ntdll 274 3 imp 'NtCreateDirectoryObjectEx' NtCreateDirectoryObjectEx ntdll 275 imp 'NtCreateEnclave' NtCreateEnclave ntdll 276 imp 'NtCreateEnlistment' NtCreateEnlistment ntdll 277 imp 'NtCreateEvent' NtCreateEvent ntdll 278 5 imp 'NtCreateEventPair' NtCreateEventPair ntdll 279 imp 'NtCreateFile' NtCreateFile ntdll 280 11 imp 'NtCreateIRTimer' NtCreateIRTimer ntdll 281 imp 'NtCreateIoCompletion' NtCreateIoCompletion ntdll 282 4 imp 'NtCreateJobObject' NtCreateJobObject ntdll 283 imp 'NtCreateJobSet' NtCreateJobSet ntdll 284 imp 'NtCreateKey' NtCreateKey ntdll 285 7 imp 'NtCreateKeyTransacted' NtCreateKeyTransacted ntdll 286 imp 'NtCreateKeyedEvent' NtCreateKeyedEvent ntdll 287 4 imp 'NtCreateLowBoxToken' NtCreateLowBoxToken ntdll 288 imp 'NtCreateMailslotFile' NtCreateMailslotFile ntdll 289 imp 'NtCreateMutant' NtCreateMutant ntdll 290 imp 'NtCreateNamedPipeFile' NtCreateNamedPipeFile ntdll 291 14 imp 'NtCreatePagingFile' NtCreatePagingFile ntdll 292 imp 'NtCreatePartition' NtCreatePartition ntdll 293 imp 'NtCreatePort' NtCreatePort ntdll 294 imp 'NtCreatePrivateNamespace' NtCreatePrivateNamespace ntdll 295 imp 'NtCreateProcess' NtCreateProcess ntdll 296 8 imp 'NtCreateProcessEx' NtCreateProcessEx ntdll 297 imp 'NtCreateProfile' NtCreateProfile ntdll 298 9 imp 'NtCreateProfileEx' NtCreateProfileEx ntdll 299 imp 'NtCreateRegistryTransaction' NtCreateRegistryTransaction ntdll 300 imp 'NtCreateResourceManager' NtCreateResourceManager ntdll 301 imp 'NtCreateSection' NtCreateSection ntdll 302 7 imp 'NtCreateSemaphore' NtCreateSemaphore ntdll 303 imp 'NtCreateSymbolicLinkObject' NtCreateSymbolicLinkObject ntdll 304 imp 'NtCreateThread' NtCreateThread ntdll 305 8 imp 'NtCreateThreadEx' NtCreateThreadEx ntdll 306 imp 'NtCreateTimer' NtCreateTimer ntdll 307 4 imp 'NtCreateTimer2' NtCreateTimer2 ntdll 308 imp 'NtCreateToken' NtCreateToken ntdll 309 imp 'NtCreateTokenEx' NtCreateTokenEx ntdll 310 imp 'NtCreateTransaction' NtCreateTransaction ntdll 311 imp 'NtCreateTransactionManager' NtCreateTransactionManager ntdll 312 imp 'NtCreateUserProcess' NtCreateUserProcess ntdll 313 imp 'NtCreateWaitCompletionPacket' NtCreateWaitCompletionPacket ntdll 314 imp 'NtCreateWaitablePort' NtCreateWaitablePort ntdll 315 imp 'NtCreateWnfStateName' NtCreateWnfStateName ntdll 316 imp 'NtCreateWorkerFactory' NtCreateWorkerFactory ntdll 317 imp 'NtDebugActiveProcess' NtDebugActiveProcess ntdll 318 imp 'NtDebugContinue' NtDebugContinue ntdll 319 imp 'NtDelayExecution' NtDelayExecution ntdll 320 2 imp 'NtDeleteAtom' NtDeleteAtom ntdll 321 imp 'NtDeleteBootEntry' NtDeleteBootEntry ntdll 322 imp 'NtDeleteDriverEntry' NtDeleteDriverEntry ntdll 323 imp 'NtDeleteFile' NtDeleteFile ntdll 324 1 imp 'NtDeleteKey' NtDeleteKey ntdll 325 1 imp 'NtDeleteObjectAuditAlarm' NtDeleteObjectAuditAlarm ntdll 326 imp 'NtDeletePrivateNamespace' NtDeletePrivateNamespace ntdll 327 imp 'NtDeleteValueKey' NtDeleteValueKey ntdll 328 imp 'NtDeleteWnfStateData' NtDeleteWnfStateData ntdll 329 imp 'NtDeleteWnfStateName' NtDeleteWnfStateName ntdll 330 imp 'NtDeviceIoControlFile' NtDeviceIoControlFile ntdll 331 10 imp 'NtDisableLastKnownGood' NtDisableLastKnownGood ntdll 332 imp 'NtDisplayString' NtDisplayString ntdll 333 imp 'NtDrawText' NtDrawText ntdll 334 imp 'NtDuplicateObject' NtDuplicateObject ntdll 335 7 imp 'NtDuplicateToken' NtDuplicateToken ntdll 336 imp 'NtEnableLastKnownGood' NtEnableLastKnownGood ntdll 337 imp 'NtEnumerateBootEntries' NtEnumerateBootEntries ntdll 338 imp 'NtEnumerateDriverEntries' NtEnumerateDriverEntries ntdll 339 imp 'NtEnumerateKey' NtEnumerateKey ntdll 340 6 imp 'NtEnumerateSystemEnvironmentValuesEx' NtEnumerateSystemEnvironmentValuesEx ntdll 341 imp 'NtEnumerateTransactionObject' NtEnumerateTransactionObject ntdll 342 imp 'NtEnumerateValueKey' NtEnumerateValueKey ntdll 343 6 imp 'NtExtendSection' NtExtendSection ntdll 344 imp 'NtFilterBootOption' NtFilterBootOption ntdll 345 imp 'NtFilterToken' NtFilterToken ntdll 346 imp 'NtFilterTokenEx' NtFilterTokenEx ntdll 347 imp 'NtFindAtom' NtFindAtom ntdll 348 imp 'NtFlushBuffersFile' NtFlushBuffersFile ntdll 349 2 imp 'NtFlushBuffersFileEx' NtFlushBuffersFileEx ntdll 350 imp 'NtFlushInstallUILanguage' NtFlushInstallUILanguage ntdll 351 imp 'NtFlushInstructionCache' NtFlushInstructionCache ntdll 352 3 imp 'NtFlushKey' NtFlushKey ntdll 353 1 imp 'NtFlushProcessWriteBuffers' NtFlushProcessWriteBuffers ntdll 354 imp 'NtFlushVirtualMemory' NtFlushVirtualMemory ntdll 355 4 imp 'NtFlushWriteBuffer' NtFlushWriteBuffer ntdll 356 imp 'NtFreeUserPhysicalPages' NtFreeUserPhysicalPages ntdll 357 imp 'NtFreeVirtualMemory' NtFreeVirtualMemory ntdll 358 4 imp 'NtFreezeRegistry' NtFreezeRegistry ntdll 359 imp 'NtFreezeTransactions' NtFreezeTransactions ntdll 360 imp 'NtFsControlFile' NtFsControlFile ntdll 361 10 imp 'NtGetCachedSigningLevel' NtGetCachedSigningLevel ntdll 362 imp 'NtGetCompleteWnfStateSubscription' NtGetCompleteWnfStateSubscription ntdll 363 imp 'NtGetContextThread' NtGetContextThread ntdll 364 2 imp 'NtGetCurrentProcessorNumber' NtGetCurrentProcessorNumber ntdll 365 imp 'NtGetCurrentProcessorNumberEx' NtGetCurrentProcessorNumberEx ntdll 366 imp 'NtGetDevicePowerState' NtGetDevicePowerState ntdll 367 imp 'NtGetMUIRegistryInfo' NtGetMUIRegistryInfo ntdll 368 imp 'NtGetNextProcess' NtGetNextProcess ntdll 369 imp 'NtGetNextThread' NtGetNextThread ntdll 370 imp 'NtGetNlsSectionPtr' NtGetNlsSectionPtr ntdll 371 imp 'NtGetNotificationResourceManager' NtGetNotificationResourceManager ntdll 372 imp 'NtGetTickCount' NtGetTickCount ntdll 373 imp 'NtGetWriteWatch' NtGetWriteWatch ntdll 374 imp 'NtImpersonateAnonymousToken' NtImpersonateAnonymousToken ntdll 375 imp 'NtImpersonateClientOfPort' NtImpersonateClientOfPort ntdll 376 imp 'NtImpersonateThread' NtImpersonateThread ntdll 377 imp 'NtInitializeEnclave' NtInitializeEnclave ntdll 378 imp 'NtInitializeNlsFiles' NtInitializeNlsFiles ntdll 379 imp 'NtInitializeRegistry' NtInitializeRegistry ntdll 380 imp 'NtInitiatePowerAction' NtInitiatePowerAction ntdll 381 imp 'NtIsProcessInJob' NtIsProcessInJob ntdll 382 imp 'NtIsSystemResumeAutomatic' NtIsSystemResumeAutomatic ntdll 383 imp 'NtIsUILanguageComitted' NtIsUILanguageComitted ntdll 384 imp 'NtListenPort' NtListenPort ntdll 385 imp 'NtLoadDriver' NtLoadDriver ntdll 386 imp 'NtLoadEnclaveData' NtLoadEnclaveData ntdll 387 imp 'NtLoadHotPatch' NtLoadHotPatch ntdll 388 imp 'NtLoadKey' NtLoadKey ntdll 389 imp 'NtLoadKey2' NtLoadKey2 ntdll 390 imp 'NtLoadKeyEx' NtLoadKeyEx ntdll 391 imp 'NtLockFile' NtLockFile ntdll 392 imp 'NtLockProductActivationKeys' NtLockProductActivationKeys ntdll 393 imp 'NtLockRegistryKey' NtLockRegistryKey ntdll 394 imp 'NtLockVirtualMemory' NtLockVirtualMemory ntdll 395 imp 'NtMakePermanentObject' NtMakePermanentObject ntdll 396 imp 'NtMakeTemporaryObject' NtMakeTemporaryObject ntdll 397 imp 'NtManagePartition' NtManagePartition ntdll 398 imp 'NtMapCMFModule' NtMapCMFModule ntdll 399 imp 'NtMapUserPhysicalPages' NtMapUserPhysicalPages ntdll 400 imp 'NtMapUserPhysicalPagesScatter' NtMapUserPhysicalPagesScatter ntdll 401 imp 'NtMapViewOfSection' NtMapViewOfSection ntdll 402 10 imp 'NtMapViewOfSectionEx' NtMapViewOfSectionEx ntdll 403 imp 'NtModifyBootEntry' NtModifyBootEntry ntdll 404 imp 'NtModifyDriverEntry' NtModifyDriverEntry ntdll 405 imp 'NtNotifyChangeDirectoryFile' NtNotifyChangeDirectoryFile ntdll 406 imp 'NtNotifyChangeDirectoryFileEx' NtNotifyChangeDirectoryFileEx ntdll 407 imp 'NtNotifyChangeKey' NtNotifyChangeKey ntdll 408 imp 'NtNotifyChangeMultipleKeys' NtNotifyChangeMultipleKeys ntdll 409 imp 'NtNotifyChangeSession' NtNotifyChangeSession ntdll 410 imp 'NtOpenDirectoryObject' NtOpenDirectoryObject ntdll 411 3 imp 'NtOpenEnlistment' NtOpenEnlistment ntdll 412 imp 'NtOpenEvent' NtOpenEvent ntdll 413 imp 'NtOpenEventPair' NtOpenEventPair ntdll 414 imp 'NtOpenFile' NtOpenFile ntdll 415 6 imp 'NtOpenIoCompletion' NtOpenIoCompletion ntdll 416 imp 'NtOpenJobObject' NtOpenJobObject ntdll 417 imp 'NtOpenKey' NtOpenKey ntdll 418 3 imp 'NtOpenKeyEx' NtOpenKeyEx ntdll 419 imp 'NtOpenKeyTransacted' NtOpenKeyTransacted ntdll 420 imp 'NtOpenKeyTransactedEx' NtOpenKeyTransactedEx ntdll 421 imp 'NtOpenKeyedEvent' NtOpenKeyedEvent ntdll 422 imp 'NtOpenMutant' NtOpenMutant ntdll 423 imp 'NtOpenObjectAuditAlarm' NtOpenObjectAuditAlarm ntdll 424 imp 'NtOpenPartition' NtOpenPartition ntdll 425 imp 'NtOpenPrivateNamespace' NtOpenPrivateNamespace ntdll 426 imp 'NtOpenProcess' NtOpenProcess ntdll 427 4 imp 'NtOpenProcessToken' NtOpenProcessToken ntdll 428 3 imp 'NtOpenProcessTokenEx' NtOpenProcessTokenEx ntdll 429 imp 'NtOpenRegistryTransaction' NtOpenRegistryTransaction ntdll 430 imp 'NtOpenResourceManager' NtOpenResourceManager ntdll 431 imp 'NtOpenSection' NtOpenSection ntdll 432 3 imp 'NtOpenSemaphore' NtOpenSemaphore ntdll 433 imp 'NtOpenSession' NtOpenSession ntdll 434 imp 'NtOpenSymbolicLinkObject' NtOpenSymbolicLinkObject ntdll 435 3 imp 'NtOpenThread' NtOpenThread ntdll 436 4 imp 'NtOpenThreadToken' NtOpenThreadToken ntdll 437 4 imp 'NtOpenThreadTokenEx' NtOpenThreadTokenEx ntdll 438 imp 'NtOpenTimer' NtOpenTimer ntdll 439 imp 'NtOpenTransaction' NtOpenTransaction ntdll 440 imp 'NtOpenTransactionManager' NtOpenTransactionManager ntdll 441 imp 'NtPlugPlayControl' NtPlugPlayControl ntdll 442 imp 'NtPowerInformation' NtPowerInformation ntdll 443 imp 'NtPrePrepareComplete' NtPrePrepareComplete ntdll 444 imp 'NtPrePrepareEnlistment' NtPrePrepareEnlistment ntdll 445 imp 'NtPrepareComplete' NtPrepareComplete ntdll 446 imp 'NtPrepareEnlistment' NtPrepareEnlistment ntdll 447 imp 'NtPrivilegeCheck' NtPrivilegeCheck ntdll 448 imp 'NtPrivilegeObjectAuditAlarm' NtPrivilegeObjectAuditAlarm ntdll 449 imp 'NtPrivilegedServiceAuditAlarm' NtPrivilegedServiceAuditAlarm ntdll 450 imp 'NtPropagationComplete' NtPropagationComplete ntdll 451 imp 'NtPropagationFailed' NtPropagationFailed ntdll 452 imp 'NtProtectVirtualMemory' NtProtectVirtualMemory ntdll 453 5 imp 'NtPulseEvent' NtPulseEvent ntdll 454 imp 'NtQueryAttributesFile' NtQueryAttributesFile ntdll 455 2 imp 'NtQueryAuxiliaryCounterFrequency' NtQueryAuxiliaryCounterFrequency ntdll 456 imp 'NtQueryBootEntryOrder' NtQueryBootEntryOrder ntdll 457 imp 'NtQueryBootOptions' NtQueryBootOptions ntdll 458 imp 'NtQueryDebugFilterState' NtQueryDebugFilterState ntdll 459 imp 'NtQueryDefaultLocale' NtQueryDefaultLocale ntdll 460 imp 'NtQueryDefaultUILanguage' NtQueryDefaultUILanguage ntdll 461 imp 'NtQueryDirectoryFile' NtQueryDirectoryFile ntdll 462 11 imp 'NtQueryDirectoryFileEx' NtQueryDirectoryFileEx ntdll 463 imp 'NtQueryDirectoryObject' NtQueryDirectoryObject ntdll 464 imp 'NtQueryDriverEntryOrder' NtQueryDriverEntryOrder ntdll 465 imp 'NtQueryEaFile' NtQueryEaFile ntdll 466 imp 'NtQueryEvent' NtQueryEvent ntdll 467 imp 'NtQueryFullAttributesFile' NtQueryFullAttributesFile ntdll 468 2 imp 'NtQueryInformationAtom' NtQueryInformationAtom ntdll 469 imp 'NtQueryInformationByName' NtQueryInformationByName ntdll 470 imp 'NtQueryInformationEnlistment' NtQueryInformationEnlistment ntdll 471 imp 'NtQueryInformationFile' NtQueryInformationFile ntdll 472 5 imp 'NtQueryInformationJobObject' NtQueryInformationJobObject ntdll 473 5 imp 'NtQueryInformationPort' NtQueryInformationPort ntdll 474 imp 'NtQueryInformationProcess' NtQueryInformationProcess ntdll 475 5 imp 'NtQueryInformationResourceManager' NtQueryInformationResourceManager ntdll 476 imp 'NtQueryInformationThread' NtQueryInformationThread ntdll 477 5 imp 'NtQueryInformationToken' NtQueryInformationToken ntdll 478 5 imp 'NtQueryInformationTransaction' NtQueryInformationTransaction ntdll 479 imp 'NtQueryInformationTransactionManager' NtQueryInformationTransactionManager ntdll 480 imp 'NtQueryInformationWorkerFactory' NtQueryInformationWorkerFactory ntdll 481 imp 'NtQueryInstallUILanguage' NtQueryInstallUILanguage ntdll 482 imp 'NtQueryIntervalProfile' NtQueryIntervalProfile ntdll 483 2 imp 'NtQueryIoCompletion' NtQueryIoCompletion ntdll 484 imp 'NtQueryKey' NtQueryKey ntdll 485 imp 'NtQueryLicenseValue' NtQueryLicenseValue ntdll 486 imp 'NtQueryMultipleValueKey' NtQueryMultipleValueKey ntdll 487 imp 'NtQueryMutant' NtQueryMutant ntdll 488 imp 'NtQueryObject' NtQueryObject ntdll 489 5 imp 'NtQueryOpenSubKeys' NtQueryOpenSubKeys ntdll 490 imp 'NtQueryOpenSubKeysEx' NtQueryOpenSubKeysEx ntdll 491 imp 'NtQueryPerformanceCounter' NtQueryPerformanceCounter ntdll 492 2 imp 'NtQueryPortInformationProcess' NtQueryPortInformationProcess ntdll 493 imp 'NtQueryQuotaInformationFile' NtQueryQuotaInformationFile ntdll 494 imp 'NtQuerySection' NtQuerySection ntdll 495 5 imp 'NtQuerySecurityAttributesToken' NtQuerySecurityAttributesToken ntdll 496 imp 'NtQuerySecurityObject' NtQuerySecurityObject ntdll 497 5 imp 'NtQuerySecurityPolicy' NtQuerySecurityPolicy ntdll 498 imp 'NtQuerySemaphore' NtQuerySemaphore ntdll 499 imp 'NtQuerySymbolicLinkObject' NtQuerySymbolicLinkObject ntdll 500 3 imp 'NtQuerySystemEnvironmentValue' NtQuerySystemEnvironmentValue ntdll 501 imp 'NtQuerySystemEnvironmentValueEx' NtQuerySystemEnvironmentValueEx ntdll 502 imp 'NtQuerySystemInformation' NtQuerySystemInformation ntdll 503 4 imp 'NtQuerySystemInformationEx' NtQuerySystemInformationEx ntdll 504 imp 'NtQuerySystemTime' NtQuerySystemTime ntdll 505 1 imp 'NtQueryTimer' NtQueryTimer ntdll 506 imp 'NtQueryTimerResolution' NtQueryTimerResolution ntdll 507 imp 'NtQueryValueKey' NtQueryValueKey ntdll 508 6 imp 'NtQueryVirtualMemory' NtQueryVirtualMemory ntdll 509 6 imp 'NtQueryVolumeInformationFile' NtQueryVolumeInformationFile ntdll 510 5 imp 'NtQueryWnfStateData' NtQueryWnfStateData ntdll 511 imp 'NtQueryWnfStateNameInformation' NtQueryWnfStateNameInformation ntdll 512 imp 'NtQueueApcThread' NtQueueApcThread ntdll 513 5 imp 'NtQueueApcThreadEx' NtQueueApcThreadEx ntdll 514 imp 'NtRaiseException' NtRaiseException ntdll 515 3 imp 'NtRaiseHardError' NtRaiseHardError ntdll 516 6 imp 'NtReadFile' NtReadFile ntdll 517 9 imp 'NtReadFileScatter' NtReadFileScatter ntdll 518 imp 'NtReadOnlyEnlistment' NtReadOnlyEnlistment ntdll 519 imp 'NtReadRequestData' NtReadRequestData ntdll 520 imp 'NtReadVirtualMemory' NtReadVirtualMemory ntdll 521 5 imp 'NtRecoverEnlistment' NtRecoverEnlistment ntdll 522 imp 'NtRecoverResourceManager' NtRecoverResourceManager ntdll 523 imp 'NtRecoverTransactionManager' NtRecoverTransactionManager ntdll 524 imp 'NtRegisterProtocolAddressInformation' NtRegisterProtocolAddressInformation ntdll 525 imp 'NtRegisterThreadTerminatePort' NtRegisterThreadTerminatePort ntdll 526 imp 'NtReleaseKeyedEvent' NtReleaseKeyedEvent ntdll 527 4 imp 'NtReleaseMutant' NtReleaseMutant ntdll 528 imp 'NtReleaseSemaphore' NtReleaseSemaphore ntdll 529 imp 'NtReleaseWorkerFactoryWorker' NtReleaseWorkerFactoryWorker ntdll 530 imp 'NtRemoveIoCompletion' NtRemoveIoCompletion ntdll 531 imp 'NtRemoveIoCompletionEx' NtRemoveIoCompletionEx ntdll 532 imp 'NtRemoveProcessDebug' NtRemoveProcessDebug ntdll 533 imp 'NtRenameKey' NtRenameKey ntdll 534 imp 'NtRenameTransactionManager' NtRenameTransactionManager ntdll 535 imp 'NtReplaceKey' NtReplaceKey ntdll 536 imp 'NtReplacePartitionUnit' NtReplacePartitionUnit ntdll 537 imp 'NtReplyPort' NtReplyPort ntdll 538 imp 'NtReplyWaitReceivePort' NtReplyWaitReceivePort ntdll 539 imp 'NtReplyWaitReceivePortEx' NtReplyWaitReceivePortEx ntdll 540 imp 'NtReplyWaitReplyPort' NtReplyWaitReplyPort ntdll 541 imp 'NtRequestPort' NtRequestPort ntdll 542 imp 'NtRequestWaitReplyPort' NtRequestWaitReplyPort ntdll 543 imp 'NtResetEvent' NtResetEvent ntdll 544 imp 'NtResetWriteWatch' NtResetWriteWatch ntdll 545 imp 'NtRestoreKey' NtRestoreKey ntdll 546 imp 'NtResumeProcess' NtResumeProcess ntdll 547 imp 'NtResumeThread' NtResumeThread ntdll 548 2 imp 'NtRevertContainerImpersonation' NtRevertContainerImpersonation ntdll 549 imp 'NtRollbackComplete' NtRollbackComplete ntdll 550 imp 'NtRollbackEnlistment' NtRollbackEnlistment ntdll 551 imp 'NtRollbackRegistryTransaction' NtRollbackRegistryTransaction ntdll 552 imp 'NtRollbackTransaction' NtRollbackTransaction ntdll 553 imp 'NtRollforwardTransactionManager' NtRollforwardTransactionManager ntdll 554 imp 'NtSaveKey' NtSaveKey ntdll 555 imp 'NtSaveKeyEx' NtSaveKeyEx ntdll 556 imp 'NtSaveMergedKeys' NtSaveMergedKeys ntdll 557 imp 'NtSecureConnectPort' NtSecureConnectPort ntdll 558 imp 'NtSerializeBoot' NtSerializeBoot ntdll 559 imp 'NtSetBootEntryOrder' NtSetBootEntryOrder ntdll 560 imp 'NtSetBootOptions' NtSetBootOptions ntdll 561 imp 'NtSetCachedSigningLevel' NtSetCachedSigningLevel ntdll 562 imp 'NtSetCachedSigningLevel2' NtSetCachedSigningLevel2 ntdll 563 imp 'NtSetContextThread' NtSetContextThread ntdll 564 2 imp 'NtSetDebugFilterState' NtSetDebugFilterState ntdll 565 imp 'NtSetDefaultHardErrorPort' NtSetDefaultHardErrorPort ntdll 566 imp 'NtSetDefaultLocale' NtSetDefaultLocale ntdll 567 imp 'NtSetDefaultUILanguage' NtSetDefaultUILanguage ntdll 568 imp 'NtSetDriverEntryOrder' NtSetDriverEntryOrder ntdll 569 imp 'NtSetEaFile' NtSetEaFile ntdll 570 imp 'NtSetEvent' NtSetEvent ntdll 571 2 imp 'NtSetEventBoostPriority' NtSetEventBoostPriority ntdll 572 imp 'NtSetHighEventPair' NtSetHighEventPair ntdll 573 imp 'NtSetHighWaitLowEventPair' NtSetHighWaitLowEventPair ntdll 574 imp 'NtSetIRTimer' NtSetIRTimer ntdll 575 imp 'NtSetInformationDebugObject' NtSetInformationDebugObject ntdll 576 imp 'NtSetInformationEnlistment' NtSetInformationEnlistment ntdll 577 imp 'NtSetInformationFile' NtSetInformationFile ntdll 578 5 imp 'NtSetInformationJobObject' NtSetInformationJobObject ntdll 579 imp 'NtSetInformationKey' NtSetInformationKey ntdll 580 imp 'NtSetInformationObject' NtSetInformationObject ntdll 581 imp 'NtSetInformationProcess' NtSetInformationProcess ntdll 582 imp 'NtSetInformationResourceManager' NtSetInformationResourceManager ntdll 583 imp 'NtSetInformationSymbolicLink' NtSetInformationSymbolicLink ntdll 584 imp 'NtSetInformationThread' NtSetInformationThread ntdll 585 4 imp 'NtSetInformationToken' NtSetInformationToken ntdll 586 imp 'NtSetInformationTransaction' NtSetInformationTransaction ntdll 587 imp 'NtSetInformationTransactionManager' NtSetInformationTransactionManager ntdll 588 imp 'NtSetInformationVirtualMemory' NtSetInformationVirtualMemory ntdll 589 imp 'NtSetInformationWorkerFactory' NtSetInformationWorkerFactory ntdll 590 imp 'NtSetIntervalProfile' NtSetIntervalProfile ntdll 591 2 imp 'NtSetIoCompletion' NtSetIoCompletion ntdll 592 imp 'NtSetIoCompletionEx' NtSetIoCompletionEx ntdll 593 imp 'NtSetLdtEntries' NtSetLdtEntries ntdll 594 imp 'NtSetLowEventPair' NtSetLowEventPair ntdll 595 imp 'NtSetLowWaitHighEventPair' NtSetLowWaitHighEventPair ntdll 596 imp 'NtSetQuotaInformationFile' NtSetQuotaInformationFile ntdll 597 imp 'NtSetSecurityObject' NtSetSecurityObject ntdll 598 imp 'NtSetSystemEnvironmentValue' NtSetSystemEnvironmentValue ntdll 599 imp 'NtSetSystemEnvironmentValueEx' NtSetSystemEnvironmentValueEx ntdll 600 imp 'NtSetSystemInformation' NtSetSystemInformation ntdll 601 imp 'NtSetSystemPowerState' NtSetSystemPowerState ntdll 602 imp 'NtSetSystemTime' NtSetSystemTime ntdll 603 imp 'NtSetThreadExecutionState' NtSetThreadExecutionState ntdll 604 imp 'NtSetTimer' NtSetTimer ntdll 605 7 imp 'NtSetTimer2' NtSetTimer2 ntdll 606 imp 'NtSetTimerEx' NtSetTimerEx ntdll 607 imp 'NtSetTimerResolution' NtSetTimerResolution ntdll 608 imp 'NtSetUuidSeed' NtSetUuidSeed ntdll 609 imp 'NtSetValueKey' NtSetValueKey ntdll 610 6 imp 'NtSetVolumeInformationFile' NtSetVolumeInformationFile ntdll 611 imp 'NtSetWnfProcessNotificationEvent' NtSetWnfProcessNotificationEvent ntdll 612 imp 'NtShutdownSystem' NtShutdownSystem ntdll 613 imp 'NtShutdownWorkerFactory' NtShutdownWorkerFactory ntdll 614 imp 'NtSignalAndWaitForSingleObject' NtSignalAndWaitForSingleObject ntdll 615 4 imp 'NtSinglePhaseReject' NtSinglePhaseReject ntdll 616 imp 'NtStartProfile' NtStartProfile ntdll 617 1 imp 'NtStopProfile' NtStopProfile ntdll 618 1 imp 'NtSubscribeWnfStateChange' NtSubscribeWnfStateChange ntdll 619 imp 'NtSuspendProcess' NtSuspendProcess ntdll 620 imp 'NtSuspendThread' NtSuspendThread ntdll 621 2 imp 'NtSystemDebugControl' NtSystemDebugControl ntdll 622 imp 'NtTerminateEnclave' NtTerminateEnclave ntdll 623 imp 'NtTerminateJobObject' NtTerminateJobObject ntdll 624 imp 'NtTerminateProcess' NtTerminateProcess ntdll 625 2 imp 'NtTerminateThread' NtTerminateThread ntdll 626 2 imp 'NtTestAlert' NtTestAlert ntdll 627 0 imp 'NtThawRegistry' NtThawRegistry ntdll 628 imp 'NtThawTransactions' NtThawTransactions ntdll 629 imp 'NtTraceControl' NtTraceControl ntdll 630 imp 'NtTraceEvent' NtTraceEvent ntdll 631 imp 'NtTranslateFilePath' NtTranslateFilePath ntdll 632 imp 'NtUmsThreadYield' NtUmsThreadYield ntdll 633 imp 'NtUnloadDriver' NtUnloadDriver ntdll 634 imp 'NtUnloadKey' NtUnloadKey ntdll 635 imp 'NtUnloadKey2' NtUnloadKey2 ntdll 636 imp 'NtUnloadKeyEx' NtUnloadKeyEx ntdll 637 imp 'NtUnlockFile' NtUnlockFile ntdll 638 imp 'NtUnlockVirtualMemory' NtUnlockVirtualMemory ntdll 639 imp 'NtUnmapViewOfSection' NtUnmapViewOfSection ntdll 640 2 imp 'NtUnmapViewOfSectionEx' NtUnmapViewOfSectionEx ntdll 641 imp 'NtUnsubscribeWnfStateChange' NtUnsubscribeWnfStateChange ntdll 642 imp 'NtUpdateWnfStateData' NtUpdateWnfStateData ntdll 643 imp 'NtVdm64CreateProcessInternal' NtVdm64CreateProcessInternalW kernel32 1016 imp 'NtVdmControl' NtVdmControl ntdll 644 imp 'NtWaitForAlertByThreadId' NtWaitForAlertByThreadId ntdll 645 imp 'NtWaitForDebugEvent' NtWaitForDebugEvent ntdll 646 imp 'NtWaitForKeyedEvent' NtWaitForKeyedEvent ntdll 647 4 imp 'NtWaitForMultipleObjects' NtWaitForMultipleObjects ntdll 648 imp 'NtWaitForMultipleObjects32' NtWaitForMultipleObjects32 ntdll 649 imp 'NtWaitForSingleObject' NtWaitForSingleObject ntdll 650 3 imp 'NtWaitForWorkViaWorkerFactory' NtWaitForWorkViaWorkerFactory ntdll 651 imp 'NtWaitHighEventPair' NtWaitHighEventPair ntdll 652 imp 'NtWaitLowEventPair' NtWaitLowEventPair ntdll 653 imp 'NtWorkerFactoryWorkerReady' NtWorkerFactoryWorkerReady ntdll 654 imp 'NtWriteFile' NtWriteFile ntdll 655 9 imp 'NtWriteFileGather' NtWriteFileGather ntdll 656 imp 'NtWriteRequestData' NtWriteRequestData ntdll 657 imp 'NtWriteVirtualMemory' NtWriteVirtualMemory ntdll 658 5 imp 'NtYieldExecution' NtYieldExecution ntdll 659 0 imp 'NtdllDefWindowProc_W' NtdllDefWindowProc_W ntdll 661 imp 'NtdllDialogWndProc_W' NtdllDialogWndProc_W ntdll 663 imp 'PfxFindPrefix' PfxFindPrefix ntdll 664 imp 'PfxInitialize' PfxInitialize ntdll 665 imp 'PfxInsertPrefix' PfxInsertPrefix ntdll 666 imp 'PfxRemovePrefix' PfxRemovePrefix ntdll 667 imp 'PssNtCaptureSnapshot' PssNtCaptureSnapshot ntdll 668 imp 'PssNtDuplicateSnapshot' PssNtDuplicateSnapshot ntdll 669 imp 'PssNtFreeRemoteSnapshot' PssNtFreeRemoteSnapshot ntdll 670 imp 'PssNtFreeSnapshot' PssNtFreeSnapshot ntdll 671 imp 'PssNtFreeWalkMarker' PssNtFreeWalkMarker ntdll 672 imp 'PssNtQuerySnapshot' PssNtQuerySnapshot ntdll 673 imp 'PssNtValidateDescriptor' PssNtValidateDescriptor ntdll 674 imp 'PssNtWalkSnapshot' PssNtWalkSnapshot ntdll 675 imp 'RtlAbortRXact' RtlAbortRXact ntdll 676 imp 'RtlAbsoluteToSelfRelativeSD' RtlAbsoluteToSelfRelativeSD ntdll 677 imp 'RtlAcquirePebLock' RtlAcquirePebLock ntdll 678 imp 'RtlAcquirePrivilege' RtlAcquirePrivilege ntdll 679 imp 'RtlAcquireReleaseSRWLockExclusive' RtlAcquireReleaseSRWLockExclusive ntdll 680 imp 'RtlAcquireResourceExclusive' RtlAcquireResourceExclusive ntdll 681 imp 'RtlAcquireResourceShared' RtlAcquireResourceShared ntdll 682 imp 'RtlAcquireSRWLockExclusive' RtlAcquireSRWLockExclusive ntdll 683 imp 'RtlAcquireSRWLockShared' RtlAcquireSRWLockShared ntdll 684 imp 'RtlActivateActivationContext' RtlActivateActivationContext ntdll 685 imp 'RtlActivateActivationContextEx' RtlActivateActivationContextEx ntdll 686 imp 'RtlActivateActivationContextUnsafeFast' RtlActivateActivationContextUnsafeFast ntdll 687 imp 'RtlAddAccessAllowedAce' RtlAddAccessAllowedAce ntdll 688 imp 'RtlAddAccessAllowedAceEx' RtlAddAccessAllowedAceEx ntdll 689 imp 'RtlAddAccessAllowedObjectAce' RtlAddAccessAllowedObjectAce ntdll 690 imp 'RtlAddAccessDeniedAce' RtlAddAccessDeniedAce ntdll 691 imp 'RtlAddAccessDeniedAceEx' RtlAddAccessDeniedAceEx ntdll 692 imp 'RtlAddAccessDeniedObjectAce' RtlAddAccessDeniedObjectAce ntdll 693 imp 'RtlAddAccessFilterAce' RtlAddAccessFilterAce ntdll 694 imp 'RtlAddAce' RtlAddAce ntdll 695 imp 'RtlAddActionToRXact' RtlAddActionToRXact ntdll 696 imp 'RtlAddAtomToAtomTable' RtlAddAtomToAtomTable ntdll 697 imp 'RtlAddAttributeActionToRXact' RtlAddAttributeActionToRXact ntdll 698 imp 'RtlAddAuditAccessAce' RtlAddAuditAccessAce ntdll 699 imp 'RtlAddAuditAccessAceEx' RtlAddAuditAccessAceEx ntdll 700 imp 'RtlAddAuditAccessObjectAce' RtlAddAuditAccessObjectAce ntdll 701 imp 'RtlAddCompoundAce' RtlAddCompoundAce ntdll 702 imp 'RtlAddFunctionTable' RtlAddFunctionTable ntdll 703 imp 'RtlAddGrowableFunctionTable' RtlAddGrowableFunctionTable ntdll 704 imp 'RtlAddIntegrityLabelToBoundaryDescriptor' RtlAddIntegrityLabelToBoundaryDescriptor ntdll 705 imp 'RtlAddMandatoryAce' RtlAddMandatoryAce ntdll 706 imp 'RtlAddProcessTrustLabelAce' RtlAddProcessTrustLabelAce ntdll 707 imp 'RtlAddRefActivationContext' RtlAddRefActivationContext ntdll 708 imp 'RtlAddRefMemoryStream' RtlAddRefMemoryStream ntdll 709 imp 'RtlAddResourceAttributeAce' RtlAddResourceAttributeAce ntdll 710 imp 'RtlAddSIDToBoundaryDescriptor' RtlAddSIDToBoundaryDescriptor ntdll 711 imp 'RtlAddScopedPolicyIDAce' RtlAddScopedPolicyIDAce ntdll 712 imp 'RtlAddVectoredContinueHandler' RtlAddVectoredContinueHandler ntdll 713 imp 'RtlAddVectoredExceptionHandler' RtlAddVectoredExceptionHandler ntdll 714 imp 'RtlAddressInSectionTable' RtlAddressInSectionTable ntdll 715 imp 'RtlAdjustPrivilege' RtlAdjustPrivilege ntdll 716 imp 'RtlAllocateActivationContextStack' RtlAllocateActivationContextStack ntdll 717 imp 'RtlAllocateAndInitializeSid' RtlAllocateAndInitializeSid ntdll 718 imp 'RtlAllocateAndInitializeSidEx' RtlAllocateAndInitializeSidEx ntdll 719 imp 'RtlAllocateHandle' RtlAllocateHandle ntdll 720 imp 'RtlAllocateHeap' RtlAllocateHeap ntdll 721 3 imp 'RtlAllocateMemoryBlockLookaside' RtlAllocateMemoryBlockLookaside ntdll 722 imp 'RtlAllocateMemoryZone' RtlAllocateMemoryZone ntdll 723 imp 'RtlAllocateWnfSerializationGroup' RtlAllocateWnfSerializationGroup ntdll 724 imp 'RtlAnsiCharToUnicodeChar' RtlAnsiCharToUnicodeChar ntdll 725 imp 'RtlAnsiStringToUnicodeSize' RtlAnsiStringToUnicodeSize ntdll 726 imp 'RtlAnsiStringToUnicodeString' RtlAnsiStringToUnicodeString ntdll 727 imp 'RtlAppendAsciizToString' RtlAppendAsciizToString ntdll 728 imp 'RtlAppendPathElement' RtlAppendPathElement ntdll 729 imp 'RtlAppendStringToString' RtlAppendStringToString ntdll 730 imp 'RtlAppendUnicodeStringToString' RtlAppendUnicodeStringToString ntdll 731 imp 'RtlAppendUnicodeToString' RtlAppendUnicodeToString ntdll 732 imp 'RtlApplicationVerifierStop' RtlApplicationVerifierStop ntdll 733 imp 'RtlApplyRXact' RtlApplyRXact ntdll 734 imp 'RtlApplyRXactNoFlush' RtlApplyRXactNoFlush ntdll 735 imp 'RtlAppxIsFileOwnedByTrustedInstaller' RtlAppxIsFileOwnedByTrustedInstaller ntdll 736 imp 'RtlAreAllAccessesGranted' RtlAreAllAccessesGranted ntdll 737 imp 'RtlAreAnyAccessesGranted' RtlAreAnyAccessesGranted ntdll 738 imp 'RtlAreBitsClear' RtlAreBitsClear ntdll 739 imp 'RtlAreBitsSet' RtlAreBitsSet ntdll 740 imp 'RtlAreLongPathsEnabled' RtlAreLongPathsEnabled ntdll 741 imp 'RtlAssert' RtlAssert ntdll 742 imp 'RtlAvlInsertNodeEx' RtlAvlInsertNodeEx ntdll 743 imp 'RtlAvlRemoveNode' RtlAvlRemoveNode ntdll 744 imp 'RtlBarrier' RtlBarrier ntdll 745 imp 'RtlBarrierForDelete' RtlBarrierForDelete ntdll 746 imp 'RtlCallEnclaveReturn' RtlCallEnclaveReturn ntdll 747 imp 'RtlCancelTimer' RtlCancelTimer ntdll 748 imp 'RtlCanonicalizeDomainName' RtlCanonicalizeDomainName ntdll 749 imp 'RtlCapabilityCheck' RtlCapabilityCheck ntdll 750 imp 'RtlCapabilityCheckForSingleSessionSku' RtlCapabilityCheckForSingleSessionSku ntdll 751 imp 'RtlCaptureContext' RtlCaptureContext ntdll 752 imp 'RtlCaptureStackBackTrace' RtlCaptureStackBackTrace ntdll 753 imp 'RtlCharToInteger' RtlCharToInteger ntdll 754 imp 'RtlCheckBootStatusIntegrity' RtlCheckBootStatusIntegrity ntdll 755 imp 'RtlCheckForOrphanedCriticalSections' RtlCheckForOrphanedCriticalSections ntdll 756 imp 'RtlCheckPortableOperatingSystem' RtlCheckPortableOperatingSystem ntdll 757 imp 'RtlCheckRegistryKey' RtlCheckRegistryKey ntdll 758 imp 'RtlCheckSandboxedToken' RtlCheckSandboxedToken ntdll 759 imp 'RtlCheckSystemBootStatusIntegrity' RtlCheckSystemBootStatusIntegrity ntdll 760 imp 'RtlCheckTokenCapability' RtlCheckTokenCapability ntdll 761 imp 'RtlCheckTokenMembership' RtlCheckTokenMembership ntdll 762 imp 'RtlCheckTokenMembershipEx' RtlCheckTokenMembershipEx ntdll 763 imp 'RtlCleanUpTEBLangLists' RtlCleanUpTEBLangLists ntdll 764 imp 'RtlClearAllBits' RtlClearAllBits ntdll 765 imp 'RtlClearBit' RtlClearBit ntdll 766 imp 'RtlClearBits' RtlClearBits ntdll 767 imp 'RtlClearThreadWorkOnBehalfTicket' RtlClearThreadWorkOnBehalfTicket ntdll 768 imp 'RtlCloneMemoryStream' RtlCloneMemoryStream ntdll 769 imp 'RtlCloneUserProcess' RtlCloneUserProcess ntdll 770 5 imp 'RtlCmDecodeMemIoResource' RtlCmDecodeMemIoResource ntdll 771 imp 'RtlCmEncodeMemIoResource' RtlCmEncodeMemIoResource ntdll 772 imp 'RtlCommitDebugInfo' RtlCommitDebugInfo ntdll 773 imp 'RtlCommitMemoryStream' RtlCommitMemoryStream ntdll 774 imp 'RtlCompactHeap' RtlCompactHeap ntdll 775 imp 'RtlCompareAltitudes' RtlCompareAltitudes ntdll 776 imp 'RtlCompareMemory' RtlCompareMemory ntdll 777 imp 'RtlCompareMemoryUlong' RtlCompareMemoryUlong ntdll 778 imp 'RtlCompareString' RtlCompareString ntdll 779 imp 'RtlCompareUnicodeString' RtlCompareUnicodeString ntdll 780 imp 'RtlCompareUnicodeStrings' RtlCompareUnicodeStrings ntdll 781 imp 'RtlCompleteProcessCloning' RtlCompleteProcessCloning ntdll 782 imp 'RtlCompressBuffer' RtlCompressBuffer ntdll 783 imp 'RtlComputeCrc32' RtlComputeCrc32 ntdll 784 imp 'RtlComputeImportTableHash' RtlComputeImportTableHash ntdll 785 imp 'RtlComputePrivatizedDllName_U' RtlComputePrivatizedDllName_U ntdll 786 imp 'RtlConnectToSm' RtlConnectToSm ntdll 787 imp 'RtlConsoleMultiByteToUnicodeN' RtlConsoleMultiByteToUnicodeN ntdll 788 imp 'RtlContractHashTable' RtlContractHashTable ntdll 789 imp 'RtlConvertDeviceFamilyInfoToString' RtlConvertDeviceFamilyInfoToString ntdll 790 imp 'RtlConvertExclusiveToShared' RtlConvertExclusiveToShared ntdll 791 imp 'RtlConvertLCIDToString' RtlConvertLCIDToString ntdll 792 imp 'RtlConvertSRWLockExclusiveToShared' RtlConvertSRWLockExclusiveToShared ntdll 793 imp 'RtlConvertSharedToExclusive' RtlConvertSharedToExclusive ntdll 794 imp 'RtlConvertSidToUnicodeString' RtlConvertSidToUnicodeString ntdll 795 3 imp 'RtlConvertToAutoInheritSecurityObject' RtlConvertToAutoInheritSecurityObject ntdll 796 imp 'RtlCopyBitMap' RtlCopyBitMap ntdll 797 imp 'RtlCopyContext' RtlCopyContext ntdll 798 imp 'RtlCopyExtendedContext' RtlCopyExtendedContext ntdll 799 imp 'RtlCopyLuid' RtlCopyLuid ntdll 800 imp 'RtlCopyLuidAndAttributesArray' RtlCopyLuidAndAttributesArray ntdll 801 imp 'RtlCopyMappedMemory' RtlCopyMappedMemory ntdll 802 imp 'RtlCopyMemory' RtlCopyMemory ntdll 803 imp 'RtlCopyMemoryNonTemporal' RtlCopyMemoryNonTemporal ntdll 804 imp 'RtlCopyMemoryStreamTo' RtlCopyMemoryStreamTo ntdll 805 imp 'RtlCopyOutOfProcessMemoryStreamTo' RtlCopyOutOfProcessMemoryStreamTo ntdll 806 imp 'RtlCopySecurityDescriptor' RtlCopySecurityDescriptor ntdll 807 imp 'RtlCopySid' RtlCopySid ntdll 808 imp 'RtlCopySidAndAttributesArray' RtlCopySidAndAttributesArray ntdll 809 imp 'RtlCopyString' RtlCopyString ntdll 810 imp 'RtlCopyUnicodeString' RtlCopyUnicodeString ntdll 811 imp 'RtlCrc32' RtlCrc32 ntdll 812 imp 'RtlCrc64' RtlCrc64 ntdll 813 imp 'RtlCreateAcl' RtlCreateAcl ntdll 814 imp 'RtlCreateActivationContext' RtlCreateActivationContext ntdll 815 imp 'RtlCreateAndSetSD' RtlCreateAndSetSD ntdll 816 imp 'RtlCreateAtomTable' RtlCreateAtomTable ntdll 817 imp 'RtlCreateBootStatusDataFile' RtlCreateBootStatusDataFile ntdll 818 imp 'RtlCreateBoundaryDescriptor' RtlCreateBoundaryDescriptor ntdll 819 imp 'RtlCreateEnvironment' RtlCreateEnvironment ntdll 820 imp 'RtlCreateEnvironmentEx' RtlCreateEnvironmentEx ntdll 821 imp 'RtlCreateHashTable' RtlCreateHashTable ntdll 822 imp 'RtlCreateHashTableEx' RtlCreateHashTableEx ntdll 823 imp 'RtlCreateHeap' RtlCreateHeap ntdll 824 6 imp 'RtlCreateMemoryBlockLookaside' RtlCreateMemoryBlockLookaside ntdll 825 imp 'RtlCreateMemoryZone' RtlCreateMemoryZone ntdll 826 imp 'RtlCreateProcessParameters' RtlCreateProcessParameters ntdll 827 10 imp 'RtlCreateProcessParametersEx' RtlCreateProcessParametersEx ntdll 828 imp 'RtlCreateProcessReflection' RtlCreateProcessReflection ntdll 829 imp 'RtlCreateQueryDebugBuffer' RtlCreateQueryDebugBuffer ntdll 830 imp 'RtlCreateRegistryKey' RtlCreateRegistryKey ntdll 831 imp 'RtlCreateSecurityDescriptor' RtlCreateSecurityDescriptor ntdll 832 imp 'RtlCreateServiceSid' RtlCreateServiceSid ntdll 833 imp 'RtlCreateSystemVolumeInformationFolder' RtlCreateSystemVolumeInformationFolder ntdll 834 imp 'RtlCreateTagHeap' RtlCreateTagHeap ntdll 835 imp 'RtlCreateTimer' RtlCreateTimer ntdll 836 imp 'RtlCreateTimerQueue' RtlCreateTimerQueue ntdll 837 imp 'RtlCreateUmsCompletionList' RtlCreateUmsCompletionList ntdll 838 imp 'RtlCreateUmsThreadContext' RtlCreateUmsThreadContext ntdll 839 imp 'RtlCreateUnicodeString' RtlCreateUnicodeString ntdll 840 imp 'RtlCreateUnicodeStringFromAsciiz' RtlCreateUnicodeStringFromAsciiz ntdll 841 imp 'RtlCreateUserProcess' RtlCreateUserProcess ntdll 842 imp 'RtlCreateUserProcessEx' RtlCreateUserProcessEx ntdll 843 imp 'RtlCreateUserSecurityObject' RtlCreateUserSecurityObject ntdll 844 imp 'RtlCreateUserStack' RtlCreateUserStack ntdll 845 imp 'RtlCreateUserThread' RtlCreateUserThread ntdll 846 imp 'RtlCreateVirtualAccountSid' RtlCreateVirtualAccountSid ntdll 847 imp 'RtlCultureNameToLCID' RtlCultureNameToLCID ntdll 848 imp 'RtlCustomCPToUnicodeN' RtlCustomCPToUnicodeN ntdll 849 imp 'RtlCutoverTimeToSystemTime' RtlCutoverTimeToSystemTime ntdll 850 imp 'RtlDeCommitDebugInfo' RtlDeCommitDebugInfo ntdll 851 imp 'RtlDeNormalizeProcessParams' RtlDeNormalizeProcessParams ntdll 852 imp 'RtlDeactivateActivationContext' RtlDeactivateActivationContext ntdll 853 imp 'RtlDeactivateActivationContextUnsafeFast' RtlDeactivateActivationContextUnsafeFast ntdll 854 imp 'RtlDebugPrintTimes' RtlDebugPrintTimes ntdll 855 imp 'RtlDecodePointer' RtlDecodePointer ntdll 856 imp 'RtlDecodeRemotePointer' RtlDecodeRemotePointer ntdll 857 imp 'RtlDecodeSystemPointer' RtlDecodeSystemPointer ntdll 858 imp 'RtlDecompressBuffer' RtlDecompressBuffer ntdll 859 imp 'RtlDecompressBufferEx' RtlDecompressBufferEx ntdll 860 imp 'RtlDecompressFragment' RtlDecompressFragment ntdll 861 imp 'RtlDefaultNpAcl' RtlDefaultNpAcl ntdll 862 imp 'RtlDelete' RtlDelete ntdll 863 imp 'RtlDeleteAce' RtlDeleteAce ntdll 864 imp 'RtlDeleteAtomFromAtomTable' RtlDeleteAtomFromAtomTable ntdll 865 imp 'RtlDeleteBarrier' RtlDeleteBarrier ntdll 866 imp 'RtlDeleteBoundaryDescriptor' RtlDeleteBoundaryDescriptor ntdll 867 imp 'RtlDeleteCriticalSection' RtlDeleteCriticalSection ntdll 868 1 imp 'RtlDeleteElementGenericTable' RtlDeleteElementGenericTable ntdll 869 imp 'RtlDeleteElementGenericTableAvl' RtlDeleteElementGenericTableAvl ntdll 870 imp 'RtlDeleteElementGenericTableAvlEx' RtlDeleteElementGenericTableAvlEx ntdll 871 imp 'RtlDeleteFunctionTable' RtlDeleteFunctionTable ntdll 872 imp 'RtlDeleteGrowableFunctionTable' RtlDeleteGrowableFunctionTable ntdll 873 imp 'RtlDeleteHashTable' RtlDeleteHashTable ntdll 874 imp 'RtlDeleteNoSplay' RtlDeleteNoSplay ntdll 875 imp 'RtlDeleteRegistryValue' RtlDeleteRegistryValue ntdll 876 imp 'RtlDeleteResource' RtlDeleteResource ntdll 877 imp 'RtlDeleteSecurityObject' RtlDeleteSecurityObject ntdll 878 imp 'RtlDeleteTimer' RtlDeleteTimer ntdll 879 imp 'RtlDeleteTimerQueue' RtlDeleteTimerQueue ntdll 880 imp 'RtlDeleteTimerQueueEx' RtlDeleteTimerQueueEx ntdll 881 imp 'RtlDeleteUmsCompletionList' RtlDeleteUmsCompletionList ntdll 882 imp 'RtlDeleteUmsThreadContext' RtlDeleteUmsThreadContext ntdll 883 imp 'RtlDequeueUmsCompletionListItems' RtlDequeueUmsCompletionListItems ntdll 884 imp 'RtlDeregisterSecureMemoryCacheCallback' RtlDeregisterSecureMemoryCacheCallback ntdll 885 imp 'RtlDeregisterWait' RtlDeregisterWait ntdll 886 imp 'RtlDeregisterWaitEx' RtlDeregisterWaitEx ntdll 887 imp 'RtlDeriveCapabilitySidsFromName' RtlDeriveCapabilitySidsFromName ntdll 888 imp 'RtlDestroyAtomTable' RtlDestroyAtomTable ntdll 889 imp 'RtlDestroyEnvironment' RtlDestroyEnvironment ntdll 890 imp 'RtlDestroyHandleTable' RtlDestroyHandleTable ntdll 891 imp 'RtlDestroyHeap' RtlDestroyHeap ntdll 892 1 imp 'RtlDestroyMemoryBlockLookaside' RtlDestroyMemoryBlockLookaside ntdll 893 imp 'RtlDestroyMemoryZone' RtlDestroyMemoryZone ntdll 894 imp 'RtlDestroyProcessParameters' RtlDestroyProcessParameters ntdll 895 1 imp 'RtlDestroyQueryDebugBuffer' RtlDestroyQueryDebugBuffer ntdll 896 imp 'RtlDetectHeapLeaks' RtlDetectHeapLeaks ntdll 897 imp 'RtlDetermineDosPathNameType_U' RtlDetermineDosPathNameType_U ntdll 898 imp 'RtlDisableThreadProfiling' RtlDisableThreadProfiling ntdll 899 imp 'RtlDllShutdownInProgress' RtlDllShutdownInProgress ntdll 900 imp 'RtlDnsHostNameToComputerName' RtlDnsHostNameToComputerName ntdll 901 imp 'RtlDoesFileExists_U' RtlDoesFileExists_U ntdll 902 imp 'RtlDosApplyFileIsolationRedirection_Ustr' RtlDosApplyFileIsolationRedirection_Ustr ntdll 903 imp 'RtlDosLongPathNameToNtPathName_U_WithStatus' RtlDosLongPathNameToNtPathName_U_WithStatus ntdll 904 imp 'RtlDosLongPathNameToRelativeNtPathName_U_WithStatus' RtlDosLongPathNameToRelativeNtPathName_U_WithStatus ntdll 905 imp 'RtlDosPathNameToNtPathName_U' RtlDosPathNameToNtPathName_U ntdll 906 imp 'RtlDosPathNameToNtPathName_U_WithStatus' RtlDosPathNameToNtPathName_U_WithStatus ntdll 907 imp 'RtlDosPathNameToRelativeNtPathName_U' RtlDosPathNameToRelativeNtPathName_U ntdll 908 imp 'RtlDosPathNameToRelativeNtPathName_U_WithStatus' RtlDosPathNameToRelativeNtPathName_U_WithStatus ntdll 909 imp 'RtlDosSearchPath_U' RtlDosSearchPath_U ntdll 910 imp 'RtlDosSearchPath_Ustr' RtlDosSearchPath_Ustr ntdll 911 imp 'RtlDowncaseUnicodeChar' RtlDowncaseUnicodeChar ntdll 912 imp 'RtlDowncaseUnicodeString' RtlDowncaseUnicodeString ntdll 913 imp 'RtlDrainNonVolatileFlush' RtlDrainNonVolatileFlush ntdll 914 imp 'RtlDumpResource' RtlDumpResource ntdll 915 imp 'RtlDuplicateUnicodeString' RtlDuplicateUnicodeString ntdll 916 imp 'RtlEmptyAtomTable' RtlEmptyAtomTable ntdll 917 imp 'RtlEnableEarlyCriticalSectionEventCreation' RtlEnableEarlyCriticalSectionEventCreation ntdll 918 imp 'RtlEnableThreadProfiling' RtlEnableThreadProfiling ntdll 919 imp 'RtlEnclaveCallDispatch' RtlEnclaveCallDispatch ntdll 920 imp 'RtlEnclaveCallDispatchReturn' RtlEnclaveCallDispatchReturn ntdll 921 imp 'RtlEncodePointer' RtlEncodePointer ntdll 922 imp 'RtlEncodeRemotePointer' RtlEncodeRemotePointer ntdll 923 imp 'RtlEncodeSystemPointer' RtlEncodeSystemPointer ntdll 924 imp 'RtlEndEnumerationHashTable' RtlEndEnumerationHashTable ntdll 925 imp 'RtlEndStrongEnumerationHashTable' RtlEndStrongEnumerationHashTable ntdll 926 imp 'RtlEndWeakEnumerationHashTable' RtlEndWeakEnumerationHashTable ntdll 927 imp 'RtlEnterCriticalSection' RtlEnterCriticalSection ntdll 928 1 imp 'RtlEnterUmsSchedulingMode' RtlEnterUmsSchedulingMode ntdll 929 imp 'RtlEnumProcessHeaps' RtlEnumProcessHeaps ntdll 930 imp 'RtlEnumerateEntryHashTable' RtlEnumerateEntryHashTable ntdll 931 imp 'RtlEnumerateGenericTable' RtlEnumerateGenericTable ntdll 932 imp 'RtlEnumerateGenericTableAvl' RtlEnumerateGenericTableAvl ntdll 933 imp 'RtlEnumerateGenericTableLikeADirectory' RtlEnumerateGenericTableLikeADirectory ntdll 934 imp 'RtlEnumerateGenericTableWithoutSplaying' RtlEnumerateGenericTableWithoutSplaying ntdll 935 imp 'RtlEnumerateGenericTableWithoutSplayingAvl' RtlEnumerateGenericTableWithoutSplayingAvl ntdll 936 imp 'RtlEqualComputerName' RtlEqualComputerName ntdll 937 imp 'RtlEqualDomainName' RtlEqualDomainName ntdll 938 imp 'RtlEqualLuid' RtlEqualLuid ntdll 939 imp 'RtlEqualPrefixSid' RtlEqualPrefixSid ntdll 940 imp 'RtlEqualSid' RtlEqualSid ntdll 941 imp 'RtlEqualString' RtlEqualString ntdll 942 imp 'RtlEqualUnicodeString' RtlEqualUnicodeString ntdll 943 imp 'RtlEqualWnfChangeStamps' RtlEqualWnfChangeStamps ntdll 944 imp 'RtlEraseUnicodeString' RtlEraseUnicodeString ntdll 945 imp 'RtlEthernetAddressToString' RtlEthernetAddressToStringW ntdll 947 imp 'RtlEthernetStringToAddress' RtlEthernetStringToAddressW ntdll 949 imp 'RtlExecuteUmsThread' RtlExecuteUmsThread ntdll 950 imp 'RtlExitUserProcess' RtlExitUserProcess ntdll 951 imp 'RtlExitUserThread' RtlExitUserThread ntdll 952 imp 'RtlExpandEnvironmentStrings' RtlExpandEnvironmentStrings ntdll 953 imp 'RtlExpandEnvironmentStrings_U' RtlExpandEnvironmentStrings_U ntdll 954 imp 'RtlExpandHashTable' RtlExpandHashTable ntdll 955 imp 'RtlExtendCorrelationVector' RtlExtendCorrelationVector ntdll 956 imp 'RtlExtendMemoryBlockLookaside' RtlExtendMemoryBlockLookaside ntdll 957 imp 'RtlExtendMemoryZone' RtlExtendMemoryZone ntdll 958 imp 'RtlExtractBitMap' RtlExtractBitMap ntdll 959 imp 'RtlFillMemory' RtlFillMemory ntdll 960 imp 'RtlFinalReleaseOutOfProcessMemoryStream' RtlFinalReleaseOutOfProcessMemoryStream ntdll 961 imp 'RtlFindAceByType' RtlFindAceByType ntdll 962 imp 'RtlFindActivationContextSectionGuid' RtlFindActivationContextSectionGuid ntdll 963 imp 'RtlFindActivationContextSectionString' RtlFindActivationContextSectionString ntdll 964 imp 'RtlFindCharInUnicodeString' RtlFindCharInUnicodeString ntdll 965 imp 'RtlFindClearBits' RtlFindClearBits ntdll 966 imp 'RtlFindClearBitsAndSet' RtlFindClearBitsAndSet ntdll 967 imp 'RtlFindClearRuns' RtlFindClearRuns ntdll 968 imp 'RtlFindClosestEncodableLength' RtlFindClosestEncodableLength ntdll 969 imp 'RtlFindExportedRoutineByName' RtlFindExportedRoutineByName ntdll 970 imp 'RtlFindLastBackwardRunClear' RtlFindLastBackwardRunClear ntdll 971 imp 'RtlFindLeastSignificantBit' RtlFindLeastSignificantBit ntdll 972 imp 'RtlFindLongestRunClear' RtlFindLongestRunClear ntdll 973 imp 'RtlFindMessage' RtlFindMessage ntdll 974 imp 'RtlFindMostSignificantBit' RtlFindMostSignificantBit ntdll 975 imp 'RtlFindNextForwardRunClear' RtlFindNextForwardRunClear ntdll 976 imp 'RtlFindSetBits' RtlFindSetBits ntdll 977 imp 'RtlFindSetBitsAndClear' RtlFindSetBitsAndClear ntdll 978 imp 'RtlFindUnicodeSubstring' RtlFindUnicodeSubstring ntdll 979 imp 'RtlFirstEntrySList' RtlFirstEntrySList ntdll 980 imp 'RtlFirstFreeAce' RtlFirstFreeAce ntdll 981 imp 'RtlFlsAlloc' RtlFlsAlloc ntdll 982 imp 'RtlFlsFree' RtlFlsFree ntdll 983 imp 'RtlFlushHeaps' RtlFlushHeaps ntdll 984 imp 'RtlFlushNonVolatileMemory' RtlFlushNonVolatileMemory ntdll 985 imp 'RtlFlushNonVolatileMemoryRanges' RtlFlushNonVolatileMemoryRanges ntdll 986 imp 'RtlFlushSecureMemoryCache' RtlFlushSecureMemoryCache ntdll 987 imp 'RtlFormatCurrentUserKeyPath' RtlFormatCurrentUserKeyPath ntdll 988 imp 'RtlFormatMessage' RtlFormatMessage ntdll 989 imp 'RtlFormatMessageEx' RtlFormatMessageEx ntdll 990 imp 'RtlFreeActivationContextStack' RtlFreeActivationContextStack ntdll 991 imp 'RtlFreeAnsiString' RtlFreeAnsiString ntdll 992 imp 'RtlFreeHandle' RtlFreeHandle ntdll 993 imp 'RtlFreeHeap' RtlFreeHeap ntdll 994 3 imp 'RtlFreeMemoryBlockLookaside' RtlFreeMemoryBlockLookaside ntdll 995 imp 'RtlFreeNonVolatileToken' RtlFreeNonVolatileToken ntdll 996 imp 'RtlFreeOemString' RtlFreeOemString ntdll 997 imp 'RtlFreeSid' RtlFreeSid ntdll 998 imp 'RtlFreeThreadActivationContextStack' RtlFreeThreadActivationContextStack ntdll 999 imp 'RtlFreeUnicodeString' RtlFreeUnicodeString ntdll 1000 1 imp 'RtlFreeUserStack' RtlFreeUserStack ntdll 1001 imp 'RtlGUIDFromString' RtlGUIDFromString ntdll 1002 imp 'RtlGenerate8dot3Name' RtlGenerate8dot3Name ntdll 1003 imp 'RtlGetAce' RtlGetAce ntdll 1004 imp 'RtlGetActiveActivationContext' RtlGetActiveActivationContext ntdll 1005 imp 'RtlGetActiveConsoleId' RtlGetActiveConsoleId ntdll 1006 imp 'RtlGetAppContainerNamedObjectPath' RtlGetAppContainerNamedObjectPath ntdll 1007 imp 'RtlGetAppContainerParent' RtlGetAppContainerParent ntdll 1008 imp 'RtlGetAppContainerSidType' RtlGetAppContainerSidType ntdll 1009 imp 'RtlGetCallersAddress' RtlGetCallersAddress ntdll 1010 imp 'RtlGetCompressionWorkSpaceSize' RtlGetCompressionWorkSpaceSize ntdll 1011 imp 'RtlGetConsoleSessionForegroundProcessId' RtlGetConsoleSessionForegroundProcessId ntdll 1012 imp 'RtlGetControlSecurityDescriptor' RtlGetControlSecurityDescriptor ntdll 1013 imp 'RtlGetCriticalSectionRecursionCount' RtlGetCriticalSectionRecursionCount ntdll 1014 imp 'RtlGetCurrentDirectory_U' RtlGetCurrentDirectory_U ntdll 1015 imp 'RtlGetCurrentPeb' RtlGetCurrentPeb ntdll 1016 imp 'RtlGetCurrentProcessorNumber' RtlGetCurrentProcessorNumber ntdll 1017 imp 'RtlGetCurrentProcessorNumberEx' RtlGetCurrentProcessorNumberEx ntdll 1018 imp 'RtlGetCurrentServiceSessionId' RtlGetCurrentServiceSessionId ntdll 1019 imp 'RtlGetCurrentTransaction' RtlGetCurrentTransaction ntdll 1020 imp 'RtlGetCurrentUmsThread' RtlGetCurrentUmsThread ntdll 1021 imp 'RtlGetDaclSecurityDescriptor' RtlGetDaclSecurityDescriptor ntdll 1022 imp 'RtlGetDeviceFamilyInfoEnum' RtlGetDeviceFamilyInfoEnum ntdll 1023 imp 'RtlGetElementGenericTable' RtlGetElementGenericTable ntdll 1024 imp 'RtlGetElementGenericTableAvl' RtlGetElementGenericTableAvl ntdll 1025 imp 'RtlGetEnabledExtendedFeatures' RtlGetEnabledExtendedFeatures ntdll 1026 imp 'RtlGetExePath' RtlGetExePath ntdll 1027 imp 'RtlGetExtendedContextLength' RtlGetExtendedContextLength ntdll 1028 imp 'RtlGetExtendedFeaturesMask' RtlGetExtendedFeaturesMask ntdll 1029 imp 'RtlGetFileMUIPath' RtlGetFileMUIPath ntdll 1030 imp 'RtlGetFrame' RtlGetFrame ntdll 1031 imp 'RtlGetFullPathName_U' RtlGetFullPathName_U ntdll 1032 imp 'RtlGetFullPathName_UEx' RtlGetFullPathName_UEx ntdll 1033 imp 'RtlGetFullPathName_UstrEx' RtlGetFullPathName_UstrEx ntdll 1034 imp 'RtlGetFunctionTableListHead' RtlGetFunctionTableListHead ntdll 1035 imp 'RtlGetGroupSecurityDescriptor' RtlGetGroupSecurityDescriptor ntdll 1036 imp 'RtlGetIntegerAtom' RtlGetIntegerAtom ntdll 1037 imp 'RtlGetInterruptTimePrecise' RtlGetInterruptTimePrecise ntdll 1038 imp 'RtlGetLastNtStatus' RtlGetLastNtStatus ntdll 1039 imp 'RtlGetLastWin32Error' RtlGetLastWin32Error ntdll 1040 imp 'RtlGetLengthWithoutLastFullDosOrNtPathElement' RtlGetLengthWithoutLastFullDosOrNtPathElement ntdll 1041 imp 'RtlGetLengthWithoutTrailingPathSeperators' RtlGetLengthWithoutTrailingPathSeperators ntdll 1042 imp 'RtlGetLocaleFileMappingAddress' RtlGetLocaleFileMappingAddress ntdll 1043 imp 'RtlGetLongestNtPathLength' RtlGetLongestNtPathLength ntdll 1044 imp 'RtlGetNativeSystemInformation' RtlGetNativeSystemInformation ntdll 1045 imp 'RtlGetNextEntryHashTable' RtlGetNextEntryHashTable ntdll 1046 imp 'RtlGetNextUmsListItem' RtlGetNextUmsListItem ntdll 1047 imp 'RtlGetNonVolatileToken' RtlGetNonVolatileToken ntdll 1048 imp 'RtlGetNtGlobalFlags' RtlGetNtGlobalFlags ntdll 1049 imp 'RtlGetNtProductType' RtlGetNtProductType ntdll 1050 imp 'RtlGetNtSystemRoot' RtlGetNtSystemRoot ntdll 1051 imp 'RtlGetNtVersionNumbers' RtlGetNtVersionNumbers ntdll 1052 imp 'RtlGetOwnerSecurityDescriptor' RtlGetOwnerSecurityDescriptor ntdll 1053 imp 'RtlGetParentLocaleName' RtlGetParentLocaleName ntdll 1054 imp 'RtlGetPersistedStateLocation' RtlGetPersistedStateLocation ntdll 1055 imp 'RtlGetProcessHeaps' RtlGetProcessHeaps ntdll 1056 2 imp 'RtlGetProcessPreferredUILanguages' RtlGetProcessPreferredUILanguages ntdll 1057 imp 'RtlGetProductInfo' RtlGetProductInfo ntdll 1058 imp 'RtlGetSaclSecurityDescriptor' RtlGetSaclSecurityDescriptor ntdll 1059 imp 'RtlGetSearchPath' RtlGetSearchPath ntdll 1060 imp 'RtlGetSecurityDescriptorRMControl' RtlGetSecurityDescriptorRMControl ntdll 1061 imp 'RtlGetSessionProperties' RtlGetSessionProperties ntdll 1062 imp 'RtlGetSetBootStatusData' RtlGetSetBootStatusData ntdll 1063 imp 'RtlGetSuiteMask' RtlGetSuiteMask ntdll 1064 imp 'RtlGetSystemBootStatus' RtlGetSystemBootStatus ntdll 1065 imp 'RtlGetSystemBootStatusEx' RtlGetSystemBootStatusEx ntdll 1066 imp 'RtlGetSystemPreferredUILanguages' RtlGetSystemPreferredUILanguages ntdll 1067 imp 'RtlGetSystemTimePrecise' RtlGetSystemTimePrecise ntdll 1068 imp 'RtlGetThreadErrorMode' RtlGetThreadErrorMode ntdll 1069 imp 'RtlGetThreadLangIdByIndex' RtlGetThreadLangIdByIndex ntdll 1070 imp 'RtlGetThreadPreferredUILanguages' RtlGetThreadPreferredUILanguages ntdll 1071 imp 'RtlGetThreadWorkOnBehalfTicket' RtlGetThreadWorkOnBehalfTicket ntdll 1072 imp 'RtlGetTokenNamedObjectPath' RtlGetTokenNamedObjectPath ntdll 1073 imp 'RtlGetUILanguageInfo' RtlGetUILanguageInfo ntdll 1074 imp 'RtlGetUmsCompletionListEvent' RtlGetUmsCompletionListEvent ntdll 1075 imp 'RtlGetUnloadEventTrace' RtlGetUnloadEventTrace ntdll 1076 imp 'RtlGetUnloadEventTraceEx' RtlGetUnloadEventTraceEx ntdll 1077 imp 'RtlGetUserInfoHeap' RtlGetUserInfoHeap ntdll 1078 imp 'RtlGetUserPreferredUILanguages' RtlGetUserPreferredUILanguages ntdll 1079 imp 'RtlGetVersion' RtlGetVersion ntdll 1080 imp 'RtlGrowFunctionTable' RtlGrowFunctionTable ntdll 1081 imp 'RtlGuardCheckLongJumpTarget' RtlGuardCheckLongJumpTarget ntdll 1082 imp 'RtlHashUnicodeString' RtlHashUnicodeString ntdll 1083 imp 'RtlHeapTrkInitialize' RtlHeapTrkInitialize ntdll 1084 imp 'RtlIdentifierAuthoritySid' RtlIdentifierAuthoritySid ntdll 1085 imp 'RtlIdnToAscii' RtlIdnToAscii ntdll 1086 imp 'RtlIdnToNameprepUnicode' RtlIdnToNameprepUnicode ntdll 1087 imp 'RtlIdnToUnicode' RtlIdnToUnicode ntdll 1088 imp 'RtlImageDirectoryEntryToData' RtlImageDirectoryEntryToData ntdll 1089 imp 'RtlImageNtHeader' RtlImageNtHeader ntdll 1090 imp 'RtlImageNtHeaderEx' RtlImageNtHeaderEx ntdll 1091 imp 'RtlImageRvaToSection' RtlImageRvaToSection ntdll 1092 imp 'RtlImageRvaToVa' RtlImageRvaToVa ntdll 1093 imp 'RtlImpersonateSelf' RtlImpersonateSelf ntdll 1094 imp 'RtlImpersonateSelfEx' RtlImpersonateSelfEx ntdll 1095 imp 'RtlIncrementCorrelationVector' RtlIncrementCorrelationVector ntdll 1096 imp 'RtlInitAnsiString' RtlInitAnsiString ntdll 1097 imp 'RtlInitAnsiStringEx' RtlInitAnsiStringEx ntdll 1098 imp 'RtlInitBarrier' RtlInitBarrier ntdll 1099 imp 'RtlInitCodePageTable' RtlInitCodePageTable ntdll 1100 imp 'RtlInitEnumerationHashTable' RtlInitEnumerationHashTable ntdll 1101 imp 'RtlInitMemoryStream' RtlInitMemoryStream ntdll 1102 imp 'RtlInitNlsTables' RtlInitNlsTables ntdll 1103 imp 'RtlInitOutOfProcessMemoryStream' RtlInitOutOfProcessMemoryStream ntdll 1104 imp 'RtlInitString' RtlInitString ntdll 1105 imp 'RtlInitStringEx' RtlInitStringEx ntdll 1106 imp 'RtlInitStrongEnumerationHashTable' RtlInitStrongEnumerationHashTable ntdll 1107 imp 'RtlInitUnicodeString' RtlInitUnicodeString ntdll 1108 2 imp 'RtlInitUnicodeStringEx' RtlInitUnicodeStringEx ntdll 1109 imp 'RtlInitWeakEnumerationHashTable' RtlInitWeakEnumerationHashTable ntdll 1110 imp 'RtlInitializeAtomPackage' RtlInitializeAtomPackage ntdll 1111 imp 'RtlInitializeBitMap' RtlInitializeBitMap ntdll 1112 imp 'RtlInitializeBitMapEx' RtlInitializeBitMapEx ntdll 1113 imp 'RtlInitializeConditionVariable' RtlInitializeConditionVariable ntdll 1114 imp 'RtlInitializeContext' RtlInitializeContext ntdll 1115 imp 'RtlInitializeCorrelationVector' RtlInitializeCorrelationVector ntdll 1116 imp 'RtlInitializeCriticalSection' RtlInitializeCriticalSection ntdll 1117 1 imp 'RtlInitializeCriticalSectionAndSpinCount' RtlInitializeCriticalSectionAndSpinCount ntdll 1118 imp 'RtlInitializeCriticalSectionEx' RtlInitializeCriticalSectionEx ntdll 1119 imp 'RtlInitializeExtendedContext' RtlInitializeExtendedContext ntdll 1120 imp 'RtlInitializeGenericTable' RtlInitializeGenericTable ntdll 1121 imp 'RtlInitializeGenericTableAvl' RtlInitializeGenericTableAvl ntdll 1122 imp 'RtlInitializeHandleTable' RtlInitializeHandleTable ntdll 1123 imp 'RtlInitializeNtUserPfn' RtlInitializeNtUserPfn ntdll 1124 imp 'RtlInitializeRXact' RtlInitializeRXact ntdll 1125 imp 'RtlInitializeResource' RtlInitializeResource ntdll 1126 imp 'RtlInitializeSListHead' RtlInitializeSListHead ntdll 1127 imp 'RtlInitializeSRWLock' RtlInitializeSRWLock ntdll 1128 imp 'RtlInitializeSid' RtlInitializeSid ntdll 1129 imp 'RtlInitializeSidEx' RtlInitializeSidEx ntdll 1130 imp 'RtlInsertElementGenericTable' RtlInsertElementGenericTable ntdll 1131 imp 'RtlInsertElementGenericTableAvl' RtlInsertElementGenericTableAvl ntdll 1132 imp 'RtlInsertElementGenericTableFull' RtlInsertElementGenericTableFull ntdll 1133 imp 'RtlInsertElementGenericTableFullAvl' RtlInsertElementGenericTableFullAvl ntdll 1134 imp 'RtlInsertEntryHashTable' RtlInsertEntryHashTable ntdll 1135 imp 'RtlInstallFunctionTableCallback' RtlInstallFunctionTableCallback ntdll 1136 imp 'RtlInt64ToUnicodeString' RtlInt64ToUnicodeString ntdll 1137 imp 'RtlIntegerToChar' RtlIntegerToChar ntdll 1138 imp 'RtlIntegerToUnicodeString' RtlIntegerToUnicodeString ntdll 1139 imp 'RtlInterlockedClearBitRun' RtlInterlockedClearBitRun ntdll 1140 imp 'RtlInterlockedFlushSList' RtlInterlockedFlushSList ntdll 1141 imp 'RtlInterlockedPopEntrySList' RtlInterlockedPopEntrySList ntdll 1142 imp 'RtlInterlockedPushEntrySList' RtlInterlockedPushEntrySList ntdll 1143 imp 'RtlInterlockedPushListSList' RtlInterlockedPushListSList ntdll 1144 imp 'RtlInterlockedPushListSListEx' RtlInterlockedPushListSListEx ntdll 1145 imp 'RtlInterlockedSetBitRun' RtlInterlockedSetBitRun ntdll 1146 imp 'RtlIoDecodeMemIoResource' RtlIoDecodeMemIoResource ntdll 1147 imp 'RtlIoEncodeMemIoResource' RtlIoEncodeMemIoResource ntdll 1148 imp 'RtlIpv4AddressToString' RtlIpv4AddressToStringW ntdll 1152 imp 'RtlIpv4AddressToStringEx' RtlIpv4AddressToStringExW ntdll 1151 imp 'RtlIpv4StringToAddress' RtlIpv4StringToAddressW ntdll 1156 imp 'RtlIpv4StringToAddressEx' RtlIpv4StringToAddressExW ntdll 1155 imp 'RtlIpv6AddressToString' RtlIpv6AddressToStringW ntdll 1160 imp 'RtlIpv6AddressToStringEx' RtlIpv6AddressToStringExW ntdll 1159 imp 'RtlIpv6StringToAddress' RtlIpv6StringToAddressW ntdll 1164 imp 'RtlIpv6StringToAddressEx' RtlIpv6StringToAddressExW ntdll 1163 imp 'RtlIsActivationContextActive' RtlIsActivationContextActive ntdll 1165 imp 'RtlIsCapabilitySid' RtlIsCapabilitySid ntdll 1166 imp 'RtlIsCloudFilesPlaceholder' RtlIsCloudFilesPlaceholder ntdll 1167 imp 'RtlIsCriticalSectionLocked' RtlIsCriticalSectionLocked ntdll 1168 imp 'RtlIsCriticalSectionLockedByThread' RtlIsCriticalSectionLockedByThread ntdll 1169 imp 'RtlIsCurrentProcess' RtlIsCurrentProcess ntdll 1170 imp 'RtlIsCurrentThread' RtlIsCurrentThread ntdll 1171 imp 'RtlIsCurrentThreadAttachExempt' RtlIsCurrentThreadAttachExempt ntdll 1172 imp 'RtlIsDosDeviceName_U' RtlIsDosDeviceName_U ntdll 1173 imp 'RtlIsElevatedRid' RtlIsElevatedRid ntdll 1174 imp 'RtlIsGenericTableEmpty' RtlIsGenericTableEmpty ntdll 1175 imp 'RtlIsGenericTableEmptyAvl' RtlIsGenericTableEmptyAvl ntdll 1176 imp 'RtlIsMultiSessionSku' RtlIsMultiSessionSku ntdll 1177 imp 'RtlIsMultiUsersInSessionSku' RtlIsMultiUsersInSessionSku ntdll 1178 imp 'RtlIsNameInExpression' RtlIsNameInExpression ntdll 1179 imp 'RtlIsNameInUnUpcasedExpression' RtlIsNameInUnUpcasedExpression ntdll 1180 imp 'RtlIsNameLegalDOS8Dot3' RtlIsNameLegalDOS8Dot3 ntdll 1181 imp 'RtlIsNonEmptyDirectoryReparsePointAllowed' RtlIsNonEmptyDirectoryReparsePointAllowed ntdll 1182 imp 'RtlIsNormalizedString' RtlIsNormalizedString ntdll 1183 imp 'RtlIsPackageSid' RtlIsPackageSid ntdll 1184 imp 'RtlIsParentOfChildAppContainer' RtlIsParentOfChildAppContainer ntdll 1185 imp 'RtlIsPartialPlaceholder' RtlIsPartialPlaceholder ntdll 1186 imp 'RtlIsPartialPlaceholderFileHandle' RtlIsPartialPlaceholderFileHandle ntdll 1187 imp 'RtlIsPartialPlaceholderFileInfo' RtlIsPartialPlaceholderFileInfo ntdll 1188 imp 'RtlIsProcessorFeaturePresent' RtlIsProcessorFeaturePresent ntdll 1189 imp 'RtlIsStateSeparationEnabled' RtlIsStateSeparationEnabled ntdll 1190 imp 'RtlIsTextUnicode' RtlIsTextUnicode ntdll 1191 imp 'RtlIsThreadWithinLoaderCallout' RtlIsThreadWithinLoaderCallout ntdll 1192 imp 'RtlIsUntrustedObject' RtlIsUntrustedObject ntdll 1193 imp 'RtlIsValidHandle' RtlIsValidHandle ntdll 1194 imp 'RtlIsValidIndexHandle' RtlIsValidIndexHandle ntdll 1195 imp 'RtlIsValidLocaleName' RtlIsValidLocaleName ntdll 1196 imp 'RtlIsValidProcessTrustLabelSid' RtlIsValidProcessTrustLabelSid ntdll 1197 imp 'RtlKnownExceptionFilter' RtlKnownExceptionFilter ntdll 1198 imp 'RtlLCIDToCultureName' RtlLCIDToCultureName ntdll 1199 imp 'RtlLargeIntegerToChar' RtlLargeIntegerToChar ntdll 1200 imp 'RtlLcidToLocaleName' RtlLcidToLocaleName ntdll 1201 imp 'RtlLeaveCriticalSection' RtlLeaveCriticalSection ntdll 1202 1 imp 'RtlLengthRequiredSid' RtlLengthRequiredSid ntdll 1203 imp 'RtlLengthSecurityDescriptor' RtlLengthSecurityDescriptor ntdll 1204 imp 'RtlLengthSid' RtlLengthSid ntdll 1205 imp 'RtlLengthSidAsUnicodeString' RtlLengthSidAsUnicodeString ntdll 1206 imp 'RtlLoadString' RtlLoadString ntdll 1207 imp 'RtlLocalTimeToSystemTime' RtlLocalTimeToSystemTime ntdll 1208 imp 'RtlLocaleNameToLcid' RtlLocaleNameToLcid ntdll 1209 imp 'RtlLocateExtendedFeature' RtlLocateExtendedFeature ntdll 1210 imp 'RtlLocateExtendedFeature2' RtlLocateExtendedFeature2 ntdll 1211 imp 'RtlLocateLegacyContext' RtlLocateLegacyContext ntdll 1212 imp 'RtlLockBootStatusData' RtlLockBootStatusData ntdll 1213 imp 'RtlLockCurrentThread' RtlLockCurrentThread ntdll 1214 imp 'RtlLockHeap' RtlLockHeap ntdll 1215 1 imp 'RtlLockMemoryBlockLookaside' RtlLockMemoryBlockLookaside ntdll 1216 imp 'RtlLockMemoryStreamRegion' RtlLockMemoryStreamRegion ntdll 1217 imp 'RtlLockMemoryZone' RtlLockMemoryZone ntdll 1218 imp 'RtlLockModuleSection' RtlLockModuleSection ntdll 1219 imp 'RtlLogStackBackTrace' RtlLogStackBackTrace ntdll 1220 imp 'RtlLookupAtomInAtomTable' RtlLookupAtomInAtomTable ntdll 1221 imp 'RtlLookupElementGenericTable' RtlLookupElementGenericTable ntdll 1222 imp 'RtlLookupElementGenericTableAvl' RtlLookupElementGenericTableAvl ntdll 1223 imp 'RtlLookupElementGenericTableFull' RtlLookupElementGenericTableFull ntdll 1224 imp 'RtlLookupElementGenericTableFullAvl' RtlLookupElementGenericTableFullAvl ntdll 1225 imp 'RtlLookupEntryHashTable' RtlLookupEntryHashTable ntdll 1226 imp 'RtlLookupFirstMatchingElementGenericTableAvl' RtlLookupFirstMatchingElementGenericTableAvl ntdll 1227 imp 'RtlLookupFunctionEntry' RtlLookupFunctionEntry ntdll 1228 imp 'RtlLookupFunctionTable' RtlLookupFunctionTable ntdll 1229 imp 'RtlMakeSelfRelativeSD' RtlMakeSelfRelativeSD ntdll 1230 imp 'RtlMapGenericMask' RtlMapGenericMask ntdll 1231 imp 'RtlMapSecurityErrorToNtStatus' RtlMapSecurityErrorToNtStatus ntdll 1232 imp 'RtlMoveMemory' RtlMoveMemory ntdll 1233 imp 'RtlMultiAppendUnicodeStringBuffer' RtlMultiAppendUnicodeStringBuffer ntdll 1234 imp 'RtlMultiByteToUnicodeN' RtlMultiByteToUnicodeN ntdll 1235 imp 'RtlMultiByteToUnicodeSize' RtlMultiByteToUnicodeSize ntdll 1236 imp 'RtlMultipleAllocateHeap' RtlMultipleAllocateHeap ntdll 1237 imp 'RtlMultipleFreeHeap' RtlMultipleFreeHeap ntdll 1238 imp 'RtlNewInstanceSecurityObject' RtlNewInstanceSecurityObject ntdll 1239 imp 'RtlNewSecurityGrantedAccess' RtlNewSecurityGrantedAccess ntdll 1240 imp 'RtlNewSecurityObject' RtlNewSecurityObject ntdll 1241 imp 'RtlNewSecurityObjectEx' RtlNewSecurityObjectEx ntdll 1242 imp 'RtlNewSecurityObjectWithMultipleInheritance' RtlNewSecurityObjectWithMultipleInheritance ntdll 1243 imp 'RtlNormalizeProcessParams' RtlNormalizeProcessParams ntdll 1244 imp 'RtlNormalizeString' RtlNormalizeString ntdll 1245 imp 'RtlNtPathNameToDosPathName' RtlNtPathNameToDosPathName ntdll 1246 imp 'RtlNtStatusToDosError' RtlNtStatusToDosError ntdll 1247 1 imp 'RtlNtStatusToDosErrorNoTeb' RtlNtStatusToDosErrorNoTeb ntdll 1248 imp 'RtlNtdllName' RtlNtdllName ntdll 1249 imp 'RtlNumberGenericTableElements' RtlNumberGenericTableElements ntdll 1250 imp 'RtlNumberGenericTableElementsAvl' RtlNumberGenericTableElementsAvl ntdll 1251 imp 'RtlNumberOfClearBits' RtlNumberOfClearBits ntdll 1252 imp 'RtlNumberOfClearBitsInRange' RtlNumberOfClearBitsInRange ntdll 1253 imp 'RtlNumberOfSetBits' RtlNumberOfSetBits ntdll 1254 imp 'RtlNumberOfSetBitsInRange' RtlNumberOfSetBitsInRange ntdll 1255 imp 'RtlNumberOfSetBitsUlongPtr' RtlNumberOfSetBitsUlongPtr ntdll 1256 imp 'RtlOemStringToUnicodeSize' RtlOemStringToUnicodeSize ntdll 1257 imp 'RtlOemStringToUnicodeString' RtlOemStringToUnicodeString ntdll 1258 imp 'RtlOemToUnicodeN' RtlOemToUnicodeN ntdll 1259 imp 'RtlOpenCurrentUser' RtlOpenCurrentUser ntdll 1260 imp 'RtlOsDeploymentState' RtlOsDeploymentState ntdll 1261 imp 'RtlOwnerAcesPresent' RtlOwnerAcesPresent ntdll 1262 imp 'RtlPcToFileHeader' RtlPcToFileHeader ntdll 1263 imp 'RtlPinAtomInAtomTable' RtlPinAtomInAtomTable ntdll 1264 imp 'RtlPopFrame' RtlPopFrame ntdll 1265 imp 'RtlPrefixString' RtlPrefixString ntdll 1266 imp 'RtlPrefixUnicodeString' RtlPrefixUnicodeString ntdll 1267 imp 'RtlPrepareForProcessCloning' RtlPrepareForProcessCloning ntdll 1268 imp 'RtlProcessFlsData' RtlProcessFlsData ntdll 1269 imp 'RtlProtectHeap' RtlProtectHeap ntdll 1270 imp 'RtlPublishWnfStateData' RtlPublishWnfStateData ntdll 1271 imp 'RtlPushFrame' RtlPushFrame ntdll 1272 imp 'RtlQueryActivationContextApplicationSettings' RtlQueryActivationContextApplicationSettings ntdll 1273 imp 'RtlQueryAtomInAtomTable' RtlQueryAtomInAtomTable ntdll 1274 imp 'RtlQueryCriticalSectionOwner' RtlQueryCriticalSectionOwner ntdll 1275 imp 'RtlQueryDepthSList' RtlQueryDepthSList ntdll 1276 imp 'RtlQueryDynamicTimeZoneInformation' RtlQueryDynamicTimeZoneInformation ntdll 1277 imp 'RtlQueryElevationFlags' RtlQueryElevationFlags ntdll 1278 imp 'RtlQueryEnvironmentVariable' RtlQueryEnvironmentVariable ntdll 1279 3 imp 'RtlQueryEnvironmentVariable_U' RtlQueryEnvironmentVariable_U ntdll 1280 imp 'RtlQueryHeapInformation' RtlQueryHeapInformation ntdll 1281 imp 'RtlQueryImageMitigationPolicy' RtlQueryImageMitigationPolicy ntdll 1282 imp 'RtlQueryInformationAcl' RtlQueryInformationAcl ntdll 1283 imp 'RtlQueryInformationActivationContext' RtlQueryInformationActivationContext ntdll 1284 imp 'RtlQueryInformationActiveActivationContext' RtlQueryInformationActiveActivationContext ntdll 1285 imp 'RtlQueryInterfaceMemoryStream' RtlQueryInterfaceMemoryStream ntdll 1286 imp 'RtlQueryModuleInformation' RtlQueryModuleInformation ntdll 1287 imp 'RtlQueryPackageClaims' RtlQueryPackageClaims ntdll 1288 imp 'RtlQueryPackageIdentity' RtlQueryPackageIdentity ntdll 1289 imp 'RtlQueryPackageIdentityEx' RtlQueryPackageIdentityEx ntdll 1290 imp 'RtlQueryPerformanceCounter' RtlQueryPerformanceCounter ntdll 1291 imp 'RtlQueryPerformanceFrequency' RtlQueryPerformanceFrequency ntdll 1292 imp 'RtlQueryProcessBackTraceInformation' RtlQueryProcessBackTraceInformation ntdll 1293 imp 'RtlQueryProcessDebugInformation' RtlQueryProcessDebugInformation ntdll 1294 imp 'RtlQueryProcessHeapInformation' RtlQueryProcessHeapInformation ntdll 1295 imp 'RtlQueryProcessLockInformation' RtlQueryProcessLockInformation ntdll 1296 imp 'RtlQueryProcessPlaceholderCompatibilityMode' RtlQueryProcessPlaceholderCompatibilityMode ntdll 1297 imp 'RtlQueryProtectedPolicy' RtlQueryProtectedPolicy ntdll 1298 imp 'RtlQueryRegistryValueWithFallback' RtlQueryRegistryValueWithFallback ntdll 1299 imp 'RtlQueryRegistryValues' RtlQueryRegistryValues ntdll 1300 imp 'RtlQueryRegistryValuesEx' RtlQueryRegistryValuesEx ntdll 1301 imp 'RtlQueryResourcePolicy' RtlQueryResourcePolicy ntdll 1302 imp 'RtlQuerySecurityObject' RtlQuerySecurityObject ntdll 1303 imp 'RtlQueryTagHeap' RtlQueryTagHeap ntdll 1304 imp 'RtlQueryThreadPlaceholderCompatibilityMode' RtlQueryThreadPlaceholderCompatibilityMode ntdll 1305 imp 'RtlQueryThreadProfiling' RtlQueryThreadProfiling ntdll 1306 imp 'RtlQueryTimeZoneInformation' RtlQueryTimeZoneInformation ntdll 1307 imp 'RtlQueryTokenHostIdAsUlong64' RtlQueryTokenHostIdAsUlong64 ntdll 1308 imp 'RtlQueryUmsThreadInformation' RtlQueryUmsThreadInformation ntdll 1309 imp 'RtlQueryUnbiasedInterruptTime' RtlQueryUnbiasedInterruptTime ntdll 1310 imp 'RtlQueryValidationRunlevel' RtlQueryValidationRunlevel ntdll 1311 imp 'RtlQueryWnfMetaNotification' RtlQueryWnfMetaNotification ntdll 1312 imp 'RtlQueryWnfStateData' RtlQueryWnfStateData ntdll 1313 imp 'RtlQueryWnfStateDataWithExplicitScope' RtlQueryWnfStateDataWithExplicitScope ntdll 1314 imp 'RtlQueueWorkItem' RtlQueueWorkItem ntdll 1316 imp 'RtlRaiseCustomSystemEventTrigger' RtlRaiseCustomSystemEventTrigger ntdll 1317 imp 'RtlRaiseException' RtlRaiseException ntdll 1318 imp 'RtlRaiseStatus' RtlRaiseStatus ntdll 1319 imp 'RtlRandom' RtlRandom ntdll 1320 imp 'RtlRandomEx' RtlRandomEx ntdll 1321 imp 'RtlRbInsertNodeEx' RtlRbInsertNodeEx ntdll 1322 imp 'RtlRbRemoveNode' RtlRbRemoveNode ntdll 1323 imp 'RtlReAllocateHeap' RtlReAllocateHeap ntdll 1324 4 imp 'RtlReadMemoryStream' RtlReadMemoryStream ntdll 1325 imp 'RtlReadOutOfProcessMemoryStream' RtlReadOutOfProcessMemoryStream ntdll 1326 imp 'RtlReadThreadProfilingData' RtlReadThreadProfilingData ntdll 1327 imp 'RtlRealPredecessor' RtlRealPredecessor ntdll 1328 imp 'RtlRealSuccessor' RtlRealSuccessor ntdll 1329 imp 'RtlRegisterForWnfMetaNotification' RtlRegisterForWnfMetaNotification ntdll 1330 imp 'RtlRegisterSecureMemoryCacheCallback' RtlRegisterSecureMemoryCacheCallback ntdll 1331 imp 'RtlRegisterThreadWithCsrss' RtlRegisterThreadWithCsrss ntdll 1332 imp 'RtlRegisterWait' RtlRegisterWait ntdll 1333 imp 'RtlReleaseActivationContext' RtlReleaseActivationContext ntdll 1334 imp 'RtlReleaseMemoryStream' RtlReleaseMemoryStream ntdll 1335 imp 'RtlReleasePath' RtlReleasePath ntdll 1336 imp 'RtlReleasePebLock' RtlReleasePebLock ntdll 1337 imp 'RtlReleasePrivilege' RtlReleasePrivilege ntdll 1338 imp 'RtlReleaseRelativeName' RtlReleaseRelativeName ntdll 1339 imp 'RtlReleaseResource' RtlReleaseResource ntdll 1340 imp 'RtlReleaseSRWLockExclusive' RtlReleaseSRWLockExclusive ntdll 1341 imp 'RtlReleaseSRWLockShared' RtlReleaseSRWLockShared ntdll 1342 imp 'RtlRemoteCall' RtlRemoteCall ntdll 1343 imp 'RtlRemoveEntryHashTable' RtlRemoveEntryHashTable ntdll 1344 imp 'RtlRemovePrivileges' RtlRemovePrivileges ntdll 1345 imp 'RtlRemoveVectoredContinueHandler' RtlRemoveVectoredContinueHandler ntdll 1346 imp 'RtlRemoveVectoredExceptionHandler' RtlRemoveVectoredExceptionHandler ntdll 1347 imp 'RtlReplaceSidInSd' RtlReplaceSidInSd ntdll 1348 imp 'RtlReplaceSystemDirectoryInPath' RtlReplaceSystemDirectoryInPath ntdll 1349 imp 'RtlReportException' RtlReportException ntdll 1350 imp 'RtlReportExceptionEx' RtlReportExceptionEx ntdll 1351 imp 'RtlReportSilentProcessExit' RtlReportSilentProcessExit ntdll 1352 imp 'RtlReportSqmEscalation' RtlReportSqmEscalation ntdll 1353 imp 'RtlResetMemoryBlockLookaside' RtlResetMemoryBlockLookaside ntdll 1354 imp 'RtlResetMemoryZone' RtlResetMemoryZone ntdll 1355 imp 'RtlResetNtUserPfn' RtlResetNtUserPfn ntdll 1356 imp 'RtlResetRtlTranslations' RtlResetRtlTranslations ntdll 1357 imp 'RtlRestoreBootStatusDefaults' RtlRestoreBootStatusDefaults ntdll 1358 imp 'RtlRestoreContext' RtlRestoreContext ntdll 1359 imp 'RtlRestoreLastWin32Error' RtlRestoreLastWin32Error ntdll 1360 imp 'RtlRestoreSystemBootStatusDefaults' RtlRestoreSystemBootStatusDefaults ntdll 1361 imp 'RtlRetrieveNtUserPfn' RtlRetrieveNtUserPfn ntdll 1362 imp 'RtlRevertMemoryStream' RtlRevertMemoryStream ntdll 1363 imp 'RtlRunDecodeUnicodeString' RtlRunDecodeUnicodeString ntdll 1364 imp 'RtlRunEncodeUnicodeString' RtlRunEncodeUnicodeString ntdll 1365 imp 'RtlRunOnceBeginInitialize' RtlRunOnceBeginInitialize ntdll 1366 imp 'RtlRunOnceComplete' RtlRunOnceComplete ntdll 1367 imp 'RtlRunOnceExecuteOnce' RtlRunOnceExecuteOnce ntdll 1368 imp 'RtlRunOnceInitialize' RtlRunOnceInitialize ntdll 1369 imp 'RtlSecondsSince1970ToTime' RtlSecondsSince1970ToTime ntdll 1370 imp 'RtlSecondsSince1980ToTime' RtlSecondsSince1980ToTime ntdll 1371 imp 'RtlSeekMemoryStream' RtlSeekMemoryStream ntdll 1372 imp 'RtlSelfRelativeToAbsoluteSD' RtlSelfRelativeToAbsoluteSD ntdll 1373 imp 'RtlSelfRelativeToAbsoluteSD2' RtlSelfRelativeToAbsoluteSD2 ntdll 1374 imp 'RtlSendMsgToSm' RtlSendMsgToSm ntdll 1375 imp 'RtlSetAllBits' RtlSetAllBits ntdll 1376 imp 'RtlSetAttributesSecurityDescriptor' RtlSetAttributesSecurityDescriptor ntdll 1377 imp 'RtlSetBit' RtlSetBit ntdll 1378 imp 'RtlSetBits' RtlSetBits ntdll 1379 imp 'RtlSetControlSecurityDescriptor' RtlSetControlSecurityDescriptor ntdll 1380 imp 'RtlSetCriticalSectionSpinCount' RtlSetCriticalSectionSpinCount ntdll 1381 imp 'RtlSetCurrentDirectory_U' RtlSetCurrentDirectory_U ntdll 1382 imp 'RtlSetCurrentEnvironment' RtlSetCurrentEnvironment ntdll 1383 imp 'RtlSetCurrentTransaction' RtlSetCurrentTransaction ntdll 1384 imp 'RtlSetDaclSecurityDescriptor' RtlSetDaclSecurityDescriptor ntdll 1385 imp 'RtlSetDynamicTimeZoneInformation' RtlSetDynamicTimeZoneInformation ntdll 1386 imp 'RtlSetEnvironmentStrings' RtlSetEnvironmentStrings ntdll 1387 imp 'RtlSetEnvironmentVar' RtlSetEnvironmentVar ntdll 1388 imp 'RtlSetEnvironmentVariable' RtlSetEnvironmentVariable ntdll 1389 imp 'RtlSetExtendedFeaturesMask' RtlSetExtendedFeaturesMask ntdll 1390 imp 'RtlSetGroupSecurityDescriptor' RtlSetGroupSecurityDescriptor ntdll 1391 imp 'RtlSetHeapInformation' RtlSetHeapInformation ntdll 1392 imp 'RtlSetImageMitigationPolicy' RtlSetImageMitigationPolicy ntdll 1393 imp 'RtlSetInformationAcl' RtlSetInformationAcl ntdll 1394 imp 'RtlSetIoCompletionCallback' RtlSetIoCompletionCallback ntdll 1395 imp 'RtlSetLastWin32Error' RtlSetLastWin32Error ntdll 1396 imp 'RtlSetLastWin32ErrorAndNtStatusFromNtStatus' RtlSetLastWin32ErrorAndNtStatusFromNtStatus ntdll 1397 imp 'RtlSetMemoryStreamSize' RtlSetMemoryStreamSize ntdll 1398 imp 'RtlSetOwnerSecurityDescriptor' RtlSetOwnerSecurityDescriptor ntdll 1399 imp 'RtlSetPortableOperatingSystem' RtlSetPortableOperatingSystem ntdll 1400 imp 'RtlSetProcessDebugInformation' RtlSetProcessDebugInformation ntdll 1401 imp 'RtlSetProcessIsCritical' RtlSetProcessIsCritical ntdll 1402 imp 'RtlSetProcessPlaceholderCompatibilityMode' RtlSetProcessPlaceholderCompatibilityMode ntdll 1403 imp 'RtlSetProcessPreferredUILanguages' RtlSetProcessPreferredUILanguages ntdll 1404 imp 'RtlSetProtectedPolicy' RtlSetProtectedPolicy ntdll 1405 imp 'RtlSetProxiedProcessId' RtlSetProxiedProcessId ntdll 1406 imp 'RtlSetSaclSecurityDescriptor' RtlSetSaclSecurityDescriptor ntdll 1407 imp 'RtlSetSearchPathMode' RtlSetSearchPathMode ntdll 1408 imp 'RtlSetSecurityDescriptorRMControl' RtlSetSecurityDescriptorRMControl ntdll 1409 imp 'RtlSetSecurityObject' RtlSetSecurityObject ntdll 1410 imp 'RtlSetSecurityObjectEx' RtlSetSecurityObjectEx ntdll 1411 imp 'RtlSetSystemBootStatus' RtlSetSystemBootStatus ntdll 1412 imp 'RtlSetSystemBootStatusEx' RtlSetSystemBootStatusEx ntdll 1413 imp 'RtlSetThreadErrorMode' RtlSetThreadErrorMode ntdll 1414 imp 'RtlSetThreadIsCritical' RtlSetThreadIsCritical ntdll 1415 imp 'RtlSetThreadPlaceholderCompatibilityMode' RtlSetThreadPlaceholderCompatibilityMode ntdll 1416 imp 'RtlSetThreadPoolStartFunc' RtlSetThreadPoolStartFunc ntdll 1417 imp 'RtlSetThreadPreferredUILanguages' RtlSetThreadPreferredUILanguages ntdll 1418 imp 'RtlSetThreadSubProcessTag' RtlSetThreadSubProcessTag ntdll 1419 imp 'RtlSetThreadWorkOnBehalfTicket' RtlSetThreadWorkOnBehalfTicket ntdll 1420 imp 'RtlSetTimeZoneInformation' RtlSetTimeZoneInformation ntdll 1421 imp 'RtlSetTimer' RtlSetTimer ntdll 1422 imp 'RtlSetUmsThreadInformation' RtlSetUmsThreadInformation ntdll 1423 imp 'RtlSetUnhandledExceptionFilter' RtlSetUnhandledExceptionFilter ntdll 1424 imp 'RtlSetUserFlagsHeap' RtlSetUserFlagsHeap ntdll 1425 imp 'RtlSetUserValueHeap' RtlSetUserValueHeap ntdll 1426 imp 'RtlSidDominates' RtlSidDominates ntdll 1427 imp 'RtlSidDominatesForTrust' RtlSidDominatesForTrust ntdll 1428 imp 'RtlSidEqualLevel' RtlSidEqualLevel ntdll 1429 imp 'RtlSidHashInitialize' RtlSidHashInitialize ntdll 1430 imp 'RtlSidHashLookup' RtlSidHashLookup ntdll 1431 imp 'RtlSidIsHigherLevel' RtlSidIsHigherLevel ntdll 1432 imp 'RtlSizeHeap' RtlSizeHeap ntdll 1433 3 imp 'RtlSleepConditionVariableCS' RtlSleepConditionVariableCS ntdll 1434 imp 'RtlSleepConditionVariableSRW' RtlSleepConditionVariableSRW ntdll 1435 imp 'RtlSplay' RtlSplay ntdll 1436 imp 'RtlStartRXact' RtlStartRXact ntdll 1437 imp 'RtlStatMemoryStream' RtlStatMemoryStream ntdll 1438 imp 'RtlStringFromGUID' RtlStringFromGUID ntdll 1439 imp 'RtlStringFromGUIDEx' RtlStringFromGUIDEx ntdll 1440 imp 'RtlStronglyEnumerateEntryHashTable' RtlStronglyEnumerateEntryHashTable ntdll 1441 imp 'RtlSubAuthorityCountSid' RtlSubAuthorityCountSid ntdll 1442 imp 'RtlSubAuthoritySid' RtlSubAuthoritySid ntdll 1443 imp 'RtlSubscribeWnfStateChangeNotification' RtlSubscribeWnfStateChangeNotification ntdll 1444 imp 'RtlSubtreePredecessor' RtlSubtreePredecessor ntdll 1445 imp 'RtlSubtreeSuccessor' RtlSubtreeSuccessor ntdll 1446 imp 'RtlSwitchedVVI' RtlSwitchedVVI ntdll 1447 imp 'RtlSystemTimeToLocalTime' RtlSystemTimeToLocalTime ntdll 1448 imp 'RtlTestAndPublishWnfStateData' RtlTestAndPublishWnfStateData ntdll 1449 imp 'RtlTestBit' RtlTestBit ntdll 1450 imp 'RtlTestBitEx' RtlTestBitEx ntdll 1451 imp 'RtlTestProtectedAccess' RtlTestProtectedAccess ntdll 1452 imp 'RtlTimeFieldsToTime' RtlTimeFieldsToTime ntdll 1453 imp 'RtlTimeToElapsedTimeFields' RtlTimeToElapsedTimeFields ntdll 1454 imp 'RtlTimeToSecondsSince1970' RtlTimeToSecondsSince1970 ntdll 1455 imp 'RtlTimeToSecondsSince1980' RtlTimeToSecondsSince1980 ntdll 1456 imp 'RtlTimeToTimeFields' RtlTimeToTimeFields ntdll 1457 imp 'RtlTraceDatabaseAdd' RtlTraceDatabaseAdd ntdll 1458 imp 'RtlTraceDatabaseCreate' RtlTraceDatabaseCreate ntdll 1459 imp 'RtlTraceDatabaseDestroy' RtlTraceDatabaseDestroy ntdll 1460 imp 'RtlTraceDatabaseEnumerate' RtlTraceDatabaseEnumerate ntdll 1461 imp 'RtlTraceDatabaseFind' RtlTraceDatabaseFind ntdll 1462 imp 'RtlTraceDatabaseLock' RtlTraceDatabaseLock ntdll 1463 imp 'RtlTraceDatabaseUnlock' RtlTraceDatabaseUnlock ntdll 1464 imp 'RtlTraceDatabaseValidate' RtlTraceDatabaseValidate ntdll 1465 imp 'RtlTryAcquirePebLock' RtlTryAcquirePebLock ntdll 1466 imp 'RtlTryAcquireSRWLockExclusive' RtlTryAcquireSRWLockExclusive ntdll 1467 imp 'RtlTryAcquireSRWLockShared' RtlTryAcquireSRWLockShared ntdll 1468 imp 'RtlTryConvertSRWLockSharedToExclusiveOrRelease' RtlTryConvertSRWLockSharedToExclusiveOrRelease ntdll 1469 imp 'RtlTryEnterCriticalSection' RtlTryEnterCriticalSection ntdll 1470 1 imp 'RtlUTF8ToUnicodeN' RtlUTF8ToUnicodeN ntdll 1471 imp 'RtlUmsThreadYield' RtlUmsThreadYield ntdll 1472 imp 'RtlUnhandledExceptionFilter' RtlUnhandledExceptionFilter ntdll 1473 imp 'RtlUnhandledExceptionFilter2' RtlUnhandledExceptionFilter2 ntdll 1474 imp 'RtlUnicodeStringToAnsiSize' RtlUnicodeStringToAnsiSize ntdll 1475 imp 'RtlUnicodeStringToAnsiString' RtlUnicodeStringToAnsiString ntdll 1476 imp 'RtlUnicodeStringToCountedOemString' RtlUnicodeStringToCountedOemString ntdll 1477 imp 'RtlUnicodeStringToInteger' RtlUnicodeStringToInteger ntdll 1478 imp 'RtlUnicodeStringToOemSize' RtlUnicodeStringToOemSize ntdll 1479 imp 'RtlUnicodeStringToOemString' RtlUnicodeStringToOemString ntdll 1480 imp 'RtlUnicodeToCustomCPN' RtlUnicodeToCustomCPN ntdll 1481 imp 'RtlUnicodeToMultiByteN' RtlUnicodeToMultiByteN ntdll 1482 imp 'RtlUnicodeToMultiByteSize' RtlUnicodeToMultiByteSize ntdll 1483 imp 'RtlUnicodeToOemN' RtlUnicodeToOemN ntdll 1484 imp 'RtlUnicodeToUTF8N' RtlUnicodeToUTF8N ntdll 1485 imp 'RtlUniform' RtlUniform ntdll 1486 imp 'RtlUnlockBootStatusData' RtlUnlockBootStatusData ntdll 1487 imp 'RtlUnlockCurrentThread' RtlUnlockCurrentThread ntdll 1488 imp 'RtlUnlockHeap' RtlUnlockHeap ntdll 1489 1 imp 'RtlUnlockMemoryBlockLookaside' RtlUnlockMemoryBlockLookaside ntdll 1490 imp 'RtlUnlockMemoryStreamRegion' RtlUnlockMemoryStreamRegion ntdll 1491 imp 'RtlUnlockMemoryZone' RtlUnlockMemoryZone ntdll 1492 imp 'RtlUnlockModuleSection' RtlUnlockModuleSection ntdll 1493 imp 'RtlUnsubscribeWnfNotificationWaitForCompletion' RtlUnsubscribeWnfNotificationWaitForCompletion ntdll 1494 imp 'RtlUnsubscribeWnfNotificationWithCompletionCallback' RtlUnsubscribeWnfNotificationWithCompletionCallback ntdll 1495 imp 'RtlUnsubscribeWnfStateChangeNotification' RtlUnsubscribeWnfStateChangeNotification ntdll 1496 imp 'RtlUnwind' RtlUnwind ntdll 1497 imp 'RtlUnwindEx' RtlUnwindEx ntdll 1498 imp 'RtlUpcaseUnicodeChar' RtlUpcaseUnicodeChar ntdll 1499 imp 'RtlUpcaseUnicodeString' RtlUpcaseUnicodeString ntdll 1500 imp 'RtlUpcaseUnicodeStringToAnsiString' RtlUpcaseUnicodeStringToAnsiString ntdll 1501 imp 'RtlUpcaseUnicodeStringToCountedOemString' RtlUpcaseUnicodeStringToCountedOemString ntdll 1502 imp 'RtlUpcaseUnicodeStringToOemString' RtlUpcaseUnicodeStringToOemString ntdll 1503 imp 'RtlUpcaseUnicodeToCustomCPN' RtlUpcaseUnicodeToCustomCPN ntdll 1504 imp 'RtlUpcaseUnicodeToMultiByteN' RtlUpcaseUnicodeToMultiByteN ntdll 1505 imp 'RtlUpcaseUnicodeToOemN' RtlUpcaseUnicodeToOemN ntdll 1506 imp 'RtlUpdateClonedCriticalSection' RtlUpdateClonedCriticalSection ntdll 1507 imp 'RtlUpdateClonedSRWLock' RtlUpdateClonedSRWLock ntdll 1508 imp 'RtlUpdateTimer' RtlUpdateTimer ntdll 1509 imp 'RtlUpperChar' RtlUpperChar ntdll 1510 imp 'RtlUpperString' RtlUpperString ntdll 1511 imp 'RtlUserThreadStart' RtlUserThreadStart ntdll 1512 imp 'RtlValidAcl' RtlValidAcl ntdll 1513 imp 'RtlValidProcessProtection' RtlValidProcessProtection ntdll 1514 imp 'RtlValidRelativeSecurityDescriptor' RtlValidRelativeSecurityDescriptor ntdll 1515 imp 'RtlValidSecurityDescriptor' RtlValidSecurityDescriptor ntdll 1516 imp 'RtlValidSid' RtlValidSid ntdll 1517 imp 'RtlValidateCorrelationVector' RtlValidateCorrelationVector ntdll 1518 imp 'RtlValidateHeap' RtlValidateHeap ntdll 1519 3 imp 'RtlValidateProcessHeaps' RtlValidateProcessHeaps ntdll 1520 imp 'RtlValidateUnicodeString' RtlValidateUnicodeString ntdll 1521 imp 'RtlVerifyVersionInfo' RtlVerifyVersionInfo ntdll 1522 imp 'RtlVirtualUnwind' RtlVirtualUnwind ntdll 1523 imp 'RtlWaitForWnfMetaNotification' RtlWaitForWnfMetaNotification ntdll 1524 imp 'RtlWaitOnAddress' RtlWaitOnAddress ntdll 1525 imp 'RtlWakeAddressAll' RtlWakeAddressAll ntdll 1526 imp 'RtlWakeAddressAllNoFence' RtlWakeAddressAllNoFence ntdll 1527 imp 'RtlWakeAddressSingle' RtlWakeAddressSingle ntdll 1528 imp 'RtlWakeAddressSingleNoFence' RtlWakeAddressSingleNoFence ntdll 1529 imp 'RtlWakeAllConditionVariable' RtlWakeAllConditionVariable ntdll 1530 imp 'RtlWakeConditionVariable' RtlWakeConditionVariable ntdll 1531 imp 'RtlWalkFrameChain' RtlWalkFrameChain ntdll 1532 imp 'RtlWalkHeap' RtlWalkHeap ntdll 1533 2 imp 'RtlWeaklyEnumerateEntryHashTable' RtlWeaklyEnumerateEntryHashTable ntdll 1534 imp 'RtlWerpReportException' RtlWerpReportException ntdll 1535 imp 'RtlWnfCompareChangeStamp' RtlWnfCompareChangeStamp ntdll 1536 imp 'RtlWnfDllUnloadCallback' RtlWnfDllUnloadCallback ntdll 1537 imp 'RtlWriteMemoryStream' RtlWriteMemoryStream ntdll 1556 imp 'RtlWriteNonVolatileMemory' RtlWriteNonVolatileMemory ntdll 1557 imp 'RtlWriteRegistryValue' RtlWriteRegistryValue ntdll 1558 imp 'RtlZeroHeap' RtlZeroHeap ntdll 1559 imp 'RtlZeroMemory' RtlZeroMemory ntdll 1560 imp 'RtlZombifyActivationContext' RtlZombifyActivationContext ntdll 1561 imp 'RtlpApplyLengthFunction' RtlpApplyLengthFunction ntdll 1562 imp 'RtlpCheckDynamicTimeZoneInformation' RtlpCheckDynamicTimeZoneInformation ntdll 1563 imp 'RtlpCleanupRegistryKeys' RtlpCleanupRegistryKeys ntdll 1564 imp 'RtlpConvertAbsoluteToRelativeSecurityAttribute' RtlpConvertAbsoluteToRelativeSecurityAttribute ntdll 1565 imp 'RtlpConvertCultureNamesToLCIDs' RtlpConvertCultureNamesToLCIDs ntdll 1566 imp 'RtlpConvertLCIDsToCultureNames' RtlpConvertLCIDsToCultureNames ntdll 1567 imp 'RtlpConvertRelativeToAbsoluteSecurityAttribute' RtlpConvertRelativeToAbsoluteSecurityAttribute ntdll 1568 imp 'RtlpCreateProcessRegistryInfo' RtlpCreateProcessRegistryInfo ntdll 1569 imp 'RtlpEnsureBufferSize' RtlpEnsureBufferSize ntdll 1570 imp 'RtlpExecuteUmsThread' RtlpExecuteUmsThread ntdll 1571 imp 'RtlpFreezeTimeBias' RtlpFreezeTimeBias ntdll 1572 imp 'RtlpGetDeviceFamilyInfoEnum' RtlpGetDeviceFamilyInfoEnum ntdll 1573 imp 'RtlpGetLCIDFromLangInfoNode' RtlpGetLCIDFromLangInfoNode ntdll 1574 imp 'RtlpGetNameFromLangInfoNode' RtlpGetNameFromLangInfoNode ntdll 1575 imp 'RtlpGetSystemDefaultUILanguage' RtlpGetSystemDefaultUILanguage ntdll 1576 imp 'RtlpGetUserOrMachineUILanguage4NLS' RtlpGetUserOrMachineUILanguage4NLS ntdll 1577 imp 'RtlpInitializeLangRegistryInfo' RtlpInitializeLangRegistryInfo ntdll 1578 imp 'RtlpIsQualifiedLanguage' RtlpIsQualifiedLanguage ntdll 1579 imp 'RtlpLoadMachineUIByPolicy' RtlpLoadMachineUIByPolicy ntdll 1580 imp 'RtlpLoadUserUIByPolicy' RtlpLoadUserUIByPolicy ntdll 1581 imp 'RtlpMergeSecurityAttributeInformation' RtlpMergeSecurityAttributeInformation ntdll 1582 imp 'RtlpMuiFreeLangRegistryInfo' RtlpMuiFreeLangRegistryInfo ntdll 1583 imp 'RtlpMuiRegCreateRegistryInfo' RtlpMuiRegCreateRegistryInfo ntdll 1584 imp 'RtlpMuiRegFreeRegistryInfo' RtlpMuiRegFreeRegistryInfo ntdll 1585 imp 'RtlpMuiRegLoadRegistryInfo' RtlpMuiRegLoadRegistryInfo ntdll 1586 imp 'RtlpNotOwnerCriticalSection' RtlpNotOwnerCriticalSection ntdll 1587 imp 'RtlpNtCreateKey' RtlpNtCreateKey ntdll 1588 imp 'RtlpNtEnumerateSubKey' RtlpNtEnumerateSubKey ntdll 1589 imp 'RtlpNtMakeTemporaryKey' RtlpNtMakeTemporaryKey ntdll 1590 imp 'RtlpNtOpenKey' RtlpNtOpenKey ntdll 1591 imp 'RtlpNtQueryValueKey' RtlpNtQueryValueKey ntdll 1592 imp 'RtlpNtSetValueKey' RtlpNtSetValueKey ntdll 1593 imp 'RtlpQueryDefaultUILanguage' RtlpQueryDefaultUILanguage ntdll 1594 imp 'RtlpQueryProcessDebugInformationRemote' RtlpQueryProcessDebugInformationRemote ntdll 1596 imp 'RtlpRefreshCachedUILanguage' RtlpRefreshCachedUILanguage ntdll 1597 imp 'RtlpSetInstallLanguage' RtlpSetInstallLanguage ntdll 1598 imp 'RtlpSetPreferredUILanguages' RtlpSetPreferredUILanguages ntdll 1599 imp 'RtlpSetUserPreferredUILanguages' RtlpSetUserPreferredUILanguages ntdll 1600 imp 'RtlpUmsExecuteYieldThreadEnd' RtlpUmsExecuteYieldThreadEnd ntdll 1601 imp 'RtlpUmsThreadYield' RtlpUmsThreadYield ntdll 1602 imp 'RtlpUnWaitCriticalSection' RtlpUnWaitCriticalSection ntdll 1603 imp 'RtlpVerifyAndCommitUILanguageSettings' RtlpVerifyAndCommitUILanguageSettings ntdll 1604 imp 'RtlpWaitForCriticalSection' RtlpWaitForCriticalSection ntdll 1605 imp 'RtlxAnsiStringToUnicodeSize' RtlxAnsiStringToUnicodeSize ntdll 1606 imp 'RtlxOemStringToUnicodeSize' RtlxOemStringToUnicodeSize ntdll 1607 imp 'RtlxUnicodeStringToAnsiSize' RtlxUnicodeStringToAnsiSize ntdll 1608 imp 'RtlxUnicodeStringToOemSize' RtlxUnicodeStringToOemSize ntdll 1609 imp 'SbExecuteProcedure' SbExecuteProcedure ntdll 1610 imp 'SbSelectProcedure' SbSelectProcedure ntdll 1611 imp 'ShipAssert' ShipAssert ntdll 1612 imp 'ShipAssertGetBufferInfo' ShipAssertGetBufferInfo ntdll 1613 imp 'ShipAssertMsg' ShipAssertMsgW ntdll 1615 imp 'TpAllocAlpcCompletion' TpAllocAlpcCompletion ntdll 1616 imp 'TpAllocAlpcCompletionEx' TpAllocAlpcCompletionEx ntdll 1617 imp 'TpAllocCleanupGroup' TpAllocCleanupGroup ntdll 1618 imp 'TpAllocIoCompletion' TpAllocIoCompletion ntdll 1619 imp 'TpAllocJobNotification' TpAllocJobNotification ntdll 1620 imp 'TpAllocPool' TpAllocPool ntdll 1621 imp 'TpAllocTimer' TpAllocTimer ntdll 1622 imp 'TpAllocWait' TpAllocWait ntdll 1623 imp 'TpAllocWork' TpAllocWork ntdll 1624 imp 'TpAlpcRegisterCompletionList' TpAlpcRegisterCompletionList ntdll 1625 imp 'TpAlpcUnregisterCompletionList' TpAlpcUnregisterCompletionList ntdll 1626 imp 'TpCallbackDetectedUnrecoverableError' TpCallbackDetectedUnrecoverableError ntdll 1627 imp 'TpCallbackIndependent' TpCallbackIndependent ntdll 1628 imp 'TpCallbackLeaveCriticalSectionOnCompletion' TpCallbackLeaveCriticalSectionOnCompletion ntdll 1629 imp 'TpCallbackMayRunLong' TpCallbackMayRunLong ntdll 1630 imp 'TpCallbackReleaseMutexOnCompletion' TpCallbackReleaseMutexOnCompletion ntdll 1631 imp 'TpCallbackReleaseSemaphoreOnCompletion' TpCallbackReleaseSemaphoreOnCompletion ntdll 1632 imp 'TpCallbackSendAlpcMessageOnCompletion' TpCallbackSendAlpcMessageOnCompletion ntdll 1633 imp 'TpCallbackSendPendingAlpcMessage' TpCallbackSendPendingAlpcMessage ntdll 1634 imp 'TpCallbackSetEventOnCompletion' TpCallbackSetEventOnCompletion ntdll 1635 imp 'TpCallbackUnloadDllOnCompletion' TpCallbackUnloadDllOnCompletion ntdll 1636 imp 'TpCancelAsyncIoOperation' TpCancelAsyncIoOperation ntdll 1637 imp 'TpCaptureCaller' TpCaptureCaller ntdll 1638 imp 'TpCheckTerminateWorker' TpCheckTerminateWorker ntdll 1639 imp 'TpDbgDumpHeapUsage' TpDbgDumpHeapUsage ntdll 1640 imp 'TpDbgSetLogRoutine' TpDbgSetLogRoutine ntdll 1641 imp 'TpDisablePoolCallbackChecks' TpDisablePoolCallbackChecks ntdll 1642 imp 'TpDisassociateCallback' TpDisassociateCallback ntdll 1643 imp 'TpIsTimerSet' TpIsTimerSet ntdll 1644 imp 'TpPostWork' TpPostWork ntdll 1645 imp 'TpQueryPoolStackInformation' TpQueryPoolStackInformation ntdll 1646 imp 'TpReleaseAlpcCompletion' TpReleaseAlpcCompletion ntdll 1647 imp 'TpReleaseCleanupGroup' TpReleaseCleanupGroup ntdll 1648 imp 'TpReleaseCleanupGroupMembers' TpReleaseCleanupGroupMembers ntdll 1649 imp 'TpReleaseIoCompletion' TpReleaseIoCompletion ntdll 1650 imp 'TpReleaseJobNotification' TpReleaseJobNotification ntdll 1651 imp 'TpReleasePool' TpReleasePool ntdll 1652 imp 'TpReleaseTimer' TpReleaseTimer ntdll 1653 imp 'TpReleaseWait' TpReleaseWait ntdll 1654 imp 'TpReleaseWork' TpReleaseWork ntdll 1655 imp 'TpSetDefaultPoolMaxThreads' TpSetDefaultPoolMaxThreads ntdll 1656 imp 'TpSetDefaultPoolStackInformation' TpSetDefaultPoolStackInformation ntdll 1657 imp 'TpSetPoolMaxThreads' TpSetPoolMaxThreads ntdll 1658 imp 'TpSetPoolMaxThreadsSoftLimit' TpSetPoolMaxThreadsSoftLimit ntdll 1659 imp 'TpSetPoolMinThreads' TpSetPoolMinThreads ntdll 1660 imp 'TpSetPoolStackInformation' TpSetPoolStackInformation ntdll 1661 imp 'TpSetPoolThreadBasePriority' TpSetPoolThreadBasePriority ntdll 1662 imp 'TpSetPoolWorkerThreadIdleTimeout' TpSetPoolWorkerThreadIdleTimeout ntdll 1663 imp 'TpSetTimer' TpSetTimer ntdll 1664 imp 'TpSetTimerEx' TpSetTimerEx ntdll 1665 imp 'TpSetWait' TpSetWait ntdll 1666 imp 'TpSetWaitEx' TpSetWaitEx ntdll 1667 imp 'TpSimpleTryPost' TpSimpleTryPost ntdll 1668 imp 'TpStartAsyncIoOperation' TpStartAsyncIoOperation ntdll 1669 imp 'TpTimerOutstandingCallbackCount' TpTimerOutstandingCallbackCount ntdll 1670 imp 'TpTrimPools' TpTrimPools ntdll 1671 imp 'TpWaitForAlpcCompletion' TpWaitForAlpcCompletion ntdll 1672 imp 'TpWaitForIoCompletion' TpWaitForIoCompletion ntdll 1673 imp 'TpWaitForJobNotification' TpWaitForJobNotification ntdll 1674 imp 'TpWaitForTimer' TpWaitForTimer ntdll 1675 imp 'TpWaitForWait' TpWaitForWait ntdll 1676 imp 'TpWaitForWork' TpWaitForWork ntdll 1677 imp 'VerSetConditionMask' VerSetConditionMask ntdll 1678 imp 'WerReportExceptionWorker' WerReportExceptionWorker ntdll 1679 imp 'WerReportSQMEvent' WerReportSQMEvent ntdll 1680 imp 'WinSqmAddToAverageDWORD' WinSqmAddToAverageDWORD ntdll 1681 imp 'WinSqmAddToStream' WinSqmAddToStream ntdll 1682 imp 'WinSqmAddToStreamEx' WinSqmAddToStreamEx ntdll 1683 imp 'WinSqmCheckEscalationAddToStreamEx' WinSqmCheckEscalationAddToStreamEx ntdll 1684 imp 'WinSqmCheckEscalationSetDWORD' WinSqmCheckEscalationSetDWORD ntdll 1685 imp 'WinSqmCheckEscalationSetDWORD64' WinSqmCheckEscalationSetDWORD64 ntdll 1686 imp 'WinSqmCheckEscalationSetString' WinSqmCheckEscalationSetString ntdll 1687 imp 'WinSqmCommonDatapointDelete' WinSqmCommonDatapointDelete ntdll 1688 imp 'WinSqmCommonDatapointSetDWORD' WinSqmCommonDatapointSetDWORD ntdll 1689 imp 'WinSqmCommonDatapointSetDWORD64' WinSqmCommonDatapointSetDWORD64 ntdll 1690 imp 'WinSqmCommonDatapointSetStreamEx' WinSqmCommonDatapointSetStreamEx ntdll 1691 imp 'WinSqmCommonDatapointSetString' WinSqmCommonDatapointSetString ntdll 1692 imp 'WinSqmEndSession' WinSqmEndSession ntdll 1693 imp 'WinSqmEventEnabled' WinSqmEventEnabled ntdll 1694 imp 'WinSqmEventWrite' WinSqmEventWrite ntdll 1695 imp 'WinSqmGetEscalationRuleStatus' WinSqmGetEscalationRuleStatus ntdll 1696 imp 'WinSqmGetInstrumentationProperty' WinSqmGetInstrumentationProperty ntdll 1697 imp 'WinSqmIncrementDWORD' WinSqmIncrementDWORD ntdll 1698 imp 'WinSqmIsOptedIn' WinSqmIsOptedIn ntdll 1699 imp 'WinSqmIsOptedInEx' WinSqmIsOptedInEx ntdll 1700 imp 'WinSqmIsSessionDisabled' WinSqmIsSessionDisabled ntdll 1701 imp 'WinSqmSetDWORD' WinSqmSetDWORD ntdll 1702 imp 'WinSqmSetDWORD64' WinSqmSetDWORD64 ntdll 1703 imp 'WinSqmSetEscalationInfo' WinSqmSetEscalationInfo ntdll 1704 imp 'WinSqmSetIfMaxDWORD' WinSqmSetIfMaxDWORD ntdll 1705 imp 'WinSqmSetIfMinDWORD' WinSqmSetIfMinDWORD ntdll 1706 imp 'WinSqmSetString' WinSqmSetString ntdll 1707 imp 'WinSqmStartSession' WinSqmStartSession ntdll 1708 imp 'WinSqmStartSessionForPartner' WinSqmStartSessionForPartner ntdll 1709 imp 'WinSqmStartSqmOptinListener' WinSqmStartSqmOptinListener ntdll 1710 imp 'ZwAcceptConnectPort' ZwAcceptConnectPort ntdll 1711 imp 'ZwAccessCheck' ZwAccessCheck ntdll 1712 imp 'ZwAccessCheckAndAuditAlarm' ZwAccessCheckAndAuditAlarm ntdll 1713 imp 'ZwAccessCheckByType' ZwAccessCheckByType ntdll 1714 imp 'ZwAccessCheckByTypeAndAuditAlarm' ZwAccessCheckByTypeAndAuditAlarm ntdll 1715 imp 'ZwAccessCheckByTypeResultList' ZwAccessCheckByTypeResultList ntdll 1716 imp 'ZwAccessCheckByTypeResultListAndAuditAlarm' ZwAccessCheckByTypeResultListAndAuditAlarm ntdll 1717 imp 'ZwAccessCheckByTypeResultListAndAuditAlarmByHandle' ZwAccessCheckByTypeResultListAndAuditAlarmByHandle ntdll 1718 imp 'ZwAcquireProcessActivityReference' ZwAcquireProcessActivityReference ntdll 1719 imp 'ZwAddAtom' ZwAddAtom ntdll 1720 imp 'ZwAddAtomEx' ZwAddAtomEx ntdll 1721 imp 'ZwAddBootEntry' ZwAddBootEntry ntdll 1722 imp 'ZwAddDriverEntry' ZwAddDriverEntry ntdll 1723 imp 'ZwAdjustGroupsToken' ZwAdjustGroupsToken ntdll 1724 imp 'ZwAdjustPrivilegesToken' ZwAdjustPrivilegesToken ntdll 1725 imp 'ZwAdjustTokenClaimsAndDeviceGroups' ZwAdjustTokenClaimsAndDeviceGroups ntdll 1726 imp 'ZwAlertResumeThread' ZwAlertResumeThread ntdll 1727 imp 'ZwAlertThread' ZwAlertThread ntdll 1728 imp 'ZwAlertThreadByThreadId' ZwAlertThreadByThreadId ntdll 1729 imp 'ZwAllocateLocallyUniqueId' ZwAllocateLocallyUniqueId ntdll 1730 imp 'ZwAllocateReserveObject' ZwAllocateReserveObject ntdll 1731 imp 'ZwAllocateUserPhysicalPages' ZwAllocateUserPhysicalPages ntdll 1732 imp 'ZwAllocateUuids' ZwAllocateUuids ntdll 1733 imp 'ZwAllocateVirtualMemory' ZwAllocateVirtualMemory ntdll 1734 imp 'ZwAllocateVirtualMemoryEx' ZwAllocateVirtualMemoryEx ntdll 1735 imp 'ZwAlpcAcceptConnectPort' ZwAlpcAcceptConnectPort ntdll 1736 imp 'ZwAlpcCancelMessage' ZwAlpcCancelMessage ntdll 1737 imp 'ZwAlpcConnectPort' ZwAlpcConnectPort ntdll 1738 imp 'ZwAlpcConnectPortEx' ZwAlpcConnectPortEx ntdll 1739 imp 'ZwAlpcCreatePort' ZwAlpcCreatePort ntdll 1740 imp 'ZwAlpcCreatePortSection' ZwAlpcCreatePortSection ntdll 1741 imp 'ZwAlpcCreateResourceReserve' ZwAlpcCreateResourceReserve ntdll 1742 imp 'ZwAlpcCreateSectionView' ZwAlpcCreateSectionView ntdll 1743 imp 'ZwAlpcCreateSecurityContext' ZwAlpcCreateSecurityContext ntdll 1744 imp 'ZwAlpcDeletePortSection' ZwAlpcDeletePortSection ntdll 1745 imp 'ZwAlpcDeleteResourceReserve' ZwAlpcDeleteResourceReserve ntdll 1746 imp 'ZwAlpcDeleteSectionView' ZwAlpcDeleteSectionView ntdll 1747 imp 'ZwAlpcDeleteSecurityContext' ZwAlpcDeleteSecurityContext ntdll 1748 imp 'ZwAlpcDisconnectPort' ZwAlpcDisconnectPort ntdll 1749 imp 'ZwAlpcImpersonateClientContainerOfPort' ZwAlpcImpersonateClientContainerOfPort ntdll 1750 imp 'ZwAlpcImpersonateClientOfPort' ZwAlpcImpersonateClientOfPort ntdll 1751 imp 'ZwAlpcOpenSenderProcess' ZwAlpcOpenSenderProcess ntdll 1752 imp 'ZwAlpcOpenSenderThread' ZwAlpcOpenSenderThread ntdll 1753 imp 'ZwAlpcQueryInformation' ZwAlpcQueryInformation ntdll 1754 imp 'ZwAlpcQueryInformationMessage' ZwAlpcQueryInformationMessage ntdll 1755 imp 'ZwAlpcRevokeSecurityContext' ZwAlpcRevokeSecurityContext ntdll 1756 imp 'ZwAlpcSendWaitReceivePort' ZwAlpcSendWaitReceivePort ntdll 1757 imp 'ZwAlpcSetInformation' ZwAlpcSetInformation ntdll 1758 imp 'ZwApphelpCacheControl' ZwApphelpCacheControl ntdll 1759 imp 'ZwAreMappedFilesTheSame' ZwAreMappedFilesTheSame ntdll 1760 2 imp 'ZwAssignProcessToJobObject' ZwAssignProcessToJobObject ntdll 1761 imp 'ZwAssociateWaitCompletionPacket' ZwAssociateWaitCompletionPacket ntdll 1762 imp 'ZwCallEnclave' ZwCallEnclave ntdll 1763 imp 'ZwCallbackReturn' ZwCallbackReturn ntdll 1764 imp 'ZwCancelIoFile' ZwCancelIoFile ntdll 1765 imp 'ZwCancelIoFileEx' ZwCancelIoFileEx ntdll 1766 imp 'ZwCancelSynchronousIoFile' ZwCancelSynchronousIoFile ntdll 1767 imp 'ZwCancelTimer' ZwCancelTimer ntdll 1768 imp 'ZwCancelTimer2' ZwCancelTimer2 ntdll 1769 imp 'ZwCancelWaitCompletionPacket' ZwCancelWaitCompletionPacket ntdll 1770 imp 'ZwClearEvent' ZwClearEvent ntdll 1771 imp 'ZwClose' ZwClose ntdll 1772 imp 'ZwCloseObjectAuditAlarm' ZwCloseObjectAuditAlarm ntdll 1773 imp 'ZwCommitComplete' ZwCommitComplete ntdll 1774 imp 'ZwCommitEnlistment' ZwCommitEnlistment ntdll 1775 imp 'ZwCommitRegistryTransaction' ZwCommitRegistryTransaction ntdll 1776 imp 'ZwCommitTransaction' ZwCommitTransaction ntdll 1777 imp 'ZwCompactKeys' ZwCompactKeys ntdll 1778 imp 'ZwCompareObjects' ZwCompareObjects ntdll 1779 imp 'ZwCompareSigningLevels' ZwCompareSigningLevels ntdll 1780 imp 'ZwCompareTokens' ZwCompareTokens ntdll 1781 imp 'ZwCompleteConnectPort' ZwCompleteConnectPort ntdll 1782 imp 'ZwCompressKey' ZwCompressKey ntdll 1783 imp 'ZwConnectPort' ZwConnectPort ntdll 1784 imp 'ZwContinue' ZwContinue ntdll 1785 imp 'ZwConvertBetweenAuxiliaryCounterAndPerformanceCounter' ZwConvertBetweenAuxiliaryCounterAndPerformanceCounter ntdll 1786 imp 'ZwCreateDebugObject' ZwCreateDebugObject ntdll 1787 imp 'ZwCreateDirectoryObject' ZwCreateDirectoryObject ntdll 1788 imp 'ZwCreateDirectoryObjectEx' ZwCreateDirectoryObjectEx ntdll 1789 imp 'ZwCreateEnclave' ZwCreateEnclave ntdll 1790 imp 'ZwCreateEnlistment' ZwCreateEnlistment ntdll 1791 imp 'ZwCreateEvent' ZwCreateEvent ntdll 1792 imp 'ZwCreateEventPair' ZwCreateEventPair ntdll 1793 imp 'ZwCreateFile' ZwCreateFile ntdll 1794 imp 'ZwCreateIRTimer' ZwCreateIRTimer ntdll 1795 imp 'ZwCreateIoCompletion' ZwCreateIoCompletion ntdll 1796 imp 'ZwCreateJobObject' ZwCreateJobObject ntdll 1797 imp 'ZwCreateJobSet' ZwCreateJobSet ntdll 1798 imp 'ZwCreateKey' ZwCreateKey ntdll 1799 imp 'ZwCreateKeyTransacted' ZwCreateKeyTransacted ntdll 1800 imp 'ZwCreateKeyedEvent' ZwCreateKeyedEvent ntdll 1801 imp 'ZwCreateLowBoxToken' ZwCreateLowBoxToken ntdll 1802 imp 'ZwCreateMailslotFile' ZwCreateMailslotFile ntdll 1803 imp 'ZwCreateMutant' ZwCreateMutant ntdll 1804 imp 'ZwCreateNamedPipeFile' ZwCreateNamedPipeFile ntdll 1805 imp 'ZwCreatePagingFile' ZwCreatePagingFile ntdll 1806 imp 'ZwCreatePartition' ZwCreatePartition ntdll 1807 imp 'ZwCreatePort' ZwCreatePort ntdll 1808 imp 'ZwCreatePrivateNamespace' ZwCreatePrivateNamespace ntdll 1809 imp 'ZwCreateProcess' ZwCreateProcess ntdll 1810 imp 'ZwCreateProcessEx' ZwCreateProcessEx ntdll 1811 imp 'ZwCreateProfile' ZwCreateProfile ntdll 1812 imp 'ZwCreateProfileEx' ZwCreateProfileEx ntdll 1813 imp 'ZwCreateRegistryTransaction' ZwCreateRegistryTransaction ntdll 1814 imp 'ZwCreateResourceManager' ZwCreateResourceManager ntdll 1815 imp 'ZwCreateSection' ZwCreateSection ntdll 1816 imp 'ZwCreateSemaphore' ZwCreateSemaphore ntdll 1817 imp 'ZwCreateSymbolicLinkObject' ZwCreateSymbolicLinkObject ntdll 1818 imp 'ZwCreateThread' ZwCreateThread ntdll 1819 imp 'ZwCreateThreadEx' ZwCreateThreadEx ntdll 1820 imp 'ZwCreateTimer' ZwCreateTimer ntdll 1821 imp 'ZwCreateTimer2' ZwCreateTimer2 ntdll 1822 imp 'ZwCreateToken' ZwCreateToken ntdll 1823 imp 'ZwCreateTokenEx' ZwCreateTokenEx ntdll 1824 imp 'ZwCreateTransaction' ZwCreateTransaction ntdll 1825 imp 'ZwCreateTransactionManager' ZwCreateTransactionManager ntdll 1826 imp 'ZwCreateUserProcess' ZwCreateUserProcess ntdll 1827 imp 'ZwCreateWaitCompletionPacket' ZwCreateWaitCompletionPacket ntdll 1828 imp 'ZwCreateWaitablePort' ZwCreateWaitablePort ntdll 1829 imp 'ZwCreateWnfStateName' ZwCreateWnfStateName ntdll 1830 imp 'ZwCreateWorkerFactory' ZwCreateWorkerFactory ntdll 1831 imp 'ZwDebugActiveProcess' ZwDebugActiveProcess ntdll 1832 imp 'ZwDebugContinue' ZwDebugContinue ntdll 1833 imp 'ZwDelayExecution' ZwDelayExecution ntdll 1834 imp 'ZwDeleteAtom' ZwDeleteAtom ntdll 1835 imp 'ZwDeleteBootEntry' ZwDeleteBootEntry ntdll 1836 imp 'ZwDeleteDriverEntry' ZwDeleteDriverEntry ntdll 1837 imp 'ZwDeleteFile' ZwDeleteFile ntdll 1838 imp 'ZwDeleteKey' ZwDeleteKey ntdll 1839 imp 'ZwDeleteObjectAuditAlarm' ZwDeleteObjectAuditAlarm ntdll 1840 imp 'ZwDeletePrivateNamespace' ZwDeletePrivateNamespace ntdll 1841 imp 'ZwDeleteValueKey' ZwDeleteValueKey ntdll 1842 imp 'ZwDeleteWnfStateData' ZwDeleteWnfStateData ntdll 1843 imp 'ZwDeleteWnfStateName' ZwDeleteWnfStateName ntdll 1844 imp 'ZwDeviceIoControlFile' ZwDeviceIoControlFile ntdll 1845 imp 'ZwDisableLastKnownGood' ZwDisableLastKnownGood ntdll 1846 imp 'ZwDisplayString' ZwDisplayString ntdll 1847 imp 'ZwDrawText' ZwDrawText ntdll 1848 imp 'ZwDuplicateObject' ZwDuplicateObject ntdll 1849 imp 'ZwDuplicateToken' ZwDuplicateToken ntdll 1850 imp 'ZwEnableLastKnownGood' ZwEnableLastKnownGood ntdll 1851 imp 'ZwEnumerateBootEntries' ZwEnumerateBootEntries ntdll 1852 imp 'ZwEnumerateDriverEntries' ZwEnumerateDriverEntries ntdll 1853 imp 'ZwEnumerateKey' ZwEnumerateKey ntdll 1854 imp 'ZwEnumerateSystemEnvironmentValuesEx' ZwEnumerateSystemEnvironmentValuesEx ntdll 1855 imp 'ZwEnumerateTransactionObject' ZwEnumerateTransactionObject ntdll 1856 imp 'ZwEnumerateValueKey' ZwEnumerateValueKey ntdll 1857 imp 'ZwExtendSection' ZwExtendSection ntdll 1858 imp 'ZwFilterBootOption' ZwFilterBootOption ntdll 1859 imp 'ZwFilterToken' ZwFilterToken ntdll 1860 imp 'ZwFilterTokenEx' ZwFilterTokenEx ntdll 1861 imp 'ZwFindAtom' ZwFindAtom ntdll 1862 imp 'ZwFlushBuffersFile' ZwFlushBuffersFile ntdll 1863 imp 'ZwFlushBuffersFileEx' ZwFlushBuffersFileEx ntdll 1864 imp 'ZwFlushInstallUILanguage' ZwFlushInstallUILanguage ntdll 1865 imp 'ZwFlushInstructionCache' ZwFlushInstructionCache ntdll 1866 imp 'ZwFlushKey' ZwFlushKey ntdll 1867 imp 'ZwFlushProcessWriteBuffers' ZwFlushProcessWriteBuffers ntdll 1868 imp 'ZwFlushVirtualMemory' ZwFlushVirtualMemory ntdll 1869 imp 'ZwFlushWriteBuffer' ZwFlushWriteBuffer ntdll 1870 imp 'ZwFreeUserPhysicalPages' ZwFreeUserPhysicalPages ntdll 1871 imp 'ZwFreeVirtualMemory' ZwFreeVirtualMemory ntdll 1872 imp 'ZwFreezeRegistry' ZwFreezeRegistry ntdll 1873 imp 'ZwFreezeTransactions' ZwFreezeTransactions ntdll 1874 imp 'ZwFsControlFile' ZwFsControlFile ntdll 1875 imp 'ZwGetCachedSigningLevel' ZwGetCachedSigningLevel ntdll 1876 imp 'ZwGetCompleteWnfStateSubscription' ZwGetCompleteWnfStateSubscription ntdll 1877 imp 'ZwGetContextThread' ZwGetContextThread ntdll 1878 imp 'ZwGetCurrentProcessorNumber' ZwGetCurrentProcessorNumber ntdll 1879 imp 'ZwGetCurrentProcessorNumberEx' ZwGetCurrentProcessorNumberEx ntdll 1880 imp 'ZwGetDevicePowerState' ZwGetDevicePowerState ntdll 1881 imp 'ZwGetMUIRegistryInfo' ZwGetMUIRegistryInfo ntdll 1882 imp 'ZwGetNextProcess' ZwGetNextProcess ntdll 1883 imp 'ZwGetNextThread' ZwGetNextThread ntdll 1884 imp 'ZwGetNlsSectionPtr' ZwGetNlsSectionPtr ntdll 1885 imp 'ZwGetNotificationResourceManager' ZwGetNotificationResourceManager ntdll 1886 imp 'ZwGetWriteWatch' ZwGetWriteWatch ntdll 1887 imp 'ZwImpersonateAnonymousToken' ZwImpersonateAnonymousToken ntdll 1888 imp 'ZwImpersonateClientOfPort' ZwImpersonateClientOfPort ntdll 1889 imp 'ZwImpersonateThread' ZwImpersonateThread ntdll 1890 imp 'ZwInitializeEnclave' ZwInitializeEnclave ntdll 1891 imp 'ZwInitializeNlsFiles' ZwInitializeNlsFiles ntdll 1892 imp 'ZwInitializeRegistry' ZwInitializeRegistry ntdll 1893 imp 'ZwInitiatePowerAction' ZwInitiatePowerAction ntdll 1894 imp 'ZwIsProcessInJob' ZwIsProcessInJob ntdll 1895 imp 'ZwIsSystemResumeAutomatic' ZwIsSystemResumeAutomatic ntdll 1896 imp 'ZwIsUILanguageComitted' ZwIsUILanguageComitted ntdll 1897 imp 'ZwListenPort' ZwListenPort ntdll 1898 imp 'ZwLoadDriver' ZwLoadDriver ntdll 1899 imp 'ZwLoadEnclaveData' ZwLoadEnclaveData ntdll 1900 imp 'ZwLoadHotPatch' ZwLoadHotPatch ntdll 1901 imp 'ZwLoadKey' ZwLoadKey ntdll 1902 imp 'ZwLoadKey2' ZwLoadKey2 ntdll 1903 imp 'ZwLoadKeyEx' ZwLoadKeyEx ntdll 1904 imp 'ZwLockFile' ZwLockFile ntdll 1905 imp 'ZwLockProductActivationKeys' ZwLockProductActivationKeys ntdll 1906 imp 'ZwLockRegistryKey' ZwLockRegistryKey ntdll 1907 imp 'ZwLockVirtualMemory' ZwLockVirtualMemory ntdll 1908 imp 'ZwMakePermanentObject' ZwMakePermanentObject ntdll 1909 imp 'ZwMakeTemporaryObject' ZwMakeTemporaryObject ntdll 1910 imp 'ZwManagePartition' ZwManagePartition ntdll 1911 imp 'ZwMapCMFModule' ZwMapCMFModule ntdll 1912 imp 'ZwMapUserPhysicalPages' ZwMapUserPhysicalPages ntdll 1913 imp 'ZwMapUserPhysicalPagesScatter' ZwMapUserPhysicalPagesScatter ntdll 1914 imp 'ZwMapViewOfSection' ZwMapViewOfSection ntdll 1915 imp 'ZwMapViewOfSectionEx' ZwMapViewOfSectionEx ntdll 1916 imp 'ZwModifyBootEntry' ZwModifyBootEntry ntdll 1917 imp 'ZwModifyDriverEntry' ZwModifyDriverEntry ntdll 1918 imp 'ZwNotifyChangeDirectoryFile' ZwNotifyChangeDirectoryFile ntdll 1919 imp 'ZwNotifyChangeDirectoryFileEx' ZwNotifyChangeDirectoryFileEx ntdll 1920 imp 'ZwNotifyChangeKey' ZwNotifyChangeKey ntdll 1921 imp 'ZwNotifyChangeMultipleKeys' ZwNotifyChangeMultipleKeys ntdll 1922 imp 'ZwNotifyChangeSession' ZwNotifyChangeSession ntdll 1923 imp 'ZwOpenDirectoryObject' ZwOpenDirectoryObject ntdll 1924 imp 'ZwOpenEnlistment' ZwOpenEnlistment ntdll 1925 imp 'ZwOpenEvent' ZwOpenEvent ntdll 1926 imp 'ZwOpenEventPair' ZwOpenEventPair ntdll 1927 imp 'ZwOpenFile' ZwOpenFile ntdll 1928 imp 'ZwOpenIoCompletion' ZwOpenIoCompletion ntdll 1929 imp 'ZwOpenJobObject' ZwOpenJobObject ntdll 1930 imp 'ZwOpenKey' ZwOpenKey ntdll 1931 imp 'ZwOpenKeyEx' ZwOpenKeyEx ntdll 1932 imp 'ZwOpenKeyTransacted' ZwOpenKeyTransacted ntdll 1933 imp 'ZwOpenKeyTransactedEx' ZwOpenKeyTransactedEx ntdll 1934 imp 'ZwOpenKeyedEvent' ZwOpenKeyedEvent ntdll 1935 imp 'ZwOpenMutant' ZwOpenMutant ntdll 1936 imp 'ZwOpenObjectAuditAlarm' ZwOpenObjectAuditAlarm ntdll 1937 imp 'ZwOpenPartition' ZwOpenPartition ntdll 1938 imp 'ZwOpenPrivateNamespace' ZwOpenPrivateNamespace ntdll 1939 imp 'ZwOpenProcess' ZwOpenProcess ntdll 1940 imp 'ZwOpenProcessToken' ZwOpenProcessToken ntdll 1941 imp 'ZwOpenProcessTokenEx' ZwOpenProcessTokenEx ntdll 1942 imp 'ZwOpenRegistryTransaction' ZwOpenRegistryTransaction ntdll 1943 imp 'ZwOpenResourceManager' ZwOpenResourceManager ntdll 1944 imp 'ZwOpenSection' ZwOpenSection ntdll 1945 imp 'ZwOpenSemaphore' ZwOpenSemaphore ntdll 1946 imp 'ZwOpenSession' ZwOpenSession ntdll 1947 imp 'ZwOpenSymbolicLinkObject' ZwOpenSymbolicLinkObject ntdll 1948 imp 'ZwOpenThread' ZwOpenThread ntdll 1949 imp 'ZwOpenThreadToken' ZwOpenThreadToken ntdll 1950 imp 'ZwOpenThreadTokenEx' ZwOpenThreadTokenEx ntdll 1951 imp 'ZwOpenTimer' ZwOpenTimer ntdll 1952 imp 'ZwOpenTransaction' ZwOpenTransaction ntdll 1953 imp 'ZwOpenTransactionManager' ZwOpenTransactionManager ntdll 1954 imp 'ZwPlugPlayControl' ZwPlugPlayControl ntdll 1955 imp 'ZwPowerInformation' ZwPowerInformation ntdll 1956 imp 'ZwPrePrepareComplete' ZwPrePrepareComplete ntdll 1957 imp 'ZwPrePrepareEnlistment' ZwPrePrepareEnlistment ntdll 1958 imp 'ZwPrepareComplete' ZwPrepareComplete ntdll 1959 imp 'ZwPrepareEnlistment' ZwPrepareEnlistment ntdll 1960 imp 'ZwPrivilegeCheck' ZwPrivilegeCheck ntdll 1961 imp 'ZwPrivilegeObjectAuditAlarm' ZwPrivilegeObjectAuditAlarm ntdll 1962 imp 'ZwPrivilegedServiceAuditAlarm' ZwPrivilegedServiceAuditAlarm ntdll 1963 imp 'ZwPropagationComplete' ZwPropagationComplete ntdll 1964 imp 'ZwPropagationFailed' ZwPropagationFailed ntdll 1965 imp 'ZwProtectVirtualMemory' ZwProtectVirtualMemory ntdll 1966 imp 'ZwPulseEvent' ZwPulseEvent ntdll 1967 imp 'ZwQueryAttributesFile' ZwQueryAttributesFile ntdll 1968 imp 'ZwQueryAuxiliaryCounterFrequency' ZwQueryAuxiliaryCounterFrequency ntdll 1969 imp 'ZwQueryBootEntryOrder' ZwQueryBootEntryOrder ntdll 1970 imp 'ZwQueryBootOptions' ZwQueryBootOptions ntdll 1971 imp 'ZwQueryDebugFilterState' ZwQueryDebugFilterState ntdll 1972 imp 'ZwQueryDefaultLocale' ZwQueryDefaultLocale ntdll 1973 imp 'ZwQueryDefaultUILanguage' ZwQueryDefaultUILanguage ntdll 1974 imp 'ZwQueryDirectoryFile' ZwQueryDirectoryFile ntdll 1975 imp 'ZwQueryDirectoryFileEx' ZwQueryDirectoryFileEx ntdll 1976 imp 'ZwQueryDirectoryObject' ZwQueryDirectoryObject ntdll 1977 imp 'ZwQueryDriverEntryOrder' ZwQueryDriverEntryOrder ntdll 1978 imp 'ZwQueryEaFile' ZwQueryEaFile ntdll 1979 imp 'ZwQueryEvent' ZwQueryEvent ntdll 1980 imp 'ZwQueryFullAttributesFile' ZwQueryFullAttributesFile ntdll 1981 imp 'ZwQueryInformationAtom' ZwQueryInformationAtom ntdll 1982 imp 'ZwQueryInformationByName' ZwQueryInformationByName ntdll 1983 imp 'ZwQueryInformationEnlistment' ZwQueryInformationEnlistment ntdll 1984 imp 'ZwQueryInformationFile' ZwQueryInformationFile ntdll 1985 imp 'ZwQueryInformationJobObject' ZwQueryInformationJobObject ntdll 1986 imp 'ZwQueryInformationPort' ZwQueryInformationPort ntdll 1987 imp 'ZwQueryInformationProcess' ZwQueryInformationProcess ntdll 1988 imp 'ZwQueryInformationResourceManager' ZwQueryInformationResourceManager ntdll 1989 imp 'ZwQueryInformationThread' ZwQueryInformationThread ntdll 1990 imp 'ZwQueryInformationToken' ZwQueryInformationToken ntdll 1991 imp 'ZwQueryInformationTransaction' ZwQueryInformationTransaction ntdll 1992 imp 'ZwQueryInformationTransactionManager' ZwQueryInformationTransactionManager ntdll 1993 imp 'ZwQueryInformationWorkerFactory' ZwQueryInformationWorkerFactory ntdll 1994 imp 'ZwQueryInstallUILanguage' ZwQueryInstallUILanguage ntdll 1995 imp 'ZwQueryIntervalProfile' ZwQueryIntervalProfile ntdll 1996 imp 'ZwQueryIoCompletion' ZwQueryIoCompletion ntdll 1997 imp 'ZwQueryKey' ZwQueryKey ntdll 1998 imp 'ZwQueryLicenseValue' ZwQueryLicenseValue ntdll 1999 imp 'ZwQueryMultipleValueKey' ZwQueryMultipleValueKey ntdll 2000 imp 'ZwQueryMutant' ZwQueryMutant ntdll 2001 imp 'ZwQueryObject' ZwQueryObject ntdll 2002 imp 'ZwQueryOpenSubKeys' ZwQueryOpenSubKeys ntdll 2003 imp 'ZwQueryOpenSubKeysEx' ZwQueryOpenSubKeysEx ntdll 2004 imp 'ZwQueryPerformanceCounter' ZwQueryPerformanceCounter ntdll 2005 imp 'ZwQueryPortInformationProcess' ZwQueryPortInformationProcess ntdll 2006 imp 'ZwQueryQuotaInformationFile' ZwQueryQuotaInformationFile ntdll 2007 imp 'ZwQuerySection' ZwQuerySection ntdll 2008 imp 'ZwQuerySecurityAttributesToken' ZwQuerySecurityAttributesToken ntdll 2009 imp 'ZwQuerySecurityObject' ZwQuerySecurityObject ntdll 2010 imp 'ZwQuerySecurityPolicy' ZwQuerySecurityPolicy ntdll 2011 imp 'ZwQuerySemaphore' ZwQuerySemaphore ntdll 2012 imp 'ZwQuerySymbolicLinkObject' ZwQuerySymbolicLinkObject ntdll 2013 imp 'ZwQuerySystemEnvironmentValue' ZwQuerySystemEnvironmentValue ntdll 2014 imp 'ZwQuerySystemEnvironmentValueEx' ZwQuerySystemEnvironmentValueEx ntdll 2015 imp 'ZwQuerySystemInformation' ZwQuerySystemInformation ntdll 2016 imp 'ZwQuerySystemInformationEx' ZwQuerySystemInformationEx ntdll 2017 imp 'ZwQuerySystemTime' ZwQuerySystemTime ntdll 2018 imp 'ZwQueryTimer' ZwQueryTimer ntdll 2019 imp 'ZwQueryTimerResolution' ZwQueryTimerResolution ntdll 2020 imp 'ZwQueryValueKey' ZwQueryValueKey ntdll 2021 imp 'ZwQueryVirtualMemory' ZwQueryVirtualMemory ntdll 2022 imp 'ZwQueryVolumeInformationFile' ZwQueryVolumeInformationFile ntdll 2023 imp 'ZwQueryWnfStateData' ZwQueryWnfStateData ntdll 2024 imp 'ZwQueryWnfStateNameInformation' ZwQueryWnfStateNameInformation ntdll 2025 imp 'ZwQueueApcThread' ZwQueueApcThread ntdll 2026 imp 'ZwQueueApcThreadEx' ZwQueueApcThreadEx ntdll 2027 imp 'ZwRaiseException' ZwRaiseException ntdll 2028 imp 'ZwRaiseHardError' ZwRaiseHardError ntdll 2029 imp 'ZwReadFile' ZwReadFile ntdll 2030 imp 'ZwReadFileScatter' ZwReadFileScatter ntdll 2031 imp 'ZwReadOnlyEnlistment' ZwReadOnlyEnlistment ntdll 2032 imp 'ZwReadRequestData' ZwReadRequestData ntdll 2033 imp 'ZwReadVirtualMemory' ZwReadVirtualMemory ntdll 2034 imp 'ZwRecoverEnlistment' ZwRecoverEnlistment ntdll 2035 imp 'ZwRecoverResourceManager' ZwRecoverResourceManager ntdll 2036 imp 'ZwRecoverTransactionManager' ZwRecoverTransactionManager ntdll 2037 imp 'ZwRegisterProtocolAddressInformation' ZwRegisterProtocolAddressInformation ntdll 2038 imp 'ZwRegisterThreadTerminatePort' ZwRegisterThreadTerminatePort ntdll 2039 imp 'ZwReleaseKeyedEvent' ZwReleaseKeyedEvent ntdll 2040 imp 'ZwReleaseMutant' ZwReleaseMutant ntdll 2041 imp 'ZwReleaseSemaphore' ZwReleaseSemaphore ntdll 2042 imp 'ZwReleaseWorkerFactoryWorker' ZwReleaseWorkerFactoryWorker ntdll 2043 imp 'ZwRemoveIoCompletion' ZwRemoveIoCompletion ntdll 2044 imp 'ZwRemoveIoCompletionEx' ZwRemoveIoCompletionEx ntdll 2045 imp 'ZwRemoveProcessDebug' ZwRemoveProcessDebug ntdll 2046 imp 'ZwRenameKey' ZwRenameKey ntdll 2047 imp 'ZwRenameTransactionManager' ZwRenameTransactionManager ntdll 2048 imp 'ZwReplaceKey' ZwReplaceKey ntdll 2049 imp 'ZwReplacePartitionUnit' ZwReplacePartitionUnit ntdll 2050 imp 'ZwReplyPort' ZwReplyPort ntdll 2051 imp 'ZwReplyWaitReceivePort' ZwReplyWaitReceivePort ntdll 2052 imp 'ZwReplyWaitReceivePortEx' ZwReplyWaitReceivePortEx ntdll 2053 imp 'ZwReplyWaitReplyPort' ZwReplyWaitReplyPort ntdll 2054 imp 'ZwRequestPort' ZwRequestPort ntdll 2055 imp 'ZwRequestWaitReplyPort' ZwRequestWaitReplyPort ntdll 2056 imp 'ZwResetEvent' ZwResetEvent ntdll 2057 imp 'ZwResetWriteWatch' ZwResetWriteWatch ntdll 2058 imp 'ZwRestoreKey' ZwRestoreKey ntdll 2059 imp 'ZwResumeProcess' ZwResumeProcess ntdll 2060 imp 'ZwResumeThread' ZwResumeThread ntdll 2061 imp 'ZwRevertContainerImpersonation' ZwRevertContainerImpersonation ntdll 2062 imp 'ZwRollbackComplete' ZwRollbackComplete ntdll 2063 imp 'ZwRollbackEnlistment' ZwRollbackEnlistment ntdll 2064 imp 'ZwRollbackRegistryTransaction' ZwRollbackRegistryTransaction ntdll 2065 imp 'ZwRollbackTransaction' ZwRollbackTransaction ntdll 2066 imp 'ZwRollforwardTransactionManager' ZwRollforwardTransactionManager ntdll 2067 imp 'ZwSaveKey' ZwSaveKey ntdll 2068 imp 'ZwSaveKeyEx' ZwSaveKeyEx ntdll 2069 imp 'ZwSaveMergedKeys' ZwSaveMergedKeys ntdll 2070 imp 'ZwSecureConnectPort' ZwSecureConnectPort ntdll 2071 imp 'ZwSerializeBoot' ZwSerializeBoot ntdll 2072 imp 'ZwSetBootEntryOrder' ZwSetBootEntryOrder ntdll 2073 imp 'ZwSetBootOptions' ZwSetBootOptions ntdll 2074 imp 'ZwSetCachedSigningLevel' ZwSetCachedSigningLevel ntdll 2075 imp 'ZwSetCachedSigningLevel2' ZwSetCachedSigningLevel2 ntdll 2076 imp 'ZwSetContextThread' ZwSetContextThread ntdll 2077 imp 'ZwSetDebugFilterState' ZwSetDebugFilterState ntdll 2078 imp 'ZwSetDefaultHardErrorPort' ZwSetDefaultHardErrorPort ntdll 2079 imp 'ZwSetDefaultLocale' ZwSetDefaultLocale ntdll 2080 imp 'ZwSetDefaultUILanguage' ZwSetDefaultUILanguage ntdll 2081 imp 'ZwSetDriverEntryOrder' ZwSetDriverEntryOrder ntdll 2082 imp 'ZwSetEaFile' ZwSetEaFile ntdll 2083 imp 'ZwSetEvent' ZwSetEvent ntdll 2084 imp 'ZwSetEventBoostPriority' ZwSetEventBoostPriority ntdll 2085 imp 'ZwSetHighEventPair' ZwSetHighEventPair ntdll 2086 imp 'ZwSetHighWaitLowEventPair' ZwSetHighWaitLowEventPair ntdll 2087 imp 'ZwSetIRTimer' ZwSetIRTimer ntdll 2088 imp 'ZwSetInformationDebugObject' ZwSetInformationDebugObject ntdll 2089 imp 'ZwSetInformationEnlistment' ZwSetInformationEnlistment ntdll 2090 imp 'ZwSetInformationFile' ZwSetInformationFile ntdll 2091 imp 'ZwSetInformationJobObject' ZwSetInformationJobObject ntdll 2092 imp 'ZwSetInformationKey' ZwSetInformationKey ntdll 2093 imp 'ZwSetInformationObject' ZwSetInformationObject ntdll 2094 imp 'ZwSetInformationProcess' ZwSetInformationProcess ntdll 2095 imp 'ZwSetInformationResourceManager' ZwSetInformationResourceManager ntdll 2096 imp 'ZwSetInformationSymbolicLink' ZwSetInformationSymbolicLink ntdll 2097 imp 'ZwSetInformationThread' ZwSetInformationThread ntdll 2098 imp 'ZwSetInformationToken' ZwSetInformationToken ntdll 2099 imp 'ZwSetInformationTransaction' ZwSetInformationTransaction ntdll 2100 imp 'ZwSetInformationTransactionManager' ZwSetInformationTransactionManager ntdll 2101 imp 'ZwSetInformationVirtualMemory' ZwSetInformationVirtualMemory ntdll 2102 imp 'ZwSetInformationWorkerFactory' ZwSetInformationWorkerFactory ntdll 2103 imp 'ZwSetIntervalProfile' ZwSetIntervalProfile ntdll 2104 imp 'ZwSetIoCompletion' ZwSetIoCompletion ntdll 2105 imp 'ZwSetIoCompletionEx' ZwSetIoCompletionEx ntdll 2106 imp 'ZwSetLdtEntries' ZwSetLdtEntries ntdll 2107 imp 'ZwSetLowEventPair' ZwSetLowEventPair ntdll 2108 imp 'ZwSetLowWaitHighEventPair' ZwSetLowWaitHighEventPair ntdll 2109 imp 'ZwSetQuotaInformationFile' ZwSetQuotaInformationFile ntdll 2110 imp 'ZwSetSecurityObject' ZwSetSecurityObject ntdll 2111 imp 'ZwSetSystemEnvironmentValue' ZwSetSystemEnvironmentValue ntdll 2112 imp 'ZwSetSystemEnvironmentValueEx' ZwSetSystemEnvironmentValueEx ntdll 2113 imp 'ZwSetSystemInformation' ZwSetSystemInformation ntdll 2114 imp 'ZwSetSystemPowerState' ZwSetSystemPowerState ntdll 2115 imp 'ZwSetSystemTime' ZwSetSystemTime ntdll 2116 imp 'ZwSetThreadExecutionState' ZwSetThreadExecutionState ntdll 2117 imp 'ZwSetTimer' ZwSetTimer ntdll 2118 imp 'ZwSetTimer2' ZwSetTimer2 ntdll 2119 imp 'ZwSetTimerEx' ZwSetTimerEx ntdll 2120 imp 'ZwSetTimerResolution' ZwSetTimerResolution ntdll 2121 imp 'ZwSetUuidSeed' ZwSetUuidSeed ntdll 2122 imp 'ZwSetValueKey' ZwSetValueKey ntdll 2123 imp 'ZwSetVolumeInformationFile' ZwSetVolumeInformationFile ntdll 2124 imp 'ZwSetWnfProcessNotificationEvent' ZwSetWnfProcessNotificationEvent ntdll 2125 imp 'ZwShutdownSystem' ZwShutdownSystem ntdll 2126 imp 'ZwShutdownWorkerFactory' ZwShutdownWorkerFactory ntdll 2127 imp 'ZwSignalAndWaitForSingleObject' ZwSignalAndWaitForSingleObject ntdll 2128 imp 'ZwSinglePhaseReject' ZwSinglePhaseReject ntdll 2129 imp 'ZwStartProfile' ZwStartProfile ntdll 2130 imp 'ZwStopProfile' ZwStopProfile ntdll 2131 imp 'ZwSubscribeWnfStateChange' ZwSubscribeWnfStateChange ntdll 2132 imp 'ZwSuspendProcess' ZwSuspendProcess ntdll 2133 imp 'ZwSuspendThread' ZwSuspendThread ntdll 2134 imp 'ZwSystemDebugControl' ZwSystemDebugControl ntdll 2135 imp 'ZwTerminateEnclave' ZwTerminateEnclave ntdll 2136 imp 'ZwTerminateJobObject' ZwTerminateJobObject ntdll 2137 imp 'ZwTerminateProcess' ZwTerminateProcess ntdll 2138 imp 'ZwTerminateThread' ZwTerminateThread ntdll 2139 imp 'ZwTestAlert' ZwTestAlert ntdll 2140 imp 'ZwThawRegistry' ZwThawRegistry ntdll 2141 imp 'ZwThawTransactions' ZwThawTransactions ntdll 2142 imp 'ZwTraceControl' ZwTraceControl ntdll 2143 imp 'ZwTraceEvent' ZwTraceEvent ntdll 2144 imp 'ZwTranslateFilePath' ZwTranslateFilePath ntdll 2145 imp 'ZwUmsThreadYield' ZwUmsThreadYield ntdll 2146 imp 'ZwUnloadDriver' ZwUnloadDriver ntdll 2147 imp 'ZwUnloadKey' ZwUnloadKey ntdll 2148 imp 'ZwUnloadKey2' ZwUnloadKey2 ntdll 2149 imp 'ZwUnloadKeyEx' ZwUnloadKeyEx ntdll 2150 imp 'ZwUnlockFile' ZwUnlockFile ntdll 2151 imp 'ZwUnlockVirtualMemory' ZwUnlockVirtualMemory ntdll 2152 imp 'ZwUnmapViewOfSection' ZwUnmapViewOfSection ntdll 2153 imp 'ZwUnmapViewOfSectionEx' ZwUnmapViewOfSectionEx ntdll 2154 imp 'ZwUnsubscribeWnfStateChange' ZwUnsubscribeWnfStateChange ntdll 2155 imp 'ZwUpdateWnfStateData' ZwUpdateWnfStateData ntdll 2156 imp 'ZwVdmControl' ZwVdmControl ntdll 2157 imp 'ZwWaitForAlertByThreadId' ZwWaitForAlertByThreadId ntdll 2158 imp 'ZwWaitForDebugEvent' ZwWaitForDebugEvent ntdll 2159 imp 'ZwWaitForKeyedEvent' ZwWaitForKeyedEvent ntdll 2160 imp 'ZwWaitForMultipleObjects' ZwWaitForMultipleObjects ntdll 2161 imp 'ZwWaitForMultipleObjects32' ZwWaitForMultipleObjects32 ntdll 2162 imp 'ZwWaitForSingleObject' ZwWaitForSingleObject ntdll 2163 imp 'ZwWaitForWorkViaWorkerFactory' ZwWaitForWorkViaWorkerFactory ntdll 2164 imp 'ZwWaitHighEventPair' ZwWaitHighEventPair ntdll 2165 imp 'ZwWaitLowEventPair' ZwWaitLowEventPair ntdll 2166 imp 'ZwWorkerFactoryWorkerReady' ZwWorkerFactoryWorkerReady ntdll 2167 imp 'ZwWriteFile' ZwWriteFile ntdll 2168 imp 'ZwWriteFileGather' ZwWriteFileGather ntdll 2169 imp 'ZwWriteRequestData' ZwWriteRequestData ntdll 2170 imp 'ZwWriteVirtualMemory' ZwWriteVirtualMemory ntdll 2171 imp 'ZwYieldExecution' ZwYieldExecution ntdll 2172
392,706
5,696
jart/cosmopolitan
false
cosmopolitan/libc/nt/memory.h
#ifndef COSMOPOLITAN_LIBC_NT_MEMORY_H_ #define COSMOPOLITAN_LIBC_NT_MEMORY_H_ #include "libc/nt/struct/memorybasicinformation.h" #include "libc/nt/struct/memoryrangeentry.h" #include "libc/nt/struct/securityattributes.h" #include "libc/nt/thunk/msabi.h" /* ░░░░ ▒▒▒░░░▒▒▒▒▒▒▒▓▓▓░ ▒▒▒▒░░░▒▒▒▒▒▒▓▓▓▓▓▓░ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓▓ ▒▓░ ▒▒▒░░░░▒▒▒▒▒▒▓▓▓▓▓▓ ▓▓▓▓▓▓▒ ▒▒▒▓▓█ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▓ ░▒▒▒░░░░▒▒▒▒▒▒▓▓▓▓▓▓ █▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓█ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓░ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▓ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓▓ ▒▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▒ ▒▒▒▒▓▓ ▓▒▒▓▓▓▓ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓█ ▒▓ ▓▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓ ░░░░░░░░░░░▒▒▒▒ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓█ ▒▒░░░░░░░░░░▒▒▒▒▒▓▓▓ ▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▓ ░▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▓░ ░▓███▓ ▒▒░░░░░░░░░░▒▒▒▒▒▓▓░ ▒▓▓▓▒▒▒ ░▒▒▒▓ ████████████ ▒▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▒▓▓▓▓▒▒▒▒▒▒▒▒░░░▒▒▒▒▒░ ░███ ▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▓▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▓ ███ ▒▒░░░░░░░░░░▒▒▒▒▒▒▓▓ ▒▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▒ ▓██ ▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▓▓▓▓▒▒▒▒▒▒▒▒░░░▒▒▒▒▒▓ ▓██ ▒▒░░░▒▒▒░░░▒▒░▒▒▒▓▓▒ ▒▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▒ ███ ░▒▓ ░▓▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▓ ▓██ ╔────────────────────────────────────────────────────────────────▀▀▀─────────│─╗ │ cosmopolitan § new technology » memory ─╬─│┼ ╚────────────────────────────────────────────────────────────────────────────│*/ #define kNtNumaNoPreferredNode 0xffffffffu #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ void *LocalFree(void *hMem); int64_t CreateFileMapping( int64_t opt_hFile, const struct NtSecurityAttributes *opt_lpFileMappingAttributes, uint32_t flProtect, uint32_t dwMaximumSizeHigh, uint32_t dwMaximumSizeLow, const char16_t *opt_lpName); int64_t CreateFileMappingNuma( int64_t opt_hFile, const struct NtSecurityAttributes *opt_lpFileMappingAttributes, uint32_t flProtect, uint32_t dwMaximumSizeHigh, uint32_t dwMaximumSizeLow, const char16_t *opt_lpName, uint32_t nndDesiredNumaNode); void *MapViewOfFileEx(int64_t hFileMappingObject, uint32_t dwDesiredAccess, uint32_t dwFileOffsetHigh, uint32_t dwFileOffsetLow, size_t dwNumberOfBytesToMap, void *opt_lpDesiredBaseAddress); void *MapViewOfFileExNuma(int64_t hFileMappingObject, uint32_t dwDesiredAccess, uint32_t dwFileOffsetHigh, uint32_t dwFileOffsetLow, size_t dwNumberOfBytesToMap, void *opt_lpDesiredBaseAddress, uint32_t nndDesiredNumaNode); bool32 UnmapViewOfFile(const void *lpBaseAddress); bool32 FlushViewOfFile(const void *lpBaseAddress, size_t dwNumberOfBytesToFlush); void *VirtualAlloc(void *opt_lpAddress, uint64_t dwSize, uint32_t flAllocationType, uint32_t flProtect); bool32 VirtualFree(void *lpAddress, uint64_t dwSize, uint32_t dwFreeType); bool32 VirtualProtect(void *lpAddress, uint64_t dwSize, uint32_t flNewProtect, uint32_t *lpflOldProtect) paramsnonnull(); bool32 VirtualLock(void *lpAddress, size_t dwSize); bool32 VirtualUnlock(void *lpAddress, size_t dwSize); uint64_t VirtualQuery(const void *lpAddress, struct NtMemoryBasicInformation *lpBuffer, uint64_t dwLength); void *VirtualAllocEx(int64_t hProcess, void *lpAddress, uint64_t dwSize, uint32_t flAllocationType, uint32_t flProtect); bool32 PrefetchVirtualMemory(int64_t hProcess, const uint32_t *NumberOfEntries, struct NtMemoryRangeEntry *VirtualAddresses, uint32_t reserved_Flags); bool32 OfferVirtualMemory(void *inout_VirtualAddress, size_t Size, int Priority); int64_t GetProcessHeap(void); void *HeapAlloc(int64_t hHeap, uint32_t dwFlags, size_t dwBytes) dontdiscard; bool32 HeapFree(int64_t hHeap, uint32_t dwFlags, void *opt_lpMem); void *HeapReAlloc(int64_t hHeap, uint32_t dwFlags, void *lpMem, size_t dwBytes) dontdiscard; void *GlobalAlloc(uint32_t uFlags, uint64_t dwBytes) dontdiscard; void *GlobalFree(void *hMem); #if ShouldUseMsabiAttribute() #include "libc/nt/thunk/memory.inc" #endif /* ShouldUseMsabiAttribute() */ COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LIBC_NT_MEMORY_H_ */
6,571
98
jart/cosmopolitan
false
cosmopolitan/libc/nt/errors.h
#ifndef COSMOPOLITAN_NT_ERRORS_H_ #define COSMOPOLITAN_NT_ERRORS_H_ #define kNtNoError 0 #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 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 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 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_MAXIMUM_WAIT_EVENTS 64 #define WSA_IO_PENDING 997 #endif /* COSMOPOLITAN_NT_ERRORS_H_ */
191,995
2,675
jart/cosmopolitan
false
cosmopolitan/libc/nt/ntdllimport.S
/*-*- mode:unix-assembly; indent-tabs-mode:t; tab-width:8; coding:utf-8 -*-│ │vi: set et ft=asm ts=8 tw=8 fenc=utf-8 :vi│ ╞══════════════════════════════════════════════════════════════════════════════╡ │ Copyright 2020 Justine Alexandra Roberts Tunney │ │ │ │ Permission to use, copy, modify, and/or distribute this software for │ │ any purpose with or without fee is hereby granted, provided that the │ │ above copyright notice and this permission notice appear in all copies. │ │ │ │ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL │ │ WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED │ │ WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE │ │ AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL │ │ DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR │ │ PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER │ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/nt/enum/status.h" #include "libc/macros.internal.h" #ifdef __x86_64__ // @fileoverview NTDLL.DLL Non-Mandatory Importer // // This module lets us import Microsoft's private APIs in a way // that ensures executables won't fail to load in the future, // should Microsoft ever choose to delete these APIs. .initro 202,_init_ntdll.1 .type kNtdllProcRvas,@object kNtdllProcRvas: .previous/* ... decentralized content ... */.initro 202,_init_ntdll.3 .quad 0 .previous .init.start 202,_init_ntdll push %r12 push %r13 lea _ntdllmissingno(%rip),%r13 sub $32,%rsp loadstr "ntdll.dll",cx call *__imp_GetModuleHandleA(%rip) mov %rax,%r12 0: lodsq test %rax,%rax jz 1f .weak __executable_start lea __executable_start(%rax),%rdx mov %r12,%rcx call *__imp_GetProcAddress(%rip) test %rax,%rax cmovz %r13,%rax stosq jmp 0b 1: add $32,%rsp pop %r13 pop %r12 .init.end 202,_init_ntdll,globl,hidden .text.windows _ntdllmissingno: mov $kNtStatusDllNotFound,%eax ret .previous #endif /* __x86_64__ */
2,869
71
jart/cosmopolitan
false
cosmopolitan/libc/nt/files.h
#ifndef COSMOPOLITAN_LIBC_NT_FILES_H_ #define COSMOPOLITAN_LIBC_NT_FILES_H_ #include "libc/nt/struct/byhandlefileinformation.h" #include "libc/nt/struct/filesegmentelement.h" #include "libc/nt/struct/filetime.h" #include "libc/nt/struct/genericmapping.h" #include "libc/nt/struct/objectattributes.h" #include "libc/nt/struct/overlapped.h" #include "libc/nt/struct/privilegeset.h" #include "libc/nt/struct/securityattributes.h" #include "libc/nt/struct/win32finddata.h" #include "libc/nt/thunk/msabi.h" /* ░░░░ ▒▒▒░░░▒▒▒▒▒▒▒▓▓▓░ ▒▒▒▒░░░▒▒▒▒▒▒▓▓▓▓▓▓░ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓▓ ▒▓░ ▒▒▒░░░░▒▒▒▒▒▒▓▓▓▓▓▓ ▓▓▓▓▓▓▒ ▒▒▒▓▓█ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▓ ░▒▒▒░░░░▒▒▒▒▒▒▓▓▓▓▓▓ █▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓█ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓░ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▓ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓▓ ▒▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▒ ▒▒▒▒▓▓ ▓▒▒▓▓▓▓ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓█ ▒▓ ▓▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓ ░░░░░░░░░░░▒▒▒▒ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓█ ▒▒░░░░░░░░░░▒▒▒▒▒▓▓▓ ▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▓ ░▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▓░ ░▓███▓ ▒▒░░░░░░░░░░▒▒▒▒▒▓▓░ ▒▓▓▓▒▒▒ ░▒▒▒▓ ████████████ ▒▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▒▓▓▓▓▒▒▒▒▒▒▒▒░░░▒▒▒▒▒░ ░███ ▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▓▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▓ ███ ▒▒░░░░░░░░░░▒▒▒▒▒▒▓▓ ▒▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▒ ▓██ ▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▓▓▓▓▒▒▒▒▒▒▒▒░░░▒▒▒▒▒▓ ▓██ ▒▒░░░▒▒▒░░░▒▒░▒▒▒▓▓▒ ▒▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▒ ███ ░▒▓ ░▓▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▓ ▓██ ╔────────────────────────────────────────────────────────────────▀▀▀─────────│─╗ │ cosmopolitan § new technology » files ─╬─│┼ ╚────────────────────────────────────────────────────────────────────────────│*/ #define kNtHandleFlagInherit 1 /* SetHandleInformation */ #define kNtHandleFlagProtectFromClose 2 #define kNtFindFirstExCaseSensitive 1 #define kNtFindFirstExLargeFetch 2 #define kNtDuplicateCloseSource 1 #define kNtDuplicateSameAccess 2 #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ intptr_t LoadResource(int64_t hModule, int64_t hResInfo); uint32_t SetHandleCount(uint32_t uNumber); uint32_t GetLogicalDrives(void); bool32 FlushFileBuffers(int64_t hFile); int64_t ReOpenFile(int64_t hOriginalFile, uint32_t dwDesiredAccess, uint32_t dwShareMode, uint32_t dwFlagsAndAttributes); bool32 DeleteFile(const char16_t *lpFileName) paramsnonnull(); bool32 CopyFile(const char16_t *lpExistingFileName, const char16_t *lpNewFileName, bool32 bFailIfExists) paramsnonnull(); bool32 MoveFile(const char16_t *lpExistingFileName, const char16_t *lpNewFileName) paramsnonnull(); bool32 MoveFileEx(const char16_t *lpExistingFileName, const char16_t *opt_lpNewFileName, int dwFlags) paramsnonnull((1)); bool32 SetCurrentDirectory(const char16_t *lpPathName); uint32_t GetCurrentDirectory(uint32_t nBufferLength, char16_t *out_lpBuffer); bool32 CreateDirectory(const char16_t *lpPathName, struct NtSecurityAttributes *lpSecurityAttributes); bool32 RemoveDirectory(const char16_t *lpPathName); bool32 DuplicateHandle(int64_t hSourceProcessHandle, int64_t hSourceHandle, int64_t hTargetProcessHandle, int64_t *lpTargetHandle, uint32_t dwDesiredAccess, bool32 bInheritHandle, uint32_t dwOptions); bool32 GetHandleInformation(int64_t hObject, uint32_t *out_lpdwFlags); bool32 SetHandleInformation(int64_t hObject, uint32_t dwMask, uint32_t dwFlags); int GetFileType(int64_t hFile); bool32 GetFileInformationByHandleEx(int64_t hFile, uint32_t FileInformationClass, void *out_lpFileInformation, uint32_t dwBufferSize); bool32 GetFileInformationByHandle( int64_t hFile, struct NtByHandleFileInformation *lpFileInformation); uint32_t GetFileAttributes(const char16_t *lpFileName); bool32 GetFileAttributesEx( const char16_t *lpFileName, int fInfoLevelId /* kNtGetFileExInfoStandard */, void *out_lpFileInformation /* → struct NtWin32FileAttributeData * */) paramsnonnull(); uint32_t GetCompressedFileSize(const char16_t *lpFileName, uint32_t *lpFileSizeHigh); bool32 SetFileAttributes(const char16_t *lpFileName, uint32_t dwFileAttributes); bool32 GetFileTime(int64_t hFile, struct NtFileTime *opt_lpCreationFileTime, struct NtFileTime *opt_lpLastAccessFileTime, struct NtFileTime *opt_lpLastWriteFileTime); bool32 SetFileTime(int64_t hFile, const struct NtFileTime *opt_lpCreationFileTime, const struct NtFileTime *opt_lpLastAccessFileTime, const struct NtFileTime *opt_lpLastWriteFileTime); bool32 DeviceIoControl(int64_t hDevice, uint32_t dwIoControlCode, void *lpInBuffer, uint32_t nInBufferSize, void *lpOutBuffer, uint32_t nOutBufferSize, uint32_t *lpBytesReturned, struct NtOverlapped *lpOverlapped); bool32 LockFile(int64_t hFile, uint32_t dwFileOffsetLow, uint32_t dwFileOffsetHigh, uint32_t nNumberOfBytesToLockLow, uint32_t nNumberOfBytesToLockHigh); bool32 UnlockFile(int64_t hFile, uint32_t dwFileOffsetLow, uint32_t dwFileOffsetHigh, uint32_t nNumberOfBytesToUnlockLow, uint32_t nNumberOfBytesToUnlockHigh); bool32 LockFileEx(int64_t hFile, uint32_t dwFlags, uint32_t dwReserved, uint32_t nNumberOfBytesToLockLow, uint32_t nNumberOfBytesToLockHigh, struct NtOverlapped *lpOverlapped) paramsnonnull(); bool32 UnlockFileEx(int64_t hFile, uint32_t dwReserved, uint32_t nNumberOfBytesToUnlockLow, uint32_t nNumberOfBytesToUnlockHigh, struct NtOverlapped *lpOverlapped) paramsnonnull(); bool32 CreateHardLink(const char16_t *lpFileName, const char16_t *lpExistingFileName, struct NtSecurityAttributes *reserved) paramsnonnull((1, 2)); bool32 CreateSymbolicLink(const char16_t *lpSymlinkFileName, const char16_t *lpTargetPathName, uint32_t dwFlags) paramsnonnull(); uint32_t SetFilePointer(int64_t hFile, int32_t lDistanceToMove, int32_t *optional_lpDistanceToMoveHigh, int dwMoveMethod); bool32 SetFilePointerEx(int64_t hFile, int64_t liDistanceToMove, int64_t *optional_lpNewFilePointer, int dwMoveMethod); bool32 SetEndOfFile(int64_t hFile); bool32 SetFileValidData(int64_t hFile, int64_t ValidDataLength); bool32 GetFileSecurity(const char16_t *lpFileName, uint32_t RequestedInformation, struct NtSecurityDescriptor *pSecurityDescriptor, uint32_t nLength, uint32_t *lpnLengthNeeded); bool32 OpenProcessToken(int64_t hProcessHandle, uint32_t dwDesiredAccess, int64_t *out_hTokenHandle); bool32 DuplicateToken(int64_t hExistingTokenHandle, int dwImpersonationLevel, int64_t *out_hDuplicateTokenHandle); bool32 DuplicateTokenEx(int64_t hExistingToken, unsigned int dwDesiredAccess, struct NtSecurityAttributes *lpTokenAttributes, int ImpersonationLevel, int TokenType, int64_t *out_phNewToken); bool32 AccessCheck(struct NtSecurityDescriptor *pSecurityDescriptor, int64_t ClientToken, unsigned int DesiredAccess, struct NtGenericMapping *lpGenericMapping, struct NtPrivilegeSet *lpPrivilegeSet, unsigned int *PrivilegeSetLength, unsigned int *GrantedAccess, bool32 *AccessStatus); void MapGenericMask(uint32_t *AccessMask, struct NtGenericMapping *GenericMapping); int64_t FindFirstFile(const char16_t *lpFileName, struct NtWin32FindData *out_lpFindFileData); int64_t FindFirstFileEx(const char16_t *lpFileName, int fInfoLevelId, void *out_lpFindFileData, int fSearchOp, void *reserved_lpSearchFilter, uint32_t dwAdditionalFlags); bool32 FindNextFile(int64_t hFindFile, struct NtWin32FindData *out_lpFindFileData); bool32 FindClose(int64_t hFindFile); int64_t FindFirstVolume(char16_t *out_lpszVolumeName, uint32_t cchBufferLength); bool32 FindNextVolume(int64_t inout_hFindVolume, char16_t *out_lpszVolumeName, uint32_t cchBufferLength); bool32 FindVolumeClose(int64_t hFindVolume); bool32 ReadFileScatter( int64_t hFileOpenedWithOverlappedAndNoBuffering, const union NtFileSegmentElement aNullTerminatedPageAlignedSizedSegmentArray[], uint32_t nNumberOfBytesToReadThatsMultipleOfFileVolumeSectorSize, uint32_t *lpReserved, struct NtOverlapped *inout_lpOverlapped) paramsnonnull(); bool32 WriteFileGather(int64_t hFileOpenedWithOverlappedAndNoBuffering, const union NtFileSegmentElement aSegmentArray[], uint32_t nNumberOfBytesToWrite, uint32_t *lpReserved, struct NtOverlapped inout_lpOverlapped) paramsnonnull(); #define kNtFileNameNormalized 0x0 #define kNtFileNameOpened 0x8 #define kNtVolumeNameDos 0x0 /* e.g. \\?\C:\Users\jart */ #define kNtVolumeNameGuid 0x1 /* e.g. \\?\Volume{ea38-etc.}\Users\jart */ #define kNtVolumeNameNt 0x2 /* e.g. \Device\HarddiskVolume4\Users\jart */ #define kNtVolumeNameNone 0x4 /* e.g. \Users\jart */ uint32_t GetFinalPathNameByHandle(int64_t hFile, char16_t *out_path, uint32_t arraylen, uint32_t flags); uint32_t GetFullPathName(const char16_t *lpFileName, uint32_t nBufferLength, char16_t *lpBuffer, char16_t **lpFilePart); bool32 GetOverlappedResult(int64_t hFile, struct NtOverlapped *lpOverlapped, uint32_t *lpNumberOfBytesTransferred, bool32 bWait); bool32 GetOverlappedResultEx(int64_t hFile, struct NtOverlapped *lpOverlapped, uint32_t *lpNumberOfBytesTransferred, uint32_t dwMilliseconds, bool32 bAlertable); bool32 GetVolumePathName(const char16_t *lpszFileName, char16_t *lpszVolumePathName, uint32_t cchBufferLength); bool32 GetVolumeInformationByHandle(int64_t hFile, char16_t *opt_out_lpVolumeNameBuffer, uint32_t nVolumeNameSize, uint32_t *opt_out_lpVolumeSerialNumber, uint32_t *opt_out_lpMaximumComponentLength, uint32_t *opt_out_lpFileSystemFlags, char16_t *opt_out_lpFileSystemNameBuffer, uint32_t nFileSystemNameSize); #if ShouldUseMsabiAttribute() #include "libc/nt/thunk/files.inc" #endif /* ShouldUseMsabiAttribute() */ COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LIBC_NT_FILES_H_ */
13,472
238
jart/cosmopolitan
false
cosmopolitan/libc/nt/dll.h
#ifndef COSMOPOLITAN_LIBC_NT_DLL_H_ #define COSMOPOLITAN_LIBC_NT_DLL_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ /* ░░░░ ▒▒▒░░░▒▒▒▒▒▒▒▓▓▓░ ▒▒▒▒░░░▒▒▒▒▒▒▓▓▓▓▓▓░ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓▓ ▒▓░ ▒▒▒░░░░▒▒▒▒▒▒▓▓▓▓▓▓ ▓▓▓▓▓▓▒ ▒▒▒▓▓█ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▓ ░▒▒▒░░░░▒▒▒▒▒▒▓▓▓▓▓▓ █▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓█ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓░ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▓ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓▓ ▒▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▒ ▒▒▒▒▓▓ ▓▒▒▓▓▓▓ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓█ ▒▓ ▓▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓ ░░░░░░░░░░░▒▒▒▒ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓█ ▒▒░░░░░░░░░░▒▒▒▒▒▓▓▓ ▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▓ ░▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▓░ ░▓███▓ ▒▒░░░░░░░░░░▒▒▒▒▒▓▓░ ▒▓▓▓▒▒▒ ░▒▒▒▓ ████████████ ▒▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▒▓▓▓▓▒▒▒▒▒▒▒▒░░░▒▒▒▒▒░ ░███ ▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▓▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▓ ███ ▒▒░░░░░░░░░░▒▒▒▒▒▒▓▓ ▒▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▒ ▓██ ▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▓▓▓▓▒▒▒▒▒▒▒▒░░░▒▒▒▒▒▓ ▓██ ▒▒░░░▒▒▒░░░▒▒░▒▒▒▓▓▒ ▒▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▒ ███ ░▒▓ ░▓▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▓ ▓██ ╔────────────────────────────────────────────────────────────────▀▀▀─────────│─╗ │ cosmopolitan § new technology » dynamic link libraries ─╬─│┼ ╚────────────────────────────────────────────────────────────────────────────│*/ int64_t LoadLibrary(const char16_t *lpLibFileName); int64_t LoadLibraryEx(const char16_t *lpLibFileName, int64_t hFile, uint32_t dwFlags); uint32_t GetModuleFileNameA(int64_t hModule, char *lpFilename, uint32_t nSize); intptr_t GetModuleHandle(const char *opt_lpModuleName); intptr_t GetModuleHandleW(const char16_t *opt_lpModuleName); void *GetProcAddress(int64_t hModule, const char *lpProcName); int32_t FreeResource(int64_t hResData); intptr_t LockResource(int64_t hResData); int32_t FreeLibrary(int64_t hLibModule); COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LIBC_NT_DLL_H_ */
4,067
44
jart/cosmopolitan
false
cosmopolitan/libc/nt/sysv2nt.S
/*-*- mode:unix-assembly; indent-tabs-mode:t; tab-width:8; coding:utf-8 -*-│ │vi: set et ft=asm ts=8 tw=8 fenc=utf-8 :vi│ ╞══════════════════════════════════════════════════════════════════════════════╡ │ Copyright 2020 Justine Alexandra Roberts Tunney │ │ │ │ Permission to use, copy, modify, and/or distribute this software for │ │ any purpose with or without fee is hereby granted, provided that the │ │ above copyright notice and this permission notice appear in all copies. │ │ │ │ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL │ │ WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED │ │ WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE │ │ AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL │ │ DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR │ │ PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER │ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #ifdef __x86_64__ .section .text.windows,"ax",@progbits // Epilogues for calling functions w/ Microsoft x64 convention. // // @param %rax is address of windows x64 function to call // @param %rsi is ignored // @param %rdx,%rcx,%r8,%r9,stack are params (unlimited) // @param %xmm0,%xmm1,%xmm2 are double params (limited to 3) // @return is in %rax, %xmm0, or %st // @note GCC 4.8+ and Clang can avoid this indirection // @note thunk that jumps here must setup frame // @note this is so much faster than __nt2sysv() __sysv2nt14: pushq 72(%rbp) pushq 64(%rbp) .type __sysv2nt14,@function .size __sysv2nt14,.-__sysv2nt14 .globl __sysv2nt14 .hidden __sysv2nt14 __sysv2nt12: pushq 56(%rbp) pushq 48(%rbp) .type __sysv2nt12,@function .size __sysv2nt12,.-__sysv2nt12 .globl __sysv2nt12 .hidden __sysv2nt12 __sysv2nt10: pushq 40(%rbp) pushq 32(%rbp) .type __sysv2nt10,@function .size __sysv2nt10,.-__sysv2nt10 .globl __sysv2nt10 .hidden __sysv2nt10 __sysv2nt8: pushq 24(%rbp) pushq 16(%rbp) .type __sysv2nt8,@function .size __sysv2nt8,.-__sysv2nt8 .globl __sysv2nt8 .hidden __sysv2nt8 __sysv2nt6: push %r9 push %r8 .type __sysv2nt6,@function .size __sysv2nt6,.-__sysv2nt6 .globl __sysv2nt6 .hidden __sysv2nt6 __sysv2nt: mov %rdx,%r8 mov %rcx,%r9 mov %rdi,%rcx mov %rsi,%rdx sub $32,%rsp call *%rax leave ret .type __sysv2nt,@function .size __sysv2nt,.-__sysv2nt .globl __sysv2nt .hidden __sysv2nt #endif /* __x86_64__ */
3,292
82
jart/cosmopolitan
false
cosmopolitan/libc/nt/automation.h
#ifndef COSMOPOLITAN_LIBC_NT_AUTOMATION_H_ #define COSMOPOLITAN_LIBC_NT_AUTOMATION_H_ #include "libc/nt/typedef/hookproc.h" #include "libc/nt/typedef/wndenumproc.h" /* ░░░░ ▒▒▒░░░▒▒▒▒▒▒▒▓▓▓░ ▒▒▒▒░░░▒▒▒▒▒▒▓▓▓▓▓▓░ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓▓ ▒▓░ ▒▒▒░░░░▒▒▒▒▒▒▓▓▓▓▓▓ ▓▓▓▓▓▓▒ ▒▒▒▓▓█ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▓ ░▒▒▒░░░░▒▒▒▒▒▒▓▓▓▓▓▓ █▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓█ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓░ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▓ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓▓ ▒▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▒ ▒▒▒▒▓▓ ▓▒▒▓▓▓▓ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓█ ▒▓ ▓▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓ ░░░░░░░░░░░▒▒▒▒ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓█ ▒▒░░░░░░░░░░▒▒▒▒▒▓▓▓ ▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▓ ░▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▓░ ░▓███▓ ▒▒░░░░░░░░░░▒▒▒▒▒▓▓░ ▒▓▓▓▒▒▒ ░▒▒▒▓ ████████████ ▒▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▒▓▓▓▓▒▒▒▒▒▒▒▒░░░▒▒▒▒▒░ ░███ ▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▓▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▓ ███ ▒▒░░░░░░░░░░▒▒▒▒▒▒▓▓ ▒▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▒ ▓██ ▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▓▓▓▓▒▒▒▒▒▒▒▒░░░▒▒▒▒▒▓ ▓██ ▒▒░░░▒▒▒░░░▒▒░▒▒▒▓▓▒ ▒▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▒ ███ ░▒▓ ░▓▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▓ ▓██ ╔────────────────────────────────────────────────────────────────▀▀▀─────────│─╗ │ cosmopolitan § new technology » aol hacking ─╬─│┼ ╚────────────────────────────────────────────────────────────────────────────│*/ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ int64_t GetShellWindow(void); int64_t GetDesktopWindow(void); int64_t GetParent(int64_t hWnd); int64_t SetParent(int64_t hWndChild, int64_t hWndNewParent); int32_t EnumChildWindows(int64_t hWndParent, NtWndEnumProc lpEnumFunc, intptr_t lParam); int64_t FindWindow(const char16_t *lpClassName, const char16_t *lpWindowName); int64_t FindWindowEx(int64_t hWndParent, int64_t hWndChildAfter, const char16_t *lpszClass, const char16_t *lpszWindow); int64_t GetWindow(int64_t hWnd, uint32_t uCmd); int64_t SetWindowsHook(int nFilterType, NtHookProc pfnFilterProc); int32_t UnhookWindowsHook(int nCode, NtHookProc pfnFilterProc); int64_t SetWindowsHookEx(int idHook, NtHookProc lpfn, int64_t hmod, uint32_t dwThreadId); int32_t UnhookWindowsHookEx(int64_t hhk); intptr_t CallNextHookEx(int64_t hhk, int nCode, uintptr_t wParam, intptr_t lParam); COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LIBC_NT_AUTOMATION_H_ */
4,560
54
jart/cosmopolitan
false
cosmopolitan/libc/nt/registry.h
#ifndef COSMOPOLITAN_LIBC_NT_REGISTRY_H_ #define COSMOPOLITAN_LIBC_NT_REGISTRY_H_ #include "libc/nt/enum/securityinformation.h" #include "libc/nt/struct/filetime.h" #include "libc/nt/struct/securityattributes.h" #include "libc/nt/struct/valent.h" /* ░░░░ ▒▒▒░░░▒▒▒▒▒▒▒▓▓▓░ ▒▒▒▒░░░▒▒▒▒▒▒▓▓▓▓▓▓░ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓▓ ▒▓░ ▒▒▒░░░░▒▒▒▒▒▒▓▓▓▓▓▓ ▓▓▓▓▓▓▒ ▒▒▒▓▓█ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▓ ░▒▒▒░░░░▒▒▒▒▒▒▓▓▓▓▓▓ █▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓█ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓░ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▓ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓▓ ▒▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▒ ▒▒▒▒▓▓ ▓▒▒▓▓▓▓ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓█ ▒▓ ▓▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓ ░░░░░░░░░░░▒▒▒▒ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓█ ▒▒░░░░░░░░░░▒▒▒▒▒▓▓▓ ▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▓ ░▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▓░ ░▓███▓ ▒▒░░░░░░░░░░▒▒▒▒▒▓▓░ ▒▓▓▓▒▒▒ ░▒▒▒▓ ████████████ ▒▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▒▓▓▓▓▒▒▒▒▒▒▒▒░░░▒▒▒▒▒░ ░███ ▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▓▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▓ ███ ▒▒░░░░░░░░░░▒▒▒▒▒▒▓▓ ▒▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▒ ▓██ ▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▓▓▓▓▒▒▒▒▒▒▒▒░░░▒▒▒▒▒▓ ▓██ ▒▒░░░▒▒▒░░░▒▒░▒▒▒▓▓▒ ▒▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▒ ███ ░▒▓ ░▓▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▓ ▓██ ╔────────────────────────────────────────────────────────────────▀▀▀─────────│─╗ │ cosmopolitan § new technology » registry ─╬─│┼ ╚────────────────────────────────────────────────────────────────────────────│*/ #define kNtMaxKeyNameChars 255 #define kNtMaxValueNameChars 16383 #define kNtMaxValueBytes 0x100000 #define kNtHkeyClassesRoot 0x80000000l #define kNtHkeyCurrentUser 0x80000001l #define kNtHkeyLocalMachine 0x80000002l #define kNtHkeyUsers 0x80000003l #define kNtHkeyPerformanceData 0x80000004l #define kNtHkeyPerformanceText 0x80000050l #define kNtHkeyPerformanceNlstext 0x80000060l #define kNtHkeyCurrentConfig 0x80000005l #define kNtHkeyDynData 0x80000006l #define kNtHkeyCurrentUserLocalSettings 0x80000007l #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ int RegOpenKey(int64_t hKey, const char16_t *opt_lpSubKey, int64_t *out_phkResult) paramsnonnull((3)); int RegOpenKeyEx(int64_t hKey, const char16_t *opt_lpSubKey, uint32_t opt_ulOptions, int samDesired, int64_t *out_phkResult) paramsnonnull((5)); int RegCloseKey(int64_t hKey); int RegGetValue(int64_t hkey, const char16_t *opt_lpSubKey, const char16_t *opt_lpValue, unsigned dwFlags, int *opt_pdwType, void *opt_out_pvData, uint32_t *opt_inout_pcbDataBytes); int RegSetValue(int64_t hKey, const char16_t *lpSubKey, int dwType, const char16_t *lpData, uint32_t cbData); int RegSetValueEx(int64_t hKey, const char16_t *lpValueName, uint32_t Reserved, int dwType, const unsigned char *lpData, uint32_t cbData); int RegQueryInfoKey(int64_t hKey, char16_t *opt_out_lpClass, uint32_t *opt_inout_lpClassLen, uint32_t *lpReserved, uint32_t *opt_out_lpcSubKeys, uint32_t *opt_out_lpcbMaxSubKeyBytes, uint32_t *opt_out_lpcbMaxClassBytes, uint32_t *opt_out_lpcValues, uint32_t *opt_out_lpcbMaxValueNameBytes, uint32_t *opt_out_lpcbMaxValueBytes, uint32_t *opt_out_lpcbSecurityDescriptorBytes, struct NtFileTime *opt_out_lpftLastWriteTime); int RegEnumKey(int64_t hKey, uint32_t dwIndex, char16_t *opt_lpName, uint32_t NameLen); int RegEnumKeyEx(int64_t hKey, uint32_t dwIndex, char16_t *out_lpName, uint32_t *inout_lpcchName, uint32_t *lpReserved, char16_t *opt_out_lpClass, uint32_t *opt_inout_lpcchClassLen, struct NtFileTime *opt_out_lpftLastWriteTime); int RegEnumValue(int64_t hKey, uint32_t dwIndex, char16_t *lpValueName, uint32_t *lpValueNameLen, uint32_t *lpReserved, int *opt_out_lpType, unsigned char *opt_out_lpData, uint32_t *opt_inout_lpcbDataBytes); int RegQueryValue(int64_t hKey, const char16_t *opt_lpSubKey, char16_t *opt_out_lpData, int32_t *opt_inout_lpcbDataBytes); int RegQueryValueEx(int64_t hKey, const char16_t *opt_lpValueName, uint32_t *lpReserved, int *opt_out_lpType, unsigned char *opt_out_lpData, uint32_t *opt_inout_lpcbDataBytes); int RegOverridePredefKey(int64_t hKey, int64_t hNewHKey); int RegOpenUserClassesRoot(void *hToken, uint32_t dwOptions, int samDesired, int64_t *phkResult); int RegOpenCurrentUser(int samDesired, int64_t *phkResult); int RegDisablePredefinedCache(); int RegConnectRegistry(const char16_t *lpMachineName, int64_t hKey, int64_t *phkResult); int RegConnectRegistryEx(const char16_t *lpMachineName, int64_t hKey, uint32_t Flags, int64_t *phkResult); int RegCreateKey(int64_t hKey, const char16_t *lpSubKey, int64_t *phkResult); int RegCreateKeyEx(int64_t hKey, const char16_t *lpSubKey, uint32_t Reserved, int16_t *lpClass, uint32_t dwOptions, int samDesired, struct NtSecurityAttributes *lpSecurityAttributes, int64_t *phkResult, uint32_t *lpdwDisposition); int RegDeleteKey(int64_t hKey, const char16_t *lpSubKey); int RegDeleteKeyEx(int64_t hKey, const char16_t *lpSubKey, int samDesired, uint32_t Reserved); int RegDeleteTree(int64_t hKey, const char16_t *opt_lpSubKey); int RegDisableReflectionKey(int64_t hBase); int RegEnableReflectionKey(int64_t hBase); int RegQueryReflectionKey(int64_t hBase, bool32 *bIsReflectionDisabled); int RegDeleteValue(int64_t hKey, const char16_t *lpValueName); int RegFlushKey(int64_t hKey); int RegGetKeySecurity(int64_t hKey, uint32_t SecurityInformation, void *pSecurityDescriptor, uint32_t *lpcbSecurityDescriptorBytes); int RegLoadKey(int64_t hKey, const char16_t *lpSubKey, const char16_t *lpFile); int RegNotifyChangeKeyValue(int64_t hKey, bool32 bWatchSubtree, uint32_t dwNotifyFilter, void *hEvent, int fAsynchronous); int RegQueryMultipleValues(int64_t hKey, struct NtValent *inout_val_list, uint32_t num_vals, int16_t *out_lpValueBuf, uint32_t *inout_ldwTotsize) paramsnonnull(); int RegReplaceKey(int64_t hKey, const char16_t *lpSubKey, const char16_t *lpNewFile, const char16_t *lpOldFile); int RegRestoreKey(int64_t hKey, const char16_t *lpFile, uint32_t dwFlags); int RegSaveKey(int64_t hKey, const char16_t *lpFile, struct NtSecurityAttributes *lpSecurityAttributes); int RegSetKeySecurity(int64_t hKey, uint32_t SecurityInformation, void *pSecurityDescriptor); int RegUnLoadKey(int64_t hKey, const char16_t *lpSubKey); COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LIBC_NT_REGISTRY_H_ */
9,298
138
jart/cosmopolitan
false
cosmopolitan/libc/nt/process.h
#ifndef COSMOPOLITAN_LIBC_NT_PROCESS_H_ #define COSMOPOLITAN_LIBC_NT_PROCESS_H_ #include "libc/nt/startupinfo.h" #include "libc/nt/struct/processentry32.h" #include "libc/nt/struct/processinformation.h" #include "libc/nt/struct/processmemorycounters.h" #include "libc/nt/struct/securityattributes.h" #include "libc/nt/thunk/msabi.h" /* ░░░░ ▒▒▒░░░▒▒▒▒▒▒▒▓▓▓░ ▒▒▒▒░░░▒▒▒▒▒▒▓▓▓▓▓▓░ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓▓ ▒▓░ ▒▒▒░░░░▒▒▒▒▒▒▓▓▓▓▓▓ ▓▓▓▓▓▓▒ ▒▒▒▓▓█ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▓ ░▒▒▒░░░░▒▒▒▒▒▒▓▓▓▓▓▓ █▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓█ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓░ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▓ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓▓ ▒▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▒ ▒▒▒▒▓▓ ▓▒▒▓▓▓▓ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓█ ▒▓ ▓▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓ ░░░░░░░░░░░▒▒▒▒ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓█ ▒▒░░░░░░░░░░▒▒▒▒▒▓▓▓ ▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▓ ░▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▓░ ░▓███▓ ▒▒░░░░░░░░░░▒▒▒▒▒▓▓░ ▒▓▓▓▒▒▒ ░▒▒▒▓ ████████████ ▒▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▒▓▓▓▓▒▒▒▒▒▒▒▒░░░▒▒▒▒▒░ ░███ ▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▓▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▓ ███ ▒▒░░░░░░░░░░▒▒▒▒▒▒▓▓ ▒▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▒ ▓██ ▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▓▓▓▓▒▒▒▒▒▒▒▒░░░▒▒▒▒▒▓ ▓██ ▒▒░░░▒▒▒░░░▒▒░▒▒▒▓▓▒ ▒▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▒ ███ ░▒▓ ░▓▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▓ ▓██ ╔────────────────────────────────────────────────────────────────▀▀▀─────────│─╗ │ cosmopolitan § new technology » processes ─╬─│┼ ╚────────────────────────────────────────────────────────────────────────────│*/ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ bool32 CreateProcess(const char16_t *opt_lpApplicationName, char16_t *lpCommandLine, struct NtSecurityAttributes *opt_lpProcessAttributes, struct NtSecurityAttributes *opt_lpThreadAttributes, bool32 bInheritHandles, uint32_t dwCreationFlags, void *opt_lpEnvironment, const char16_t *opt_lpCurrentDirectory, const struct NtStartupInfo *lpStartupInfo, struct NtProcessInformation *opt_out_lpProcessInformation) paramsnonnull((9)); uint32_t GetThreadId(int64_t hThread); /* cf. NT_TID */ uint32_t GetProcessId(int64_t hProcess); /* cf. NT_PID */ void SetLastError(uint32_t dwErrCode); uint32_t FormatMessage(uint32_t dwFlags, const void *lpSource, uint32_t dwMessageId, uint32_t dwLanguageId, char16_t *lpBuffer, uint32_t nSize, va_list *Arguments); int64_t OpenProcess(uint32_t dwDesiredAccess, bool32 bInheritHandle, uint32_t dwProcessId); uint32_t GetCurrentProcessId(void); /* %gs:0x40 */ uint32_t GetEnvironmentVariable(const char16_t *lpName, char16_t *lpBuffer, uint32_t nSize); uint32_t SetEnvironmentVariable(const char16_t *lpName, char16_t *lpValue); int32_t SetEnvironmentStrings(char16_t *NewEnvironment); bool32 GetProcessAffinityMask(int64_t hProcess, uint64_t *lpProcessAffinityMask, uint64_t *lpSystemAffinityMask); uint64_t /*bool32*/ SetProcessAffinityMask(int64_t hProcess, uint64_t dwProcessAffinityMask); /* e.g. kNtAboveNormalPriorityClass, kNtHighPriorityClass */ uint32_t GetPriorityClass(int64_t hProcess); bool32 SetPriorityClass(int64_t hProcess, uint32_t dwPriorityClass); bool32 SetProcessPriorityBoost(int64_t hProcess, bool32 bDisablePriorityBoost); bool32 GetProcessPriorityBoost(int64_t hProcess, bool32 *pDisablePriorityBoost); bool32 GetProcessMemoryInfo( int64_t hProcess, struct NtProcessMemoryCountersEx *out_ppsmemCounters, uint32_t cb); int64_t CreateToolhelp32Snapshot(uint32_t dwFlags, uint32_t th32ProcessID); bool32 Process32First(int64_t hSnapshot, struct NtProcessEntry32 *in_out_lppe); bool32 Process32Next(int64_t hSnapshot, struct NtProcessEntry32 *out_lppe); #if ShouldUseMsabiAttribute() #include "libc/nt/thunk/process.inc" #endif /* ShouldUseMsabiAttribute() */ COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LIBC_NT_PROCESS_H_ */
6,260
86
jart/cosmopolitan
false
cosmopolitan/libc/nt/comms.h
#ifndef COSMOPOLITAN_LIBC_NT_COMMS_H_ #define COSMOPOLITAN_LIBC_NT_COMMS_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ /* ░░░░ ▒▒▒░░░▒▒▒▒▒▒▒▓▓▓░ ▒▒▒▒░░░▒▒▒▒▒▒▓▓▓▓▓▓░ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓▓ ▒▓░ ▒▒▒░░░░▒▒▒▒▒▒▓▓▓▓▓▓ ▓▓▓▓▓▓▒ ▒▒▒▓▓█ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▓ ░▒▒▒░░░░▒▒▒▒▒▒▓▓▓▓▓▓ █▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓█ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓░ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▓ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓▓ ▒▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▒ ▒▒▒▒▓▓ ▓▒▒▓▓▓▓ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓█ ▒▓ ▓▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓ ░░░░░░░░░░░▒▒▒▒ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓█ ▒▒░░░░░░░░░░▒▒▒▒▒▓▓▓ ▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▓ ░▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▓░ ░▓███▓ ▒▒░░░░░░░░░░▒▒▒▒▒▓▓░ ▒▓▓▓▒▒▒ ░▒▒▒▓ ████████████ ▒▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▒▓▓▓▓▒▒▒▒▒▒▒▒░░░▒▒▒▒▒░ ░███ ▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▓▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▓ ███ ▒▒░░░░░░░░░░▒▒▒▒▒▒▓▓ ▒▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▒ ▓██ ▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▓▓▓▓▒▒▒▒▒▒▒▒░░░▒▒▒▒▒▓ ▓██ ▒▒░░░▒▒▒░░░▒▒░▒▒▒▓▓▒ ▒▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▒ ███ ░▒▓ ░▓▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▓ ▓██ ╔────────────────────────────────────────────────────────────────▀▀▀─────────│─╗ │ cosmopolitan § new technology » communications ─╬─│┼ ╚────────────────────────────────────────────────────────────────────────────│*/ bool32 PurgeComm(int64_t hFile, uint32_t dwFlags); bool32 TransmitCommChar(int64_t hFile, char cChar); bool32 ClearCommBreak(int64_t hFile); COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LIBC_NT_COMMS_H_ */
3,671
37
jart/cosmopolitan
false
cosmopolitan/libc/nt/ntdllimport.h
/*-*- mode:unix-assembly; indent-tabs-mode:t; tab-width:8; coding:utf-8 -*-│ │vi: set et ft=asm ts=8 tw=8 fenc=utf-8 :vi│ ╞══════════════════════════════════════════════════════════════════════════════╡ │ Copyright 2020 Justine Alexandra Roberts Tunney │ │ │ │ Permission to use, copy, modify, and/or distribute this software for │ │ any purpose with or without fee is hereby granted, provided that the │ │ above copyright notice and this permission notice appear in all copies. │ │ │ │ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL │ │ WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED │ │ WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE │ │ AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL │ │ DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR │ │ PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER │ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #ifndef COSMOPOLITAN_LIBC_NT_NTDLLIMPORT_H_ #define COSMOPOLITAN_LIBC_NT_NTDLLIMPORT_H_ #include "ape/relocations.h" #include "libc/macros.internal.h" #ifdef __ASSEMBLER__ /* clang-format off */ .macro .ntimp fn:req name:req #ifdef __x86_64__ .yoink _init_ntdll .initbss 202,_init_ntdll.\fn __imp_\fn: .quad 0 .endobj __imp_\fn,globl,hidden .previous .initro 202,_init_ntdll.2.\fn .quad RVA(.L\fn) .previous .section .rodata.str1.1,"aSM",@progbits,1 .L\fn: .asciz "\fn" .previous #elif defined(__aarch64__) .section .data.nt.\fn,"aw",@progbits .globl __imp_\fn .balign 8 __imp_\fn: .quad \name .weak \name #endif .endm /* clang-format on */ #endif /* __ASSEMBLER__ */ #endif /* COSMOPOLITAN_LIBC_NT_NTDLLIMPORT_H_ */
2,571
54
jart/cosmopolitan
false
cosmopolitan/libc/nt/debug.h
#ifndef COSMOPOLITAN_LIBC_NT_DEBUG_H_ #define COSMOPOLITAN_LIBC_NT_DEBUG_H_ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ /* ░░░░ ▒▒▒░░░▒▒▒▒▒▒▒▓▓▓░ ▒▒▒▒░░░▒▒▒▒▒▒▓▓▓▓▓▓░ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓▓ ▒▓░ ▒▒▒░░░░▒▒▒▒▒▒▓▓▓▓▓▓ ▓▓▓▓▓▓▒ ▒▒▒▓▓█ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▓ ░▒▒▒░░░░▒▒▒▒▒▒▓▓▓▓▓▓ █▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓█ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓░ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▓ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓▓ ▒▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▒ ▒▒▒▒▓▓ ▓▒▒▓▓▓▓ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓█ ▒▓ ▓▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓ ░░░░░░░░░░░▒▒▒▒ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓█ ▒▒░░░░░░░░░░▒▒▒▒▒▓▓▓ ▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▓ ░▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▓░ ░▓███▓ ▒▒░░░░░░░░░░▒▒▒▒▒▓▓░ ▒▓▓▓▒▒▒ ░▒▒▒▓ ████████████ ▒▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▒▓▓▓▓▒▒▒▒▒▒▒▒░░░▒▒▒▒▒░ ░███ ▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▓▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▓ ███ ▒▒░░░░░░░░░░▒▒▒▒▒▒▓▓ ▒▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▒ ▓██ ▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▓▓▓▓▒▒▒▒▒▒▒▒░░░▒▒▒▒▒▓ ▓██ ▒▒░░░▒▒▒░░░▒▒░▒▒▒▓▓▒ ▒▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▒ ███ ░▒▓ ░▓▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▓ ▓██ ╔────────────────────────────────────────────────────────────────▀▀▀─────────│─╗ │ cosmopolitan § new technology » debugging ─╬─│┼ ╚────────────────────────────────────────────────────────────────────────────│*/ /* Some of these APIs were moved to system.h and libc.h */ int32_t DebugBreakProcess(void *Process); int32_t DebugActiveProcess(uint32_t dwProcessId); int32_t DebugActiveProcessStop(uint32_t dwProcessId); int32_t CheckRemoteDebuggerPresent(int64_t hProcess, int *pbDebuggerPresent); int32_t ContinueDebugEvent(uint32_t dwProcessId, uint32_t dwThreadId, uint32_t dwContinueStatus); void FatalExit(int uExitCode); COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LIBC_NT_DEBUG_H_ */
3,969
42
jart/cosmopolitan
false
cosmopolitan/libc/nt/winsock.h
#ifndef COSMOPOLITAN_LIBC_NT_WINSOCK_H_ #define COSMOPOLITAN_LIBC_NT_WINSOCK_H_ #include "libc/nt/struct/fdset.h" #include "libc/nt/struct/guid.h" #include "libc/nt/struct/iovec.h" #include "libc/nt/struct/overlapped.h" #include "libc/nt/struct/pollfd.h" #include "libc/nt/struct/timeval.h" #include "libc/sock/sock.h" #include "libc/sock/struct/sockaddr.h" /* ░▓█████████████████████████████████████████████▓▒ ░█▓░░░░░░░░░▓██▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓██▓▒░ ░█▓░ ░▒▒▒▒ ▓██▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒██▓▒▒ ░█▓░ ░▓▓▓▒ ▓██▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒██▓▒▒ ░█▓░ ░▓██▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓██▓▒▒ ░███████████████████████████████████████████████▓▒▒ ░█▓░ ▒█▓▒▒ ░█▓░ ▒█▓▒▒ ░█▓░ ░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░ ▒█▓▒▒ ░█▓░ ░▒░ ▒█▓░ ▒█▓▒▒ ░█▓░ ░░░░ ░░░░░░░░ ▒▓▓▓▒░ ▒█▓▒▒ ░█▓░ ░░░░ ░░░░░▒▒▓███▓░░░░░░░░▒▓▓▓▓▒ ▒█▓▒▒ ░█▓░ ░▒▒ ░░░░░░░▒▒████▓░░░░░░░░░░▒██▓ ▒█▓▒▒ ░█▓░ ░▒▒ ░░░░░░░▒▒▓▓▓▓▓░░░░░░░░░▒▒██▓ ▒█▓▒▒ ░█▓░ ░▒▒ ░░▒▒▒▒░░░░░ ░▒▒▒▒░░░░░▒▒██▓ ▒█▓▒▒ ░█▓░ ░▒▒ ░░▒▓█▓░░░░░░░▒▓██▓░░░░▒▒██▓ ▒█▓▒▒ ░█▓░ ░▒▒ ░░▒▓█▓░░░░░░░▒▓██▓░░░░▒▒██▓ ▒█▓▒▒ ░█▓░ ░▒▒ ░░▒▓█▓░░░░░░░▒▓██▓░░░░▒▒██▓ ░▓█▓▒▒▒▒ ░█▓░ ░▒▒ ░░▒▓█▓░░░░░░░▒▓██▓░░░░░▒██▓ ░████▓▒░ ░█▓░ ░░░░░░░░▒▒░░░░░░░░░▒▒░░░▒▒▓▓▒░░ ░░▓███▓▒░ ░█▓░ ░░░░░░░░░░░░░░░░░░░░░░▒▓▓▓▒░ ▒████▓▒░░░░░░ ░█▓░ ░░▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒░░ ░▓▓▓▓██▒░░░░░░░░ ░█▓░ ▒█████████████████▒ ▓█▓▒░ ▒█▓ ░█▓ ░▓▓░ ░█▓░ ░▓████▒░ ▒█▓▒░ ░░░░░░░ ▓█▓░ ░█▓░ ░▓████▒░ ░▒░ ░░░░░░░░░░░ ░█▓ ░█▓ ▒███▓▒▒░ ░░░░░░░░░░░░░░░ ▒▓▓ ░██████████████████████████████████████▓▒▓█▓░ ░░░░░░░░░░░░░░░░░░ ▒█▓ ▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒░ ░░░░░░░░░░░░░░░░░░░░▒█▓ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░▒██▒▒▒░░░░░░░░░░░░░░░░░░░░░▒█▓ ░██▒▒▒▒▒░░░░░░░░░░░░░░░░░░░▒█▓ ░▓▓▓▒▒▒▒▒▒░░░░░░░░░░░░░░░░▒▓█▓ ░▓▓▓▒▒▒▒▒▒░░░░░░░░░░░▒▒▒▒▓▓▒ ░██▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ ░█▓ ▒█▓▒▒▒▒▒▒▒▒▒▒▒██▓▒░ ░█▓ ▒█████████████▓▒▒░ ░██▒ ╔────────────────────────────────────────────────────────────────▀▀▀▀───▀▀▀▀─│─╗ │ cosmopolitan § new technology » winsock ─╬─│┼ ╚────────────────────────────────────────────────────────────────────────────│*/ #define kNtWsaFlagOverlapped 0x01 #define kNtWsaFlagNoHandleInherit 0x80 #define kNtCompEqual 0 #define kNtCompNotless 1 #define kNtTfDisconnect 0x01 #define kNtTfReuseSocket 0x02 #define kNtTfWriteBehind 0x04 #define kNtTfUseDefaultWorker 0x00 #define kNtTfUseSystemThread 0x10 #define kNtTfUseKernelApc 0x20 #define kNtSoConnectTime 0x700C #define kNtSoUpdateAcceptContext 0x700B #define kNtSoUpdateConnectContext 0x7010 #define kNtNspNotifyImmediately 0 #define kNtNspNotifyHwnd 1 #define kNtNspNotifyEvent 2 #define kNtNspNotifyPort 3 #define kNtNspNotifyApc 4 #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ struct NtMsgHdr { struct sockaddr *name; int32_t namelen; struct NtIovec *lpBuffers; uint32_t dwBufferCount; struct NtIovec Control; uint32_t dwFlags; }; struct NtWsaData { uint16_t wVersion; uint16_t wHighVersion; uint16_t iMaxSockets; uint16_t iMaxUdpDg; char *lpVendorInfo; char szDescription[257]; char szSystemStatus[129]; }; struct NtSocketAddress { struct sockaddr *lpSockaddr; int32_t iSockaddrLength; }; struct NtSocketAddressList { int32_t iAddressCount; struct NtSocketAddress Address[1]; }; struct NtAddrInfoEx { /* win8+ */ int32_t ai_flags; /* AI_PASSIVE, AI_CANONNAME, AI_NUMERICHOST */ int32_t ai_family; /* PF_XXX */ int32_t ai_socktype; /* SOCK_XXX */ int32_t ai_protocol; uint64_t ai_addrlen; char16_t *ai_canonname; struct sockaddr *ai_addr; void *ai_blob; uint64_t ai_bloblen; struct NtGuid *ai_provider; struct NtAddrInfoEx *ai_next; int32_t ai_version; /* v2 */ char16_t *ai_fqdn; /* v2 */ int32_t ai_interfaceindex; /* v3 */ int64_t ai_resolutionhandle; /* v4 */ }; struct NtWsaProtocolChain { int32_t ChainLen; uint32_t ChainEntries[7]; }; struct NtWsaProtocolInfo { uint32_t dwServiceFlags1; uint32_t dwServiceFlags2; uint32_t dwServiceFlags3; uint32_t dwServiceFlags4; uint32_t dwProviderFlags; struct NtGuid ProviderId; uint32_t dwCatalogEntryId; struct NtWsaProtocolChain ProtocolChain; int32_t iVersion; int32_t iAddressFamily; int32_t iMaxSockAddr; int32_t iMinSockAddr; int32_t iSocketType; int32_t iProtocol; int32_t iProtocolMaxOffset; int32_t iNetworkByteOrder; int32_t iSecurityScheme; uint32_t dwMessageSize; uint32_t dwProviderReserved; char16_t szProtocol[256]; }; struct NtFlowSpec { uint32_t TokenRate; /* bytes/sec */ uint32_t TokenBucketSize; /* bytes */ uint32_t PeakBandwidth; /* bytes/sec */ uint32_t Latency; /* µs */ uint32_t DelayVariation; /* µs */ uint32_t ServiceType; /* kNtServicetypeXxx */ uint32_t MaxSduSize; /* bytes */ uint32_t MinimumPolicedSize; /* bytes */ }; struct NtQos { struct NtFlowSpec SendingFlowspec; struct NtFlowSpec ReceivingFlowspec; struct NtIovec ProviderSpecific; }; struct NtWsaVersion { uint32_t dwVersion; int ecHow; }; struct NtAfProtocols { int32_t iAddressFamily; int32_t iProtocol; }; struct NtBlob { uint32_t cbSize; uint8_t pBlobData; }; struct NtCsAddrInfo { struct NtSocketAddress LocalAddr; struct NtSocketAddress RemoteAddr; int32_t iSocketType; int32_t iProtocol; }; struct NtWsaQuerySet { uint32_t dwSize; /* of this */ char16_t *lpszServiceInstanceName; struct NtGuid *lpServiceClassId; struct NtWsaVersion *lpVersion; char16_t *lpszComment; uint32_t dwNameSpace; struct NtGuid *lpNSProviderId; char16_t *lpszContext; uint32_t dwNumberOfProtocols; struct NtAfProtocols *lpafpProtocols /*[dwNumberOfProtocols]*/; char16_t *lpszQueryString; uint32_t dwNumberOfCsAddrs; struct NtCsAddrInfo *lpcsaBuffer /*[dwNumberOfCsAddrs]*/; uint32_t dwOutputFlags; struct NtBlob *lpBlob; }; struct NtWsaNamespaceInfoEx { struct NtGuid NSProviderId; uint32_t dwNameSpace; bool32 fActive; uint32_t dwVersion; char16_t *lpszIdentifier; struct NtBlob *ProviderSpecific; }; struct NtWsansClassInfo { char16_t *lpszName; uint32_t dwNameSpace; uint32_t dwValueType; uint32_t dwValueSize; void *lpValue; }; struct NtWsaServiceClassInfo { struct NtGuid *lpServiceClassId; char16_t *lpszServiceClassName; uint32_t dwCount; struct NtWsansClassInfo *lpClassInfos; }; struct NtWsaNetworkEvents { int32_t lNetworkEvents; int32_t iErrorCode[10]; }; struct NtTransmitFileBuffers { void *Head; uint32_t HeadLength; void *Tail; uint32_t TailLength; }; typedef int (*NtConditionProc)( const struct NtIovec *lpCallerId, const struct NtIovec *lpCallerData, struct NtQos *inout_lpSQOS, struct NtQos *inout_lpGQOS, const struct NtIovec *lpCalleeId, const struct NtIovec *lpCalleeData, uint32_t *out_group, const uint32_t *dwCallbackData); typedef void (*NtWsaOverlappedCompletionRoutine)( uint32_t dwError, uint32_t cbTransferred, const struct NtOverlapped *lpOverlapped, uint32_t dwFlags); struct NtWsaCompletion { int Type; union { struct { int64_t hWnd; uint32_t uMsg; uintptr_t context; } WindowMessage; struct { struct NtOverlapped *lpOverlapped; } Event; struct { struct NtOverlapped *lpOverlapped; NtWsaOverlappedCompletionRoutine lpfnCompletionProc; } Apc; struct { struct NtOverlapped *lpOverlapped; int64_t hPort; uint32_t Key; } Port; } Parameters; }; struct NtInterfaceInfo { uint64_t iiFlags; struct sockaddr_in iiAddress; struct sockaddr_in iiBroadcastAddress; struct sockaddr_in iiNetmask; }; /** * Winsock2 prototypes. * * @note Some of the functions exported by WS2_32.DLL, e.g. bind(), * overlap with the names used by System V. Prototypes for these * functions are declared within their respective wrappers. */ int32_t WSAStartup(uint16_t wVersionRequested, struct NtWsaData *lpWSAData) paramsnonnull() dontdiscard; int WSACleanup(void); int WSAGetLastError(void); void WSASetLastError(int); int __sys_bind_nt(uint64_t, const void *, int); int __sys_closesocket_nt(uint64_t); int __sys_getpeername_nt(uint64_t, void *, uint32_t *); int __sys_getsockname_nt(uint64_t, void *, uint32_t *); int __sys_getsockopt_nt(uint64_t, int, int, void *, uint32_t *); int __sys_ioctlsocket_nt(uint64_t, int32_t, uint32_t *); int __sys_listen_nt(uint64_t, int); int __sys_setsockopt_nt(uint64_t, int, int, const void *, int); int __sys_shutdown_nt(uint64_t, int); int __sys_select_nt(int, struct NtFdSet *, struct NtFdSet *, struct NtFdSet *, struct NtTimeval *); uint64_t WSASocket(int af, int type, int protocol, const struct NtWsaProtocolInfo *opt_lpProtocolInfo, const uint32_t opt_group, uint32_t dwFlags) dontdiscard; int WSAConnect(uint64_t s, const struct sockaddr *name, const int namelen, const struct NtIovec *opt_lpCallerData, struct NtIovec *opt_out_lpCalleeData, const struct NtQos *opt_lpSQOS, const struct NtQos *opt_lpGQOS) paramsnonnull((2)); bool32 WSAConnectByName(uint64_t s, const char16_t *nodename, const char16_t *servicename, uint32_t *opt_inout_LocalAddressLength, struct sockaddr *out_LocalAddress, uint32_t *opt_inout_RemoteAddressLength, struct sockaddr *out_RemoteAddress, const struct NtTimeval *opt_timeout, struct NtOverlapped *__Reserved) paramsnonnull((2, 3)); bool32 WSAConnectByList(uint64_t s, const struct NtSocketAddressList *SocketAddress, uint32_t *opt_inout_LocalAddressLength, struct sockaddr *out_LocalAddress, uint32_t *opt_inout_RemoteAddressLength, struct sockaddr *out_RemoteAddress, const struct NtTimeval *opt_timeout, struct NtOverlapped *__Reserved) paramsnonnull((2)); int64_t WSAAccept(uint64_t s, struct sockaddr *out_addr, int32_t *opt_inout_addrlen, const NtConditionProc opt_lpfnCondition, const uint32_t *opt_dwCallbackData) paramsnonnull((2)) dontdiscard; int WSASend(uint64_t s, const struct NtIovec *lpBuffers, uint32_t dwBufferCount, uint32_t *opt_out_lpNumberOfBytesSent, uint32_t dwFlags, struct NtOverlapped *opt_inout_lpOverlapped, const NtWsaOverlappedCompletionRoutine opt_lpCompletionRoutine) paramsnonnull((2)); int WSASendMsg(int64_t Handle, const struct NtMsgHdr *lpMsg, uint32_t dwFlags, uint32_t *opt_out_lpNumberOfBytesSent, struct NtOverlapped *opt_inout_lpOverlapped, const NtWsaOverlappedCompletionRoutine opt_lpCompletionRoutine) paramsnonnull((2)); int WSASendTo(uint64_t s, const struct NtIovec *lpBuffers, uint32_t dwBufferCount, uint32_t *opt_out_lpNumberOfBytesSent /* opt if !overlapped */, uint32_t dwFlags, const void *opt_tosockaddr, int32_t tosockaddrlen, struct NtOverlapped *opt_inout_lpOverlapped, const NtWsaOverlappedCompletionRoutine opt_lpCompletionRoutine) paramsnonnull((2)); int WSAPoll(struct sys_pollfd_nt *inout_fdArray, uint32_t nfds, signed timeout_ms) paramsnonnull(); int WSARecv(uint64_t s, const struct NtIovec *inout_lpBuffers, uint32_t dwBufferCount, uint32_t *opt_out_lpNumberOfBytesRecvd, uint32_t *inout_lpFlags, struct NtOverlapped *opt_inout_lpOverlapped, const NtWsaOverlappedCompletionRoutine opt_lpCompletionRoutine) paramsnonnull((2, 5)); int WSARecvFrom(uint64_t s, const struct NtIovec *inout_lpBuffers, uint32_t dwBufferCount, uint32_t *opt_out_lpNumberOfBytesRecvd, uint32_t *inout_lpFlags, void *out_fromsockaddr, uint32_t *opt_inout_fromsockaddrlen, struct NtOverlapped *opt_inout_lpOverlapped, const NtWsaOverlappedCompletionRoutine opt_lpCompletionRoutine) paramsnonnull((2, 5)); int WSARecvDisconnect(uint64_t s, struct NtIovec *out_InboundDisconnectData); int WSASendDisconnect(int64_t s, struct NtIovec *opt_OutboundDisconnectData); int WSADuplicateSocket(uint64_t s, uint32_t dwProcessId, struct NtWsaProtocolInfo *out_lpProtocolInfo) paramsnonnull((3)); int WSAIoctl(uint64_t s, uint32_t dwIoControlCode, const void *lpvInBuffer, uint32_t cbInBuffer, void *out_lpvOutBuffer, uint32_t cbOutBuffer, uint32_t *out_lpcbBytesReturned, struct NtOverlapped *opt_inout_lpOverlapped, const NtWsaOverlappedCompletionRoutine opt_lpCompletionRoutine) paramsnonnull((5, 7)); int WSANSPIoctl(int64_t hLookup, uint32_t dwControlCode, const void *lpvInBuffer, uint32_t cbInBuffer, void *out_lpvOutBuffer, uint32_t cbOutBuffer, uint32_t *out_lpcbBytesReturned, const struct NtWsaCompletion *opt_lpCompletion) paramsnonnull((3, 5, 7)); int64_t WSACreateEvent(void) dontdiscard; bool32 WSACloseEvent(const int64_t hEvent); bool32 WSAResetEvent(const int64_t hEvent); bool32 WSASetEvent(const int64_t hEvent); int WSAEventSelect(uint64_t s, const int64_t opt_hEventObject, long lNetworkEvents); uint32_t WSAWaitForMultipleEvents(uint32_t cEvents, const int64_t *lphEvents, bool32 fWaitAll, uint32_t dwTimeout_ms, bool32 fAlertable) paramsnonnull(); int WSAEnumNetworkEvents(uint64_t s, const int64_t hEventObject, struct NtWsaNetworkEvents *out_lpNetworkEvents) paramsnonnull(); bool32 WSAGetOverlappedResult(uint64_t s, const struct NtOverlapped *lpOverlapped, uint32_t *out_lpcbTransfer, bool32 fWait, uint32_t *out_lpdwFlags) paramsnonnull(); int WSAEnumProtocols(const int32_t *opt_lpiProtocols, struct NtWsaProtocolInfo *out_lpProtocolBuffer, uint32_t *inout_lpdwBufferLength) paramsnonnull(); bool32 WSAGetQOSByName(uint64_t s, const struct NtIovec *lpQOSName, struct NtQos *out_lpQOS) paramsnonnull(); uint64_t WSAJoinLeaf(uint64_t s, const struct sockaddr *name, const int namelen, const struct NtIovec *opt_lpCallerData, struct NtIovec *opt_out_lpCalleeData, const struct NtQos *opt_lpSQOS, const struct NtQos *opt_lpGQOS, uint32_t dwFlags) paramsnonnull((2, 4)); int WSALookupServiceBegin(const struct NtWsaQuerySet *lpqsRestrictions, uint32_t dwControlFlags, int64_t *out_lphLookup) paramsnonnull(); int WSALookupServiceNext(const int64_t hLookup, uint32_t dwControlFlags, uint32_t *inout_lpdwBufferLength, struct NtWsaQuerySet *out_lpqsResults) paramsnonnull(); int WSALookupServiceEnd(int64_t hLookup); int WSAAddressToString(const struct sockaddr *lpsaAddress, uint32_t dwAddressLength, const struct NtWsaProtocolInfo *opt_lpProtocolInfo, char16_t *out_lpszAddressString, uint32_t *inout_lpdwAddressStringLength) paramsnonnull((1, 4, 5)); int WSAStringToAddress(const char16_t *AddressString, int AddressFamily, const struct NtWsaProtocolInfo *opt_lpProtocolInfo, struct sockaddr *out_lpAddress, int *inout_lpAddressLength) paramsnonnull((1, 3, 4)); int WSAEnumNameSpaceProvidersEx(uint32_t *inout_lpdwBufferLength, struct NtWsaNamespaceInfoEx *out_lpnspBuffer) paramsnonnull(); int WSAProviderConfigChange( int64_t *inout_lpNotificationHandle, struct NtOverlapped *opt_inout_lpOverlapped, NtWsaOverlappedCompletionRoutine opt_lpCompletionRoutine) paramsnonnull((1)); int WSAInstallServiceClass( const struct NtWsaServiceClassInfo *lpServiceClassInfo) paramsnonnull(); int WSARemoveServiceClass(const struct NtGuid *lpServiceClassId) paramsnonnull(); int WSAGetServiceClassInfo(const struct NtGuid *lpProviderId, const struct NtGuid *lpServiceClassId, uint32_t *inout_lpdwBufSize, struct NtWsaServiceClassInfo *out_lpServiceClassInfo) paramsnonnull((1, 2, 3)); int WSASetService(const struct NtWsaQuerySet *lpqsRegInfo, int essoperation, uint32_t dwControlFlags) paramsnonnull(); int /* success==0 */ WSAGetServiceClassNameByClassId( const struct NtGuid *lpServiceClassId, char16_t *out_lpszServiceClassName, uint32_t *inout_lpdwBufferLength) paramsnonnull(); bool32 TransmitFile(int64_t hSocket, int64_t hFile, uint32_t opt_nNumberOfBytesToWrite, uint32_t opt_nNumberOfBytesPerSend, struct NtOverlapped *opt_inout_lpOverlapped, const struct NtTransmitFileBuffers *opt_lpTransmitBuffers, uint32_t dwReserved); bool32 AcceptEx(int64_t sListenSocket, int64_t sAcceptSocket, void *out_lpOutputBuffer /*[recvlen+local+remoteaddrlen]*/, uint32_t dwReceiveDataLength, uint32_t dwLocalAddressLength, uint32_t dwRemoteAddressLength, uint32_t *out_lpdwBytesReceived, struct NtOverlapped *inout_lpOverlapped); void GetAcceptExSockaddrs( const void *lpOutputBuffer /*[recvsize+addrsize+addrlen]*/, uint32_t dwReceiveDataLength, uint32_t dwLocalAddressLength, uint32_t dwRemoteAddressLength, struct sockaddr **out_LocalSockaddr /*[*LocalSockaddrLength]*/, int *out_LocalSockaddrLength, struct sockaddr **out_RemoteSockaddr /*[*RemoteSockaddrLength]*/, int *out_RemoteSockaddrLength); bool32 DisconnectEx(int64_t s, struct NtOverlapped *inout_opt_lpOverlapped, uint32_t dwFlags, uint32_t dwReserved); COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LIBC_NT_WINSOCK_H_ */
22,174
519
jart/cosmopolitan
false
cosmopolitan/libc/nt/paint.h
#ifndef COSMOPOLITAN_LIBC_NT_PAINT_H_ #define COSMOPOLITAN_LIBC_NT_PAINT_H_ #include "libc/nt/struct/drawtextparams.h" #include "libc/nt/struct/paintstruct.h" #include "libc/nt/struct/rect.h" #include "libc/nt/thunk/msabi.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ /*───────────────────────────────────────────────────────────────────────────│─╗ │ cosmopolitan § new technology » cpu graphics ─╬─│┼ ╚────────────────────────────────────────────────────────────────────────────│*/ int64_t BeginPaint(int64_t hWnd, struct NtPaintStruct *lpPaint); int32_t EndPaint(int64_t hWnd, const struct NtPaintStruct *lpPaint); int32_t BitBlt(int64_t hdc, int x, int y, int cx, int cy, int64_t hdcSrc, int x1, int y1, uint32_t rop); int32_t GetClientRect(int64_t hWnd, struct NtRect *lpRect); int32_t GetWindowRect(int64_t hWnd, struct NtRect *lpRect); int32_t SetBkMode(int64_t hdc, int mode); uint32_t SetTextColor(int64_t hdc, uint32_t color); uint32_t SetTextAlign(int64_t hdc, uint32_t align); int32_t SetTextJustification(int64_t hdc, int extra, int count); int32_t DrawText(int64_t hdc, const char16_t *lpchText, int cchText, struct NtRect *lprc, uint32_t format); int32_t DrawTextEx(int64_t hdc, char16_t *lpchText, int cchText, struct NtRect *lprc, uint32_t format, struct NtDrawTextParams *lpdtp); int32_t FillRect(int64_t hDC, const struct NtRect *lpRC, int64_t hBrush); uint32_t GetPixel(int64_t hdc, int x, int y); uint32_t SetPixel(int64_t hdc, int x, int y, uint32_t color); bool32 RedrawWindow(int64_t hWnd, const struct NtRect *opt_lprcUpdate, int64_t opt_hrgnUpdate, uint32_t rdwFlags); int64_t CreateCompatibleDC(int64_t hdc); int64_t CreateCompatibleBitmap(int64_t hdc, int cx, int cy); int64_t SelectObject(int64_t hdc, int64_t h); bool32 DeleteObject(int64_t ho); bool32 DeleteDC(int64_t hdc); int SaveDC(int64_t hdc); bool32 RestoreDC(int64_t hdc, int nSavedDC); #if ShouldUseMsabiAttribute() #include "libc/nt/thunk/paint.inc" #endif /* ShouldUseMsabiAttribute() */ COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LIBC_NT_PAINT_H_ */
2,552
47
jart/cosmopolitan
false
cosmopolitan/libc/nt/pedef.internal.h
#ifndef COSMOPOLITAN_LIBC_NT_PEDEF_H_ #define COSMOPOLITAN_LIBC_NT_PEDEF_H_ /*───────────────────────────────────────────────────────────────────────────│─╗ │ αcτµαlly pδrταblε εxεcµταblε § portable executable ─╬─│┼ ╚────────────────────────────────────────────────────────────────────────────│─╝ .text: Code .data: Initialized data .bss: Uninitialized data .rdata: Const/read-only (and initialized) data .edata: Export descriptors .idata: Import descriptors .reloc: Relocation table (for code instructions with absolute addressing when the module could not be loaded at its preferred base address) .rsrc: Resources (icon, bitmap, dialog, ...) .tls: __declspec(thread) data (Fails with dynamically loaded DLLs -> hard to find bugs) */ #define kNtImageDosSignature 0x5A4D #define kNtImageOs2Signature 0x454E #define kNtImageOs2SignatureLe 0x454C #define kNtImageVxdSignature 0x454C #define kNtImageNtSignature 0x00004550 #define kNtPeFileRelocsStripped 0x00001 #define kNtPeFileExecutableImage 0x00002 #define kNtPeFileLineNumsStripped 0x00004 #define kNtPeFileLocalSymsStripped 0x00008 #define kNtPeFile_32bitMachine 0x00100 #define kNtPeFileDll 0x02000 #define kNtPe32bit 0x010b #define kNtPe64bit 0x020b #define kNtPeSectionCntCode 0x000000020 #define kNtPeSectionCntInitializedData 0x000000040 #define kNtPeSectionCntUninitializedData 0x000000080 #define kNtPeSectionGprel 0x000008000 #define kNtPeSectionMemDiscardable 0x02000000 #define kNtPeSectionMemNotCached 0x04000000 #define kNtPeSectionMemNotPaged 0x08000000 #define kNtPeSectionMemShared 0x10000000 #define kNtPeSectionMemExecute 0x20000000 #define kNtPeSectionMemRead 0x40000000 #define kNtPeSectionMemWrite 0x80000000 #define kNtPeGuardCfInstrumented 0x000000100 #define kNtPeGuardCfwInstrumented 0x000000200 #define kNtPeGuardCfFunctionTablePresent 0x000000400 #define kNtPeGuardSecurityCookieUnused 0x000000800 #define kNtPeRelBasedAbsolute 0 #define kNtPeRelBasedHigh 1 #define kNtPeRelBasedLow 2 #define kNtPeRelBasedHighlow 3 #define kNtPeRelBasedHighadj 4 #define kNtPeRelBasedMipsJmpaddr 5 #define kNtPeRelBasedSection 6 #define kNtPeRelBasedRel32 7 #define kNtPeRelBasedMipsJmpaddr16 9 #define kNtPeRelBasedIa64Imm64 9 #define kNtPeRelBasedDir64 10 #define kNtPeRelBasedHigh3adj 11 #define kNtImageFileRelocsStripped 0x0001 #define kNtImageFileExecutableImage 0x0002 #define kNtImageFileLineNumsStripped 0x0004 #define kNtImageFileLocalSymsStripped 0x0008 #define kNtImageFileAggresiveWsTrim 0x0010 #define kNtImageFileLargeAddressAware 0x0020 #define kNtImageFileBytesReversedLo 0x0080 #define kNtImageFile32bitMachine 0x0100 #define kNtImageFileDebugStripped 0x0200 #define kNtImageFileRemovableRunFromSwap 0x0400 #define kNtImageFileNetRunFromSwap 0x0800 #define kNtImageFileSystem 0x1000 #define kNtImageFileDll 0x2000 #define kNtImageFileUpSystemOnly 0x4000 #define kNtImageFileBytesReversedHi 0x8000 #define kNtImageFileMachineUnknown 0 #define kNtImageFileMachineTargetHost 0x0001 #define kNtImageFileMachineI386 0x014c #define kNtImageFileMachineR3000 0x0162 #define kNtImageFileMachineR4000 0x0166 #define kNtImageFileMachineR10000 0x0168 #define kNtImageFileMachineWcemipsv2 0x0169 #define kNtImageFileMachineAlpha 0x0184 #define kNtImageFileMachineSh3 0x01a2 #define kNtImageFileMachineSh3dsp 0x01a3 #define kNtImageFileMachineSh3e 0x01a4 #define kNtImageFileMachineSh4 0x01a6 #define kNtImageFileMachineSh5 0x01a8 #define kNtImageFileMachineArm 0x01c0 #define kNtImageFileMachineThumb 0x01c2 #define kNtImageFileMachineArmnt 0x01c4 #define kNtImageFileMachineAm33 0x01d3 #define kNtImageFileMachinePowerpc 0x01F0 #define kNtImageFileMachinePowerpcfp 0x01f1 #define kNtImageFileMachineIa64 0x0200 #define kNtImageFileMachineMips16 0x0266 #define kNtImageFileMachineAlpha64 0x0284 #define kNtImageFileMachineMipsfpu 0x0366 #define kNtImageFileMachineMipsfpu16 0x0466 #define kNtImageFileMachineAxp64 kNtImageFileMachineAlpha64 #define kNtImageFileMachineTricore 0x0520 #define kNtImageFileMachineCef 0x0CEF #define kNtImageFileMachineEbc 0x0EBC #define kNtImageFileMachineNexgen32e 0x8664 #define kNtImageFileMachineM32r 0x9041 #define kNtImageFileMachineArm64 0xAA64 #define kNtImageFileMachineCee 0xC0EE #define kNtImageSubsystemUnknown 0 #define kNtImageSubsystemNative 1 #define kNtImageSubsystemWindowsGui 2 #define kNtImageSubsystemWindowsCui 3 #define kNtImageSubsystemOs2Cui 5 #define kNtImageSubsystemPosixCui 7 #define kNtImageSubsystemNativeWindows 8 #define kNtImageSubsystemWindowsCeGui 9 #define kNtImageSubsystemEfiApplication 10 #define kNtImageSubsystemEfiBootServiceDriver 11 #define kNtImageSubsystemEfiRuntimeDriver 12 #define kNtImageSubsystemEfiRom 13 #define kNtImageSubsystemXbox 14 #define kNtImageSubsystemWindowsBootApplication 16 #define kNtImageSubsystemXboxCodeCatalog 17 #define kNtImageDllcharacteristicsHighEntropyVa 0x0020 #define kNtImageDllcharacteristicsDynamicBase 0x0040 #define kNtImageDllcharacteristicsForceIntegrity 0x0080 #define kNtImageDllcharacteristicsNxCompat 0x0100 #define kNtImageDllcharacteristicsNoIsolation 0x0200 #define kNtImageDllcharacteristicsNoSeh 0x0400 #define kNtImageDllcharacteristicsNoBind 0x0800 #define kNtImageDllcharacteristicsAppcontainer 0x1000 #define kNtImageDllcharacteristicsWdmDriver 0x2000 #define kNtImageDllcharacteristicsGuardCf 0x4000 #define kNtImageDllcharacteristicsTerminalServerAware 0x8000 #define kNtImageDirectoryEntryExport 0 #define kNtImageDirectoryEntryImport 1 #define kNtImageDirectoryEntryResource 2 #define kNtImageDirectoryEntryException 3 #define kNtImageDirectoryEntrySecurity 4 #define kNtImageDirectoryEntryBasereloc 5 #define kNtImageDirectoryEntryDebug 6 #define kNtImageDirectoryEntryArchitecture 7 #define kNtImageDirectoryEntryGlobalptr 8 #define kNtImageDirectoryEntryTls 9 #define kNtImageDirectoryEntryLoadConfig 10 #define kNtImageDirectoryEntryBoundImport 11 #define kNtImageDirectoryEntryIat 12 #define kNtImageDirectoryEntryDelayImport 13 #define kNtImageDirectoryEntryComDescriptor 14 #define kNtImageScnTypeNoPad 0x00000008 #define kNtImageScnCntCode 0x00000020 #define kNtImageScnCntInitializedData 0x00000040 #define kNtImageScnCntUninitializedData 0x00000080 #define kNtImageScnLnkOther 0x00000100 #define kNtImageScnLnkInfo 0x00000200 #define kNtImageScnLnkRemove 0x00000800 #define kNtImageScnLnkComdat 0x00001000 #define kNtImageScnNoDeferSpecExc 0x00004000 #define kNtImageScnGprel 0x00008000 #define kNtImageScnMemFardata 0x00008000 #define kNtImageScnMemPurgeable 0x00020000 #define kNtImageScnMem16bit 0x00020000 #define kNtImageScnMemLocked 0x00040000 #define kNtImageScnMemPreload 0x00080000 #define kNtImageScnAlign1bytes 0x00100000 #define kNtImageScnAlign2bytes 0x00200000 #define kNtImageScnAlign4bytes 0x00300000 #define kNtImageScnAlign8bytes 0x00400000 #define kNtImageScnAlign16bytes 0x00500000 #define kNtImageScnAlign32bytes 0x00600000 #define kNtImageScnAlign64bytes 0x00700000 #define kNtImageScnAlign128bytes 0x00800000 #define kNtImageScnAlign256bytes 0x00900000 #define kNtImageScnAlign512bytes 0x00A00000 #define kNtImageScnAlign1024bytes 0x00B00000 #define kNtImageScnAlign2048bytes 0x00C00000 #define kNtImageScnAlign4096bytes 0x00D00000 #define kNtImageScnAlign8192bytes 0x00E00000 #define kNtImageScnAlignMask 0x00F00000 #define kNtImageScnLnkNrelocOvfl 0x01000000 #define kNtImageScnMemDiscardable 0x02000000 #define kNtImageScnMemNotCached 0x04000000 #define kNtImageScnMemNotPaged 0x08000000 #define kNtImageScnMemShared 0x10000000 #define kNtImageScnMemExecute 0x20000000 #define kNtImageScnMemRead 0x40000000 #define kNtImageScnMemWrite 0x80000000 #define kNtImageScnScaleIndex 0x00000001 #define kNtImageSymUndefined ((uint16_t)0) #define kNtImageSymAbsolute ((uint16_t)-1) #define kNtImageSymDebug ((uint16_t)-2) #define kNtImageSymSectionMax 0xFEFF #define kNtImageSymSectionMaxEx __LONG_MAX__ #define kNtImageSymTypeNull 0x0000 #define kNtImageSymTypeVoid 0x0001 #define kNtImageSymTypeChar 0x0002 #define kNtImageSymTypeShort 0x0003 #define kNtImageSymTypeInt 0x0004 #define kNtImageSymTypeLong 0x0005 #define kNtImageSymTypeFloat 0x0006 #define kNtImageSymTypeDouble 0x0007 #define kNtImageSymTypeStruct 0x0008 #define kNtImageSymTypeUnion 0x0009 #define kNtImageSymTypeEnum 0x000A #define kNtImageSymTypeMoe 0x000B #define kNtImageSymTypeByte 0x000C #define kNtImageSymTypeWord 0x000D #define kNtImageSymTypeUint 0x000E #define kNtImageSymTypeDword 0x000F #define kNtImageSymTypePcode 0x8000 #define kNtImageSymDtypeNull 0 #define kNtImageSymDtypePointer 1 #define kNtImageSymDtypeFunction 2 #define kNtImageSymDtypeArray 3 #define kNtImageSymClassEndOfFunction ((unsigned char)-1) #define kNtImageSymClassNull 0x0000 #define kNtImageSymClassAutomatic 0x0001 #define kNtImageSymClassExternal 0x0002 #define kNtImageSymClassStatic 0x0003 #define kNtImageSymClassRegister 0x0004 #define kNtImageSymClassExternalDef 0x0005 #define kNtImageSymClassLabel 0x0006 #define kNtImageSymClassUndefinedLabel 0x0007 #define kNtImageSymClassMemberOfStruct 0x0008 #define kNtImageSymClassArgument 0x0009 #define kNtImageSymClassStructTag 0x000A #define kNtImageSymClassMemberOfUnion 0x000B #define kNtImageSymClassUnionTag 0x000C #define kNtImageSymClassTypeDefinition 0x000D #define kNtImageSymClassUndefinedStatic 0x000E #define kNtImageSymClassEnumTag 0x000F #define kNtImageSymClassMemberOfEnum 0x0010 #define kNtImageSymClassRegisterParam 0x0011 #define kNtImageSymClassBitField 0x0012 #define kNtImageSymClassFarExternal 0x0044 #define kNtImageSymClassBlock 0x0064 #define kNtImageSymClassFunction 0x0065 #define kNtImageSymClassEndOfStruct 0x0066 #define kNtImageSymClassFile 0x0067 #define kNtImageSymClassSection 0x0068 #define kNtImageSymClassWeakExternal 0x0069 #define kNtImageSymClassClrToken 0x006B #define kNtImageComdatSelectNoduplicates 1 #define kNtImageComdatSelectAny 2 #define kNtImageComdatSelectSameSize 3 #define kNtImageComdatSelectExactMatch 4 #define kNtImageComdatSelectAssociative 5 #define kNtImageComdatSelectLargest 6 #define kNtImageComdatSelectNewest 7 #define kNtImageWeakExternSearchNolibrary 1 #define kNtImageWeakExternSearchLibrary 2 #define kNtImageWeakExternSearchAlias 3 #define kNtImageWeakExternAntiDependency 4 #define kNtImageRelNexgen32eAbsolute 0x0000 #define kNtImageRelNexgen32eAddr64 0x0001 #define kNtImageRelNexgen32eAddr32 0x0002 #define kNtImageRelNexgen32eAddr32nb 0x0003 #define kNtImageRelNexgen32eRel32 0x0004 #define kNtImageRelNexgen32eRel32_1 0x0005 #define kNtImageRelNexgen32eRel32_2 0x0006 #define kNtImageRelNexgen32eRel32_3 0x0007 #define kNtImageRelNexgen32eRel32_4 0x0008 #define kNtImageRelNexgen32eRel32_5 0x0009 #define kNtImageRelNexgen32eSection 0x000A #define kNtImageRelNexgen32eSecrel 0x000B #define kNtImageRelNexgen32eSecrel7 0x000C #define kNtImageRelNexgen32eToken 0x000D #define kNtImageRelNexgen32eSrel32 0x000E #define kNtImageRelNexgen32ePair 0x000F #define kNtImageRelNexgen32eSspan32 0x0010 #define kNtImageRelBasedAbsolute 0 #define kNtImageRelBasedHigh 1 #define kNtImageRelBasedLow 2 #define kNtImageRelBasedHighlow 3 #define kNtImageRelBasedHighadj 4 #define kNtImageRelBasedMachineSpecific_5 5 #define kNtImageRelBasedReserved 6 #define kNtImageRelBasedMachineSpecific_7 7 #define kNtImageRelBasedMachineSpecific_8 8 #define kNtImageRelBasedMachineSpecific_9 9 #define kNtImageRelBasedDir64 10 #define kNtImageArchiveStartSize 8 #define kNtImageArchiveStart "!<arch>\n" #define kNtImageArchiveEnd "`\n" #define kNtImageArchivePad "\n" #define kNtImageArchiveLinkerMember "/ " #define kNtImageArchiveLongnamesMember "// " #define kNtImageArchiveHybridmapMember "/<HYBRIDMAP>/ " #define kNtImageOrdinalFlag 0x8000000000000000 #define NtImageOrdinal(Ordinal) (Ordinal & 0xffff) #define NtImageSnapByOrdinal(Ordinal) ((Ordinal & IMAGE_ORDINAL_FLAG64) != 0) #define kNtImageResourceNameIsString 0x80000000 #define kNtImageResourceDataIsDirectory 0x80000000 #define kNtImageDynamicRelocationGuardRfPrologue 0x00000001 #define kNtImageDynamicRelocationGuardRfEpilogue 0x00000002 #define kNtImageHotPatchBaseObligatory 0x00000001 #define kNtImageHotPatchChunkInverse 0x80000000 #define kNtImageHotPatchChunkObligatory 0x40000000 #define kNtImageHotPatchChunkReserved 0x3FF03000 #define kNtImageHotPatchChunkType 0x000FC000 #define kNtImageHotPatchChunkSourceRva 0x00008000 #define kNtImageHotPatchChunkTargetRva 0x00004000 #define kNtImageHotPatchChunkSize 0x00000FFF #define kNtImageHotPatchNone 0x00000000 #define kNtImageHotPatchFunction 0x0001C000 #define kNtImageHotPatchAbsolute 0x0002C000 #define kNtImageHotPatchRel32 0x0003C000 #define kNtImageHotPatchCallTarget 0x00044000 #define kNtImageHotPatchIndirect 0x0005C000 #define kNtImageHotPatchNoCallTarget 0x00064000 #define kNtImageHotPatchDynamicValue 0x00078000 #define kNtImageGuardCfInstrumented 0x00000100 #define kNtImageGuardCfwInstrumented 0x00000200 #define kNtImageGuardCfFunctionTablePresent 0x00000400 #define kNtImageGuardSecurityCookieUnused 0x00000800 #define kNtImageGuardProtectDelayloadIat 0x00001000 #define kNtImageGuardDelayloadIatInItsOwnSection 0x00002000 #define kNtImageGuardCfExportSuppressionInfoPresent 0x00004000 #define kNtImageGuardCfEnableExportSuppression 0x00008000 #define kNtImageGuardCfLongjumpTablePresent 0x00010000 #define kNtImageGuardRfInstrumented 0x00020000 #define kNtImageGuardRfEnable 0x00040000 #define kNtImageGuardRfStrict 0x00080000 #define kNtImageGuardCfFunctionTableSizeMask 0xF0000000 #define kNtImageGuardCfFunctionTableSizeShift 28 #define kNtImageGuardFlagFidSuppressed 0x01 #define kNtImageGuardFlagExportSuppressed 0x02 #define kNtImageEnclaveImportMatchNone 0x00000000 #define kNtImageEnclaveImportMatchUniqueId 0x00000001 #define kNtImageEnclaveImportMatchAuthorId 0x00000002 #define kNtImageEnclaveImportMatchFamilyId 0x00000003 #define kNtImageEnclaveImportMatchImageId 0x00000004 #define kNtImageDebugTypeUnknown 0 #define kNtImageDebugTypeCoff 1 #define kNtImageDebugTypeCodeview 2 #define kNtImageDebugTypeFpo 3 #define kNtImageDebugTypeMisc 4 #define kNtImageDebugTypeException 5 #define kNtImageDebugTypeFixup 6 #define kNtImageDebugTypeOmapToSrc 7 #define kNtImageDebugTypeOmapFromSrc 8 #define kNtImageDebugTypeBorland 9 #define kNtImageDebugTypeReserved10 10 #define kNtImageDebugTypeClsid 11 #define kNtImageDebugTypeVcFeature 12 #define kNtImageDebugTypePogo 13 #define kNtImageDebugTypeIltcg 14 #define kNtImageDebugTypeMpx 15 #define kNtImageDebugTypeRepro 16 #define kNtFrameFpo 0 #define kNtFrameTrap 1 #define kNtFrameTss 2 #define kNtFrameNonfpo 3 #define kNtImageSizeofShortName 8 #define kNtImageSizeofSectionHeader 40 #define kNtImageSizeofSymbol 18 #define kNtImageEnclaveLongIdLength 32 #define kNtImageEnclaveShortIdLength 16 #define kNtImageNumberofDirectoryEntries 16 #endif /* COSMOPOLITAN_LIBC_NT_PEDEF_H_ */
17,446
386
jart/cosmopolitan
false
cosmopolitan/libc/nt/efi.h
#ifndef COSMOPOLITAN_LIBC_NT_EFI_H_ #define COSMOPOLITAN_LIBC_NT_EFI_H_ /* ▐██ ░█████████▓ ▐██▌ ██▓░ ▐█▌ ▐██ ░██░ ▓█▌ ▓██▒ ▓██ ▐██ ░██░ ▒█▓██░ ████░ ▐█▌ ▐██ ░██░ ▓█▌ ▓███░ ▓███ ▐██ ░██░ ██░▐█▓ ██▒▓█░ ▐█▌ ▐██ ░██░ ▓█▌ ▓█▌▓█░ ▓█▒██ ▐██ ░██░ ▐█▌ ▓█▌ ██░░▓█░▐█▌ ▐██ ░██░ ▓█▌ ▓█▌░█▓▓█▒░██ ▐██ ░██░ ▒██▓█████░ ██░ ░▓▓▓█▌ ▐██ ░██░ ██░ ▓█▌ ░██▌ ░██ ▐██ ░██░ ▓█▌ ▓█▓ ██░ ░███▌ ▐██ ▐██▄▄▄▓█▓ ▓█▌ ░██ ╔────────────────────────────────────────────────────────────────────────────│─╗ │ αcτµαlly pδrταblε εxεcµταblε § the unified extensible firmware interface ─╬─│┼ ╚────────────────────────────────────────────────────────────────────────────│*/ #define EFI_SUCCESS 0x8000000000000000 #define EFI_LOAD_ERROR 0x8000000000000001 #define EFI_INVALID_PARAMETER 0x8000000000000002 #define EFI_UNSUPPORTED 0x8000000000000003 #define EFI_BAD_BUFFER_SIZE 0x8000000000000004 #define EFI_BUFFER_TOO_SMALL 0x8000000000000005 #define EFI_NOT_READY 0x8000000000000006 #define EFI_DEVICE_ERROR 0x8000000000000007 #define EFI_WRITE_PROTECTED 0x8000000000000008 #define EFI_OUT_OF_RESOURCES 0x8000000000000009 #define EFI_VOLUME_CORRUPTED 0x800000000000000a #define EFI_VOLUME_FULL 0x800000000000000b #define EFI_NO_MEDIA 0x800000000000000c #define EFI_MEDIA_CHANGED 0x800000000000000d #define EFI_NOT_FOUND 0x800000000000000e #define EFI_ACCESS_DENIED 0x800000000000000f #define EFI_NO_RESPONSE 0x8000000000000010 #define EFI_NO_MAPPING 0x8000000000000011 #define EFI_TIMEOUT 0x8000000000000012 #define EFI_NOT_STARTED 0x8000000000000013 #define EFI_ALREADY_STARTED 0x8000000000000014 #define EFI_ABORTED 0x8000000000000015 #define EFI_ICMP_ERROR 0x8000000000000016 #define EFI_TFTP_ERROR 0x8000000000000017 #define EFI_PROTOCOL_ERROR 0x8000000000000018 #define EFI_VARIABLE_NON_VOLATILE 0x00000001 #define EFI_VARIABLE_BOOTSERVICE_ACCESS 0x00000002 #define EFI_VARIABLE_RUNTIME_ACCESS 0x00000004 #define EFI_VARIABLE_HARDWARE_ERROR_RECORD 0x00000008 #define EFI_VARIABLE_AUTHENTICATED_WRITE_ACCESS 0x00000010 #define EFI_VARIABLE_TIME_BASED_AUTHENTICATED_WRITE_ACCESS 0x00000020 #define EFI_VARIABLE_APPEND_WRITE 0x00000040 #define EFI_MEMORY_UC 0x0000000000000001U #define EFI_MEMORY_WC 0x0000000000000002U #define EFI_MEMORY_WT 0x0000000000000004U #define EFI_MEMORY_WB 0x0000000000000008U #define EFI_MEMORY_UCE 0x0000000000000010U #define EFI_MEMORY_WP 0x0000000000001000U #define EFI_MEMORY_RP 0x0000000000002000U #define EFI_MEMORY_XP 0x0000000000004000U #define EFI_MEMORY_RO 0x0000000000020000U #define EFI_MEMORY_NV 0x0000000000008000U #define EFI_MEMORY_MORE_RELIABLE 0x0000000000010000U #define EFI_MEMORY_RUNTIME 0x8000000000000000U #define EFI_OPTIONAL_PTR 0x00000001 #define EFI_SCAN_NULL 0x0000 #define EFI_SCAN_UP 0x0001 #define EFI_SCAN_DOWN 0x0002 #define EFI_SCAN_RIGHT 0x0003 #define EFI_SCAN_LEFT 0x0004 #define EFI_SCAN_HOME 0x0005 #define EFI_SCAN_END 0x0006 #define EFI_SCAN_INSERT 0x0007 #define EFI_SCAN_DELETE 0x0008 #define EFI_SCAN_PAGE_UP 0x0009 #define EFI_SCAN_PAGE_DOWN 0x000A #define EFI_SCAN_F1 0x000B #define EFI_SCAN_F2 0x000C #define EFI_SCAN_F3 0x000D #define EFI_SCAN_F4 0x000E #define EFI_SCAN_F5 0x000F #define EFI_SCAN_F6 0x0010 #define EFI_SCAN_F7 0x0011 #define EFI_SCAN_F8 0x0012 #define EFI_SCAN_F9 0x0013 #define EFI_SCAN_F10 0x0014 #define EFI_SCAN_ESC 0x0017 #define EFI_EVT_TIMER 0x80000000 #define EFI_EVT_RUNTIME 0x40000000 #define EFI_EVT_NOTIFY_WAIT 0x00000100 #define EFI_EVT_NOTIFY_SIGNAL 0x00000200 #define EFI_EVT_SIGNAL_EXIT_BOOT_SERVICES 0x00000201 #define EFI_EVT_SIGNAL_VIRTUAL_ADDRESS_CHANGE 0x60000202 #define EFI_EVT_RUNTIME_CONTEXT 0x20000000 #define LOADED_IMAGE_PROTOCOL \ { \ 0x5B1B31A1, 0x9562, 0x11d2, { \ 0x8E, 0x3F, 0x00, 0xA0, 0xC9, 0x69, 0x72, 0x3B \ } \ } #define GRAPHICS_OUTPUT_PROTOCOL \ { \ 0x9042A9DE, 0x23DC, 0x4A38, { \ 0x96, 0xFB, 0x7A, 0xDE, 0xD0, 0x80, 0x51, 0x6A \ } \ } #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ #if defined(__GNUC__) && __GNUC__ >= 6 && !defined(__chibicc__) && \ defined(__x86_64__) #define EFIAPI __attribute__((__ms_abi__)) #else #define EFIAPI /* TODO(jart): fix me */ #endif #define EFI_STATUS uint64_t #define EFI_EVENT uintptr_t #define EFI_HANDLE uintptr_t typedef struct _EFI_SIMPLE_TEXT_INPUT_PROTOCOL EFI_SIMPLE_TEXT_INPUT_PROTOCOL; typedef struct _EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL; typedef struct _EFI_GRAPHICS_OUTPUT_PROTOCOL EFI_GRAPHICS_OUTPUT_PROTOCOL; typedef enum { EfiReservedMemoryType, EfiLoaderCode, EfiLoaderData, EfiBootServicesCode, EfiBootServicesData, EfiRuntimeServicesCode, EfiRuntimeServicesData, EfiConventionalMemory, EfiUnusableMemory, EfiACPIReclaimMemory, EfiACPIMemoryNVS, EfiMemoryMappedIO, EfiMemoryMappedIOPortSpace, EfiPalCode, EfiPersistentMemory, EfiMaxMemoryType } EFI_MEMORY_TYPE; typedef enum { EfiResetCold, EfiResetWarm, EfiResetShutdown, EfiResetPlatformSpecific } EFI_RESET_TYPE; typedef enum { AllocateAnyPages, AllocateMaxAddress, AllocateAddress, MaxAllocateType } EFI_ALLOCATE_TYPE; typedef enum { TimerCancel, TimerPeriodic, TimerRelative, } EFI_TIMER_DELAY; typedef struct { uint32_t Resolution; uint32_t Accuracy; bool SetsToZero; } EFI_TIME_CAPABILITIES; typedef struct { uint32_t Data1; uint16_t Data2; uint16_t Data3; uint8_t Data4[8]; } EFI_GUID; typedef struct { uint16_t Year; uint8_t Month; uint8_t Day; uint8_t Hour; uint8_t Minute; uint8_t Second; uint8_t Pad1; uint32_t Nanosecond; int16_t TimeZone; uint8_t Daylight; uint8_t Pad2; } EFI_TIME; typedef struct { uint32_t Type; uint64_t PhysicalStart; uint64_t VirtualStart; uint64_t NumberOfPages; uint64_t Attribute; } EFI_MEMORY_DESCRIPTOR; typedef struct { EFI_GUID VendorGuid; void *VendorTable; } EFI_CONFIGURATION_TABLE; typedef struct { EFI_GUID CapsuleGuid; uint32_t HeaderSize; uint32_t Flags; uint32_t CapsuleImageSize; } EFI_CAPSULE_HEADER; typedef struct { uint16_t ScanCode; char16_t UnicodeChar; } EFI_INPUT_KEY; typedef struct { int32_t MaxMode; int32_t Mode; int32_t Attribute; int32_t CursorColumn; int32_t CursorRow; bool CursorVisible; } EFI_SIMPLE_TEXT_OUTPUT_MODE; typedef enum { PixelRedGreenBlueReserved8BitPerColor, PixelBlueGreenRedReserved8BitPerColor, PixelBitMask, PixelBltOnly, PixelFormatMax } EFI_GRAPHICS_PIXEL_FORMAT; typedef struct { uint32_t RedMask; uint32_t GreenMask; uint32_t BlueMask; uint32_t ReservedMask; } EFI_PIXEL_BITMASK; typedef struct { uint32_t Version; uint32_t HorizontalResolution; uint32_t VerticalResolution; EFI_GRAPHICS_PIXEL_FORMAT PixelFormat; EFI_PIXEL_BITMASK PixelInformation; uint32_t PixelsPerScanLine; } EFI_GRAPHICS_OUTPUT_MODE_INFORMATION; typedef struct { uint8_t Blue; uint8_t Green; uint8_t Red; uint8_t Reserved; } EFI_GRAPHICS_OUTPUT_BLT_PIXEL; typedef enum { EfiBltVideoFill, EfiBltVideoToBltBuffer, EfiBltBufferToVideo, EfiBltVideoToVideo, EfiGraphicsOutputBltOperationMax } EFI_GRAPHICS_OUTPUT_BLT_OPERATION; typedef struct { uint32_t MaxMode; uint32_t Mode; EFI_GRAPHICS_OUTPUT_MODE_INFORMATION *Info; uint32_t SizeOfInfo; uint64_t FrameBufferBase; uint32_t FrameBufferSize; } EFI_GRAPHICS_OUTPUT_PROTOCOL_MODE; typedef struct { uint64_t Signature; uint32_t Revision; uint32_t HeaderSize; uint32_t CRC32; uint32_t Reserved; } EFI_TABLE_HEADER; typedef struct { uint8_t Type; uint8_t SubType; uint8_t Length[2]; } EFI_DEVICE_PATH_PROTOCOL; typedef EFI_STATUS(EFIAPI *EFI_EXIT)(EFI_HANDLE ImageHandle, EFI_STATUS ExitStatus, uintptr_t ExitDataSize, char16_t *opt_ExitData); typedef EFI_STATUS(EFIAPI *EFI_GET_VARIABLE)(char16_t *VariableName, EFI_GUID *VendorGuid, uint32_t *outopt_Attributes, uintptr_t *inout_DataSize, void *outopt_Data); typedef EFI_STATUS(EFIAPI *EFI_SET_VARIABLE)(char16_t *VariableName, EFI_GUID *VendorGuid, uint32_t Attributes, uintptr_t DataSize, void *Data); typedef EFI_STATUS(EFIAPI *EFI_GET_NEXT_VARIABLE_NAME)( uintptr_t *inout_VariableNameSize, char16_t *inout_VariableName, EFI_GUID *inout_VendorGuid); typedef EFI_STATUS(EFIAPI *EFI_QUERY_VARIABLE_INFO)( uint32_t Attributes, uint64_t *out_MaximumVariableStorageSize, uint64_t *out_RemainingVariableStorageSize, uint64_t *out_MaximumVariableSize); typedef EFI_STATUS(EFIAPI *EFI_ALLOCATE_PAGES)(EFI_ALLOCATE_TYPE Type, EFI_MEMORY_TYPE MemoryType, uintptr_t Pages, uint64_t *inout_Memory); typedef EFI_STATUS(EFIAPI *EFI_FREE_PAGES)(uint64_t Memory, uintptr_t Pages); typedef EFI_STATUS(EFIAPI *EFI_GET_MEMORY_MAP)( uintptr_t *inout_MemoryMapSize, EFI_MEMORY_DESCRIPTOR *inout_MemoryMap, uintptr_t *out_MapKey, uintptr_t *out_DescriptorSize, uint32_t *out_DescriptorVersion); typedef EFI_STATUS(EFIAPI *EFI_ALLOCATE_POOL)(EFI_MEMORY_TYPE PoolType, uintptr_t Size, void *out_Buffer); typedef EFI_STATUS(EFIAPI *EFI_FREE_POOL)(void *Buffer); typedef void(EFIAPI *EFI_SET_MEM)(void *Buffer, uintptr_t Size, uint8_t Value); typedef void(EFIAPI *EFI_COPY_MEM)(void *Destination, void *Source, uintptr_t Length); typedef EFI_STATUS(EFIAPI *EFI_CHECK_EVENT)(EFI_EVENT Event); typedef EFI_STATUS(EFIAPI *EFI_CLOSE_EVENT)(EFI_EVENT Event); typedef EFI_STATUS(EFIAPI *EFI_SIGNAL_EVENT)(EFI_EVENT Event); typedef EFI_STATUS(EFIAPI *EFI_WAIT_FOR_EVENT)(uintptr_t NumberOfEvents, EFI_EVENT *Events, uintptr_t *out_Index); typedef EFI_STATUS(EFIAPI *EFI_SET_TIMER)(EFI_EVENT Event, EFI_TIMER_DELAY Type, uint64_t TriggerTime); typedef void(EFIAPI *EFI_EVENT_NOTIFY)(EFI_EVENT Event, void *Context); typedef EFI_STATUS(EFIAPI *EFI_CREATE_EVENT)(uint32_t Type, uintptr_t NotifyTpl, EFI_EVENT_NOTIFY NotifyFunction, void *NotifyContext, EFI_EVENT *out_Event); typedef EFI_STATUS(EFIAPI *EFI_CREATE_EVENT_EX)( uint32_t Type, uintptr_t NotifyTpl, EFI_EVENT_NOTIFY opt_NotifyFunction, const void *opt_NotifyContext, const EFI_GUID *opt_EventGroup, EFI_EVENT *out_Event); typedef EFI_STATUS(EFIAPI *EFI_UPDATE_CAPSULE)( EFI_CAPSULE_HEADER **CapsuleHeaderArray, uintptr_t CapsuleCount, uint64_t opt_ScatterGatherList); typedef EFI_STATUS(EFIAPI *EFI_QUERY_CAPSULE_CAPABILITIES)( EFI_CAPSULE_HEADER **CapsuleHeaderArray, uintptr_t CapsuleCount, uint64_t *out_MaximumCapsuleSize, EFI_RESET_TYPE *out_ResetType); typedef EFI_STATUS(EFIAPI *EFI_GET_WAKEUP_TIME)(bool *out_Enabled, bool *out_Pending, EFI_TIME *out_Time); typedef EFI_STATUS(EFIAPI *EFI_SET_WAKEUP_TIME)(bool Enable, EFI_TIME *opt_Time); typedef EFI_STATUS(EFIAPI *EFI_SET_WATCHDOG_TIMER)(uintptr_t Timeout, uint64_t WatchdogCode, uintptr_t DataSize, char16_t *opt_WatchdogData); typedef EFI_STATUS(EFIAPI *EFI_LOCATE_PROTOCOL)(EFI_GUID *Protocol, void *Registration, void *Interface); typedef EFI_STATUS(EFIAPI *EFI_SET_TIME)(EFI_TIME *Time); typedef EFI_STATUS(EFIAPI *EFI_GET_TIME)( EFI_TIME *out_Time, EFI_TIME_CAPABILITIES *outopt_Capabilities); typedef EFI_STATUS(EFIAPI *EFI_GET_NEXT_HIGH_MONO_COUNT)( uint32_t *out_HighCount); typedef EFI_STATUS(EFIAPI *EFI_STALL)(uintptr_t Microseconds); typedef EFI_STATUS(EFIAPI *EFI_GET_NEXT_MONOTONIC_COUNT)(uint64_t *out_Count); typedef EFI_STATUS(EFIAPI *EFI_SET_VIRTUAL_ADDRESS_MAP)( uintptr_t MemoryMapSize, uintptr_t DescriptorSize, uint32_t DescriptorVersion, EFI_MEMORY_DESCRIPTOR *VirtualMap); typedef void(EFIAPI *EFI_RESET_SYSTEM)(EFI_RESET_TYPE ResetType, EFI_STATUS ResetStatus, uintptr_t DataSize, void *opt_ResetData); typedef EFI_STATUS(EFIAPI *EFI_CONVERT_POINTER)(uintptr_t DebugDisposition, void **inout_Address); typedef EFI_STATUS(EFIAPI *EFI_INPUT_RESET)( EFI_SIMPLE_TEXT_INPUT_PROTOCOL *This, bool ExtendedVerification); typedef EFI_STATUS(EFIAPI *EFI_INPUT_READ_KEY)( EFI_SIMPLE_TEXT_INPUT_PROTOCOL *This, EFI_INPUT_KEY *out_Key); typedef EFI_STATUS(EFIAPI *EFI_TEXT_RESET)( EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *This, bool ExtendedVerification); typedef EFI_STATUS(EFIAPI *EFI_TEXT_STRING)( EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *This, char16_t *String); typedef EFI_STATUS(EFIAPI *EFI_TEXT_TEST_STRING)( EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *This, char16_t *String); typedef EFI_STATUS(EFIAPI *EFI_TEXT_QUERY_MODE)( EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *This, uint64_t ModeNumber, uint64_t *out_Columns, uint64_t *out_Rows); typedef EFI_STATUS(EFIAPI *EFI_TEXT_SET_MODE)( EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *This, uint64_t ModeNumber); typedef EFI_STATUS(EFIAPI *EFI_TEXT_SET_ATTRIBUTE)( EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *This, uint64_t Attribute); typedef EFI_STATUS(EFIAPI *EFI_TEXT_CLEAR_SCREEN)( EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *This); typedef EFI_STATUS(EFIAPI *EFI_TEXT_SET_CURSOR_POSITION)( EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *This, uint64_t Column, uint64_t Row); typedef EFI_STATUS(EFIAPI *EFI_TEXT_ENABLE_CURSOR)( EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *This, bool Visible); typedef EFI_STATUS(EFIAPI *EFI_GRAPHICS_OUTPUT_PROTOCOL_QUERY_MODE)( EFI_GRAPHICS_OUTPUT_PROTOCOL *This, uint32_t ModeNumber, uint32_t *SizeOfInfo, EFI_GRAPHICS_OUTPUT_MODE_INFORMATION **Info); typedef EFI_STATUS(EFIAPI *EFI_GRAPHICS_OUTPUT_PROTOCOL_SET_MODE)( EFI_GRAPHICS_OUTPUT_PROTOCOL *This, uint32_t ModeNumber); 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, uint32_t Width, uint32_t Height, uint32_t Delta); typedef EFI_STATUS(EFIAPI *EFI_HANDLE_PROTOCOL)(EFI_HANDLE Handle, EFI_GUID *Protocol, void *out_Interface); typedef EFI_STATUS(EFIAPI *EFI_IMAGE_LOAD)(bool BootPolicy, EFI_HANDLE ParentImageHandle, EFI_DEVICE_PATH_PROTOCOL *DevicePath, void *opt_SourceBuffer, uintptr_t SourceSize, EFI_HANDLE *out_ImageHandle); typedef EFI_STATUS(EFIAPI *EFI_IMAGE_UNLOAD)(EFI_HANDLE ImageHandle); typedef EFI_STATUS(EFIAPI *EFI_EXIT_BOOT_SERVICES)(EFI_HANDLE ImageHandle, uintptr_t MapKey); typedef struct { EFI_TABLE_HEADER Hdr; EFI_GET_TIME GetTime; EFI_SET_TIME SetTime; EFI_GET_WAKEUP_TIME GetWakeupTime; EFI_SET_WAKEUP_TIME SetWakeupTime; EFI_SET_VIRTUAL_ADDRESS_MAP SetVirtualAddressMap; EFI_CONVERT_POINTER ConvertPointer; EFI_GET_VARIABLE GetVariable; EFI_GET_NEXT_VARIABLE_NAME GetNextVariableName; EFI_SET_VARIABLE SetVariable; EFI_GET_NEXT_HIGH_MONO_COUNT GetNextHighMonotonicCount; EFI_RESET_SYSTEM ResetSystem; EFI_UPDATE_CAPSULE UpdateCapsule; EFI_QUERY_CAPSULE_CAPABILITIES QueryCapsuleCapabilities; EFI_QUERY_VARIABLE_INFO QueryVariableInfo; } EFI_RUNTIME_SERVICES; typedef struct { EFI_TABLE_HEADER Hdr; void *RaiseTPL; void *RestoreTPL; EFI_ALLOCATE_PAGES AllocatePages; EFI_FREE_PAGES FreePages; EFI_GET_MEMORY_MAP GetMemoryMap; EFI_ALLOCATE_POOL AllocatePool; EFI_FREE_POOL FreePool; EFI_CREATE_EVENT CreateEvent; EFI_SET_TIMER SetTimer; EFI_WAIT_FOR_EVENT WaitForEvent; EFI_SIGNAL_EVENT SignalEvent; EFI_CLOSE_EVENT CloseEvent; EFI_CHECK_EVENT CheckEvent; void *InstallProtocolInterface; void *ReinstallProtocolInterface; void *UninstallProtocolInterface; EFI_HANDLE_PROTOCOL HandleProtocol; void *Reserved; void *RegisterProtocolNotify; void *LocateHandle; void *LocateDevicePath; void *InstallConfigurationTable; EFI_IMAGE_LOAD LoadImage; void *StartImage; EFI_EXIT Exit; EFI_IMAGE_UNLOAD UnloadImage; EFI_EXIT_BOOT_SERVICES ExitBootServices; EFI_GET_NEXT_MONOTONIC_COUNT GetNextMonotonicCount; EFI_STALL Stall; EFI_SET_WATCHDOG_TIMER SetWatchdogTimer; void *ConnectController; void *DisconnectController; void *OpenProtocol; void *CloseProtocol; void *OpenProtocolInformation; void *ProtocolsPerHandle; void *LocateHandleBuffer; EFI_LOCATE_PROTOCOL LocateProtocol; void *InstallMultipleProtocolInterfaces; void *UninstallMultipleProtocolInterfaces; void *CalculateCrc32; EFI_COPY_MEM CopyMem; EFI_SET_MEM SetMem; EFI_CREATE_EVENT_EX CreateEventEx; } EFI_BOOT_SERVICES; typedef struct { EFI_TABLE_HEADER Hdr; char16_t *FirmwareVendor; uint32_t FirmwareRevision; EFI_HANDLE ConsoleInHandle; EFI_SIMPLE_TEXT_INPUT_PROTOCOL *ConIn; EFI_HANDLE ConsoleOutHandle; EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *ConOut; EFI_HANDLE StandardErrorHandle; EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *StdErr; EFI_RUNTIME_SERVICES *RuntimeServices; EFI_BOOT_SERVICES *BootServices; uintptr_t NumberOfTableEntries; EFI_CONFIGURATION_TABLE *ConfigurationTable; } EFI_SYSTEM_TABLE; struct _EFI_SIMPLE_TEXT_INPUT_PROTOCOL { EFI_INPUT_RESET Reset; EFI_INPUT_READ_KEY ReadKeyStroke; EFI_EVENT WaitForKey; }; struct _EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL { EFI_TEXT_RESET Reset; EFI_TEXT_STRING OutputString; EFI_TEXT_TEST_STRING TestString; EFI_TEXT_QUERY_MODE QueryMode; EFI_TEXT_SET_MODE SetMode; EFI_TEXT_SET_ATTRIBUTE SetAttribute; EFI_TEXT_CLEAR_SCREEN ClearScreen; EFI_TEXT_SET_CURSOR_POSITION SetCursorPosition; EFI_TEXT_ENABLE_CURSOR EnableCursor; EFI_SIMPLE_TEXT_OUTPUT_MODE *Mode; }; struct _EFI_GRAPHICS_OUTPUT_PROTOCOL { EFI_GRAPHICS_OUTPUT_PROTOCOL_QUERY_MODE QueryMode; EFI_GRAPHICS_OUTPUT_PROTOCOL_SET_MODE SetMode; EFI_GRAPHICS_OUTPUT_PROTOCOL_BLT Blt; EFI_GRAPHICS_OUTPUT_PROTOCOL_MODE *Mode; }; typedef struct { uint32_t Revision; EFI_HANDLE ParentHandle; EFI_SYSTEM_TABLE *SystemTable; EFI_HANDLE DeviceHandle; EFI_DEVICE_PATH_PROTOCOL *FilePath; void *Reserved; uint32_t LoadOptionsSize; void *LoadOptions; void *ImageBase; uint64_t ImageSize; EFI_MEMORY_TYPE ImageCodeType; EFI_MEMORY_TYPE ImageDataType; EFI_IMAGE_UNLOAD Unload; } EFI_LOADED_IMAGE; COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LIBC_NT_EFI_H_ */
21,436
558
jart/cosmopolitan
false
cosmopolitan/libc/nt/accounting.h
#ifndef COSMOPOLITAN_LIBC_NT_ACCOUNTING_H_ #define COSMOPOLITAN_LIBC_NT_ACCOUNTING_H_ #include "libc/nt/struct/filetime.h" #include "libc/nt/struct/iocounters.h" #include "libc/nt/struct/memorystatusex.h" #include "libc/nt/thunk/msabi.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ /* ░░░░ ▒▒▒░░░▒▒▒▒▒▒▒▓▓▓░ ▒▒▒▒░░░▒▒▒▒▒▒▓▓▓▓▓▓░ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓▓ ▒▓░ ▒▒▒░░░░▒▒▒▒▒▒▓▓▓▓▓▓ ▓▓▓▓▓▓▒ ▒▒▒▓▓█ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▓ ░▒▒▒░░░░▒▒▒▒▒▒▓▓▓▓▓▓ █▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓█ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓░ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▓ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓▓ ▒▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▒ ▒▒▒▒▓▓ ▓▒▒▓▓▓▓ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓█ ▒▓ ▓▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓ ░░░░░░░░░░░▒▒▒▒ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓█ ▒▒░░░░░░░░░░▒▒▒▒▒▓▓▓ ▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▓ ░▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▓░ ░▓███▓ ▒▒░░░░░░░░░░▒▒▒▒▒▓▓░ ▒▓▓▓▒▒▒ ░▒▒▒▓ ████████████ ▒▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▒▓▓▓▓▒▒▒▒▒▒▒▒░░░▒▒▒▒▒░ ░███ ▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▓▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▓ ███ ▒▒░░░░░░░░░░▒▒▒▒▒▒▓▓ ▒▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▒ ▓██ ▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▓▓▓▓▒▒▒▒▒▒▒▒░░░▒▒▒▒▒▓ ▓██ ▒▒░░░▒▒▒░░░▒▒░▒▒▒▓▓▒ ▒▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▒ ███ ░▒▓ ░▓▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▓ ▓██ ╔────────────────────────────────────────────────────────────────▀▀▀─────────│─╗ │ cosmopolitan § new technology » accounting ─╬─│┼ ╚────────────────────────────────────────────────────────────────────────────│*/ uint32_t GetMaximumProcessorCount(uint16_t GroupNumber); int GetUserName(char16_t (*buf)[257], uint32_t *in_out_size); bool32 GlobalMemoryStatusEx(struct NtMemoryStatusEx *lpBuffer); int32_t GetExitCodeProcess(int64_t hProcess, uint32_t *lpExitCode); int32_t GetProcessHandleCount(int64_t hProcess, uint32_t *pdwHandleCount); bool32 GetSystemTimes(struct NtFileTime *opt_out_lpIdleTime, struct NtFileTime *opt_out_lpKernelTime, struct NtFileTime *opt_out_lpUserTime); bool32 GetProcessTimes(int64_t hProcess, struct NtFileTime *out_lpCreationFileTime, struct NtFileTime *out_lpExitFileTime, struct NtFileTime *out_lpKernelFileTime, struct NtFileTime *out_lpUserFileTime); bool32 GetThreadTimes(int64_t hThread, struct NtFileTime *out_lpCreationFileTime, struct NtFileTime *out_lpExitFileTime, struct NtFileTime *out_lpKernelFileTime, struct NtFileTime *out_lpUserFileTime); int32_t GetProcessIoCounters(int64_t hProcess, struct NtIoCounters *lpIoCounters); int32_t GetProcessWorkingSetSize(int64_t hProcess, uint64_t *lpMinimumWorkingSetSize, uint64_t *lpMaximumWorkingSetSize); int32_t GetProcessWorkingSetSizeEx(int64_t hProcess, uint64_t *lpMinimumWorkingSetSize, uint64_t *lpMaximumWorkingSetSize, uint32_t *Flags); int32_t SetProcessWorkingSetSize(int64_t hProcess, uint64_t dwMinimumWorkingSetSize, uint64_t dwMaximumWorkingSetSize); int32_t SetProcessWorkingSetSizeEx(int64_t hProcess, uint64_t dwMinimumWorkingSetSize, uint64_t dwMaximumWorkingSetSize, uint32_t Flags); #if ShouldUseMsabiAttribute() #include "libc/nt/thunk/accounting.inc" #endif /* ShouldUseMsabiAttribute() */ COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LIBC_NT_ACCOUNTING_H_ */
5,879
75
jart/cosmopolitan
false
cosmopolitan/libc/nt/createfile.h
#ifndef COSMOPOLITAN_LIBC_NT_CREATEFILE_H_ #define COSMOPOLITAN_LIBC_NT_CREATEFILE_H_ #include "libc/nt/struct/securityattributes.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ int64_t CreateFile( const char16_t *lpFileName, uint32_t dwDesiredAccess, uint32_t dwShareMode, struct NtSecurityAttributes *opt_lpSecurityAttributes, int dwCreationDisposition, uint32_t dwFlagsAndAttributes, /* libc/nt/enum/fileflagandattributes.h */ int64_t opt_hTemplateFile) paramsnonnull((1)); int64_t CreateFileA( const char *lpFileName, uint32_t dwDesiredAccess, uint32_t dwShareMode, struct NtSecurityAttributes *opt_lpSecurityAttributes, int dwCreationDisposition, uint32_t dwFlagsAndAttributes, /* libc/nt/enum/fileflagandattributes.h */ int64_t opt_hTemplateFile) paramsnonnull((1)); int GetNtOpenFlags(int flags, int mode, uint32_t *out_perm, uint32_t *out_share, uint32_t *out_disp, uint32_t *out_attr); COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LIBC_NT_CREATEFILE_H_ */
1,088
27
jart/cosmopolitan
false
cosmopolitan/libc/nt/nt.mk
#-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ #───vi: set et ft=make ts=8 tw=8 fenc=utf-8 :vi───────────────────────┘ PKGS += LIBC_NT LIBC_NT_LIBS = $(foreach x,$(LIBC_NT_ARTIFACTS),$($(x))) LIBC_NT_HDRS = $(foreach x,$(LIBC_NT_ARTIFACTS),$($(x)_HDRS)) LIBC_NT_INCS = $(foreach x,$(LIBC_NT_ARTIFACTS),$($(x)_INCS)) LIBC_NT_SRCS = $(foreach x,$(LIBC_NT_ARTIFACTS),$($(x)_SRCS)) LIBC_NT_OBJS = $(foreach x,$(LIBC_NT_ARTIFACTS),$($(x)_OBJS)) LIBC_NT_CHECKS = $(foreach x,$(LIBC_NT_ARTIFACTS),$($(x)_CHECKS)) #─────────────────────────────────────────────────────────────────────────────── LIBC_NT_ARTIFACTS += LIBC_NT_A LIBC_NT_A_FILES := \ $(wildcard libc/nt/enum/*) \ $(wildcard libc/nt/struct/*) \ $(wildcard libc/nt/typedef/*) \ $(wildcard libc/nt/thunk/*) \ $(wildcard libc/nt/nt/thunk/*) \ $(wildcard libc/nt/nt/*.*) \ $(wildcard libc/nt/*) LIBC_NT_A_HDRS = $(filter %.h,$(LIBC_NT_A_FILES)) LIBC_NT_A_INCS = $(filter %.inc,$(LIBC_NT_A_FILES)) LIBC_NT_A_CHECKS = $(patsubst %,o/$(MODE)/%.ok,$(filter %.h,$(LIBC_NT_A_HDRS))) #─────────────────────────────────────────────────────────────────────────────── LIBC_NT_ARTIFACTS += LIBC_NT_KERNEL32_A LIBC_NT_KERNEL32 = $(LIBC_NT_KERNEL32_A_DEPS) $(LIBC_NT_KERNEL32_A) LIBC_NT_KERNEL32_A = o/$(MODE)/libc/nt/kernel32.a LIBC_NT_KERNEL32_A_SRCS := $(wildcard libc/nt/kernel32/*.S) libc/nt/sysv2nt.S LIBC_NT_KERNEL32_A_OBJS = $(LIBC_NT_KERNEL32_A_SRCS:%.S=o/$(MODE)/%.o) LIBC_NT_KERNEL32_A_CHECKS = $(LIBC_NT_KERNEL32_A).pkg LIBC_NT_KERNEL32_A_DEPS := \ $(call uniq,$(foreach x,$(LIBC_NT_KERNEL32_A_DIRECTDEPS),$($(x)))) $(LIBC_NT_KERNEL32_A): \ libc/nt/kernel32/ \ $(LIBC_NT_KERNEL32_A).pkg \ $(LIBC_NT_KERNEL32_A_OBJS) $(LIBC_NT_KERNEL32_A).pkg: \ $(LIBC_NT_KERNEL32_A_OBJS) \ $(foreach x,$(LIBC_NT_KERNEL32_A_DIRECTDEPS),$($(x)_A).pkg) #─────────────────────────────────────────────────────────────────────────────── LIBC_NT_ARTIFACTS += LIBC_NT_ADVAPI32_A LIBC_NT_ADVAPI32 = $(LIBC_NT_ADVAPI32_A_DEPS) $(LIBC_NT_ADVAPI32_A) LIBC_NT_ADVAPI32_A = o/$(MODE)/libc/nt/advapi32.a LIBC_NT_ADVAPI32_A_SRCS := $(wildcard libc/nt/advapi32/*.S) LIBC_NT_ADVAPI32_A_OBJS = $(LIBC_NT_ADVAPI32_A_SRCS:%.S=o/$(MODE)/%.o) LIBC_NT_ADVAPI32_A_CHECKS = $(LIBC_NT_ADVAPI32_A).pkg LIBC_NT_ADVAPI32_A_DIRECTDEPS = LIBC_NT_KERNEL32 LIBC_NT_ADVAPI32_A_DEPS := \ $(call uniq,$(foreach x,$(LIBC_NT_ADVAPI32_A_DIRECTDEPS),$($(x)))) $(LIBC_NT_ADVAPI32_A): \ libc/nt/advapi32/ \ $(LIBC_NT_ADVAPI32_A).pkg \ $(LIBC_NT_ADVAPI32_A_OBJS) $(LIBC_NT_ADVAPI32_A).pkg: \ $(LIBC_NT_ADVAPI32_A_OBJS) \ $(foreach x,$(LIBC_NT_ADVAPI32_A_DIRECTDEPS),$($(x)_A).pkg) #─────────────────────────────────────────────────────────────────────────────── LIBC_NT_ARTIFACTS += LIBC_NT_COMDLG32_A LIBC_NT_COMDLG32 = $(LIBC_NT_COMDLG32_A_DEPS) $(LIBC_NT_COMDLG32_A) LIBC_NT_COMDLG32_A = o/$(MODE)/libc/nt/comdlg32.a LIBC_NT_COMDLG32_A_SRCS := $(wildcard libc/nt/comdlg32/*.S) LIBC_NT_COMDLG32_A_OBJS = $(LIBC_NT_COMDLG32_A_SRCS:%.S=o/$(MODE)/%.o) LIBC_NT_COMDLG32_A_CHECKS = $(LIBC_NT_COMDLG32_A).pkg LIBC_NT_COMDLG32_A_DIRECTDEPS = LIBC_NT_KERNEL32 LIBC_NT_COMDLG32_A_DEPS := \ $(call uniq,$(foreach x,$(LIBC_NT_COMDLG32_A_DIRECTDEPS),$($(x)))) $(LIBC_NT_COMDLG32_A): \ libc/nt/comdlg32/ \ $(LIBC_NT_COMDLG32_A).pkg \ $(LIBC_NT_COMDLG32_A_OBJS) $(LIBC_NT_COMDLG32_A).pkg: \ $(LIBC_NT_COMDLG32_A_OBJS) \ $(foreach x,$(LIBC_NT_COMDLG32_A_DIRECTDEPS),$($(x)_A).pkg) #─────────────────────────────────────────────────────────────────────────────── LIBC_NT_ARTIFACTS += LIBC_NT_GDI32_A LIBC_NT_GDI32 = $(LIBC_NT_GDI32_A_DEPS) $(LIBC_NT_GDI32_A) LIBC_NT_GDI32_A = o/$(MODE)/libc/nt/gdi32.a LIBC_NT_GDI32_A_SRCS := $(wildcard libc/nt/gdi32/*.S) LIBC_NT_GDI32_A_OBJS = $(LIBC_NT_GDI32_A_SRCS:%.S=o/$(MODE)/%.o) LIBC_NT_GDI32_A_CHECKS = $(LIBC_NT_GDI32_A).pkg LIBC_NT_GDI32_A_DIRECTDEPS = LIBC_NT_KERNEL32 LIBC_NT_GDI32_A_DEPS := \ $(call uniq,$(foreach x,$(LIBC_NT_GDI32_A_DIRECTDEPS),$($(x)))) $(LIBC_NT_GDI32_A): \ libc/nt/gdi32/ \ $(LIBC_NT_GDI32_A).pkg \ $(LIBC_NT_GDI32_A_OBJS) $(LIBC_NT_GDI32_A).pkg: \ $(LIBC_NT_GDI32_A_OBJS) \ $(foreach x,$(LIBC_NT_GDI32_A_DIRECTDEPS),$($(x)_A).pkg) #─────────────────────────────────────────────────────────────────────────────── LIBC_NT_ARTIFACTS += LIBC_NT_NTDLL_A LIBC_NT_NTDLL = $(LIBC_NT_NTDLL_A_DEPS) $(LIBC_NT_NTDLL_A) LIBC_NT_NTDLL_A = o/$(MODE)/libc/nt/ntdll.a LIBC_NT_NTDLL_A_SRCS_A := $(wildcard libc/nt/ntdll/*.S) LIBC_NT_NTDLL_A_SRCS_S = libc/nt/ntdllimport.S LIBC_NT_NTDLL_A_SRCS = $(LIBC_NT_NTDLL_A_SRCS_A) $(LIBC_NT_NTDLL_A_SRCS_S) LIBC_NT_NTDLL_A_OBJS = \ $(LIBC_NT_NTDLL_A_SRCS_A:%.S=o/$(MODE)/%.o) \ $(LIBC_NT_NTDLL_A_SRCS_S:%.S=o/$(MODE)/%.o) LIBC_NT_NTDLL_A_CHECKS = $(LIBC_NT_NTDLL_A).pkg LIBC_NT_NTDLL_A_DIRECTDEPS = LIBC_NT_KERNEL32 LIBC_NT_NTDLL_A_DEPS := \ $(call uniq,$(foreach x,$(LIBC_NT_NTDLL_A_DIRECTDEPS),$($(x)))) $(LIBC_NT_NTDLL_A): \ libc/nt/ntdll/ \ $(LIBC_NT_NTDLL_A).pkg \ $(LIBC_NT_NTDLL_A_OBJS) $(LIBC_NT_NTDLL_A).pkg: \ $(LIBC_NT_NTDLL_A_OBJS) \ $(foreach x,$(LIBC_NT_NTDLL_A_DIRECTDEPS),$($(x)_A).pkg) #─────────────────────────────────────────────────────────────────────────────── LIBC_NT_ARTIFACTS += LIBC_NT_URL_A LIBC_NT_URL = $(LIBC_NT_URL_A_DEPS) $(LIBC_NT_URL_A) LIBC_NT_URL_A = o/$(MODE)/libc/nt/url.a LIBC_NT_URL_A_SRCS := $(wildcard libc/nt/url/*.S) LIBC_NT_URL_A_OBJS = $(LIBC_NT_URL_A_SRCS:%.S=o/$(MODE)/%.o) LIBC_NT_URL_A_CHECKS = $(LIBC_NT_URL_A).pkg LIBC_NT_URL_A_DIRECTDEPS = LIBC_NT_KERNEL32 LIBC_NT_URL_A_DEPS := \ $(call uniq,$(foreach x,$(LIBC_NT_URL_A_DIRECTDEPS),$($(x)))) $(LIBC_NT_URL_A): \ libc/nt/url/ \ $(LIBC_NT_URL_A).pkg \ $(LIBC_NT_URL_A_OBJS) $(LIBC_NT_URL_A).pkg: \ $(LIBC_NT_URL_A_OBJS) \ $(foreach x,$(LIBC_NT_URL_A_DIRECTDEPS),$($(x)_A).pkg) #─────────────────────────────────────────────────────────────────────────────── LIBC_NT_ARTIFACTS += LIBC_NT_SYNCHRONIZATION_A LIBC_NT_SYNCHRONIZATION = $(LIBC_NT_SYNCHRONIZATION_A_DEPS) $(LIBC_NT_SYNCHRONIZATION_A) LIBC_NT_SYNCHRONIZATION_A = o/$(MODE)/libc/nt/synchronization.a LIBC_NT_SYNCHRONIZATION_A_SRCS := $(wildcard libc/nt/API-MS-Win-Core-Synch-l1-2-0/*.S) LIBC_NT_SYNCHRONIZATION_A_OBJS = $(LIBC_NT_SYNCHRONIZATION_A_SRCS:%.S=o/$(MODE)/%.o) LIBC_NT_SYNCHRONIZATION_A_CHECKS = $(LIBC_NT_SYNCHRONIZATION_A).pkg LIBC_NT_SYNCHRONIZATION_A_DIRECTDEPS = LIBC_NT_KERNEL32 LIBC_NT_SYNCHRONIZATION_A_DEPS := \ $(call uniq,$(foreach x,$(LIBC_NT_SYNCHRONIZATION_A_DIRECTDEPS),$($(x)))) $(LIBC_NT_SYNCHRONIZATION_A): \ libc/nt/API-MS-Win-Core-Synch-l1-2-0/ \ $(LIBC_NT_SYNCHRONIZATION_A).pkg \ $(LIBC_NT_SYNCHRONIZATION_A_OBJS) $(LIBC_NT_SYNCHRONIZATION_A).pkg: \ $(LIBC_NT_SYNCHRONIZATION_A_OBJS) \ $(foreach x,$(LIBC_NT_SYNCHRONIZATION_A_DIRECTDEPS),$($(x)_A).pkg) #─────────────────────────────────────────────────────────────────────────────── LIBC_NT_ARTIFACTS += LIBC_NT_USER32_A LIBC_NT_USER32 = $(LIBC_NT_USER32_A_DEPS) $(LIBC_NT_USER32_A) LIBC_NT_USER32_A = o/$(MODE)/libc/nt/user32.a LIBC_NT_USER32_A_SRCS := $(wildcard libc/nt/user32/*.S) LIBC_NT_USER32_A_OBJS = $(LIBC_NT_USER32_A_SRCS:%.S=o/$(MODE)/%.o) LIBC_NT_USER32_A_CHECKS = $(LIBC_NT_USER32_A).pkg LIBC_NT_USER32_A_DIRECTDEPS = LIBC_NT_KERNEL32 LIBC_NT_USER32_A_DEPS := \ $(call uniq,$(foreach x,$(LIBC_NT_USER32_A_DIRECTDEPS),$($(x)))) $(LIBC_NT_USER32_A): \ libc/nt/user32/ \ $(LIBC_NT_USER32_A).pkg \ $(LIBC_NT_USER32_A_OBJS) $(LIBC_NT_USER32_A).pkg: \ $(LIBC_NT_USER32_A_OBJS) \ $(foreach x,$(LIBC_NT_USER32_A_DIRECTDEPS),$($(x)_A).pkg) #─────────────────────────────────────────────────────────────────────────────── LIBC_NT_ARTIFACTS += LIBC_NT_WS2_32_A LIBC_NT_WS2_32 = $(LIBC_NT_WS2_32_A_DEPS) $(LIBC_NT_WS2_32_A) LIBC_NT_WS2_32_A = o/$(MODE)/libc/nt/ws2_32.a LIBC_NT_WS2_32_A_SRCS := $(wildcard libc/nt/ws2_32/*.S) LIBC_NT_WS2_32_A_OBJS = $(LIBC_NT_WS2_32_A_SRCS:%.S=o/$(MODE)/%.o) LIBC_NT_WS2_32_A_CHECKS = $(LIBC_NT_WS2_32_A).pkg LIBC_NT_WS2_32_A_DIRECTDEPS = LIBC_NT_KERNEL32 LIBC_NT_WS2_32_A_DEPS := \ $(call uniq,$(foreach x,$(LIBC_NT_WS2_32_A_DIRECTDEPS),$($(x)))) $(LIBC_NT_WS2_32_A): \ libc/nt/ws2_32/ \ $(LIBC_NT_WS2_32_A).pkg \ $(LIBC_NT_WS2_32_A_OBJS) $(LIBC_NT_WS2_32_A).pkg: \ $(LIBC_NT_WS2_32_A_OBJS) \ $(foreach x,$(LIBC_NT_WS2_32_A_DIRECTDEPS),$($(x)_A).pkg) #─────────────────────────────────────────────────────────────────────────────── LIBC_NT_ARTIFACTS += LIBC_NT_IPHLPAPI_A LIBC_NT_IPHLPAPI = $(LIBC_NT_IPHLPAPI_A_DEPS) $(LIBC_NT_IPHLPAPI_A) LIBC_NT_IPHLPAPI_A = o/$(MODE)/libc/nt/iphlpapi.a LIBC_NT_IPHLPAPI_A_SRCS := $(wildcard libc/nt/iphlpapi/*.S) LIBC_NT_IPHLPAPI_A_OBJS = $(LIBC_NT_IPHLPAPI_A_SRCS:%.S=o/$(MODE)/%.o) LIBC_NT_IPHLPAPI_A_CHECKS = $(LIBC_IPHLPAPI_32_A).pkg LIBC_NT_IPHLPAPI_A_DIRECTDEPS = LIBC_NT_KERNEL32 LIBC_NT_IPHLPAPI_A_DEPS := \ $(call uniq,$(foreach x,$(LIBC_NT_IPHLPAPI_A_DIRECTDEPS),$($(x)))) $(LIBC_NT_IPHLPAPI_A): \ libc/nt/iphlpapi/ \ $(LIBC_NT_IPHLPAPI_A).pkg \ $(LIBC_NT_IPHLPAPI_A_OBJS) $(LIBC_NT_IPHLPAPI_A).pkg: \ $(LIBC_NT_IPHLPAPI_A_OBJS) \ $(foreach x,$(LIBC_NT_IPHLPAPI_A_DIRECTDEPS),$($(x)_A).pkg) #─────────────────────────────────────────────────────────────────────────────── LIBC_NT_ARTIFACTS += LIBC_NT_MSWSOCK_A LIBC_NT_MSWSOCK = $(LIBC_NT_MSWSOCK_A_DEPS) $(LIBC_NT_MSWSOCK_A) LIBC_NT_MSWSOCK_A = o/$(MODE)/libc/nt/MsWSock.a LIBC_NT_MSWSOCK_A_SRCS := $(wildcard libc/nt/MsWSock/*.S) LIBC_NT_MSWSOCK_A_OBJS = $(LIBC_NT_MSWSOCK_A_SRCS:%.S=o/$(MODE)/%.o) LIBC_NT_MSWSOCK_A_CHECKS = $(LIBC_NT_MSWSOCK_A).pkg LIBC_NT_MSWSOCK_A_DIRECTDEPS = LIBC_NT_KERNEL32 LIBC_NT_MSWSOCK_A_DEPS := \ $(call uniq,$(foreach x,$(LIBC_NT_MSWSOCK_A_DIRECTDEPS),$($(x)))) $(LIBC_NT_MSWSOCK_A): \ libc/nt/MsWSock/ \ $(LIBC_NT_MSWSOCK_A).pkg \ $(LIBC_NT_MSWSOCK_A_OBJS) $(LIBC_NT_MSWSOCK_A).pkg: \ $(LIBC_NT_MSWSOCK_A_OBJS) \ $(foreach x,$(LIBC_NT_MSWSOCK_A_DIRECTDEPS),$($(x)_A).pkg) #─────────────────────────────────────────────────────────────────────────────── LIBC_NT_ARTIFACTS += LIBC_NT_IPHLPAPI_A LIBC_NT_IPHLPAPI = $(LIBC_NT_IPHLPAPI_A_DEPS) $(LIBC_NT_IPHLPAPI_A) LIBC_NT_IPHLPAPI_A = o/$(MODE)/libc/nt/iphlpapi.a LIBC_NT_IPHLPAPI_A_SRCS := $(wildcard libc/nt/iphlpapi/*.S) LIBC_NT_IPHLPAPI_A_OBJS = $(LIBC_NT_IPHLPAPI_A_SRCS:%.S=o/$(MODE)/%.o) LIBC_NT_IPHLPAPI_A_CHECKS = $(LIBC_NT_IPHLPAPI_A).pkg LIBC_NT_IPHLPAPI_A_DIRECTDEPS = LIBC_NT_KERNEL32 LIBC_NT_IPHLPAPI_A_DEPS := \ $(call uniq,$(foreach x,$(LIBC_NT_IPHLPAPI_A_DIRECTDEPS),$($(x)))) $(LIBC_NT_IPHLPAPI_A): \ libc/nt/iphlpapi/ \ $(LIBC_NT_IPHLPAPI_A).pkg \ $(LIBC_NT_IPHLPAPI_A_OBJS) $(LIBC_NT_IPHLPAPI_A).pkg: \ $(LIBC_NT_IPHLPAPI_A_OBJS) \ $(foreach x,$(LIBC_NT_IPHLPAPI_A_DIRECTDEPS),$($(x)_A).pkg) #─────────────────────────────────────────────────────────────────────────────── LIBC_NT_ARTIFACTS += LIBC_NT_POWRPROF_A LIBC_NT_POWRPROF = $(LIBC_NT_POWRPROF_A_DEPS) $(LIBC_NT_POWRPROF_A) LIBC_NT_POWRPROF_A = o/$(MODE)/libc/nt/powrprof.a LIBC_NT_POWRPROF_A_SRCS := $(wildcard libc/nt/PowrProf/*.S) LIBC_NT_POWRPROF_A_OBJS = $(LIBC_NT_POWRPROF_A_SRCS:%.S=o/$(MODE)/%.o) LIBC_NT_POWRPROF_A_CHECKS = $(LIBC_NT_POWRPROF_A).pkg LIBC_NT_POWRPROF_A_DIRECTDEPS = LIBC_NT_KERNEL32 LIBC_NT_POWRPROF_A_DEPS := \ $(call uniq,$(foreach x,$(LIBC_NT_POWRPROF_A_DIRECTDEPS),$($(x)))) $(LIBC_NT_POWRPROF_A): \ libc/nt/PowrProf/ \ $(LIBC_NT_POWRPROF_A).pkg \ $(LIBC_NT_POWRPROF_A_OBJS) $(LIBC_NT_POWRPROF_A).pkg: \ $(LIBC_NT_POWRPROF_A_OBJS) \ $(foreach x,$(LIBC_NT_POWRPROF_A_DIRECTDEPS),$($(x)_A).pkg) #─────────────────────────────────────────────────────────────────────────────── LIBC_NT_ARTIFACTS += LIBC_NT_PDH_A LIBC_NT_PDH = $(LIBC_NT_PDH_A_DEPS) $(LIBC_NT_PDH_A) LIBC_NT_PDH_A = o/$(MODE)/libc/nt/pdh.a LIBC_NT_PDH_A_SRCS := $(wildcard libc/nt/pdh/*.S) LIBC_NT_PDH_A_OBJS = $(LIBC_NT_PDH_A_SRCS:%.S=o/$(MODE)/%.o) LIBC_NT_PDH_A_CHECKS = $(LIBC_NT_PDH_A).pkg LIBC_NT_PDH_A_DIRECTDEPS = LIBC_NT_KERNEL32 LIBC_NT_PDH_A_DEPS := \ $(call uniq,$(foreach x,$(LIBC_NT_PDH_A_DIRECTDEPS),$($(x)))) $(LIBC_NT_PDH_A): \ libc/nt/pdh/ \ $(LIBC_NT_PDH_A).pkg \ $(LIBC_NT_PDH_A_OBJS) $(LIBC_NT_PDH_A).pkg: \ $(LIBC_NT_PDH_A_OBJS) \ $(foreach x,$(LIBC_NT_PDH_A_DIRECTDEPS),$($(x)_A).pkg) #─────────────────────────────────────────────────────────────────────────────── LIBC_NT_ARTIFACTS += LIBC_NT_PSAPI_A LIBC_NT_PSAPI = $(LIBC_NT_PSAPI_A_DEPS) $(LIBC_NT_PSAPI_A) LIBC_NT_PSAPI_A = o/$(MODE)/libc/nt/psapi.a LIBC_NT_PSAPI_A_SRCS := $(wildcard libc/nt/psapi/*.S) LIBC_NT_PSAPI_A_OBJS = $(LIBC_NT_PSAPI_A_SRCS:%.S=o/$(MODE)/%.o) LIBC_NT_PSAPI_A_CHECKS = $(LIBC_NT_PSAPI_A).pkg LIBC_NT_PSAPI_A_DIRECTDEPS = LIBC_NT_KERNEL32 LIBC_NT_PSAPI_A_DEPS := \ $(call uniq,$(foreach x,$(LIBC_NT_PSAPI_A_DIRECTDEPS),$($(x)))) $(LIBC_NT_PSAPI_A): \ libc/nt/psapi/ \ $(LIBC_NT_PSAPI_A).pkg \ $(LIBC_NT_PSAPI_A_OBJS) $(LIBC_NT_PSAPI_A).pkg: \ $(LIBC_NT_PSAPI_A_OBJS) \ $(foreach x,$(LIBC_NT_PSAPI_A_DIRECTDEPS),$($(x)_A).pkg) #─────────────────────────────────────────────────────────────────────────────── # let aarch64 compile these o/$(MODE)/libc/nt/%.o: libc/nt/%.S @$(COMPILE) -AOBJECTIFY.S $(OBJECTIFY.S) $(OUTPUT_OPTION) $< #─────────────────────────────────────────────────────────────────────────────── .PHONY: o/$(MODE)/libc/nt o/$(MODE)/libc/nt: \ $(LIBC_NT_LIBS) \ $(LIBC_NT_CHECKS)
16,428
352
jart/cosmopolitan
false
cosmopolitan/libc/nt/codegen.sh
/usr/bin/env echo ' -*-mode:sh;indent-tabs-mode:nil;tab-width:8;coding:utf-8-*-│ │vi: set net ft=sh ts=2 sts=2 sw=2 fenc=utf-8 :vi│ ╞══════════════════════════════════════════════════════════════════════════════╡ │ Copyright 2020 Justine Alexandra Roberts Tunney │ │ │ │ Permission to use, copy, modify, and/or distribute this software for │ │ any purpose with or without fee is hereby granted, provided that the │ │ above copyright notice and this permission notice appear in all copies. │ │ │ │ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL │ │ WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED │ │ WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE │ │ AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL │ │ DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR │ │ PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER │ │ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │ │ PERFORMANCE OF THIS SOFTWARE. │ ╚────────────────────────────────────────────────────────────────'>/dev/null #*/ MADEDIRS= mkdir -p libc/nt/kernel32 && touch libc/nt/kernel32/boop.s && rm -f libc/nt/*/*.s libc/nt/*/*.S || exit imp() { NAME="$1" ACTUAL="$2" DLL="$3" HINT="$4" ARITY="$5" if [ "$MADEDIRS" != "${MADEDIRS#*$3}" ]; then # ← sre interview question mkdir -p "libc/nt/$3" MADEDIRS="$MADEDIRS $3" fi { # Generate Portable Executable import data structures if [ "$DLL" = "ntdll" ]; then echo "#include \"libc/nt/ntdllimport.h\"" echo ".ntimp $ACTUAL,$NAME" else echo "#include \"libc/nt/codegen.h\"" echo ".imp $DLL,__imp_$ACTUAL,$ACTUAL,$HINT" fi # Generate System Five ABI translating thunks if [ -n "$NAME" ]; then case "$ARITY" in 0) thunk0 "$NAME" "$ACTUAL" "$NAME" ;; 1) thunk1 "$NAME" "$ACTUAL" "$NAME" ;; 2|3|4) thunk "$NAME" "$ACTUAL" __sysv2nt "$NAME" ;; 5|6) thunk "$NAME" "$ACTUAL" __sysv2nt6 "$NAME" ;; 7|8) thunk "$NAME" "$ACTUAL" __sysv2nt8 "$NAME" ;; 9|10) thunk "$NAME" "$ACTUAL" __sysv2nt10 "$NAME" ;; 11|12) thunk "$NAME" "$ACTUAL" __sysv2nt12 "$NAME" ;; 13|14) thunk "$NAME" "$ACTUAL" __sysv2nt14 "$NAME" ;; esac fi } >libc/nt/$DLL/$ACTUAL.S } thunk() { printf ' .text.windows %s: #ifdef __x86_64__ push %%rbp mov %%rsp,%%rbp .profilable mov __imp_%s(%%rip),%%rax jmp %s #elif defined(__aarch64__) mov x0,#0 ret #endif .endfn %s,globl .previous ' "$@" } thunk0() { printf ' .text.windows %s: #ifdef __x86_64__ push %%rbp mov %%rsp,%%rbp .profilable sub $32,%%rsp call *__imp_%s(%%rip) leave #elif defined(__aarch64__) mov x0,#0 #endif ret .endfn %s,globl .previous ' "$@" } thunk1() { printf ' .text.windows %s: #ifdef __x86_64__ push %%rbp mov %%rsp,%%rbp .profilable mov %%rdi,%%rcx sub $32,%%rsp call *__imp_%s(%%rip) leave #elif defined(__aarch64__) mov x0,#0 #endif ret .endfn %s,globl .previous ' "$@" }
3,758
121
jart/cosmopolitan
false
cosmopolitan/libc/nt/windows.h
#ifndef COSMOPOLITAN_LIBC_NT_WINDOWS_H_ #define COSMOPOLITAN_LIBC_NT_WINDOWS_H_ #include "libc/nt/struct/rect.h" #include "libc/nt/struct/windowplacement.h" #include "libc/nt/struct/wndclass.h" #include "libc/nt/typedef/timerproc.h" /* ░░░░ ▒▒▒░░░▒▒▒▒▒▒▒▓▓▓░ ▒▒▒▒░░░▒▒▒▒▒▒▓▓▓▓▓▓░ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓▓ ▒▓░ ▒▒▒░░░░▒▒▒▒▒▒▓▓▓▓▓▓ ▓▓▓▓▓▓▒ ▒▒▒▓▓█ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▓ ░▒▒▒░░░░▒▒▒▒▒▒▓▓▓▓▓▓ █▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓█ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓░ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▓ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓▓ ▒▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▒ ▒▒▒▒▓▓ ▓▒▒▓▓▓▓ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓█ ▒▓ ▓▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓ ░░░░░░░░░░░▒▒▒▒ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓█ ▒▒░░░░░░░░░░▒▒▒▒▒▓▓▓ ▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▓ ░▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▓░ ░▓███▓ ▒▒░░░░░░░░░░▒▒▒▒▒▓▓░ ▒▓▓▓▒▒▒ ░▒▒▒▓ ████████████ ▒▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▒▓▓▓▓▒▒▒▒▒▒▒▒░░░▒▒▒▒▒░ ░███ ▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▓▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▓ ███ ▒▒░░░░░░░░░░▒▒▒▒▒▒▓▓ ▒▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▒ ▓██ ▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▓▓▓▓▒▒▒▒▒▒▒▒░░░▒▒▒▒▒▓ ▓██ ▒▒░░░▒▒▒░░░▒▒░▒▒▒▓▓▒ ▒▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▒ ███ ░▒▓ ░▓▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▓ ▓██ ╔────────────────────────────────────────────────────────────────▀▀▀─────────│─╗ │ cosmopolitan § new technology » windows ─╬─│┼ ╚────────────────────────────────────────────────────────────────────────────│*/ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ int64_t CreateWindowEx(uint32_t dwExStyle, const char16_t *lpClassName, const char16_t *lpWindowName, uint32_t dwStyle, int X, int Y, int nWidth, int nHeight, int64_t hWndParent, int64_t hMenu, int64_t hInstance, int64_t lpParam); uint16_t RegisterClass(const struct NtWndClass *lpWndClass); int64_t DefWindowProc(int64_t hWnd, uint32_t Msg, uint64_t wParam, int64_t lParam); int32_t CloseWindow(int64_t hWnd); int32_t DestroyWindow(int64_t hWnd); int32_t ShowWindow(int64_t hWnd, int sw); int32_t ShowCaret(bool32 bShow); int32_t AnimateWindow(int64_t hWnd, uint32_t dwTime, uint32_t dwFlags); int64_t LoadIcon(int64_t hInstance, const char16_t *lpIconName); int32_t MoveWindow(int64_t hWnd, int X, int Y, int nWidth, int nHeight, bool32 bRepaint); int32_t BringWindowToTop(int64_t hWnd); int32_t IsWindowVisible(int64_t hWnd); int32_t SetWindowText(int64_t hWnd, const char16_t *lpString); int32_t GetWindowText(int64_t hWnd, char16_t *lpString, int nMaxCount); int32_t SetWindowPos(int64_t hWnd, int64_t hWndInsertAfter, int X, int Y, int cx, int cy, uint32_t uFlags); bool32 GetWindowPlacement(int64_t hWnd, struct NtWindowPlacement *lpwndpl); bool32 SetWindowPlacement(int64_t hWnd, const struct NtWindowPlacement *lpwndpl); int64_t GetCursor(void); int64_t SetCursor(int64_t hCursor); int32_t ShowCursor(bool32 bShow); int64_t LoadCursor(int64_t opt_hInstance, const char16_t *lpCursorNameOrIdc); bool32 IsWindow(int64_t hWnd); bool32 IsMenu(int64_t hMenu); bool32 IsChild(int64_t hWndParent, int64_t hWnd); bool32 IsZoomed(int64_t hWnd); bool32 IsIconic(int64_t hWnd); uintptr_t SetTimer(int64_t opt_hWnd, uintptr_t nIDEvent, uint32_t uElapseMs, NtTimerProc lpTimerFunc); int32_t KillTimer(int64_t hWnd, uintptr_t uIDEvent); int64_t SetCapture(int64_t hWnd); bool32 ReleaseCapture(void); int16_t GetKeyState(int32_t nVirtKey); int64_t CreateMenu(void); int64_t CreatePopupMenu(void); int64_t GetMenu(int64_t hWnd); bool32 DestroyMenu(int64_t hMenu); int64_t GetSystemMenu(int64_t hWnd, bool32 bRevert); bool32 AppendMenu(int64_t hMenu, uint32_t mfFlags, uintptr_t uIDNewItem, const char16_t *lpNewItem); bool32 InsertMenu(int64_t hMenu, uint32_t uPosition, uint32_t uFlags, uintptr_t uIDNewItem, const char16_t *lpNewItem); 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); COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LIBC_NT_WINDOWS_H_ */
6,593
102
jart/cosmopolitan
false
cosmopolitan/libc/nt/console.h
#ifndef COSMOPOLITAN_LIBC_NT_CONSOLE_H_ #define COSMOPOLITAN_LIBC_NT_CONSOLE_H_ #include "libc/nt/struct/charinfo.h" #include "libc/nt/struct/consolecursorinfo.h" #include "libc/nt/struct/consolescreenbufferinfo.h" #include "libc/nt/struct/consolescreenbufferinfoex.h" #include "libc/nt/struct/consoleselectioninfo.h" #include "libc/nt/struct/coord.h" #include "libc/nt/struct/inputrecord.h" #include "libc/nt/struct/smallrect.h" #include "libc/nt/thunk/msabi.h" #include "libc/nt/typedef/handlerroutine.h" /* ░░░░ ▒▒▒░░░▒▒▒▒▒▒▒▓▓▓░ ▒▒▒▒░░░▒▒▒▒▒▒▓▓▓▓▓▓░ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓▓ ▒▓░ ▒▒▒░░░░▒▒▒▒▒▒▓▓▓▓▓▓ ▓▓▓▓▓▓▒ ▒▒▒▓▓█ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▓ ░▒▒▒░░░░▒▒▒▒▒▒▓▓▓▓▓▓ █▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓█ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓░ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▓ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓▓ ▒▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▒ ▒▒▒▒▓▓ ▓▒▒▓▓▓▓ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓█ ▒▓ ▓▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓ ░░░░░░░░░░░▒▒▒▒ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓█ ▒▒░░░░░░░░░░▒▒▒▒▒▓▓▓ ▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▓ ░▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▓░ ░▓███▓ ▒▒░░░░░░░░░░▒▒▒▒▒▓▓░ ▒▓▓▓▒▒▒ ░▒▒▒▓ ████████████ ▒▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▒▓▓▓▓▒▒▒▒▒▒▒▒░░░▒▒▒▒▒░ ░███ ▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▓▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▓ ███ ▒▒░░░░░░░░░░▒▒▒▒▒▒▓▓ ▒▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▒ ▓██ ▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▓▓▓▓▒▒▒▒▒▒▒▒░░░▒▒▒▒▒▓ ▓██ ▒▒░░░▒▒▒░░░▒▒░▒▒▒▓▓▒ ▒▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▒ ███ ░▒▓ ░▓▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▓ ▓██ ╔────────────────────────────────────────────────────────────────▀▀▀─────────│─╗ │ cosmopolitan § new technology » console ─╬─│┼ ╚────────────────────────────────────────────────────────────────────────────│*/ #define kNtAttachParentProcess -1u #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ bool32 WriteConsoleOutput(int64_t hConsoleOutput, const struct NtCharInfo *lpBuffer, struct NtCoord dwBufferSize, struct NtCoord dwBufferCoord, struct NtSmallRect *lpWriteRegion); bool32 ReadConsoleInput(int64_t hConsoleInput, struct NtInputRecord *lpBuffer, uint32_t nLength, uint32_t *lpNumberOfEventsRead); bool32 PeekConsoleInput(int64_t hConsoleInput, struct NtInputRecord *lpBuffer, uint32_t nLength, uint32_t *lpNumberOfEventsRead); bool32 GetNumberOfConsoleInputEvent(int64_t hConsoleInput, uint32_t *lpNumberOfEvents); bool32 ReadConsoleOutput(int64_t hConsoleOutput, struct NtCharInfo *lpBuffer, struct NtCoord dwBufferSize, struct NtCoord dwBufferCoord, struct NtSmallRect *lpReadRegion); bool32 WriteConsoleInput(int64_t hConsoleInput, const struct NtInputRecord *lpBuffer, uint32_t nLength, uint32_t *lpNumberOfEventsWritten); bool32 FlushConsoleInputBuffer(int64_t hConsoleInput); int64_t GetConsoleWindow(void); bool32 GetConsoleMode(int64_t hConsoleHandle, uint32_t *lpMode); bool32 SetConsoleMode(int64_t hConsoleHandle, uint32_t dwMode); int32_t AllocConsole(void); int32_t FreeConsole(void); int32_t AttachConsole(uint32_t dwProcessId); uint32_t GetConsoleTitle(char16_t *lpConsoleTitle, uint32_t nSize); int32_t SetConsoleTitle(const char16_t *lpConsoleTitle); bool32 GetConsoleScreenBufferInfo( int64_t hConsoleOutput, struct NtConsoleScreenBufferInfo *out_lpConsoleScreenBufferInfo); bool32 GetConsoleScreenBufferInfoEx( int64_t hConsoleOutput, struct NtConsoleScreenBufferInfoEx *in_out_lpConsoleScreenBufferInfo); bool32 SetConsoleScreenBufferInfoEx( int64_t hConsoleOutput, const struct NtConsoleScreenBufferInfoEx *lpConsoleScreenBufferInfo); bool32 SetConsoleScreenBufferSize(int64_t lpConsoleOutput, struct NtCoord dwSize); struct NtCoord GetLargestConsoleWindowSize(int64_t hConsoleHandle); int32_t ReadConsole(int64_t hConsoleInput, void *lpBuffer, uint32_t nNumberOfCharsToRead, uint32_t *lpNumberOfCharsRead, void *lpReserved); int32_t WriteConsole(int64_t hConsoleOutput, const void *lpBuffer, uint32_t nNumberOfCharsToWrite, uint32_t *lpNumberOfCharsWritten, void *lpReserved) paramsnonnull((2, 4)); bool32 GetNumberOfConsoleMouseButtons(uint32_t *out_lpNumberOfMouseButtons) paramsnonnull(); bool32 GetConsoleSelectionInfo( struct NtConsoleSelectionInfo *out_lpConsoleSelectionInfo); uint32_t WaitForInputIdle(int64_t hProcess, uint32_t dwMilliseconds); uint32_t GetConsoleCP(void); bool32 SetConsoleCP(uint32_t wCodePageID); bool32 SetConsoleOutputCP(uint32_t wCodePageID); uint32_t GetConsoleOutputCP(void); bool32 SetConsoleCtrlHandler(NtHandlerRoutine opt_HandlerRoutine, bool32 Add); bool32 GenerateConsoleCtrlEvent(uint32_t dwCtrlEvent, uint32_t dwProcessGroupId); bool32 GetConsoleCursorInfo( int64_t hConsoleOutput, struct NtConsoleCursorInfo *out_lpConsoleCursorInfo); bool32 SetConsoleCursorInfo( int64_t hConsoleOutput, const struct NtConsoleCursorInfo *lpConsoleCursorInfo); #if ShouldUseMsabiAttribute() #include "libc/nt/thunk/console.inc" #endif /* ShouldUseMsabiAttribute() */ COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LIBC_NT_CONSOLE_H_ */
7,543
116
jart/cosmopolitan
false
cosmopolitan/libc/nt/ntdll.h
#ifndef COSMOPOLITAN_LIBC_NT_NTDLL_H_ #define COSMOPOLITAN_LIBC_NT_NTDLL_H_ #include "libc/nt/struct/context.h" #include "libc/nt/struct/criticalsection.h" #include "libc/nt/struct/filebasicinformation.h" #include "libc/nt/struct/filenetworkopeninformation.h" #include "libc/nt/struct/iostatusblock.h" #include "libc/nt/struct/ntexceptionrecord.h" #include "libc/nt/struct/objectattributes.h" #include "libc/nt/thunk/msabi.h" #include "libc/nt/typedef/ioapcroutine.h" #include "libc/nt/typedef/pknormalroutine.h" #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ /* ░░░░ ▒▒▒░░░▒▒▒▒▒▒▒▓▓▓░ ▒▒▒▒░░░▒▒▒▒▒▒▓▓▓▓▓▓░ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓▓ ▒▓░ ▒▒▒░░░░▒▒▒▒▒▒▓▓▓▓▓▓ ▓▓▓▓▓▓▒ ▒▒▒▓▓█ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▓ ░▒▒▒░░░░▒▒▒▒▒▒▓▓▓▓▓▓ █▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓█ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓░ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▓ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓▓ ▒▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▒ ▒▒▒▒▓▓ ▓▒▒▓▓▓▓ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓█ ▒▓ ▓▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓ ░░░░░░░░░░░▒▒▒▒ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓█ ▒▒░░░░░░░░░░▒▒▒▒▒▓▓▓ ▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▓ ░▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▓░ ░▓███▓ ▒▒░░░░░░░░░░▒▒▒▒▒▓▓░ ▒▓▓▓▒▒▒ ░▒▒▒▓ ████████████ ▒▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▒▓▓▓▓▒▒▒▒▒▒▒▒░░░▒▒▒▒▒░ ░███ ▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▓▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▓ ███ ▒▒░░░░░░░░░░▒▒▒▒▒▒▓▓ ▒▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▒ ▓██ ▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▓▓▓▓▒▒▒▒▒▒▒▒░░░▒▒▒▒▒▓ ▓██ ▒▒░░░▒▒▒░░░▒▒░▒▒▒▓▓▒ ▒▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▒ ███ ░▒▓ ░▓▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▓ ▓██ ╔────────────────────────────────────────────────────────────────▀▀▀─────────│─╗ │ cosmopolitan § new technology » beyond the pale ─╬─│┼ ╚────────────────────────────────────────────────────────────────────────────│─╝ “The functions and structures in [for these APIs] are internal to the operating system and subject to change from one release of Windows to the next, and possibly even between service packs for each release.” ──Quoth MSDN */ #define __nt_system_call_dispatcher (wambda *)0x7ffe0308 extern const struct NtUnicodeString *const RtlNtdllName; /*───────────────────────────────────────────────────────────────────────────│─╗ │ cosmopolitan § new technology » beyond the pale » eponymous runtime ─╬─│┼ ╚────────────────────────────────────────────────────────────────────────────│*/ #define NT_PROCESS_FLAGS_CREATE_SUSPENDED 0x00000001 #define NT_PROCESS_FLAGS_INHERIT_HANDLES 0x00000002 #define NT_PROCESS_FLAGS_NO_SYNCHRONIZE 0x00000004 #define NT_RTL_CLONE_PARENT 0 #define NT_RTL_CLONE_CHILD 297 NtStatus NtCallbackReturn(void *opt_Result, uint32_t ResultLength, int32_t Status); NtStatus NtTestAlert(void); NtStatus NtOpenFile(int64_t *out_FileHandle, uint32_t DesiredAccess, struct NtObjectAttributes *ObjectAttributes, struct NtIoStatusBlock *out_IoStatusBlock, uint32_t ShareAccess, uint32_t OpenOptions); NtStatus NtQueryInformationToken(int64_t TokenHandle, uint32_t TokenInformationClass, void *out_TokenInformation, uint32_t TokenInformationLength, uint32_t *out_ReturnLength); NtStatus NtYieldExecution(void); NtStatus NtQuerySystemInformation(uint32_t info_class, void *out_info, uint32_t info_size, uint32_t *out_bytes_received); NtStatus NtReadVirtualMemory(int64_t ProcessHandle, const void *BaseAddress, void *out_Buffer, size_t BufferLength, size_t *opt_out_ReturnLength); NtStatus NtCreateTimer(void **out_TimerHandle, uint32_t DesiredAccess, struct NtObjectAttributes *ObjectAttributes, uint32_t TimerType); NtStatus NtSetTimer(void *TimerHandle, int64_t *DueTime, void *TimerApcRoutine, void *TimerContext, int32_t Resume, int32_t Period, int32_t *out_PreviousState); NtStatus NtQueryObject(void *ObjectHandle, int ObjectInformationClass, void *out_ObjectInformation, uint32_t ObjectInformationLength, uint32_t *opt_out_ReturnLength); NtStatus NtQueryFullAttributesFile( struct NtObjectAttributes *attributes, struct NtFileNetworkOpenInformation *out_info); NtStatus NtCreateKey(void **out_KeyHandle, uint32_t DesiredAccess, struct NtObjectAttributes *ObjectAttributes, uint32_t TitleIndex, struct NtUnicodeString *opt_Class, uint32_t CreateOptions, uint32_t *opt_out_Disposition); NtStatus NtOpenKey(void **out_KeyHandle, uint32_t DesiredAccess, struct NtObjectAttributes *ObjectAttributes); NtStatus NtSetValueKey(void *KeyHandle, struct NtUnicodeString *ValueName, uint32_t opt_TitleIndex, uint32_t Type, void *Data, uint32_t DataSize); NtStatus NtDeleteKey(void *KeyHandle); NtStatus NtQueryValueKey(void *KeyHandle, struct NtUnicodeString *ValueName, int KeyValueInformationClass, void *out_KeyValueInformation, uint32_t Length, uint32_t *out_ResultLength); NtStatus NtFlushKey(void *KeyHandle); NtStatus NtEnumerateKey(int64_t hkey, uint32_t index, int info_class, void *out_key_info, uint32_t key_info_size, uint32_t *out_bytes_received); NtStatus NtEnumerateValueKey(int64_t hKey, uint32_t index, int info_class, void *out_key_info, uint32_t key_info_size, uint32_t *out_bytes_received); NtStatus NtQuerySystemTime(int64_t *SystemTime); NtStatus NtDeleteFile(struct NtObjectAttributes *ObjectAttributes); NtStatus NtFlushBuffersFile(int64_t FileHandle, struct NtIoStatusBlock *out_IoStatusBlock); NtStatus NtCreateIoCompletion(void **out_IoCompletionHandle, uint32_t DesiredAccess, struct NtObjectAttributes *ObjectAttributes, uint32_t NumberOfConcurrentThreads); NtStatus NtRaiseHardError(int32_t ErrorStatus, uint32_t NumberOfArguments, uint32_t UnicodeStringArgumentsMask, void *Arguments, uint32_t MessageBoxType, uint32_t *out_MessageBoxResult); NtStatus NtRaiseException(struct NtExceptionRecord *ExceptionRecord, struct NtContext *Context, int32_t SearchFrames); NtStatus NtCreateEvent(void **out_EventHandle, uint32_t DesiredAccess, struct NtObjectAttributes *ObjectAttributes, int EventType, int32_t InitialState); NtStatus NtWaitForSingleObject(void *ObjectHandle, int32_t Alertable, int64_t *TimeOut); NtStatus NtSetEvent(void *EventHandle, int32_t *opt_out_PreviousState); NtStatus NtClearEvent(void *EventHandle); NtStatus NtSignalAndWaitForSingleObject(void *ObjectToSignal, void *WaitableObject, int32_t Alertable, int64_t *opt_Time); NtStatus NtQueryPerformanceCounter(int64_t *out_PerformanceCount, int64_t *opt_out_PerformanceFrequency); NtStatus NtFsControlFile(int64_t FileHandle, void *opt_Event, NtIoApcRoutine opt_ApcRoutine, void *opt_ApcContext, struct NtIoStatusBlock *out_IoStatusBlock, uint32_t FsControlCode, void *opt_InputBuffer, uint32_t InputBufferLength, void *opt_out_OutputBuffer, uint32_t OutputBufferLength); NtStatus NtCancelIoFile(int64_t FileHandle, struct NtIoStatusBlock *out_IoStatusBlock); NtStatus NtCreateProfile(void **out_ProfileHandle, int64_t ProcessHandle, void *Base, uint32_t Size, uint32_t BucketShift, uint32_t *Buffer, uint32_t BufferLength, int Source, uint32_t ProcessorMask); NtStatus NtSetIntervalProfile(uint32_t Interval, int Source); NtStatus NtQueryIntervalProfile(int Source, uint32_t *out_Interval); NtStatus NtStartProfile(void *ProfileHandle); NtStatus NtStopProfile(void *ProfileHandle); NtStatus NtCreateDirectoryObject(int64_t *out_DirectoryHandle, uint32_t DesiredAccess, struct NtObjectAttributes *ObjectAttributes); NtStatus NtOpenDirectoryObject(int64_t *out_DirectoryHandle, uint32_t DesiredAccess, struct NtObjectAttributes *ObjectAttributes); NtStatus NtOpenSymbolicLinkObject(int64_t *out_DirectoryHandle, uint32_t DesiredAccess, struct NtObjectAttributes *ObjectAttributes); NtStatus NtQuerySymbolicLinkObject(int64_t DirectoryHandle, struct NtUnicodeString *inout_TargetName, uint32_t *opt_out_ReturnLength); NtStatus ZwAreMappedFilesTheSame(void *Address1, void *Address2); NtStatus NtQueryVolumeInformationFile(int64_t FileHandle, struct NtIoStatusBlock *out_IoStatusBlock, void *out_FsInformation, uint32_t Length, uint32_t FsInformationClass); NtStatus NtQuerySecurityObject( int64_t handle, int RequestedInformation, struct NtSecurityDescriptor *out_SecurityDescriptor, uint32_t SecurityDescriptorLength, uint32_t *out_ReturnLength); NtStatus NtQueueApcThread(int64_t ThreadHandle, NtPkNormalRoutine ApcRoutine, void *opt_ApcContext, void *opt_Argument1, void *opt_Argument2); NtStatus NtFlushInstructionCache(int64_t ProcessHandle, void *opt_BaseAddress, size_t FlushSize); NtStatus NtQueryAttributesFile(const struct NtObjectAttributes *object, struct NtFileBasicInformation *file_information); NtStatus NtQueryDirectoryFile( int64_t FileHandle, void *opt_Event, NtIoApcRoutine opt_ApcRoutine, void *opt_ApcContext, struct NtIoStatusBlock *out_IoStatusBlock, void *out_FileInformation, uint32_t FileInformationLength, uint32_t FileInformationClass, int32_t ReturnSingleEntry, struct NtUnicodeString *opt_FileName, int32_t RestartScan); NtStatus NtFlushVirtualMemory(int64_t ProcessHandle, void **inout_BaseAddress, uint32_t **inout_FlushSize, struct NtIoStatusBlock *out_IoStatusBlock); NtStatus NtQueryInformationJobObject(void *JobHandle, int JobInformationClass, void *out_JobInformation, uint32_t JobInformationLength, uint32_t *opt_out_ReturnLength); /*───────────────────────────────────────────────────────────────────────────│─╗ │ cosmopolitan § new technology » beyond the pale » runtime library ─╬─│┼ ╚────────────────────────────────────────────────────────────────────────────│*/ NtStatus RtlInitializeCriticalSection(struct NtCriticalSection *out_crit); NtStatus RtlDeleteCriticalSection(struct NtCriticalSection *crit); NtStatus RtlEnterCriticalSection(struct NtCriticalSection *inout_crit); NtStatus RtlLeaveCriticalSection(struct NtCriticalSection *inout_crit); NtStatus RtlTryEnterCriticalSection(struct NtCriticalSection *inout_crit); NtStatus RtlInitUnicodeString(struct NtUnicodeString *inout_DestinationString, const char16_t *SourceString); void RtlFreeUnicodeString(struct NtUnicodeString **string); NtStatus RtlQueryEnvironmentVariable_U(char16_t *Environment, struct NtUnicodeString *Name, struct NtUnicodeString *Value); NtStatus RtlConvertSidToUnicodeString(struct NtUnicodeString *out_UnicodeString, void *Sid, int32_t AllocateDestinationString); void *RtlCreateHeap(uint32_t flags, void *base, size_t reserve_sz, size_t commit_sz, void *lock, void *params); NtStatus RtlDestroyHeap(void *base); void *RtlAllocateHeap(int64_t heap, uint32_t flags, size_t size); void *RtlReAllocateHeap(int64_t heap, uint32_t flags, void *ptr, size_t size); NtStatus RtlFreeHeap(int64_t heap, uint32_t flags, void *ptr); size_t RtlSizeHeap(int64_t heap, uint32_t flags, void *ptr); NtStatus RtlValidateHeap(int64_t heap, uint32_t flags, void *ptr); NtStatus RtlLockHeap(int64_t heap); NtStatus RtlUnlockHeap(int64_t heap); NtStatus RtlGetProcessHeaps(uint32_t count, void **out_Heaps); NtStatus RtlWalkHeap(int64_t heap, void *out_Info); #if ShouldUseMsabiAttribute() #include "libc/nt/thunk/ntdll.inc" #endif /* ShouldUseMsabiAttribute() */ COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LIBC_NT_NTDLL_H_ */
16,127
234
jart/cosmopolitan
false
cosmopolitan/libc/nt/signals.h
#ifndef COSMOPOLITAN_LIBC_NT_EXCEPTIONS_H_ #define COSMOPOLITAN_LIBC_NT_EXCEPTIONS_H_ #include "libc/nt/struct/context.h" #include "libc/nt/struct/ntexceptionpointers.h" #include "libc/nt/thunk/msabi.h" /* ░░░░ ▒▒▒░░░▒▒▒▒▒▒▒▓▓▓░ ▒▒▒▒░░░▒▒▒▒▒▒▓▓▓▓▓▓░ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓▓ ▒▓░ ▒▒▒░░░░▒▒▒▒▒▒▓▓▓▓▓▓ ▓▓▓▓▓▓▒ ▒▒▒▓▓█ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▓ ░▒▒▒░░░░▒▒▒▒▒▒▓▓▓▓▓▓ █▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓█ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓░ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▓ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓▓ ▒▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▒ ▒▒▒▒▓▓ ▓▒▒▓▓▓▓ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓█ ▒▓ ▓▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓ ░░░░░░░░░░░▒▒▒▒ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓█ ▒▒░░░░░░░░░░▒▒▒▒▒▓▓▓ ▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▓ ░▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▓░ ░▓███▓ ▒▒░░░░░░░░░░▒▒▒▒▒▓▓░ ▒▓▓▓▒▒▒ ░▒▒▒▓ ████████████ ▒▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▒▓▓▓▓▒▒▒▒▒▒▒▒░░░▒▒▒▒▒░ ░███ ▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▓▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▓ ███ ▒▒░░░░░░░░░░▒▒▒▒▒▒▓▓ ▒▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▒ ▓██ ▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▓▓▓▓▒▒▒▒▒▒▒▒░░░▒▒▒▒▒▓ ▓██ ▒▒░░░▒▒▒░░░▒▒░▒▒▒▓▓▒ ▒▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▒ ███ ░▒▓ ░▓▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▓ ▓██ ╔────────────────────────────────────────────────────────────────▀▀▀─────────│─╗ │ cosmopolitan § new technology » signals ─╬─│┼ ╚────────────────────────────────────────────────────────────────────────────│*/ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ typedef int (*NtTopLevelExceptionFilter)(const struct NtExceptionPointers *); typedef int32_t (*NtVectoredExceptionHandler)(struct NtExceptionPointers *); int SetErrorMode(int uMode); int64_t AddVectoredExceptionHandler(uint32_t First, NtVectoredExceptionHandler pHandler); int64_t AddVectoredContinueHandler(uint32_t First, NtVectoredExceptionHandler pHandler); uint32_t RemoveVectoredExceptionHandler(int64_t hHandle); uint32_t RemoveVectoredContinueHandler(int64_t hHandle); NtTopLevelExceptionFilter SetUnhandledExceptionFilter( NtTopLevelExceptionFilter opt_lpTopLevelExceptionFilter); #if ShouldUseMsabiAttribute() #include "libc/nt/thunk/signals.inc" #endif /* ShouldUseMsabiAttribute() */ COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LIBC_NT_EXCEPTIONS_H_ */
4,439
56
jart/cosmopolitan
false
cosmopolitan/libc/nt/codegen.h
#ifndef COSMOPOLITAN_LIBC_NT_CODEGEN_H_ #define COSMOPOLITAN_LIBC_NT_CODEGEN_H_ #include "ape/idata.internal.h" #include "ape/macros.internal.h" #endif /* COSMOPOLITAN_LIBC_NT_CODEGEN_H_ */
190
6
jart/cosmopolitan
false
cosmopolitan/libc/nt/privilege.h
#ifndef COSMOPOLITAN_LIBC_NT_PRIVILEGE_H_ #define COSMOPOLITAN_LIBC_NT_PRIVILEGE_H_ #include "libc/nt/struct/luid.h" #include "libc/nt/struct/tokenprivileges.h" /* ░░░░ ▒▒▒░░░▒▒▒▒▒▒▒▓▓▓░ ▒▒▒▒░░░▒▒▒▒▒▒▓▓▓▓▓▓░ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓▓ ▒▓░ ▒▒▒░░░░▒▒▒▒▒▒▓▓▓▓▓▓ ▓▓▓▓▓▓▒ ▒▒▒▓▓█ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▓ ░▒▒▒░░░░▒▒▒▒▒▒▓▓▓▓▓▓ █▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓█ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓░ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▓ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓▓ ▒▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▒ ▒▒▒▒▓▓ ▓▒▒▓▓▓▓ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓█ ▒▓ ▓▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓ ░░░░░░░░░░░▒▒▒▒ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓█ ▒▒░░░░░░░░░░▒▒▒▒▒▓▓▓ ▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▓ ░▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▓░ ░▓███▓ ▒▒░░░░░░░░░░▒▒▒▒▒▓▓░ ▒▓▓▓▒▒▒ ░▒▒▒▓ ████████████ ▒▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▒▓▓▓▓▒▒▒▒▒▒▒▒░░░▒▒▒▒▒░ ░███ ▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▓▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▓ ███ ▒▒░░░░░░░░░░▒▒▒▒▒▒▓▓ ▒▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▒ ▓██ ▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▓▓▓▓▒▒▒▒▒▒▒▒░░░▒▒▒▒▒▓ ▓██ ▒▒░░░▒▒▒░░░▒▒░▒▒▒▓▓▒ ▒▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▒ ███ ░▒▓ ░▓▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▓ ▓██ ╔────────────────────────────────────────────────────────────────▀▀▀─────────│─╗ │ cosmopolitan § new technology » check your privilege ─╬─│┼ ╚────────────────────────────────────────────────────────────────────────────│*/ #define kNtSePrivilegeEnabledByDefault 0x00000001u #define kNtSePrivilegeEnabled 0x00000002u #define kNtSePrivilegeRemoved 0x00000004u #define kNtSePrivilegeUsedForAccess 0x80000000u #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ bool32 LookupPrivilegeValue(const char16_t *opt_lpSystemName, const char16_t *lpName, struct NtLuid *out_lpLuid); bool32 AdjustTokenPrivileges(int64_t TokenHandle, bool32 DisableAllPrivileges, const struct NtTokenPrivileges *opt_NewState, uint32_t BufferLength, struct NtTokenPrivileges *opt_out_PreviousState, uint32_t *opt_out_ReturnLength); bool32 ImpersonateSelf(int kNtSecurityImpersonationLevel); bool32 RevertToSelf(void); COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LIBC_NT_PRIVILEGE_H_ */
4,401
53
jart/cosmopolitan
false
cosmopolitan/libc/nt/system.h
#ifndef COSMOPOLITAN_LIBC_NT_SYSTEM_H_ #define COSMOPOLITAN_LIBC_NT_SYSTEM_H_ /* ░░░░ ▒▒▒░░░▒▒▒▒▒▒▒▓▓▓░ ▒▒▒▒░░░▒▒▒▒▒▒▓▓▓▓▓▓░ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓▓ ▒▓░ ▒▒▒░░░░▒▒▒▒▒▒▓▓▓▓▓▓ ▓▓▓▓▓▓▒ ▒▒▒▓▓█ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▓ ░▒▒▒░░░░▒▒▒▒▒▒▓▓▓▓▓▓ █▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓█ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓░ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▓ ▒▒▒▒░░░▒▒▒▒▒▒▒▓▓▓▓▓▓ ▒▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▒ ▒▒▒▒▓▓ ▓▒▒▓▓▓▓ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓█ ▒▓ ▓▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓ ░░░░░░░░░░░▒▒▒▒ ▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓█ ▒▒░░░░░░░░░░▒▒▒▒▒▓▓▓ ▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▓ ░▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▓░ ░▓███▓ ▒▒░░░░░░░░░░▒▒▒▒▒▓▓░ ▒▓▓▓▒▒▒ ░▒▒▒▓ ████████████ ▒▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▒▓▓▓▓▒▒▒▒▒▒▒▒░░░▒▒▒▒▒░ ░███ ▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▓▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▓ ███ ▒▒░░░░░░░░░░▒▒▒▒▒▒▓▓ ▒▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▒ ▓██ ▒░░░░░░░░░░░▒▒▒▒▒▓▓ ▓▓▓▓▒▒▒▒▒▒▒▒░░░▒▒▒▒▒▓ ▓██ ▒▒░░░▒▒▒░░░▒▒░▒▒▒▓▓▒ ▒▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▒ ███ ░▒▓ ░▓▓▓▓▒▒▒▒▒▒▒▒░░░░▒▒▒▒▓ ▓██ ╔────────────────────────────────────────────────────────────────▀▀▀─────────│─╗ │ cosmopolitan § new technology » system control ─╬─│┼ ╚────────────────────────────────────────────────────────────────────────────│*/ #if !(__ASSEMBLER__ + __LINKER__ + 0) COSMOPOLITAN_C_START_ bool32 SetSuspendState(bool32 bHibernate, bool32 bForce, bool32 bWakeupEventsDisabled); uint32_t InitiateShutdown(const char16_t *lpMachineName, const char16_t *lpMessage, uint32_t dwGracePeriod, uint32_t dwShutdownFlags, uint32_t dwReason); COSMOPOLITAN_C_END_ #endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ #endif /* COSMOPOLITAN_LIBC_NT_SYSTEM_H_ */
3,851
40
jart/cosmopolitan
false
cosmopolitan/libc/nt/API-MS-Win-Core-Synch-l1-2-0/WakeByAddressSingle.S
#include "libc/nt/codegen.h" .imp API-MS-Win-Core-Synch-l1-2-0,__imp_WakeByAddressSingle,WakeByAddressSingle,116 .text.windows WakeByAddressSingle: #ifdef __x86_64__ push %rbp mov %rsp,%rbp .profilable mov %rdi,%rcx sub $32,%rsp call *__imp_WakeByAddressSingle(%rip) leave #elif defined(__aarch64__) mov x0,#0 #endif ret .endfn WakeByAddressSingle,globl .previous
377
20
jart/cosmopolitan
false
cosmopolitan/libc/nt/API-MS-Win-Core-Synch-l1-2-0/WakeByAddressAll.S
#include "libc/nt/codegen.h" .imp API-MS-Win-Core-Synch-l1-2-0,__imp_WakeByAddressAll,WakeByAddressAll,113 .text.windows WakeByAddressAll: #ifdef __x86_64__ push %rbp mov %rsp,%rbp .profilable mov %rdi,%rcx sub $32,%rsp call *__imp_WakeByAddressAll(%rip) leave #elif defined(__aarch64__) mov x0,#0 #endif ret .endfn WakeByAddressAll,globl .previous
362
20
jart/cosmopolitan
false
cosmopolitan/libc/nt/API-MS-Win-Core-Synch-l1-2-0/WaitOnAddress.S
#include "libc/nt/codegen.h" .imp API-MS-Win-Core-Synch-l1-2-0,__imp_WaitOnAddress,WaitOnAddress,111 .text.windows WaitOnAddress: #ifdef __x86_64__ push %rbp mov %rsp,%rbp .profilable mov __imp_WaitOnAddress(%rip),%rax jmp __sysv2nt #elif defined(__aarch64__) mov x0,#0 ret #endif .endfn WaitOnAddress,globl .previous
329
18
jart/cosmopolitan
false
cosmopolitan/libc/nt/pdh/PdhExpandCounterPathW.S
#include "libc/nt/codegen.h" .imp pdh,__imp_PdhExpandCounterPathW,PdhExpandCounterPathW,0
90
3
jart/cosmopolitan
false
cosmopolitan/libc/nt/pdh/PerfSetULongLongCounterValue.S
#include "libc/nt/codegen.h" .imp pdh,__imp_PerfSetULongLongCounterValue,PerfSetULongLongCounterValue,0
104
3
jart/cosmopolitan
false
cosmopolitan/libc/nt/pdh/PerfIncrementULongLongCounterValue.S
#include "libc/nt/codegen.h" .imp pdh,__imp_PerfIncrementULongLongCounterValue,PerfIncrementULongLongCounterValue,0
116
3
jart/cosmopolitan
false
cosmopolitan/libc/nt/pdh/PerfSetCounterSetInfo.S
#include "libc/nt/codegen.h" .imp pdh,__imp_PerfSetCounterSetInfo,PerfSetCounterSetInfo,0
90
3
jart/cosmopolitan
false
cosmopolitan/libc/nt/pdh/PdhGetRawCounterArrayW.S
#include "libc/nt/codegen.h" .imp pdh,__imp_PdhGetRawCounterArrayW,PdhGetRawCounterArrayW,0
92
3
jart/cosmopolitan
false
cosmopolitan/libc/nt/pdh/PerfSetCounterRefValue.S
#include "libc/nt/codegen.h" .imp pdh,__imp_PerfSetCounterRefValue,PerfSetCounterRefValue,0
92
3
jart/cosmopolitan
false
cosmopolitan/libc/nt/pdh/UnloadPerfCounterTextStringsW.S
#include "libc/nt/codegen.h" .imp pdh,__imp_UnloadPerfCounterTextStringsW,UnloadPerfCounterTextStringsW,0
106
3
jart/cosmopolitan
false
cosmopolitan/libc/nt/pdh/PdhCloseQuery.S
#include "libc/nt/codegen.h" .imp pdh,__imp_PdhCloseQuery,PdhCloseQuery,0
74
3
jart/cosmopolitan
false
cosmopolitan/libc/nt/pdh/PdhGetCounterInfoW.S
#include "libc/nt/codegen.h" .imp pdh,__imp_PdhGetCounterInfoW,PdhGetCounterInfoW,0
84
3
jart/cosmopolitan
false
cosmopolitan/libc/nt/pdh/PdhGetDataSourceTimeRangeW.S
#include "libc/nt/codegen.h" .imp pdh,__imp_PdhGetDataSourceTimeRangeW,PdhGetDataSourceTimeRangeW,0
100
3
jart/cosmopolitan
false
cosmopolitan/libc/nt/pdh/PerfStartProvider.S
#include "libc/nt/codegen.h" .imp pdh,__imp_PerfStartProvider,PerfStartProvider,0
82
3
jart/cosmopolitan
false
cosmopolitan/libc/nt/pdh/PdhSelectDataSourceW.S
#include "libc/nt/codegen.h" .imp pdh,__imp_PdhSelectDataSourceW,PdhSelectDataSourceW,0
88
3
jart/cosmopolitan
false
cosmopolitan/libc/nt/pdh/PerfQueryInstance.S
#include "libc/nt/codegen.h" .imp pdh,__imp_PerfQueryInstance,PerfQueryInstance,0
82
3
jart/cosmopolitan
false
cosmopolitan/libc/nt/pdh/PdhUpdateLogW.S
#include "libc/nt/codegen.h" .imp pdh,__imp_PdhUpdateLogW,PdhUpdateLogW,0
74
3
jart/cosmopolitan
false
cosmopolitan/libc/nt/pdh/PerfEnumerateCounterSetInstances.S
#include "libc/nt/codegen.h" .imp pdh,__imp_PerfEnumerateCounterSetInstances,PerfEnumerateCounterSetInstances,0
112
3
jart/cosmopolitan
false
cosmopolitan/libc/nt/pdh/PdhGetCounterTimeBase.S
#include "libc/nt/codegen.h" .imp pdh,__imp_PdhGetCounterTimeBase,PdhGetCounterTimeBase,0
90
3
jart/cosmopolitan
false
cosmopolitan/libc/nt/pdh/PdhEnumObjectsHW.S
#include "libc/nt/codegen.h" .imp pdh,__imp_PdhEnumObjectsHW,PdhEnumObjectsHW,0
80
3
jart/cosmopolitan
false
cosmopolitan/libc/nt/pdh/PdhRemoveCounter.S
#include "libc/nt/codegen.h" .imp pdh,__imp_PdhRemoveCounter,PdhRemoveCounter,0
80
3
jart/cosmopolitan
false
cosmopolitan/libc/nt/pdh/PdhGetRawCounterValue.S
#include "libc/nt/codegen.h" .imp pdh,__imp_PdhGetRawCounterValue,PdhGetRawCounterValue,0
90
3
jart/cosmopolitan
false
cosmopolitan/libc/nt/pdh/PerfIncrementULongCounterValue.S
#include "libc/nt/codegen.h" .imp pdh,__imp_PerfIncrementULongCounterValue,PerfIncrementULongCounterValue,0
108
3
jart/cosmopolitan
false
cosmopolitan/libc/nt/pdh/PerfQueryCounterInfo.S
#include "libc/nt/codegen.h" .imp pdh,__imp_PerfQueryCounterInfo,PerfQueryCounterInfo,0
88
3
jart/cosmopolitan
false
cosmopolitan/libc/nt/pdh/PdhConnectMachineW.S
#include "libc/nt/codegen.h" .imp pdh,__imp_PdhConnectMachineW,PdhConnectMachineW,0
84
3
jart/cosmopolitan
false
cosmopolitan/libc/nt/pdh/PdhUpdateLogFileCatalog.S
#include "libc/nt/codegen.h" .imp pdh,__imp_PdhUpdateLogFileCatalog,PdhUpdateLogFileCatalog,0
94
3
jart/cosmopolitan
false
cosmopolitan/libc/nt/pdh/PerfAddCounters.S
#include "libc/nt/codegen.h" .imp pdh,__imp_PerfAddCounters,PerfAddCounters,0
78
3
jart/cosmopolitan
false
cosmopolitan/libc/nt/pdh/PdhCalculateCounterFromRawValue.S
#include "libc/nt/codegen.h" .imp pdh,__imp_PdhCalculateCounterFromRawValue,PdhCalculateCounterFromRawValue,0
110
3
jart/cosmopolitan
false
cosmopolitan/libc/nt/pdh/PdhGetDefaultPerfCounterHW.S
#include "libc/nt/codegen.h" .imp pdh,__imp_PdhGetDefaultPerfCounterHW,PdhGetDefaultPerfCounterHW,0
100
3
jart/cosmopolitan
false
cosmopolitan/libc/nt/pdh/PerfQueryCounterData.S
#include "libc/nt/codegen.h" .imp pdh,__imp_PerfQueryCounterData,PerfQueryCounterData,0
88
3
jart/cosmopolitan
false
cosmopolitan/libc/nt/pdh/PdhValidatePathExW.S
#include "libc/nt/codegen.h" .imp pdh,__imp_PdhValidatePathExW,PdhValidatePathExW,0
84
3
jart/cosmopolitan
false