Upgrade libuv to 5b567b2
authorRyan Dahl <ry@tinyclouds.org>
Thu, 8 Sep 2011 21:29:12 +0000 (14:29 -0700)
committerRyan Dahl <ry@tinyclouds.org>
Thu, 8 Sep 2011 21:29:12 +0000 (14:29 -0700)
20 files changed:
deps/uv/AUTHORS
deps/uv/config-unix.mk
deps/uv/src/ares/config_netbsd/ares_config.h [new file with mode: 0644]
deps/uv/src/unix/core.c
deps/uv/src/unix/eio/config_netbsd.h [new file with mode: 0644]
deps/uv/src/unix/ev/config_netbsd.h [new file with mode: 0644]
deps/uv/src/unix/internal.h
deps/uv/src/unix/netbsd.c [new file with mode: 0644]
deps/uv/src/unix/stream.c
deps/uv/src/win/fs.c
deps/uv/src/win/getaddrinfo.c
deps/uv/src/win/process.c
deps/uv/src/win/winapi.h
deps/uv/test/run-tests.c
deps/uv/test/test-fs.c
deps/uv/test/test-get-currentexe.c
deps/uv/test/test-list.h
deps/uv/test/test-spawn.c
deps/uv/test/test-tcp-close.c [new file with mode: 0644]
deps/uv/uv.gyp

index 84bd0fc..b790284 100644 (file)
@@ -19,3 +19,5 @@ Andrea Lattuada <ndr.lattuada@gmail.com>
 Augusto Henrique Hentz <ahhentz@gmail.com>
 Clifford Heath <clifford.heath@gmail.com>
 Jorge Chamorro Bieling <jorge@jorgechamorro.com>
+Luis Lavena <luislavena@gmail.com>
+Matthew Sporleder <msporleder@gmail.com>
index 7aa3a16..49e0e3b 100644 (file)
@@ -72,6 +72,14 @@ LINKFLAGS+=
 OBJS += src/unix/freebsd.o
 endif
 
+ifeq (NetBSD,$(uname_S))
+EV_CONFIG=config_netbsd.h
+EIO_CONFIG=config_netbsd.h
+CPPFLAGS += -Isrc/ares/config_netbsd
+LINKFLAGS+=
+OBJS += src/unix/netbsd.o
+endif
+
 ifneq (,$(findstring CYGWIN,$(uname_S)))
 EV_CONFIG=config_cygwin.h
 EIO_CONFIG=config_cygwin.h
diff --git a/deps/uv/src/ares/config_netbsd/ares_config.h b/deps/uv/src/ares/config_netbsd/ares_config.h
new file mode 100644 (file)
index 0000000..5e3ae68
--- /dev/null
@@ -0,0 +1,510 @@
+/* ares_config.h.  Generated from ares_config.h.in by configure.  */
+/* ares_config.h.in.  Generated from configure.ac by autoheader.  */
+
+/* Define if building universal (internal helper macro) */
+/* #undef AC_APPLE_UNIVERSAL_BUILD */
+
+/* define this if ares is built for a big endian system */
+/* #undef ARES_BIG_ENDIAN */
+
+/* when building as static part of libcurl */
+/* #undef BUILDING_LIBCURL */
+
+/* when building c-ares library */
+/* #undef CARES_BUILDING_LIBRARY */
+
+/* when not building a shared library */
+/* #undef CARES_STATICLIB */
+
+/* Define to 1 to enable hiding of library internal symbols. */
+/* #undef CARES_SYMBOL_HIDING */
+
+/* Definition to make a library symbol externally visible. */
+/* #undef CARES_SYMBOL_SCOPE_EXTERN */
+
+/* if a /etc/inet dir is being used */
+/* #undef ETC_INET */
+
+/* Define to the type qualifier of arg 1 for getnameinfo. */
+#define GETNAMEINFO_QUAL_ARG1 const
+
+/* Define to the type of arg 1 for getnameinfo. */
+#define GETNAMEINFO_TYPE_ARG1 struct sockaddr *
+
+/* Define to the type of arg 2 for getnameinfo. */
+#define GETNAMEINFO_TYPE_ARG2 socklen_t
+
+/* Define to the type of args 4 and 6 for getnameinfo. */
+#define GETNAMEINFO_TYPE_ARG46 size_t
+
+/* Define to the type of arg 7 for getnameinfo. */
+#define GETNAMEINFO_TYPE_ARG7 int
+
+/* Specifies the number of arguments to getservbyport_r */
+#define GETSERVBYPORT_R_ARGS 4
+
+/* Specifies the size of the buffer to pass to getservbyport_r */
+#define GETSERVBYPORT_R_BUFSIZE sizeof(struct servent_data)
+
+/* Define to 1 if you have AF_INET6. */
+#define HAVE_AF_INET6 1
+
+/* Define to 1 if you have the <arpa/inet.h> header file. */
+#define HAVE_ARPA_INET_H 1
+
+/* Define to 1 if you have the <arpa/nameser_compat.h> header file. */
+/* #undef HAVE_ARPA_NAMESER_COMPAT_H */
+
+/* Define to 1 if you have the <arpa/nameser.h> header file. */
+#define HAVE_ARPA_NAMESER_H 1
+
+/* Define to 1 if you have the <assert.h> header file. */
+#define HAVE_ASSERT_H 1
+
+/* Define to 1 if you have the `bitncmp' function. */
+/* #undef HAVE_BITNCMP */
+
+/* Define to 1 if bool is an available type. */
+#define HAVE_BOOL_T 1
+
+/* Define to 1 if you have the clock_gettime function and monotonic timer. */
+#define HAVE_CLOCK_GETTIME_MONOTONIC 1
+
+/* Define to 1 if you have the closesocket function. */
+/* #undef HAVE_CLOSESOCKET */
+
+/* Define to 1 if you have the CloseSocket camel case function. */
+/* #undef HAVE_CLOSESOCKET_CAMEL */
+
+/* Define to 1 if you have the connect function. */
+#define HAVE_CONNECT 1
+
+/* Define to 1 if you have the <dlfcn.h> header file. */
+#define HAVE_DLFCN_H 1
+
+/* Define to 1 if you have the <errno.h> header file. */
+#define HAVE_ERRNO_H 1
+
+/* Define to 1 if you have the fcntl function. */
+#define HAVE_FCNTL 1
+
+/* Define to 1 if you have the <fcntl.h> header file. */
+#define HAVE_FCNTL_H 1
+
+/* Define to 1 if you have a working fcntl O_NONBLOCK function. */
+#define HAVE_FCNTL_O_NONBLOCK 1
+
+/* Define to 1 if you have the freeaddrinfo function. */
+#define HAVE_FREEADDRINFO 1
+
+/* Define to 1 if you have a working getaddrinfo function. */
+#define HAVE_GETADDRINFO 1
+
+/* Define to 1 if the getaddrinfo function is threadsafe. */
+/* #undef HAVE_GETADDRINFO_THREADSAFE */
+
+/* Define to 1 if you have the gethostbyaddr function. */
+#define HAVE_GETHOSTBYADDR 1
+
+/* Define to 1 if you have the gethostbyname function. */
+#define HAVE_GETHOSTBYNAME 1
+
+/* Define to 1 if you have the gethostname function. */
+#define HAVE_GETHOSTNAME 1
+
+/* Define to 1 if you have the getnameinfo function. */
+#define HAVE_GETNAMEINFO 1
+
+/* Define to 1 if you have the getservbyport_r function. */
+#define HAVE_GETSERVBYPORT_R 1
+
+/* Define to 1 if you have the `gettimeofday' function. */
+#define HAVE_GETTIMEOFDAY 1
+
+/* Define to 1 if you have the `if_indextoname' function. */
+#define HAVE_IF_INDEXTONAME 1
+
+/* Define to 1 if you have the `inet_net_pton' function. */
+#define HAVE_INET_NET_PTON 1
+
+/* Define to 1 if inet_net_pton supports IPv6. */
+/* #undef HAVE_INET_NET_PTON_IPV6 */
+
+/* Define to 1 if you have a IPv6 capable working inet_ntop function. */
+#define HAVE_INET_NTOP 1
+
+/* Define to 1 if you have a IPv6 capable working inet_pton function. */
+#define HAVE_INET_PTON 1
+
+/* Define to 1 if you have the <inttypes.h> header file. */
+#define HAVE_INTTYPES_H 1
+
+/* Define to 1 if you have the ioctl function. */
+#define HAVE_IOCTL 1
+
+/* Define to 1 if you have the ioctlsocket function. */
+/* #undef HAVE_IOCTLSOCKET */
+
+/* Define to 1 if you have the IoctlSocket camel case function. */
+/* #undef HAVE_IOCTLSOCKET_CAMEL */
+
+/* Define to 1 if you have a working IoctlSocket camel case FIONBIO function.
+   */
+/* #undef HAVE_IOCTLSOCKET_CAMEL_FIONBIO */
+
+/* Define to 1 if you have a working ioctlsocket FIONBIO function. */
+/* #undef HAVE_IOCTLSOCKET_FIONBIO */
+
+/* Define to 1 if you have a working ioctl FIONBIO function. */
+#define HAVE_IOCTL_FIONBIO 1
+
+/* Define to 1 if you have a working ioctl SIOCGIFADDR function. */
+#define HAVE_IOCTL_SIOCGIFADDR 1
+
+/* Define to 1 if you have the `resolve' library (-lresolve). */
+/* #undef HAVE_LIBRESOLVE */
+
+/* Define to 1 if you have the <limits.h> header file. */
+#define HAVE_LIMITS_H 1
+
+/* if your compiler supports LL */
+#define HAVE_LL 1
+
+/* Define to 1 if the compiler supports the 'long long' data type. */
+#define HAVE_LONGLONG 1
+
+/* Define to 1 if you have the malloc.h header file. */
+#define HAVE_MALLOC_H 1
+
+/* Define to 1 if you have the memory.h header file. */
+#define HAVE_MEMORY_H 1
+
+/* Define to 1 if you have the MSG_NOSIGNAL flag. */
+/* #undef HAVE_MSG_NOSIGNAL */
+
+/* Define to 1 if you have the <netdb.h> header file. */
+#define HAVE_NETDB_H 1
+
+/* Define to 1 if you have the <netinet/in.h> header file. */
+#define HAVE_NETINET_IN_H 1
+
+/* Define to 1 if you have the <netinet/tcp.h> header file. */
+#define HAVE_NETINET_TCP_H 1
+
+/* Define to 1 if you have the <net/if.h> header file. */
+#define HAVE_NET_IF_H 1
+
+/* Define to 1 if you have PF_INET6. */
+#define HAVE_PF_INET6 1
+
+/* Define to 1 if you have the recv function. */
+#define HAVE_RECV 1
+
+/* Define to 1 if you have the recvfrom function. */
+#define HAVE_RECVFROM 1
+
+/* Define to 1 if you have the send function. */
+#define HAVE_SEND 1
+
+/* Define to 1 if you have the setsockopt function. */
+#define HAVE_SETSOCKOPT 1
+
+/* Define to 1 if you have a working setsockopt SO_NONBLOCK function. */
+/* #undef HAVE_SETSOCKOPT_SO_NONBLOCK */
+
+/* Define to 1 if you have the <signal.h> header file. */
+#define HAVE_SIGNAL_H 1
+
+/* Define to 1 if sig_atomic_t is an available typedef. */
+#define HAVE_SIG_ATOMIC_T 1
+
+/* Define to 1 if sig_atomic_t is already defined as volatile. */
+/* #undef HAVE_SIG_ATOMIC_T_VOLATILE */
+
+/* Define to 1 if your struct sockaddr_in6 has sin6_scope_id. */
+#define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
+
+/* Define to 1 if you have the socket function. */
+#define HAVE_SOCKET 1
+
+/* Define to 1 if you have the <socket.h> header file. */
+/* #undef HAVE_SOCKET_H */
+
+/* Define to 1 if you have the <stdbool.h> header file. */
+#define HAVE_STDBOOL_H 1
+
+/* Define to 1 if you have the <stdint.h> header file. */
+#define HAVE_STDINT_H 1
+
+/* Define to 1 if you have the <stdlib.h> header file. */
+#define HAVE_STDLIB_H 1
+
+/* Define to 1 if you have the strcasecmp function. */
+#define HAVE_STRCASECMP 1
+
+/* Define to 1 if you have the strcmpi function. */
+/* #undef HAVE_STRCMPI */
+
+/* Define to 1 if you have the strdup function. */
+#define HAVE_STRDUP 1
+
+/* Define to 1 if you have the stricmp function. */
+/* #undef HAVE_STRICMP */
+
+/* Define to 1 if you have the <strings.h> header file. */
+#define HAVE_STRINGS_H 1
+
+/* Define to 1 if you have the <string.h> header file. */
+#define HAVE_STRING_H 1
+
+/* Define to 1 if you have the strncasecmp function. */
+#define HAVE_STRNCASECMP 1
+
+/* Define to 1 if you have the strncmpi function. */
+/* #undef HAVE_STRNCMPI */
+
+/* Define to 1 if you have the strnicmp function. */
+/* #undef HAVE_STRNICMP */
+
+/* Define to 1 if you have the <stropts.h> header file. */
+/* #undef HAVE_STROPTS_H */
+
+/* Define to 1 if you have struct addrinfo. */
+#define HAVE_STRUCT_ADDRINFO 1
+
+/* Define to 1 if you have struct in6_addr. */
+#define HAVE_STRUCT_IN6_ADDR 1
+
+/* Define to 1 if you have struct sockaddr_in6. */
+#define HAVE_STRUCT_SOCKADDR_IN6 1
+
+/* if struct sockaddr_storage is defined */
+#define HAVE_STRUCT_SOCKADDR_STORAGE 1
+
+/* Define to 1 if you have the timeval struct. */
+#define HAVE_STRUCT_TIMEVAL 1
+
+/* Define to 1 if you have the <sys/ioctl.h> header file. */
+#define HAVE_SYS_IOCTL_H 1
+
+/* Define to 1 if you have the <sys/param.h> header file. */
+#define HAVE_SYS_PARAM_H 1
+
+/* Define to 1 if you have the <sys/select.h> header file. */
+#define HAVE_SYS_SELECT_H 1
+
+/* Define to 1 if you have the <sys/socket.h> header file. */
+#define HAVE_SYS_SOCKET_H 1
+
+/* Define to 1 if you have the <sys/stat.h> header file. */
+#define HAVE_SYS_STAT_H 1
+
+/* Define to 1 if you have the <sys/time.h> header file. */
+#define HAVE_SYS_TIME_H 1
+
+/* Define to 1 if you have the <sys/types.h> header file. */
+#define HAVE_SYS_TYPES_H 1
+
+/* Define to 1 if you have the <sys/uio.h> header file. */
+#define HAVE_SYS_UIO_H 1
+
+/* Define to 1 if you have the <time.h> header file. */
+#define HAVE_TIME_H 1
+
+/* Define to 1 if you have the <unistd.h> header file. */
+#define HAVE_UNISTD_H 1
+
+/* Define to 1 if you have the windows.h header file. */
+/* #undef HAVE_WINDOWS_H */
+
+/* Define to 1 if you have the winsock2.h header file. */
+/* #undef HAVE_WINSOCK2_H */
+
+/* Define to 1 if you have the winsock.h header file. */
+/* #undef HAVE_WINSOCK_H */
+
+/* Define to 1 if you have the writev function. */
+#define HAVE_WRITEV 1
+
+/* Define to 1 if you have the ws2tcpip.h header file. */
+/* #undef HAVE_WS2TCPIP_H */
+
+/* Define to the sub-directory in which libtool stores uninstalled libraries.
+   */
+#define LT_OBJDIR ".libs/"
+
+/* Define to 1 if you are building a native Windows target. */
+/* #undef NATIVE_WINDOWS */
+
+/* Define to 1 if you need the malloc.h header file even with stdlib.h */
+/* #undef NEED_MALLOC_H */
+
+/* Define to 1 if you need the memory.h header file even with stdlib.h */
+/* #undef NEED_MEMORY_H */
+
+/* Define to 1 if _REENTRANT preprocessor symbol must be defined. */
+/* #undef NEED_REENTRANT */
+
+/* Define to 1 if _THREAD_SAFE preprocessor symbol must be defined. */
+/* #undef NEED_THREAD_SAFE */
+
+/* Define to 1 if your C compiler doesn't accept -c and -o together. */
+/* #undef NO_MINUS_C_MINUS_O */
+
+/* cpu-machine-OS */
+#define OS "i386-unknown-openbsd4.7"
+
+/* Name of package */
+#define PACKAGE "c-ares"
+
+/* Define to the address where bug reports for this package should be sent. */
+#define PACKAGE_BUGREPORT "c-ares mailing list => http://cool.haxx.se/mailman/listinfo/c-ares"
+
+/* Define to the full name of this package. */
+#define PACKAGE_NAME "c-ares"
+
+/* Define to the full name and version of this package. */
+#define PACKAGE_STRING "c-ares 1.7.1"
+
+/* Define to the one symbol short name of this package. */
+#define PACKAGE_TARNAME "c-ares"
+
+/* Define to the home page for this package. */
+#define PACKAGE_URL ""
+
+/* Define to the version of this package. */
+#define PACKAGE_VERSION "1.7.1"
+
+/* a suitable file/device to read random data from */
+#define RANDOM_FILE "/dev/urandom"
+
+/* Define to the type of arg 1 for recvfrom. */
+#define RECVFROM_TYPE_ARG1 int
+
+/* Define to the type pointed by arg 2 for recvfrom. */
+#define RECVFROM_TYPE_ARG2 void
+
+/* Define to 1 if the type pointed by arg 2 for recvfrom is void. */
+#define RECVFROM_TYPE_ARG2_IS_VOID 1
+
+/* Define to the type of arg 3 for recvfrom. */
+#define RECVFROM_TYPE_ARG3 size_t
+
+/* Define to the type of arg 4 for recvfrom. */
+#define RECVFROM_TYPE_ARG4 int
+
+/* Define to the type pointed by arg 5 for recvfrom. */
+#define RECVFROM_TYPE_ARG5 struct sockaddr
+
+/* Define to 1 if the type pointed by arg 5 for recvfrom is void. */
+/* #undef RECVFROM_TYPE_ARG5_IS_VOID */
+
+/* Define to the type pointed by arg 6 for recvfrom. */
+#define RECVFROM_TYPE_ARG6 socklen_t
+
+/* Define to 1 if the type pointed by arg 6 for recvfrom is void. */
+/* #undef RECVFROM_TYPE_ARG6_IS_VOID */
+
+/* Define to the function return type for recvfrom. */
+#define RECVFROM_TYPE_RETV int
+
+/* Define to the type of arg 1 for recv. */
+#define RECV_TYPE_ARG1 int
+
+/* Define to the type of arg 2 for recv. */
+#define RECV_TYPE_ARG2 void *
+
+/* Define to the type of arg 3 for recv. */
+#define RECV_TYPE_ARG3 size_t
+
+/* Define to the type of arg 4 for recv. */
+#define RECV_TYPE_ARG4 int
+
+/* Define to the function return type for recv. */
+#define RECV_TYPE_RETV int
+
+/* Define as the return type of signal handlers (`int' or `void'). */
+#define RETSIGTYPE void
+
+/* Define to the type qualifier of arg 2 for send. */
+#define SEND_QUAL_ARG2 const
+
+/* Define to the type of arg 1 for send. */
+#define SEND_TYPE_ARG1 int
+
+/* Define to the type of arg 2 for send. */
+#define SEND_TYPE_ARG2 void *
+
+/* Define to the type of arg 3 for send. */
+#define SEND_TYPE_ARG3 size_t
+
+/* Define to the type of arg 4 for send. */
+#define SEND_TYPE_ARG4 int
+
+/* Define to the function return type for send. */
+#define SEND_TYPE_RETV int
+
+/* The size of `int', as computed by sizeof. */
+#define SIZEOF_INT 4
+
+/* The size of `long', as computed by sizeof. */
+#define SIZEOF_LONG 4
+
+/* The size of `size_t', as computed by sizeof. */
+#define SIZEOF_SIZE_T 4
+
+/* The size of `struct in6_addr', as computed by sizeof. */
+#define SIZEOF_STRUCT_IN6_ADDR 16
+
+/* The size of `struct in_addr', as computed by sizeof. */
+#define SIZEOF_STRUCT_IN_ADDR 4
+
+/* The size of `time_t', as computed by sizeof. */
+#define SIZEOF_TIME_T 4
+
+/* Define to 1 if you have the ANSI C header files. */
+#define STDC_HEADERS 1
+
+/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
+#define TIME_WITH_SYS_TIME 1
+
+/* Define to disable non-blocking sockets. */
+/* #undef USE_BLOCKING_SOCKETS */
+
+/* Version number of package */
+#define VERSION "1.7.1"
+
+/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
+   significant byte first (like Motorola and SPARC, unlike Intel). */
+#if defined AC_APPLE_UNIVERSAL_BUILD
+# if defined __BIG_ENDIAN__
+#  define WORDS_BIGENDIAN 1
+# endif
+#else
+# ifndef WORDS_BIGENDIAN
+/* #  undef WORDS_BIGENDIAN */
+# endif
+#endif
+
+/* Define to 1 if OS is AIX. */
+#ifndef _ALL_SOURCE
+/* #  undef _ALL_SOURCE */
+#endif
+
+/* Number of bits in a file offset, on hosts where this is settable. */
+/* #undef _FILE_OFFSET_BITS */
+
+/* Define for large files, on AIX-style hosts. */
+/* #undef _LARGE_FILES */
+
+/* Define to empty if `const' does not conform to ANSI C. */
+/* #undef const */
+
+/* Type to use in place of in_addr_t when system does not provide it. */
+/* #undef in_addr_t */
+
+/* Define to `unsigned int' if <sys/types.h> does not define. */
+/* #undef size_t */
+
+/* the signed version of size_t */
+/* #undef ssize_t */
index 45fef16..8569eae 100644 (file)
@@ -235,6 +235,8 @@ void uv__finish_close(uv_handle_t* handle) {
     case UV_TCP:
       assert(!ev_is_active(&((uv_stream_t*)handle)->read_watcher));
       assert(!ev_is_active(&((uv_stream_t*)handle)->write_watcher));
+      assert(((uv_stream_t*)handle)->fd == -1);
+      uv__stream_destroy((uv_stream_t*)handle);
       break;
 
     case UV_UDP:
diff --git a/deps/uv/src/unix/eio/config_netbsd.h b/deps/uv/src/unix/eio/config_netbsd.h
new file mode 100644 (file)
index 0000000..31f18e6
--- /dev/null
@@ -0,0 +1,81 @@
+/* config.h.  Generated from config.h.in by configure.  */
+/* config.h.in.  Generated from configure.ac by autoheader.  */
+
+/* Define to 1 if you have the <dlfcn.h> header file. */
+#define HAVE_DLFCN_H 1
+
+/* fdatasync(2) is available */
+/* #undef HAVE_FDATASYNC */
+
+/* utimes(2) is available */
+#define HAVE_UTIMES 1
+
+/* futimes(2) is available */
+#define HAVE_FUTIMES 1
+
+/* Define to 1 if you have the <inttypes.h> header file. */
+#define HAVE_INTTYPES_H 1
+
+/* Define to 1 if you have the <memory.h> header file. */
+#define HAVE_MEMORY_H 1
+
+/* pread(2) and pwrite(2) are available */
+#define HAVE_PREADWRITE 1
+
+/* readahead(2) is available (linux) */
+/* #undef HAVE_READAHEAD */
+
+/* sendfile(2) is available and supported */
+#define HAVE_SENDFILE 0
+
+/* Define to 1 if you have the <stdint.h> header file. */
+#define HAVE_STDINT_H 1
+
+/* Define to 1 if you have the <stdlib.h> header file. */
+#define HAVE_STDLIB_H 1
+
+/* Define to 1 if you have the <strings.h> header file. */
+#define HAVE_STRINGS_H 1
+
+/* Define to 1 if you have the <string.h> header file. */
+#define HAVE_STRING_H 1
+
+/* sync_file_range(2) is available */
+/* #undef HAVE_SYNC_FILE_RANGE */
+
+/* Define to 1 if you have the <sys/stat.h> header file. */
+#define HAVE_SYS_STAT_H 1
+
+/* Define to 1 if you have the <sys/types.h> header file. */
+#define HAVE_SYS_TYPES_H 1
+
+/* Define to 1 if you have the <unistd.h> header file. */
+#define HAVE_UNISTD_H 1
+
+/* Define to the sub-directory in which libtool stores uninstalled libraries.
+   */
+#define LT_OBJDIR ".libs/"
+
+/* Name of package */
+#define PACKAGE "libeio"
+
+/* Define to the address where bug reports for this package should be sent. */
+#define PACKAGE_BUGREPORT ""
+
+/* Define to the full name of this package. */
+#define PACKAGE_NAME ""
+
+/* Define to the full name and version of this package. */
+#define PACKAGE_STRING ""
+
+/* Define to the one symbol short name of this package. */
+#define PACKAGE_TARNAME ""
+
+/* Define to the version of this package. */
+#define PACKAGE_VERSION ""
+
+/* Define to 1 if you have the ANSI C header files. */
+#define STDC_HEADERS 1
+
+/* Version number of package */
+#define VERSION "1.0"
diff --git a/deps/uv/src/unix/ev/config_netbsd.h b/deps/uv/src/unix/ev/config_netbsd.h
new file mode 100644 (file)
index 0000000..ebebd41
--- /dev/null
@@ -0,0 +1,120 @@
+/* config.h.  Generated from config.h.in by configure.  */
+/* config.h.in.  Generated from configure.ac by autoheader.  */
+
+/* Define to 1 if you have the `clock_gettime' function. */
+/* #undef HAVE_CLOCK_GETTIME */
+
+/* "use syscall interface for clock_gettime" */
+/* #undef HAVE_CLOCK_SYSCALL */
+
+/* Define to 1 if you have the <dlfcn.h> header file. */
+#define HAVE_DLFCN_H 1
+
+/* Define to 1 if you have the `epoll_ctl' function. */
+/* #undef HAVE_EPOLL_CTL */
+
+/* Define to 1 if you have the `eventfd' function. */
+/* #undef HAVE_EVENTFD */
+
+/* Define to 1 if you have the `inotify_init' function. */
+/* #undef HAVE_INOTIFY_INIT */
+
+/* Define to 1 if you have the <inttypes.h> header file. */
+#define HAVE_INTTYPES_H 1
+
+/* Define to 1 if you have the `kqueue' function. */
+#define HAVE_KQUEUE 1
+
+/* Define to 1 if you have the `m' library (-lm). */
+#define HAVE_LIBM 1
+
+/* Define to 1 if you have the `rt' library (-lrt). */
+/* #undef HAVE_LIBRT */
+
+/* Define to 1 if you have the <memory.h> header file. */
+#define HAVE_MEMORY_H 1
+
+/* Define to 1 if you have the `nanosleep' function. */
+/* #undef HAVE_NANOSLEEP */
+
+/* Define to 1 if you have the `poll' function. */
+#define HAVE_POLL 1
+
+/* Define to 1 if you have the <poll.h> header file. */
+#define HAVE_POLL_H 1
+
+/* Define to 1 if you have the `port_create' function. */
+/* #undef HAVE_PORT_CREATE */
+
+/* Define to 1 if you have the <port.h> header file. */
+/* #undef HAVE_PORT_H */
+
+/* Define to 1 if you have the `select' function. */
+#define HAVE_SELECT 1
+
+/* Define to 1 if you have the <stdint.h> header file. */
+#define HAVE_STDINT_H 1
+
+/* Define to 1 if you have the <stdlib.h> header file. */
+#define HAVE_STDLIB_H 1
+
+/* Define to 1 if you have the <strings.h> header file. */
+#define HAVE_STRINGS_H 1
+
+/* Define to 1 if you have the <string.h> header file. */
+#define HAVE_STRING_H 1
+
+/* Define to 1 if you have the <sys/epoll.h> header file. */
+/* #undef HAVE_SYS_EPOLL_H */
+
+/* Define to 1 if you have the <sys/eventfd.h> header file. */
+/* #undef HAVE_SYS_EVENTFD_H */
+
+/* Define to 1 if you have the <sys/event.h> header file. */
+#define HAVE_SYS_EVENT_H 1
+
+/* Define to 1 if you have the <sys/inotify.h> header file. */
+/* #undef HAVE_SYS_INOTIFY_H */
+
+/* Define to 1 if you have the <sys/queue.h> header file. */
+#define HAVE_SYS_QUEUE_H 1
+
+/* Define to 1 if you have the <sys/select.h> header file. */
+#define HAVE_SYS_SELECT_H 1
+
+/* Define to 1 if you have the <sys/stat.h> header file. */
+#define HAVE_SYS_STAT_H 1
+
+/* Define to 1 if you have the <sys/types.h> header file. */
+#define HAVE_SYS_TYPES_H 1
+
+/* Define to 1 if you have the <unistd.h> header file. */
+#define HAVE_UNISTD_H 1
+
+/* Define to the sub-directory in which libtool stores uninstalled libraries.
+   */
+#define LT_OBJDIR ".libs/"
+
+/* Name of package */
+#define PACKAGE "libev"
+
+/* Define to the address where bug reports for this package should be sent. */
+#define PACKAGE_BUGREPORT ""
+
+/* Define to the full name of this package. */
+#define PACKAGE_NAME ""
+
+/* Define to the full name and version of this package. */
+#define PACKAGE_STRING ""
+
+/* Define to the one symbol short name of this package. */
+#define PACKAGE_TARNAME ""
+
+/* Define to the version of this package. */
+#define PACKAGE_VERSION ""
+
+/* Define to 1 if you have the ANSI C header files. */
+#define STDC_HEADERS 1
+
+/* Version number of package */
+#define VERSION "3.9"
index 024a9b3..9d62e6f 100644 (file)
@@ -81,6 +81,7 @@ void uv_fatal_error(const int errorno, const char* syscall);
 
 /* stream */
 int uv__stream_open(uv_stream_t*, int fd, int flags);
+void uv__stream_destroy(uv_stream_t* stream);
 void uv__stream_io(EV_P_ ev_io* watcher, int revents);
 void uv__server_io(EV_P_ ev_io* watcher, int revents);
 int uv__accept(int sockfd, struct sockaddr* saddr, socklen_t len);
diff --git a/deps/uv/src/unix/netbsd.c b/deps/uv/src/unix/netbsd.c
new file mode 100644 (file)
index 0000000..91a286f
--- /dev/null
@@ -0,0 +1,68 @@
+/* Copyright Joyent, Inc. and other Node contributors. All rights reserved.
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to
+ * deal in the Software without restriction, including without limitation the
+ * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
+ * sell copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
+ * IN THE SOFTWARE.
+ */
+
+#include "uv.h"
+
+#include <string.h>
+#include <time.h>
+
+#include <sys/types.h>
+#include <sys/sysctl.h>
+
+#include <unistd.h>
+
+#undef NANOSEC
+#define NANOSEC 1000000000
+
+uint64_t uv_hrtime(void) {
+  struct timespec ts;
+  clock_gettime(CLOCK_MONOTONIC, &ts);
+  return (ts.tv_sec * NANOSEC + ts.tv_nsec);
+}
+
+
+int uv_exepath(char* buffer, size_t* size) {
+  uint32_t usize;
+  int result;
+  char* path;
+  char* fullpath;
+  int mib[4];
+  size_t cb;
+  pid_t mypid;
+
+  if (!buffer || !size) {
+    return -1;
+  }
+
+  mypid = getpid();
+  mib[0] = CTL_KERN;
+  mib[1] = KERN_PROC_ARGS;
+  mib[2] = mypid;
+  mib[3] = KERN_PROC_ARGV;
+
+  cb = *size;
+  if (sysctl(mib, 4, buffer, &cb, NULL, 0) < 0) {
+    *size = 0;
+    return -1;
+  }
+  *size = strlen(buffer);
+
+  return 0;
+}
index 0b5a2a4..c6aa56c 100644 (file)
@@ -75,6 +75,35 @@ int uv__stream_open(uv_stream_t* stream, int fd, int flags) {
 }
 
 
+/* Clears out the write queue, invokes the callbacks attached
+ * to each write request. Used when a stream is destroyed.
+ */
+static void uv__clear_queue(ngx_queue_t* wq, int status, uv_err_code code) {
+  uv_write_t* req;
+  ngx_queue_t* q;
+
+  while (!ngx_queue_empty(wq)) {
+    q = ngx_queue_head(wq);
+    ngx_queue_remove(q);
+
+    req = ngx_queue_data(q, uv_write_t, queue);
+    if (req->cb) {
+      uv_err_new(req->handle->loop, code);
+      req->cb(req, status);
+    }
+
+    if (req->bufs != req->bufsml)
+      free(req->bufs);
+  }
+}
+
+
+void uv__stream_destroy(uv_stream_t* stream) {
+  uv__clear_queue(&stream->write_queue, -1, UV_EINTR);
+  uv__clear_queue(&stream->write_completed_queue, 0, UV_OK);
+}
+
+
 void uv__server_io(EV_P_ ev_io* watcher, int revents) {
   int fd;
   struct sockaddr_storage addr;
index 885520c..b530370 100644 (file)
@@ -575,7 +575,7 @@ void fs__symlink(uv_fs_t* req, const char* path, const char* new_path,
     }
   } else {
     result = -1;
-    errno = ENOTSUP;
+    errno = ENOSYS;
   }
   
   SET_REQ_RESULT(req, result);
index b2bcc2f..ae95888 100644 (file)
@@ -29,7 +29,7 @@
 /*
  * MinGW is missing this
  */
-#ifndef _MSC_VER
+#if !defined(_MSC_VER) && !defined(__MINGW64_VERSION_MAJOR)
   typedef struct addrinfoW {
     int ai_flags;
     int ai_family;
index 31d40b5..64a3569 100644 (file)
@@ -1007,7 +1007,7 @@ done:
     /* it's way with them. But at least make them noninheritable. */
     int i;
     for (i = 0; i < COUNTOF(process->child_stdio); i++) {
-      SetHandleInformation(child_stdio[1], HANDLE_FLAG_INHERIT, 0);
+      SetHandleInformation(child_stdio[i], HANDLE_FLAG_INHERIT, 0);
     }
   }
 
index 9dc0acb..f04f37a 100644 (file)
 #endif
 
 #ifndef STATUS_SEVERITY_SUCCESS
-  #define STATUS_SEVERITY_SUCCESS 0x0
+define STATUS_SEVERITY_SUCCESS 0x0
 #endif
 
 #ifndef STATUS_SEVERITY_INFORMATIONAL
-  #define STATUS_SEVERITY_INFORMATIONAL 0x1
+define STATUS_SEVERITY_INFORMATIONAL 0x1
 #endif
 
 #ifndef STATUS_SEVERITY_WARNING
-  #define STATUS_SEVERITY_WARNING 0x2
+define STATUS_SEVERITY_WARNING 0x2
 #endif
 
 #ifndef STATUS_SEVERITY_ERROR
-  #define STATUS_SEVERITY_ERROR 0x3
+define STATUS_SEVERITY_ERROR 0x3
 #endif
 
 #ifndef FACILITY_NTWIN32
-  #define FACILITY_NTWIN32 0x7
+define FACILITY_NTWIN32 0x7
 #endif
 
 #ifndef NT_SUCCESS
-  #define NT_SUCCESS(status) (((NTSTATUS) (status)) >= 0)
+define NT_SUCCESS(status) (((NTSTATUS) (status)) >= 0)
 #endif
 
 #ifndef STATUS_SUCCESS
-  #define STATUS_SUCCESS ((NTSTATUS) 0x00000000L)
+define STATUS_SUCCESS ((NTSTATUS) 0x00000000L)
 #endif
 
 #ifndef STATUS_WAIT_0
-  #define STATUS_WAIT_0 ((NTSTATUS) 0x00000000L)
+define STATUS_WAIT_0 ((NTSTATUS) 0x00000000L)
 #endif
 
 #ifndef STATUS_WAIT_1
-  #define STATUS_WAIT_1 ((NTSTATUS) 0x00000001L)
+define STATUS_WAIT_1 ((NTSTATUS) 0x00000001L)
 #endif
 
 #ifndef STATUS_WAIT_2
-  #define STATUS_WAIT_2 ((NTSTATUS) 0x00000002L)
+define STATUS_WAIT_2 ((NTSTATUS) 0x00000002L)
 #endif
 
 #ifndef STATUS_WAIT_3
-  #define STATUS_WAIT_3 ((NTSTATUS) 0x00000003L)
+define STATUS_WAIT_3 ((NTSTATUS) 0x00000003L)
 #endif
 
 #ifndef STATUS_WAIT_63
-  #define STATUS_WAIT_63 ((NTSTATUS) 0x0000003FL)
+define STATUS_WAIT_63 ((NTSTATUS) 0x0000003FL)
 #endif
 
 #ifndef STATUS_ABANDONED
-  #define STATUS_ABANDONED ((NTSTATUS) 0x00000080L)
+define STATUS_ABANDONED ((NTSTATUS) 0x00000080L)
 #endif
 
 #ifndef STATUS_ABANDONED_WAIT_0
-  #define STATUS_ABANDONED_WAIT_0 ((NTSTATUS) 0x00000080L)
+define STATUS_ABANDONED_WAIT_0 ((NTSTATUS) 0x00000080L)
 #endif
 
 #ifndef STATUS_ABANDONED_WAIT_63
-  #define STATUS_ABANDONED_WAIT_63 ((NTSTATUS) 0x000000BFL)
+define STATUS_ABANDONED_WAIT_63 ((NTSTATUS) 0x000000BFL)
 #endif
 
 #ifndef STATUS_USER_APC
-  #define STATUS_USER_APC ((NTSTATUS) 0x000000C0L)
+define STATUS_USER_APC ((NTSTATUS) 0x000000C0L)
 #endif
 
 #ifndef STATUS_KERNEL_APC
-  #define STATUS_KERNEL_APC ((NTSTATUS) 0x00000100L)
+define STATUS_KERNEL_APC ((NTSTATUS) 0x00000100L)
 #endif
 
 #ifndef STATUS_ALERTED
-  #define STATUS_ALERTED ((NTSTATUS) 0x00000101L)
+define STATUS_ALERTED ((NTSTATUS) 0x00000101L)
 #endif
 
 #ifndef STATUS_TIMEOUT
-  #define STATUS_TIMEOUT ((NTSTATUS) 0x00000102L)
+define STATUS_TIMEOUT ((NTSTATUS) 0x00000102L)
 #endif
 
 #ifndef STATUS_PENDING
-  #define STATUS_PENDING ((NTSTATUS) 0x00000103L)
+define STATUS_PENDING ((NTSTATUS) 0x00000103L)
 #endif
 
 #ifndef STATUS_REPARSE
-  #define STATUS_REPARSE ((NTSTATUS) 0x00000104L)
+define STATUS_REPARSE ((NTSTATUS) 0x00000104L)
 #endif
 
 #ifndef STATUS_MORE_ENTRIES
-  #define STATUS_MORE_ENTRIES ((NTSTATUS) 0x00000105L)
+define STATUS_MORE_ENTRIES ((NTSTATUS) 0x00000105L)
 #endif
 
 #ifndef STATUS_NOT_ALL_ASSIGNED
-  #define STATUS_NOT_ALL_ASSIGNED ((NTSTATUS) 0x00000106L)
+define STATUS_NOT_ALL_ASSIGNED ((NTSTATUS) 0x00000106L)
 #endif
 
 #ifndef STATUS_SOME_NOT_MAPPED
-  #define STATUS_SOME_NOT_MAPPED ((NTSTATUS) 0x00000107L)
+define STATUS_SOME_NOT_MAPPED ((NTSTATUS) 0x00000107L)
 #endif
 
 #ifndef STATUS_OPLOCK_BREAK_IN_PROGRESS
-  #define STATUS_OPLOCK_BREAK_IN_PROGRESS ((NTSTATUS) 0x00000108L)
+define STATUS_OPLOCK_BREAK_IN_PROGRESS ((NTSTATUS) 0x00000108L)
 #endif
 
 #ifndef STATUS_VOLUME_MOUNTED
-  #define STATUS_VOLUME_MOUNTED ((NTSTATUS) 0x00000109L)
+define STATUS_VOLUME_MOUNTED ((NTSTATUS) 0x00000109L)
 #endif
 
 #ifndef STATUS_RXACT_COMMITTED
-  #define STATUS_RXACT_COMMITTED ((NTSTATUS) 0x0000010AL)
+define STATUS_RXACT_COMMITTED ((NTSTATUS) 0x0000010AL)
 #endif
 
 #ifndef STATUS_NOTIFY_CLEANUP
-  #define STATUS_NOTIFY_CLEANUP ((NTSTATUS) 0x0000010BL)
+define STATUS_NOTIFY_CLEANUP ((NTSTATUS) 0x0000010BL)
 #endif
 
 #ifndef STATUS_NOTIFY_ENUM_DIR
-  #define STATUS_NOTIFY_ENUM_DIR ((NTSTATUS) 0x0000010CL)
+define STATUS_NOTIFY_ENUM_DIR ((NTSTATUS) 0x0000010CL)
 #endif
 
 #ifndef STATUS_NO_QUOTAS_FOR_ACCOUNT
-  #define STATUS_NO_QUOTAS_FOR_ACCOUNT ((NTSTATUS) 0x0000010DL)
+define STATUS_NO_QUOTAS_FOR_ACCOUNT ((NTSTATUS) 0x0000010DL)
 #endif
 
 #ifndef STATUS_PRIMARY_TRANSPORT_CONNECT_FAILED
-  #define STATUS_PRIMARY_TRANSPORT_CONNECT_FAILED ((NTSTATUS) 0x0000010EL)
+define STATUS_PRIMARY_TRANSPORT_CONNECT_FAILED ((NTSTATUS) 0x0000010EL)
 #endif
 
 #ifndef STATUS_PAGE_FAULT_TRANSITION
-  #define STATUS_PAGE_FAULT_TRANSITION ((NTSTATUS) 0x00000110L)
+define STATUS_PAGE_FAULT_TRANSITION ((NTSTATUS) 0x00000110L)
 #endif
 
 #ifndef STATUS_PAGE_FAULT_DEMAND_ZERO
-  #define STATUS_PAGE_FAULT_DEMAND_ZERO ((NTSTATUS) 0x00000111L)
+define STATUS_PAGE_FAULT_DEMAND_ZERO ((NTSTATUS) 0x00000111L)
 #endif
 
 #ifndef STATUS_PAGE_FAULT_COPY_ON_WRITE
-  #define STATUS_PAGE_FAULT_COPY_ON_WRITE ((NTSTATUS) 0x00000112L)
+define STATUS_PAGE_FAULT_COPY_ON_WRITE ((NTSTATUS) 0x00000112L)
 #endif
 
 #ifndef STATUS_PAGE_FAULT_GUARD_PAGE
-  #define STATUS_PAGE_FAULT_GUARD_PAGE ((NTSTATUS) 0x00000113L)
+define STATUS_PAGE_FAULT_GUARD_PAGE ((NTSTATUS) 0x00000113L)
 #endif
 
 #ifndef STATUS_PAGE_FAULT_PAGING_FILE
-  #define STATUS_PAGE_FAULT_PAGING_FILE ((NTSTATUS) 0x00000114L)
+define STATUS_PAGE_FAULT_PAGING_FILE ((NTSTATUS) 0x00000114L)
 #endif
 
 #ifndef STATUS_CACHE_PAGE_LOCKED
-  #define STATUS_CACHE_PAGE_LOCKED ((NTSTATUS) 0x00000115L)
+define STATUS_CACHE_PAGE_LOCKED ((NTSTATUS) 0x00000115L)
 #endif
 
 #ifndef STATUS_CRASH_DUMP
-  #define STATUS_CRASH_DUMP ((NTSTATUS) 0x00000116L)
+define STATUS_CRASH_DUMP ((NTSTATUS) 0x00000116L)
 #endif
 
 #ifndef STATUS_BUFFER_ALL_ZEROS
-  #define STATUS_BUFFER_ALL_ZEROS ((NTSTATUS) 0x00000117L)
+define STATUS_BUFFER_ALL_ZEROS ((NTSTATUS) 0x00000117L)
 #endif
 
 #ifndef STATUS_REPARSE_OBJECT
-  #define STATUS_REPARSE_OBJECT ((NTSTATUS) 0x00000118L)
+define STATUS_REPARSE_OBJECT ((NTSTATUS) 0x00000118L)
 #endif
 
 #ifndef STATUS_RESOURCE_REQUIREMENTS_CHANGED
-  #define STATUS_RESOURCE_REQUIREMENTS_CHANGED ((NTSTATUS) 0x00000119L)
+define STATUS_RESOURCE_REQUIREMENTS_CHANGED ((NTSTATUS) 0x00000119L)
 #endif
 
 #ifndef STATUS_TRANSLATION_COMPLETE
-  #define STATUS_TRANSLATION_COMPLETE ((NTSTATUS) 0x00000120L)
+define STATUS_TRANSLATION_COMPLETE ((NTSTATUS) 0x00000120L)
 #endif
 
 #ifndef STATUS_DS_MEMBERSHIP_EVALUATED_LOCALLY
-  #define STATUS_DS_MEMBERSHIP_EVALUATED_LOCALLY ((NTSTATUS) 0x00000121L)
+define STATUS_DS_MEMBERSHIP_EVALUATED_LOCALLY ((NTSTATUS) 0x00000121L)
 #endif
 
 #ifndef STATUS_NOTHING_TO_TERMINATE
-  #define STATUS_NOTHING_TO_TERMINATE ((NTSTATUS) 0x00000122L)
+define STATUS_NOTHING_TO_TERMINATE ((NTSTATUS) 0x00000122L)
 #endif
 
 #ifndef STATUS_PROCESS_NOT_IN_JOB
-  #define STATUS_PROCESS_NOT_IN_JOB ((NTSTATUS) 0x00000123L)
+define STATUS_PROCESS_NOT_IN_JOB ((NTSTATUS) 0x00000123L)
 #endif
 
 #ifndef STATUS_PROCESS_IN_JOB
-  #define STATUS_PROCESS_IN_JOB ((NTSTATUS) 0x00000124L)
+define STATUS_PROCESS_IN_JOB ((NTSTATUS) 0x00000124L)
 #endif
 
 #ifndef STATUS_VOLSNAP_HIBERNATE_READY
-  #define STATUS_VOLSNAP_HIBERNATE_READY ((NTSTATUS) 0x00000125L)
+define STATUS_VOLSNAP_HIBERNATE_READY ((NTSTATUS) 0x00000125L)
 #endif
 
 #ifndef STATUS_FSFILTER_OP_COMPLETED_SUCCESSFULLY
-  #define STATUS_FSFILTER_OP_COMPLETED_SUCCESSFULLY ((NTSTATUS) 0x00000126L)
+define STATUS_FSFILTER_OP_COMPLETED_SUCCESSFULLY ((NTSTATUS) 0x00000126L)
 #endif
 
 #ifndef STATUS_INTERRUPT_VECTOR_ALREADY_CONNECTED
-  #define STATUS_INTERRUPT_VECTOR_ALREADY_CONNECTED ((NTSTATUS) 0x00000127L)
+define STATUS_INTERRUPT_VECTOR_ALREADY_CONNECTED ((NTSTATUS) 0x00000127L)
 #endif
 
 #ifndef STATUS_INTERRUPT_STILL_CONNECTED
-  #define STATUS_INTERRUPT_STILL_CONNECTED ((NTSTATUS) 0x00000128L)
+define STATUS_INTERRUPT_STILL_CONNECTED ((NTSTATUS) 0x00000128L)
 #endif
 
 #ifndef STATUS_PROCESS_CLONED
-  #define STATUS_PROCESS_CLONED ((NTSTATUS) 0x00000129L)
+define STATUS_PROCESS_CLONED ((NTSTATUS) 0x00000129L)
 #endif
 
 #ifndef STATUS_FILE_LOCKED_WITH_ONLY_READERS
-  #define STATUS_FILE_LOCKED_WITH_ONLY_READERS ((NTSTATUS) 0x0000012AL)
+define STATUS_FILE_LOCKED_WITH_ONLY_READERS ((NTSTATUS) 0x0000012AL)
 #endif
 
 #ifndef STATUS_FILE_LOCKED_WITH_WRITERS
-  #define STATUS_FILE_LOCKED_WITH_WRITERS ((NTSTATUS) 0x0000012BL)
+define STATUS_FILE_LOCKED_WITH_WRITERS ((NTSTATUS) 0x0000012BL)
 #endif
 
 #ifndef STATUS_RESOURCEMANAGER_READ_ONLY
-  #define STATUS_RESOURCEMANAGER_READ_ONLY ((NTSTATUS) 0x00000202L)
+define STATUS_RESOURCEMANAGER_READ_ONLY ((NTSTATUS) 0x00000202L)
 #endif
 
 #ifndef STATUS_RING_PREVIOUSLY_EMPTY
-  #define STATUS_RING_PREVIOUSLY_EMPTY ((NTSTATUS) 0x00000210L)
+define STATUS_RING_PREVIOUSLY_EMPTY ((NTSTATUS) 0x00000210L)
 #endif
 
 #ifndef STATUS_RING_PREVIOUSLY_FULL
-  #define STATUS_RING_PREVIOUSLY_FULL ((NTSTATUS) 0x00000211L)
+define STATUS_RING_PREVIOUSLY_FULL ((NTSTATUS) 0x00000211L)
 #endif
 
 #ifndef STATUS_RING_PREVIOUSLY_ABOVE_QUOTA
-  #define STATUS_RING_PREVIOUSLY_ABOVE_QUOTA ((NTSTATUS) 0x00000212L)
+define STATUS_RING_PREVIOUSLY_ABOVE_QUOTA ((NTSTATUS) 0x00000212L)
 #endif
 
 #ifndef STATUS_RING_NEWLY_EMPTY
-  #define STATUS_RING_NEWLY_EMPTY ((NTSTATUS) 0x00000213L)
+define STATUS_RING_NEWLY_EMPTY ((NTSTATUS) 0x00000213L)
 #endif
 
 #ifndef STATUS_RING_SIGNAL_OPPOSITE_ENDPOINT
-  #define STATUS_RING_SIGNAL_OPPOSITE_ENDPOINT ((NTSTATUS) 0x00000214L)
+define STATUS_RING_SIGNAL_OPPOSITE_ENDPOINT ((NTSTATUS) 0x00000214L)
 #endif
 
 #ifndef STATUS_OPLOCK_SWITCHED_TO_NEW_HANDLE
-  #define STATUS_OPLOCK_SWITCHED_TO_NEW_HANDLE ((NTSTATUS) 0x00000215L)
+define STATUS_OPLOCK_SWITCHED_TO_NEW_HANDLE ((NTSTATUS) 0x00000215L)
 #endif
 
 #ifndef STATUS_OPLOCK_HANDLE_CLOSED
-  #define STATUS_OPLOCK_HANDLE_CLOSED ((NTSTATUS) 0x00000216L)
+define STATUS_OPLOCK_HANDLE_CLOSED ((NTSTATUS) 0x00000216L)
 #endif
 
 #ifndef STATUS_WAIT_FOR_OPLOCK
-  #define STATUS_WAIT_FOR_OPLOCK ((NTSTATUS) 0x00000367L)
+define STATUS_WAIT_FOR_OPLOCK ((NTSTATUS) 0x00000367L)
 #endif
 
 #ifndef STATUS_OBJECT_NAME_EXISTS
-  #define STATUS_OBJECT_NAME_EXISTS ((NTSTATUS) 0x40000000L)
+define STATUS_OBJECT_NAME_EXISTS ((NTSTATUS) 0x40000000L)
 #endif
 
 #ifndef STATUS_THREAD_WAS_SUSPENDED
-  #define STATUS_THREAD_WAS_SUSPENDED ((NTSTATUS) 0x40000001L)
+define STATUS_THREAD_WAS_SUSPENDED ((NTSTATUS) 0x40000001L)
 #endif
 
 #ifndef STATUS_WORKING_SET_LIMIT_RANGE
-  #define STATUS_WORKING_SET_LIMIT_RANGE ((NTSTATUS) 0x40000002L)
+define STATUS_WORKING_SET_LIMIT_RANGE ((NTSTATUS) 0x40000002L)
 #endif
 
 #ifndef STATUS_IMAGE_NOT_AT_BASE
-  #define STATUS_IMAGE_NOT_AT_BASE ((NTSTATUS) 0x40000003L)
+define STATUS_IMAGE_NOT_AT_BASE ((NTSTATUS) 0x40000003L)
 #endif
 
 #ifndef STATUS_RXACT_STATE_CREATED
-  #define STATUS_RXACT_STATE_CREATED ((NTSTATUS) 0x40000004L)
+define STATUS_RXACT_STATE_CREATED ((NTSTATUS) 0x40000004L)
 #endif
 
 #ifndef STATUS_SEGMENT_NOTIFICATION
-  #define STATUS_SEGMENT_NOTIFICATION ((NTSTATUS) 0x40000005L)
+define STATUS_SEGMENT_NOTIFICATION ((NTSTATUS) 0x40000005L)
 #endif
 
 #ifndef STATUS_LOCAL_USER_SESSION_KEY
-  #define STATUS_LOCAL_USER_SESSION_KEY ((NTSTATUS) 0x40000006L)
+define STATUS_LOCAL_USER_SESSION_KEY ((NTSTATUS) 0x40000006L)
 #endif
 
 #ifndef STATUS_BAD_CURRENT_DIRECTORY
-  #define STATUS_BAD_CURRENT_DIRECTORY ((NTSTATUS) 0x40000007L)
+define STATUS_BAD_CURRENT_DIRECTORY ((NTSTATUS) 0x40000007L)
 #endif
 
 #ifndef STATUS_SERIAL_MORE_WRITES
-  #define STATUS_SERIAL_MORE_WRITES ((NTSTATUS) 0x40000008L)
+define STATUS_SERIAL_MORE_WRITES ((NTSTATUS) 0x40000008L)
 #endif
 
 #ifndef STATUS_REGISTRY_RECOVERED
-  #define STATUS_REGISTRY_RECOVERED ((NTSTATUS) 0x40000009L)
+define STATUS_REGISTRY_RECOVERED ((NTSTATUS) 0x40000009L)
 #endif
 
 #ifndef STATUS_FT_READ_RECOVERY_FROM_BACKUP
-  #define STATUS_FT_READ_RECOVERY_FROM_BACKUP ((NTSTATUS) 0x4000000AL)
+define STATUS_FT_READ_RECOVERY_FROM_BACKUP ((NTSTATUS) 0x4000000AL)
 #endif
 
 #ifndef STATUS_FT_WRITE_RECOVERY
-  #define STATUS_FT_WRITE_RECOVERY ((NTSTATUS) 0x4000000BL)
+define STATUS_FT_WRITE_RECOVERY ((NTSTATUS) 0x4000000BL)
 #endif
 
 #ifndef STATUS_SERIAL_COUNTER_TIMEOUT
-  #define STATUS_SERIAL_COUNTER_TIMEOUT ((NTSTATUS) 0x4000000CL)
+define STATUS_SERIAL_COUNTER_TIMEOUT ((NTSTATUS) 0x4000000CL)
 #endif
 
 #ifndef STATUS_NULL_LM_PASSWORD
-  #define STATUS_NULL_LM_PASSWORD ((NTSTATUS) 0x4000000DL)
+define STATUS_NULL_LM_PASSWORD ((NTSTATUS) 0x4000000DL)
 #endif
 
 #ifndef STATUS_IMAGE_MACHINE_TYPE_MISMATCH
-  #define STATUS_IMAGE_MACHINE_TYPE_MISMATCH ((NTSTATUS) 0x4000000EL)
+define STATUS_IMAGE_MACHINE_TYPE_MISMATCH ((NTSTATUS) 0x4000000EL)
 #endif
 
 #ifndef STATUS_RECEIVE_PARTIAL
-  #define STATUS_RECEIVE_PARTIAL ((NTSTATUS) 0x4000000FL)
+define STATUS_RECEIVE_PARTIAL ((NTSTATUS) 0x4000000FL)
 #endif
 
 #ifndef STATUS_RECEIVE_EXPEDITED
-  #define STATUS_RECEIVE_EXPEDITED ((NTSTATUS) 0x40000010L)
+define STATUS_RECEIVE_EXPEDITED ((NTSTATUS) 0x40000010L)
 #endif
 
 #ifndef STATUS_RECEIVE_PARTIAL_EXPEDITED
-  #define STATUS_RECEIVE_PARTIAL_EXPEDITED ((NTSTATUS) 0x40000011L)
+define STATUS_RECEIVE_PARTIAL_EXPEDITED ((NTSTATUS) 0x40000011L)
 #endif
 
 #ifndef STATUS_EVENT_DONE
-  #define STATUS_EVENT_DONE ((NTSTATUS) 0x40000012L)
+define STATUS_EVENT_DONE ((NTSTATUS) 0x40000012L)
 #endif
 
 #ifndef STATUS_EVENT_PENDING
-  #define STATUS_EVENT_PENDING ((NTSTATUS) 0x40000013L)
+define STATUS_EVENT_PENDING ((NTSTATUS) 0x40000013L)
 #endif
 
 #ifndef STATUS_CHECKING_FILE_SYSTEM
-  #define STATUS_CHECKING_FILE_SYSTEM ((NTSTATUS) 0x40000014L)
+define STATUS_CHECKING_FILE_SYSTEM ((NTSTATUS) 0x40000014L)
 #endif
 
 #ifndef STATUS_FATAL_APP_EXIT
-  #define STATUS_FATAL_APP_EXIT ((NTSTATUS) 0x40000015L)
+define STATUS_FATAL_APP_EXIT ((NTSTATUS) 0x40000015L)
 #endif
 
 #ifndef STATUS_PREDEFINED_HANDLE
-  #define STATUS_PREDEFINED_HANDLE ((NTSTATUS) 0x40000016L)
+define STATUS_PREDEFINED_HANDLE ((NTSTATUS) 0x40000016L)
 #endif
 
 #ifndef STATUS_WAS_UNLOCKED
-  #define STATUS_WAS_UNLOCKED ((NTSTATUS) 0x40000017L)
+define STATUS_WAS_UNLOCKED ((NTSTATUS) 0x40000017L)
 #endif
 
 #ifndef STATUS_SERVICE_NOTIFICATION
-  #define STATUS_SERVICE_NOTIFICATION ((NTSTATUS) 0x40000018L)
+define STATUS_SERVICE_NOTIFICATION ((NTSTATUS) 0x40000018L)
 #endif
 
 #ifndef STATUS_WAS_LOCKED
-  #define STATUS_WAS_LOCKED ((NTSTATUS) 0x40000019L)
+define STATUS_WAS_LOCKED ((NTSTATUS) 0x40000019L)
 #endif
 
 #ifndef STATUS_LOG_HARD_ERROR
-  #define STATUS_LOG_HARD_ERROR ((NTSTATUS) 0x4000001AL)
+define STATUS_LOG_HARD_ERROR ((NTSTATUS) 0x4000001AL)
 #endif
 
 #ifndef STATUS_ALREADY_WIN32
-  #define STATUS_ALREADY_WIN32 ((NTSTATUS) 0x4000001BL)
+define STATUS_ALREADY_WIN32 ((NTSTATUS) 0x4000001BL)
 #endif
 
 #ifndef STATUS_WX86_UNSIMULATE
-  #define STATUS_WX86_UNSIMULATE ((NTSTATUS) 0x4000001CL)
+define STATUS_WX86_UNSIMULATE ((NTSTATUS) 0x4000001CL)
 #endif
 
 #ifndef STATUS_WX86_CONTINUE
-  #define STATUS_WX86_CONTINUE ((NTSTATUS) 0x4000001DL)
+define STATUS_WX86_CONTINUE ((NTSTATUS) 0x4000001DL)
 #endif
 
 #ifndef STATUS_WX86_SINGLE_STEP
-  #define STATUS_WX86_SINGLE_STEP ((NTSTATUS) 0x4000001EL)
+define STATUS_WX86_SINGLE_STEP ((NTSTATUS) 0x4000001EL)
 #endif
 
 #ifndef STATUS_WX86_BREAKPOINT
-  #define STATUS_WX86_BREAKPOINT ((NTSTATUS) 0x4000001FL)
+define STATUS_WX86_BREAKPOINT ((NTSTATUS) 0x4000001FL)
 #endif
 
 #ifndef STATUS_WX86_EXCEPTION_CONTINUE
-  #define STATUS_WX86_EXCEPTION_CONTINUE ((NTSTATUS) 0x40000020L)
+define STATUS_WX86_EXCEPTION_CONTINUE ((NTSTATUS) 0x40000020L)
 #endif
 
 #ifndef STATUS_WX86_EXCEPTION_LASTCHANCE
-  #define STATUS_WX86_EXCEPTION_LASTCHANCE ((NTSTATUS) 0x40000021L)
+define STATUS_WX86_EXCEPTION_LASTCHANCE ((NTSTATUS) 0x40000021L)
 #endif
 
 #ifndef STATUS_WX86_EXCEPTION_CHAIN
-  #define STATUS_WX86_EXCEPTION_CHAIN ((NTSTATUS) 0x40000022L)
+define STATUS_WX86_EXCEPTION_CHAIN ((NTSTATUS) 0x40000022L)
 #endif
 
 #ifndef STATUS_IMAGE_MACHINE_TYPE_MISMATCH_EXE
-  #define STATUS_IMAGE_MACHINE_TYPE_MISMATCH_EXE ((NTSTATUS) 0x40000023L)
+define STATUS_IMAGE_MACHINE_TYPE_MISMATCH_EXE ((NTSTATUS) 0x40000023L)
 #endif
 
 #ifndef STATUS_NO_YIELD_PERFORMED
-  #define STATUS_NO_YIELD_PERFORMED ((NTSTATUS) 0x40000024L)
+define STATUS_NO_YIELD_PERFORMED ((NTSTATUS) 0x40000024L)
 #endif
 
 #ifndef STATUS_TIMER_RESUME_IGNORED
-  #define STATUS_TIMER_RESUME_IGNORED ((NTSTATUS) 0x40000025L)
+define STATUS_TIMER_RESUME_IGNORED ((NTSTATUS) 0x40000025L)
 #endif
 
 #ifndef STATUS_ARBITRATION_UNHANDLED
-  #define STATUS_ARBITRATION_UNHANDLED ((NTSTATUS) 0x40000026L)
+define STATUS_ARBITRATION_UNHANDLED ((NTSTATUS) 0x40000026L)
 #endif
 
 #ifndef STATUS_CARDBUS_NOT_SUPPORTED
-  #define STATUS_CARDBUS_NOT_SUPPORTED ((NTSTATUS) 0x40000027L)
+define STATUS_CARDBUS_NOT_SUPPORTED ((NTSTATUS) 0x40000027L)
 #endif
 
 #ifndef STATUS_WX86_CREATEWX86TIB
-  #define STATUS_WX86_CREATEWX86TIB ((NTSTATUS) 0x40000028L)
+define STATUS_WX86_CREATEWX86TIB ((NTSTATUS) 0x40000028L)
 #endif
 
 #ifndef STATUS_MP_PROCESSOR_MISMATCH
-  #define STATUS_MP_PROCESSOR_MISMATCH ((NTSTATUS) 0x40000029L)
+define STATUS_MP_PROCESSOR_MISMATCH ((NTSTATUS) 0x40000029L)
 #endif
 
 #ifndef STATUS_HIBERNATED
-  #define STATUS_HIBERNATED ((NTSTATUS) 0x4000002AL)
+define STATUS_HIBERNATED ((NTSTATUS) 0x4000002AL)
 #endif
 
 #ifndef STATUS_RESUME_HIBERNATION
-  #define STATUS_RESUME_HIBERNATION ((NTSTATUS) 0x4000002BL)
+define STATUS_RESUME_HIBERNATION ((NTSTATUS) 0x4000002BL)
 #endif
 
 #ifndef STATUS_FIRMWARE_UPDATED
-  #define STATUS_FIRMWARE_UPDATED ((NTSTATUS) 0x4000002CL)
+define STATUS_FIRMWARE_UPDATED ((NTSTATUS) 0x4000002CL)
 #endif
 
 #ifndef STATUS_DRIVERS_LEAKING_LOCKED_PAGES
-  #define STATUS_DRIVERS_LEAKING_LOCKED_PAGES ((NTSTATUS) 0x4000002DL)
+define STATUS_DRIVERS_LEAKING_LOCKED_PAGES ((NTSTATUS) 0x4000002DL)
 #endif
 
 #ifndef STATUS_MESSAGE_RETRIEVED
-  #define STATUS_MESSAGE_RETRIEVED ((NTSTATUS) 0x4000002EL)
+define STATUS_MESSAGE_RETRIEVED ((NTSTATUS) 0x4000002EL)
 #endif
 
 #ifndef STATUS_SYSTEM_POWERSTATE_TRANSITION
-  #define STATUS_SYSTEM_POWERSTATE_TRANSITION ((NTSTATUS) 0x4000002FL)
+define STATUS_SYSTEM_POWERSTATE_TRANSITION ((NTSTATUS) 0x4000002FL)
 #endif
 
 #ifndef STATUS_ALPC_CHECK_COMPLETION_LIST
-  #define STATUS_ALPC_CHECK_COMPLETION_LIST ((NTSTATUS) 0x40000030L)
+define STATUS_ALPC_CHECK_COMPLETION_LIST ((NTSTATUS) 0x40000030L)
 #endif
 
 #ifndef STATUS_SYSTEM_POWERSTATE_COMPLEX_TRANSITION
-  #define STATUS_SYSTEM_POWERSTATE_COMPLEX_TRANSITION ((NTSTATUS) 0x40000031L)
+define STATUS_SYSTEM_POWERSTATE_COMPLEX_TRANSITION ((NTSTATUS) 0x40000031L)
 #endif
 
 #ifndef STATUS_ACCESS_AUDIT_BY_POLICY
-  #define STATUS_ACCESS_AUDIT_BY_POLICY ((NTSTATUS) 0x40000032L)
+define STATUS_ACCESS_AUDIT_BY_POLICY ((NTSTATUS) 0x40000032L)
 #endif
 
 #ifndef STATUS_ABANDON_HIBERFILE
-  #define STATUS_ABANDON_HIBERFILE ((NTSTATUS) 0x40000033L)
+define STATUS_ABANDON_HIBERFILE ((NTSTATUS) 0x40000033L)
 #endif
 
 #ifndef STATUS_BIZRULES_NOT_ENABLED
-  #define STATUS_BIZRULES_NOT_ENABLED ((NTSTATUS) 0x40000034L)
+define STATUS_BIZRULES_NOT_ENABLED ((NTSTATUS) 0x40000034L)
 #endif
 
 #ifndef STATUS_GUARD_PAGE_VIOLATION
-  #define STATUS_GUARD_PAGE_VIOLATION ((NTSTATUS) 0x80000001L)
+define STATUS_GUARD_PAGE_VIOLATION ((NTSTATUS) 0x80000001L)
 #endif
 
 #ifndef STATUS_DATATYPE_MISALIGNMENT
-  #define STATUS_DATATYPE_MISALIGNMENT ((NTSTATUS) 0x80000002L)
+define STATUS_DATATYPE_MISALIGNMENT ((NTSTATUS) 0x80000002L)
 #endif
 
 #ifndef STATUS_BREAKPOINT
-  #define STATUS_BREAKPOINT ((NTSTATUS) 0x80000003L)
+define STATUS_BREAKPOINT ((NTSTATUS) 0x80000003L)
 #endif
 
 #ifndef STATUS_SINGLE_STEP
-  #define STATUS_SINGLE_STEP ((NTSTATUS) 0x80000004L)
+define STATUS_SINGLE_STEP ((NTSTATUS) 0x80000004L)
 #endif
 
 #ifndef STATUS_BUFFER_OVERFLOW
-  #define STATUS_BUFFER_OVERFLOW ((NTSTATUS) 0x80000005L)
+define STATUS_BUFFER_OVERFLOW ((NTSTATUS) 0x80000005L)
 #endif
 
 #ifndef STATUS_NO_MORE_FILES
-  #define STATUS_NO_MORE_FILES ((NTSTATUS) 0x80000006L)
+define STATUS_NO_MORE_FILES ((NTSTATUS) 0x80000006L)
 #endif
 
 #ifndef STATUS_WAKE_SYSTEM_DEBUGGER
-  #define STATUS_WAKE_SYSTEM_DEBUGGER ((NTSTATUS) 0x80000007L)
+define STATUS_WAKE_SYSTEM_DEBUGGER ((NTSTATUS) 0x80000007L)
 #endif
 
 #ifndef STATUS_HANDLES_CLOSED
-  #define STATUS_HANDLES_CLOSED ((NTSTATUS) 0x8000000AL)
+define STATUS_HANDLES_CLOSED ((NTSTATUS) 0x8000000AL)
 #endif
 
 #ifndef STATUS_NO_INHERITANCE
-  #define STATUS_NO_INHERITANCE ((NTSTATUS) 0x8000000BL)
+define STATUS_NO_INHERITANCE ((NTSTATUS) 0x8000000BL)
 #endif
 
 #ifndef STATUS_GUID_SUBSTITUTION_MADE
-  #define STATUS_GUID_SUBSTITUTION_MADE ((NTSTATUS) 0x8000000CL)
+define STATUS_GUID_SUBSTITUTION_MADE ((NTSTATUS) 0x8000000CL)
 #endif
 
 #ifndef STATUS_PARTIAL_COPY
-  #define STATUS_PARTIAL_COPY ((NTSTATUS) 0x8000000DL)
+define STATUS_PARTIAL_COPY ((NTSTATUS) 0x8000000DL)
 #endif
 
 #ifndef STATUS_DEVICE_PAPER_EMPTY
-  #define STATUS_DEVICE_PAPER_EMPTY ((NTSTATUS) 0x8000000EL)
+define STATUS_DEVICE_PAPER_EMPTY ((NTSTATUS) 0x8000000EL)
 #endif
 
 #ifndef STATUS_DEVICE_POWERED_OFF
-  #define STATUS_DEVICE_POWERED_OFF ((NTSTATUS) 0x8000000FL)
+define STATUS_DEVICE_POWERED_OFF ((NTSTATUS) 0x8000000FL)
 #endif
 
 #ifndef STATUS_DEVICE_OFF_LINE
-  #define STATUS_DEVICE_OFF_LINE ((NTSTATUS) 0x80000010L)
+define STATUS_DEVICE_OFF_LINE ((NTSTATUS) 0x80000010L)
 #endif
 
 #ifndef STATUS_DEVICE_BUSY
-  #define STATUS_DEVICE_BUSY ((NTSTATUS) 0x80000011L)
+define STATUS_DEVICE_BUSY ((NTSTATUS) 0x80000011L)
 #endif
 
 #ifndef STATUS_NO_MORE_EAS
-  #define STATUS_NO_MORE_EAS ((NTSTATUS) 0x80000012L)
+define STATUS_NO_MORE_EAS ((NTSTATUS) 0x80000012L)
 #endif
 
 #ifndef STATUS_INVALID_EA_NAME
-  #define STATUS_INVALID_EA_NAME ((NTSTATUS) 0x80000013L)
+define STATUS_INVALID_EA_NAME ((NTSTATUS) 0x80000013L)
 #endif
 
 #ifndef STATUS_EA_LIST_INCONSISTENT
-  #define STATUS_EA_LIST_INCONSISTENT ((NTSTATUS) 0x80000014L)
+define STATUS_EA_LIST_INCONSISTENT ((NTSTATUS) 0x80000014L)
 #endif
 
 #ifndef STATUS_INVALID_EA_FLAG
-  #define STATUS_INVALID_EA_FLAG ((NTSTATUS) 0x80000015L)
+define STATUS_INVALID_EA_FLAG ((NTSTATUS) 0x80000015L)
 #endif
 
 #ifndef STATUS_VERIFY_REQUIRED
-  #define STATUS_VERIFY_REQUIRED ((NTSTATUS) 0x80000016L)
+define STATUS_VERIFY_REQUIRED ((NTSTATUS) 0x80000016L)
 #endif
 
 #ifndef STATUS_EXTRANEOUS_INFORMATION
-  #define STATUS_EXTRANEOUS_INFORMATION ((NTSTATUS) 0x80000017L)
+define STATUS_EXTRANEOUS_INFORMATION ((NTSTATUS) 0x80000017L)
 #endif
 
 #ifndef STATUS_RXACT_COMMIT_NECESSARY
-  #define STATUS_RXACT_COMMIT_NECESSARY ((NTSTATUS) 0x80000018L)
+define STATUS_RXACT_COMMIT_NECESSARY ((NTSTATUS) 0x80000018L)
 #endif
 
 #ifndef STATUS_NO_MORE_ENTRIES
-  #define STATUS_NO_MORE_ENTRIES ((NTSTATUS) 0x8000001AL)
+define STATUS_NO_MORE_ENTRIES ((NTSTATUS) 0x8000001AL)
 #endif
 
 #ifndef STATUS_FILEMARK_DETECTED
-  #define STATUS_FILEMARK_DETECTED ((NTSTATUS) 0x8000001BL)
+define STATUS_FILEMARK_DETECTED ((NTSTATUS) 0x8000001BL)
 #endif
 
 #ifndef STATUS_MEDIA_CHANGED
-  #define STATUS_MEDIA_CHANGED ((NTSTATUS) 0x8000001CL)
+define STATUS_MEDIA_CHANGED ((NTSTATUS) 0x8000001CL)
 #endif
 
 #ifndef STATUS_BUS_RESET
-  #define STATUS_BUS_RESET ((NTSTATUS) 0x8000001DL)
+define STATUS_BUS_RESET ((NTSTATUS) 0x8000001DL)
 #endif
 
 #ifndef STATUS_END_OF_MEDIA
-  #define STATUS_END_OF_MEDIA ((NTSTATUS) 0x8000001EL)
+define STATUS_END_OF_MEDIA ((NTSTATUS) 0x8000001EL)
 #endif
 
 #ifndef STATUS_BEGINNING_OF_MEDIA
-  #define STATUS_BEGINNING_OF_MEDIA ((NTSTATUS) 0x8000001FL)
+define STATUS_BEGINNING_OF_MEDIA ((NTSTATUS) 0x8000001FL)
 #endif
 
 #ifndef STATUS_MEDIA_CHECK
-  #define STATUS_MEDIA_CHECK ((NTSTATUS) 0x80000020L)
+define STATUS_MEDIA_CHECK ((NTSTATUS) 0x80000020L)
 #endif
 
 #ifndef STATUS_SETMARK_DETECTED
-  #define STATUS_SETMARK_DETECTED ((NTSTATUS) 0x80000021L)
+define STATUS_SETMARK_DETECTED ((NTSTATUS) 0x80000021L)
 #endif
 
 #ifndef STATUS_NO_DATA_DETECTED
-  #define STATUS_NO_DATA_DETECTED ((NTSTATUS) 0x80000022L)
+define STATUS_NO_DATA_DETECTED ((NTSTATUS) 0x80000022L)
 #endif
 
 #ifndef STATUS_REDIRECTOR_HAS_OPEN_HANDLES
-  #define STATUS_REDIRECTOR_HAS_OPEN_HANDLES ((NTSTATUS) 0x80000023L)
+define STATUS_REDIRECTOR_HAS_OPEN_HANDLES ((NTSTATUS) 0x80000023L)
 #endif
 
 #ifndef STATUS_SERVER_HAS_OPEN_HANDLES
-  #define STATUS_SERVER_HAS_OPEN_HANDLES ((NTSTATUS) 0x80000024L)
+define STATUS_SERVER_HAS_OPEN_HANDLES ((NTSTATUS) 0x80000024L)
 #endif
 
 #ifndef STATUS_ALREADY_DISCONNECTED
-  #define STATUS_ALREADY_DISCONNECTED ((NTSTATUS) 0x80000025L)
+define STATUS_ALREADY_DISCONNECTED ((NTSTATUS) 0x80000025L)
 #endif
 
 #ifndef STATUS_LONGJUMP
-  #define STATUS_LONGJUMP ((NTSTATUS) 0x80000026L)
+define STATUS_LONGJUMP ((NTSTATUS) 0x80000026L)
 #endif
 
 #ifndef STATUS_CLEANER_CARTRIDGE_INSTALLED
-  #define STATUS_CLEANER_CARTRIDGE_INSTALLED ((NTSTATUS) 0x80000027L)
+define STATUS_CLEANER_CARTRIDGE_INSTALLED ((NTSTATUS) 0x80000027L)
 #endif
 
 #ifndef STATUS_PLUGPLAY_QUERY_VETOED
-  #define STATUS_PLUGPLAY_QUERY_VETOED ((NTSTATUS) 0x80000028L)
+define STATUS_PLUGPLAY_QUERY_VETOED ((NTSTATUS) 0x80000028L)
 #endif
 
 #ifndef STATUS_UNWIND_CONSOLIDATE
-  #define STATUS_UNWIND_CONSOLIDATE ((NTSTATUS) 0x80000029L)
+define STATUS_UNWIND_CONSOLIDATE ((NTSTATUS) 0x80000029L)
 #endif
 
 #ifndef STATUS_REGISTRY_HIVE_RECOVERED
-  #define STATUS_REGISTRY_HIVE_RECOVERED ((NTSTATUS) 0x8000002AL)
+define STATUS_REGISTRY_HIVE_RECOVERED ((NTSTATUS) 0x8000002AL)
 #endif
 
 #ifndef STATUS_DLL_MIGHT_BE_INSECURE
-  #define STATUS_DLL_MIGHT_BE_INSECURE ((NTSTATUS) 0x8000002BL)
+define STATUS_DLL_MIGHT_BE_INSECURE ((NTSTATUS) 0x8000002BL)
 #endif
 
 #ifndef STATUS_DLL_MIGHT_BE_INCOMPATIBLE
-  #define STATUS_DLL_MIGHT_BE_INCOMPATIBLE ((NTSTATUS) 0x8000002CL)
+define STATUS_DLL_MIGHT_BE_INCOMPATIBLE ((NTSTATUS) 0x8000002CL)
 #endif
 
 #ifndef STATUS_STOPPED_ON_SYMLINK
-  #define STATUS_STOPPED_ON_SYMLINK ((NTSTATUS) 0x8000002DL)
+define STATUS_STOPPED_ON_SYMLINK ((NTSTATUS) 0x8000002DL)
 #endif
 
 #ifndef STATUS_CANNOT_GRANT_REQUESTED_OPLOCK
-  #define STATUS_CANNOT_GRANT_REQUESTED_OPLOCK ((NTSTATUS) 0x8000002EL)
+define STATUS_CANNOT_GRANT_REQUESTED_OPLOCK ((NTSTATUS) 0x8000002EL)
 #endif
 
 #ifndef STATUS_NO_ACE_CONDITION
-  #define STATUS_NO_ACE_CONDITION ((NTSTATUS) 0x8000002FL)
+define STATUS_NO_ACE_CONDITION ((NTSTATUS) 0x8000002FL)
 #endif
 
 #ifndef STATUS_UNSUCCESSFUL
-  #define STATUS_UNSUCCESSFUL ((NTSTATUS) 0xC0000001L)
+define STATUS_UNSUCCESSFUL ((NTSTATUS) 0xC0000001L)
 #endif
 
 #ifndef STATUS_NOT_IMPLEMENTED
-  #define STATUS_NOT_IMPLEMENTED ((NTSTATUS) 0xC0000002L)
+define STATUS_NOT_IMPLEMENTED ((NTSTATUS) 0xC0000002L)
 #endif
 
 #ifndef STATUS_INVALID_INFO_CLASS
-  #define STATUS_INVALID_INFO_CLASS ((NTSTATUS) 0xC0000003L)
+define STATUS_INVALID_INFO_CLASS ((NTSTATUS) 0xC0000003L)
 #endif
 
 #ifndef STATUS_INFO_LENGTH_MISMATCH
-  #define STATUS_INFO_LENGTH_MISMATCH ((NTSTATUS) 0xC0000004L)
+define STATUS_INFO_LENGTH_MISMATCH ((NTSTATUS) 0xC0000004L)
 #endif
 
 #ifndef STATUS_ACCESS_VIOLATION
-  #define STATUS_ACCESS_VIOLATION ((NTSTATUS) 0xC0000005L)
+define STATUS_ACCESS_VIOLATION ((NTSTATUS) 0xC0000005L)
 #endif
 
 #ifndef STATUS_IN_PAGE_ERROR
-  #define STATUS_IN_PAGE_ERROR ((NTSTATUS) 0xC0000006L)
+define STATUS_IN_PAGE_ERROR ((NTSTATUS) 0xC0000006L)
 #endif
 
 #ifndef STATUS_PAGEFILE_QUOTA
-  #define STATUS_PAGEFILE_QUOTA ((NTSTATUS) 0xC0000007L)
+define STATUS_PAGEFILE_QUOTA ((NTSTATUS) 0xC0000007L)
 #endif
 
 #ifndef STATUS_INVALID_HANDLE
-  #define STATUS_INVALID_HANDLE ((NTSTATUS) 0xC0000008L)
+define STATUS_INVALID_HANDLE ((NTSTATUS) 0xC0000008L)
 #endif
 
 #ifndef STATUS_BAD_INITIAL_STACK
-  #define STATUS_BAD_INITIAL_STACK ((NTSTATUS) 0xC0000009L)
+define STATUS_BAD_INITIAL_STACK ((NTSTATUS) 0xC0000009L)
 #endif
 
 #ifndef STATUS_BAD_INITIAL_PC
-  #define STATUS_BAD_INITIAL_PC ((NTSTATUS) 0xC000000AL)
+define STATUS_BAD_INITIAL_PC ((NTSTATUS) 0xC000000AL)
 #endif
 
 #ifndef STATUS_INVALID_CID
-  #define STATUS_INVALID_CID ((NTSTATUS) 0xC000000BL)
+define STATUS_INVALID_CID ((NTSTATUS) 0xC000000BL)
 #endif
 
 #ifndef STATUS_TIMER_NOT_CANCELED
-  #define STATUS_TIMER_NOT_CANCELED ((NTSTATUS) 0xC000000CL)
+define STATUS_TIMER_NOT_CANCELED ((NTSTATUS) 0xC000000CL)
 #endif
 
 #ifndef STATUS_INVALID_PARAMETER
-  #define STATUS_INVALID_PARAMETER ((NTSTATUS) 0xC000000DL)
+define STATUS_INVALID_PARAMETER ((NTSTATUS) 0xC000000DL)
 #endif
 
 #ifndef STATUS_NO_SUCH_DEVICE
-  #define STATUS_NO_SUCH_DEVICE ((NTSTATUS) 0xC000000EL)
+define STATUS_NO_SUCH_DEVICE ((NTSTATUS) 0xC000000EL)
 #endif
 
 #ifndef STATUS_NO_SUCH_FILE
-  #define STATUS_NO_SUCH_FILE ((NTSTATUS) 0xC000000FL)
+define STATUS_NO_SUCH_FILE ((NTSTATUS) 0xC000000FL)
 #endif
 
 #ifndef STATUS_INVALID_DEVICE_REQUEST
-  #define STATUS_INVALID_DEVICE_REQUEST ((NTSTATUS) 0xC0000010L)
+define STATUS_INVALID_DEVICE_REQUEST ((NTSTATUS) 0xC0000010L)
 #endif
 
 #ifndef STATUS_END_OF_FILE
-  #define STATUS_END_OF_FILE ((NTSTATUS) 0xC0000011L)
+define STATUS_END_OF_FILE ((NTSTATUS) 0xC0000011L)
 #endif
 
 #ifndef STATUS_WRONG_VOLUME
-  #define STATUS_WRONG_VOLUME ((NTSTATUS) 0xC0000012L)
+define STATUS_WRONG_VOLUME ((NTSTATUS) 0xC0000012L)
 #endif
 
 #ifndef STATUS_NO_MEDIA_IN_DEVICE
-  #define STATUS_NO_MEDIA_IN_DEVICE ((NTSTATUS) 0xC0000013L)
+define STATUS_NO_MEDIA_IN_DEVICE ((NTSTATUS) 0xC0000013L)
 #endif
 
 #ifndef STATUS_UNRECOGNIZED_MEDIA
-  #define STATUS_UNRECOGNIZED_MEDIA ((NTSTATUS) 0xC0000014L)
+define STATUS_UNRECOGNIZED_MEDIA ((NTSTATUS) 0xC0000014L)
 #endif
 
 #ifndef STATUS_NONEXISTENT_SECTOR
-  #define STATUS_NONEXISTENT_SECTOR ((NTSTATUS) 0xC0000015L)
+define STATUS_NONEXISTENT_SECTOR ((NTSTATUS) 0xC0000015L)
 #endif
 
 #ifndef STATUS_MORE_PROCESSING_REQUIRED
-  #define STATUS_MORE_PROCESSING_REQUIRED ((NTSTATUS) 0xC0000016L)
+define STATUS_MORE_PROCESSING_REQUIRED ((NTSTATUS) 0xC0000016L)
 #endif
 
 #ifndef STATUS_NO_MEMORY
-  #define STATUS_NO_MEMORY ((NTSTATUS) 0xC0000017L)
+define STATUS_NO_MEMORY ((NTSTATUS) 0xC0000017L)
 #endif
 
 #ifndef STATUS_CONFLICTING_ADDRESSES
-  #define STATUS_CONFLICTING_ADDRESSES ((NTSTATUS) 0xC0000018L)
+define STATUS_CONFLICTING_ADDRESSES ((NTSTATUS) 0xC0000018L)
 #endif
 
 #ifndef STATUS_NOT_MAPPED_VIEW
-  #define STATUS_NOT_MAPPED_VIEW ((NTSTATUS) 0xC0000019L)
+define STATUS_NOT_MAPPED_VIEW ((NTSTATUS) 0xC0000019L)
 #endif
 
 #ifndef STATUS_UNABLE_TO_FREE_VM
-  #define STATUS_UNABLE_TO_FREE_VM ((NTSTATUS) 0xC000001AL)
+define STATUS_UNABLE_TO_FREE_VM ((NTSTATUS) 0xC000001AL)
 #endif
 
 #ifndef STATUS_UNABLE_TO_DELETE_SECTION
-  #define STATUS_UNABLE_TO_DELETE_SECTION ((NTSTATUS) 0xC000001BL)
+define STATUS_UNABLE_TO_DELETE_SECTION ((NTSTATUS) 0xC000001BL)
 #endif
 
 #ifndef STATUS_INVALID_SYSTEM_SERVICE
-  #define STATUS_INVALID_SYSTEM_SERVICE ((NTSTATUS) 0xC000001CL)
+define STATUS_INVALID_SYSTEM_SERVICE ((NTSTATUS) 0xC000001CL)
 #endif
 
 #ifndef STATUS_ILLEGAL_INSTRUCTION
-  #define STATUS_ILLEGAL_INSTRUCTION ((NTSTATUS) 0xC000001DL)
+define STATUS_ILLEGAL_INSTRUCTION ((NTSTATUS) 0xC000001DL)
 #endif
 
 #ifndef STATUS_INVALID_LOCK_SEQUENCE
-  #define STATUS_INVALID_LOCK_SEQUENCE ((NTSTATUS) 0xC000001EL)
+define STATUS_INVALID_LOCK_SEQUENCE ((NTSTATUS) 0xC000001EL)
 #endif
 
 #ifndef STATUS_INVALID_VIEW_SIZE
-  #define STATUS_INVALID_VIEW_SIZE ((NTSTATUS) 0xC000001FL)
+define STATUS_INVALID_VIEW_SIZE ((NTSTATUS) 0xC000001FL)
 #endif
 
 #ifndef STATUS_INVALID_FILE_FOR_SECTION
-  #define STATUS_INVALID_FILE_FOR_SECTION ((NTSTATUS) 0xC0000020L)
+define STATUS_INVALID_FILE_FOR_SECTION ((NTSTATUS) 0xC0000020L)
 #endif
 
 #ifndef STATUS_ALREADY_COMMITTED
-  #define STATUS_ALREADY_COMMITTED ((NTSTATUS) 0xC0000021L)
+define STATUS_ALREADY_COMMITTED ((NTSTATUS) 0xC0000021L)
 #endif
 
 #ifndef STATUS_ACCESS_DENIED
-  #define STATUS_ACCESS_DENIED ((NTSTATUS) 0xC0000022L)
+define STATUS_ACCESS_DENIED ((NTSTATUS) 0xC0000022L)
 #endif
 
 #ifndef STATUS_BUFFER_TOO_SMALL
-  #define STATUS_BUFFER_TOO_SMALL ((NTSTATUS) 0xC0000023L)
+define STATUS_BUFFER_TOO_SMALL ((NTSTATUS) 0xC0000023L)
 #endif
 
 #ifndef STATUS_OBJECT_TYPE_MISMATCH
-  #define STATUS_OBJECT_TYPE_MISMATCH ((NTSTATUS) 0xC0000024L)
+define STATUS_OBJECT_TYPE_MISMATCH ((NTSTATUS) 0xC0000024L)
 #endif
 
 #ifndef STATUS_NONCONTINUABLE_EXCEPTION
-  #define STATUS_NONCONTINUABLE_EXCEPTION ((NTSTATUS) 0xC0000025L)
+define STATUS_NONCONTINUABLE_EXCEPTION ((NTSTATUS) 0xC0000025L)
 #endif
 
 #ifndef STATUS_INVALID_DISPOSITION
-  #define STATUS_INVALID_DISPOSITION ((NTSTATUS) 0xC0000026L)
+define STATUS_INVALID_DISPOSITION ((NTSTATUS) 0xC0000026L)
 #endif
 
 #ifndef STATUS_UNWIND
-  #define STATUS_UNWIND ((NTSTATUS) 0xC0000027L)
+define STATUS_UNWIND ((NTSTATUS) 0xC0000027L)
 #endif
 
 #ifndef STATUS_BAD_STACK
-  #define STATUS_BAD_STACK ((NTSTATUS) 0xC0000028L)
+define STATUS_BAD_STACK ((NTSTATUS) 0xC0000028L)
 #endif
 
 #ifndef STATUS_INVALID_UNWIND_TARGET
-  #define STATUS_INVALID_UNWIND_TARGET ((NTSTATUS) 0xC0000029L)
+define STATUS_INVALID_UNWIND_TARGET ((NTSTATUS) 0xC0000029L)
 #endif
 
 #ifndef STATUS_NOT_LOCKED
-  #define STATUS_NOT_LOCKED ((NTSTATUS) 0xC000002AL)
+define STATUS_NOT_LOCKED ((NTSTATUS) 0xC000002AL)
 #endif
 
 #ifndef STATUS_PARITY_ERROR
-  #define STATUS_PARITY_ERROR ((NTSTATUS) 0xC000002BL)
+define STATUS_PARITY_ERROR ((NTSTATUS) 0xC000002BL)
 #endif
 
 #ifndef STATUS_UNABLE_TO_DECOMMIT_VM
-  #define STATUS_UNABLE_TO_DECOMMIT_VM ((NTSTATUS) 0xC000002CL)
+define STATUS_UNABLE_TO_DECOMMIT_VM ((NTSTATUS) 0xC000002CL)
 #endif
 
 #ifndef STATUS_NOT_COMMITTED
-  #define STATUS_NOT_COMMITTED ((NTSTATUS) 0xC000002DL)
+define STATUS_NOT_COMMITTED ((NTSTATUS) 0xC000002DL)
 #endif
 
 #ifndef STATUS_INVALID_PORT_ATTRIBUTES
-  #define STATUS_INVALID_PORT_ATTRIBUTES ((NTSTATUS) 0xC000002EL)
+define STATUS_INVALID_PORT_ATTRIBUTES ((NTSTATUS) 0xC000002EL)
 #endif
 
 #ifndef STATUS_PORT_MESSAGE_TOO_LONG
-  #define STATUS_PORT_MESSAGE_TOO_LONG ((NTSTATUS) 0xC000002FL)
+define STATUS_PORT_MESSAGE_TOO_LONG ((NTSTATUS) 0xC000002FL)
 #endif
 
 #ifndef STATUS_INVALID_PARAMETER_MIX
-  #define STATUS_INVALID_PARAMETER_MIX ((NTSTATUS) 0xC0000030L)
+define STATUS_INVALID_PARAMETER_MIX ((NTSTATUS) 0xC0000030L)
 #endif
 
 #ifndef STATUS_INVALID_QUOTA_LOWER
-  #define STATUS_INVALID_QUOTA_LOWER ((NTSTATUS) 0xC0000031L)
+define STATUS_INVALID_QUOTA_LOWER ((NTSTATUS) 0xC0000031L)
 #endif
 
 #ifndef STATUS_DISK_CORRUPT_ERROR
-  #define STATUS_DISK_CORRUPT_ERROR ((NTSTATUS) 0xC0000032L)
+define STATUS_DISK_CORRUPT_ERROR ((NTSTATUS) 0xC0000032L)
 #endif
 
 #ifndef STATUS_OBJECT_NAME_INVALID
-  #define STATUS_OBJECT_NAME_INVALID ((NTSTATUS) 0xC0000033L)
+define STATUS_OBJECT_NAME_INVALID ((NTSTATUS) 0xC0000033L)
 #endif
 
 #ifndef STATUS_OBJECT_NAME_NOT_FOUND
-  #define STATUS_OBJECT_NAME_NOT_FOUND ((NTSTATUS) 0xC0000034L)
+define STATUS_OBJECT_NAME_NOT_FOUND ((NTSTATUS) 0xC0000034L)
 #endif
 
 #ifndef STATUS_OBJECT_NAME_COLLISION
-  #define STATUS_OBJECT_NAME_COLLISION ((NTSTATUS) 0xC0000035L)
+define STATUS_OBJECT_NAME_COLLISION ((NTSTATUS) 0xC0000035L)
 #endif
 
 #ifndef STATUS_PORT_DISCONNECTED
-  #define STATUS_PORT_DISCONNECTED ((NTSTATUS) 0xC0000037L)
+define STATUS_PORT_DISCONNECTED ((NTSTATUS) 0xC0000037L)
 #endif
 
 #ifndef STATUS_DEVICE_ALREADY_ATTACHED
-  #define STATUS_DEVICE_ALREADY_ATTACHED ((NTSTATUS) 0xC0000038L)
+define STATUS_DEVICE_ALREADY_ATTACHED ((NTSTATUS) 0xC0000038L)
 #endif
 
 #ifndef STATUS_OBJECT_PATH_INVALID
-  #define STATUS_OBJECT_PATH_INVALID ((NTSTATUS) 0xC0000039L)
+define STATUS_OBJECT_PATH_INVALID ((NTSTATUS) 0xC0000039L)
 #endif
 
 #ifndef STATUS_OBJECT_PATH_NOT_FOUND
-  #define STATUS_OBJECT_PATH_NOT_FOUND ((NTSTATUS) 0xC000003AL)
+define STATUS_OBJECT_PATH_NOT_FOUND ((NTSTATUS) 0xC000003AL)
 #endif
 
 #ifndef STATUS_OBJECT_PATH_SYNTAX_BAD
-  #define STATUS_OBJECT_PATH_SYNTAX_BAD ((NTSTATUS) 0xC000003BL)
+define STATUS_OBJECT_PATH_SYNTAX_BAD ((NTSTATUS) 0xC000003BL)
 #endif
 
 #ifndef STATUS_DATA_OVERRUN
-  #define STATUS_DATA_OVERRUN ((NTSTATUS) 0xC000003CL)
+define STATUS_DATA_OVERRUN ((NTSTATUS) 0xC000003CL)
 #endif
 
 #ifndef STATUS_DATA_LATE_ERROR
-  #define STATUS_DATA_LATE_ERROR ((NTSTATUS) 0xC000003DL)
+define STATUS_DATA_LATE_ERROR ((NTSTATUS) 0xC000003DL)
 #endif
 
 #ifndef STATUS_DATA_ERROR
-  #define STATUS_DATA_ERROR ((NTSTATUS) 0xC000003EL)
+define STATUS_DATA_ERROR ((NTSTATUS) 0xC000003EL)
 #endif
 
 #ifndef STATUS_CRC_ERROR
-  #define STATUS_CRC_ERROR ((NTSTATUS) 0xC000003FL)
+define STATUS_CRC_ERROR ((NTSTATUS) 0xC000003FL)
 #endif
 
 #ifndef STATUS_SECTION_TOO_BIG
-  #define STATUS_SECTION_TOO_BIG ((NTSTATUS) 0xC0000040L)
+define STATUS_SECTION_TOO_BIG ((NTSTATUS) 0xC0000040L)
 #endif
 
 #ifndef STATUS_PORT_CONNECTION_REFUSED
-  #define STATUS_PORT_CONNECTION_REFUSED ((NTSTATUS) 0xC0000041L)
+define STATUS_PORT_CONNECTION_REFUSED ((NTSTATUS) 0xC0000041L)
 #endif
 
 #ifndef STATUS_INVALID_PORT_HANDLE
-  #define STATUS_INVALID_PORT_HANDLE ((NTSTATUS) 0xC0000042L)
+define STATUS_INVALID_PORT_HANDLE ((NTSTATUS) 0xC0000042L)
 #endif
 
 #ifndef STATUS_SHARING_VIOLATION
-  #define STATUS_SHARING_VIOLATION ((NTSTATUS) 0xC0000043L)
+define STATUS_SHARING_VIOLATION ((NTSTATUS) 0xC0000043L)
 #endif
 
 #ifndef STATUS_QUOTA_EXCEEDED
-  #define STATUS_QUOTA_EXCEEDED ((NTSTATUS) 0xC0000044L)
+define STATUS_QUOTA_EXCEEDED ((NTSTATUS) 0xC0000044L)
 #endif
 
 #ifndef STATUS_INVALID_PAGE_PROTECTION
-  #define STATUS_INVALID_PAGE_PROTECTION ((NTSTATUS) 0xC0000045L)
+define STATUS_INVALID_PAGE_PROTECTION ((NTSTATUS) 0xC0000045L)
 #endif
 
 #ifndef STATUS_MUTANT_NOT_OWNED
-  #define STATUS_MUTANT_NOT_OWNED ((NTSTATUS) 0xC0000046L)
+define STATUS_MUTANT_NOT_OWNED ((NTSTATUS) 0xC0000046L)
 #endif
 
 #ifndef STATUS_SEMAPHORE_LIMIT_EXCEEDED
-  #define STATUS_SEMAPHORE_LIMIT_EXCEEDED ((NTSTATUS) 0xC0000047L)
+define STATUS_SEMAPHORE_LIMIT_EXCEEDED ((NTSTATUS) 0xC0000047L)
 #endif
 
 #ifndef STATUS_PORT_ALREADY_SET
-  #define STATUS_PORT_ALREADY_SET ((NTSTATUS) 0xC0000048L)
+define STATUS_PORT_ALREADY_SET ((NTSTATUS) 0xC0000048L)
 #endif
 
 #ifndef STATUS_SECTION_NOT_IMAGE
-  #define STATUS_SECTION_NOT_IMAGE ((NTSTATUS) 0xC0000049L)
+define STATUS_SECTION_NOT_IMAGE ((NTSTATUS) 0xC0000049L)
 #endif
 
 #ifndef STATUS_SUSPEND_COUNT_EXCEEDED
-  #define STATUS_SUSPEND_COUNT_EXCEEDED ((NTSTATUS) 0xC000004AL)
+define STATUS_SUSPEND_COUNT_EXCEEDED ((NTSTATUS) 0xC000004AL)
 #endif
 
 #ifndef STATUS_THREAD_IS_TERMINATING
-  #define STATUS_THREAD_IS_TERMINATING ((NTSTATUS) 0xC000004BL)
+define STATUS_THREAD_IS_TERMINATING ((NTSTATUS) 0xC000004BL)
 #endif
 
 #ifndef STATUS_BAD_WORKING_SET_LIMIT
-  #define STATUS_BAD_WORKING_SET_LIMIT ((NTSTATUS) 0xC000004CL)
+define STATUS_BAD_WORKING_SET_LIMIT ((NTSTATUS) 0xC000004CL)
 #endif
 
 #ifndef STATUS_INCOMPATIBLE_FILE_MAP
-  #define STATUS_INCOMPATIBLE_FILE_MAP ((NTSTATUS) 0xC000004DL)
+define STATUS_INCOMPATIBLE_FILE_MAP ((NTSTATUS) 0xC000004DL)
 #endif
 
 #ifndef STATUS_SECTION_PROTECTION
-  #define STATUS_SECTION_PROTECTION ((NTSTATUS) 0xC000004EL)
+define STATUS_SECTION_PROTECTION ((NTSTATUS) 0xC000004EL)
 #endif
 
 #ifndef STATUS_EAS_NOT_SUPPORTED
-  #define STATUS_EAS_NOT_SUPPORTED ((NTSTATUS) 0xC000004FL)
+define STATUS_EAS_NOT_SUPPORTED ((NTSTATUS) 0xC000004FL)
 #endif
 
 #ifndef STATUS_EA_TOO_LARGE
-  #define STATUS_EA_TOO_LARGE ((NTSTATUS) 0xC0000050L)
+define STATUS_EA_TOO_LARGE ((NTSTATUS) 0xC0000050L)
 #endif
 
 #ifndef STATUS_NONEXISTENT_EA_ENTRY
-  #define STATUS_NONEXISTENT_EA_ENTRY ((NTSTATUS) 0xC0000051L)
+define STATUS_NONEXISTENT_EA_ENTRY ((NTSTATUS) 0xC0000051L)
 #endif
 
 #ifndef STATUS_NO_EAS_ON_FILE
-  #define STATUS_NO_EAS_ON_FILE ((NTSTATUS) 0xC0000052L)
+define STATUS_NO_EAS_ON_FILE ((NTSTATUS) 0xC0000052L)
 #endif
 
 #ifndef STATUS_EA_CORRUPT_ERROR
-  #define STATUS_EA_CORRUPT_ERROR ((NTSTATUS) 0xC0000053L)
+define STATUS_EA_CORRUPT_ERROR ((NTSTATUS) 0xC0000053L)
 #endif
 
 #ifndef STATUS_FILE_LOCK_CONFLICT
-  #define STATUS_FILE_LOCK_CONFLICT ((NTSTATUS) 0xC0000054L)
+define STATUS_FILE_LOCK_CONFLICT ((NTSTATUS) 0xC0000054L)
 #endif
 
 #ifndef STATUS_LOCK_NOT_GRANTED
-  #define STATUS_LOCK_NOT_GRANTED ((NTSTATUS) 0xC0000055L)
+define STATUS_LOCK_NOT_GRANTED ((NTSTATUS) 0xC0000055L)
 #endif
 
 #ifndef STATUS_DELETE_PENDING
-  #define STATUS_DELETE_PENDING ((NTSTATUS) 0xC0000056L)
+define STATUS_DELETE_PENDING ((NTSTATUS) 0xC0000056L)
 #endif
 
 #ifndef STATUS_CTL_FILE_NOT_SUPPORTED
-  #define STATUS_CTL_FILE_NOT_SUPPORTED ((NTSTATUS) 0xC0000057L)
+define STATUS_CTL_FILE_NOT_SUPPORTED ((NTSTATUS) 0xC0000057L)
 #endif
 
 #ifndef STATUS_UNKNOWN_REVISION
-  #define STATUS_UNKNOWN_REVISION ((NTSTATUS) 0xC0000058L)
+define STATUS_UNKNOWN_REVISION ((NTSTATUS) 0xC0000058L)
 #endif
 
 #ifndef STATUS_REVISION_MISMATCH
-  #define STATUS_REVISION_MISMATCH ((NTSTATUS) 0xC0000059L)
+define STATUS_REVISION_MISMATCH ((NTSTATUS) 0xC0000059L)
 #endif
 
 #ifndef STATUS_INVALID_OWNER
-  #define STATUS_INVALID_OWNER ((NTSTATUS) 0xC000005AL)
+define STATUS_INVALID_OWNER ((NTSTATUS) 0xC000005AL)
 #endif
 
 #ifndef STATUS_INVALID_PRIMARY_GROUP
-  #define STATUS_INVALID_PRIMARY_GROUP ((NTSTATUS) 0xC000005BL)
+define STATUS_INVALID_PRIMARY_GROUP ((NTSTATUS) 0xC000005BL)
 #endif
 
 #ifndef STATUS_NO_IMPERSONATION_TOKEN
-  #define STATUS_NO_IMPERSONATION_TOKEN ((NTSTATUS) 0xC000005CL)
+define STATUS_NO_IMPERSONATION_TOKEN ((NTSTATUS) 0xC000005CL)
 #endif
 
 #ifndef STATUS_CANT_DISABLE_MANDATORY
-  #define STATUS_CANT_DISABLE_MANDATORY ((NTSTATUS) 0xC000005DL)
+define STATUS_CANT_DISABLE_MANDATORY ((NTSTATUS) 0xC000005DL)
 #endif
 
 #ifndef STATUS_NO_LOGON_SERVERS
-  #define STATUS_NO_LOGON_SERVERS ((NTSTATUS) 0xC000005EL)
+define STATUS_NO_LOGON_SERVERS ((NTSTATUS) 0xC000005EL)
 #endif
 
 #ifndef STATUS_NO_SUCH_LOGON_SESSION
-  #define STATUS_NO_SUCH_LOGON_SESSION ((NTSTATUS) 0xC000005FL)
+define STATUS_NO_SUCH_LOGON_SESSION ((NTSTATUS) 0xC000005FL)
 #endif
 
 #ifndef STATUS_NO_SUCH_PRIVILEGE
-  #define STATUS_NO_SUCH_PRIVILEGE ((NTSTATUS) 0xC0000060L)
+define STATUS_NO_SUCH_PRIVILEGE ((NTSTATUS) 0xC0000060L)
 #endif
 
 #ifndef STATUS_PRIVILEGE_NOT_HELD
-  #define STATUS_PRIVILEGE_NOT_HELD ((NTSTATUS) 0xC0000061L)
+define STATUS_PRIVILEGE_NOT_HELD ((NTSTATUS) 0xC0000061L)
 #endif
 
 #ifndef STATUS_INVALID_ACCOUNT_NAME
-  #define STATUS_INVALID_ACCOUNT_NAME ((NTSTATUS) 0xC0000062L)
+define STATUS_INVALID_ACCOUNT_NAME ((NTSTATUS) 0xC0000062L)
 #endif
 
 #ifndef STATUS_USER_EXISTS
-  #define STATUS_USER_EXISTS ((NTSTATUS) 0xC0000063L)
+define STATUS_USER_EXISTS ((NTSTATUS) 0xC0000063L)
 #endif
 
 #ifndef STATUS_NO_SUCH_USER
-  #define STATUS_NO_SUCH_USER ((NTSTATUS) 0xC0000064L)
+define STATUS_NO_SUCH_USER ((NTSTATUS) 0xC0000064L)
 #endif
 
 #ifndef STATUS_GROUP_EXISTS
-  #define STATUS_GROUP_EXISTS ((NTSTATUS) 0xC0000065L)
+define STATUS_GROUP_EXISTS ((NTSTATUS) 0xC0000065L)
 #endif
 
 #ifndef STATUS_NO_SUCH_GROUP
-  #define STATUS_NO_SUCH_GROUP ((NTSTATUS) 0xC0000066L)
+define STATUS_NO_SUCH_GROUP ((NTSTATUS) 0xC0000066L)
 #endif
 
 #ifndef STATUS_MEMBER_IN_GROUP
-  #define STATUS_MEMBER_IN_GROUP ((NTSTATUS) 0xC0000067L)
+define STATUS_MEMBER_IN_GROUP ((NTSTATUS) 0xC0000067L)
 #endif
 
 #ifndef STATUS_MEMBER_NOT_IN_GROUP
-  #define STATUS_MEMBER_NOT_IN_GROUP ((NTSTATUS) 0xC0000068L)
+define STATUS_MEMBER_NOT_IN_GROUP ((NTSTATUS) 0xC0000068L)
 #endif
 
 #ifndef STATUS_LAST_ADMIN
-  #define STATUS_LAST_ADMIN ((NTSTATUS) 0xC0000069L)
+define STATUS_LAST_ADMIN ((NTSTATUS) 0xC0000069L)
 #endif
 
 #ifndef STATUS_WRONG_PASSWORD
-  #define STATUS_WRONG_PASSWORD ((NTSTATUS) 0xC000006AL)
+define STATUS_WRONG_PASSWORD ((NTSTATUS) 0xC000006AL)
 #endif
 
 #ifndef STATUS_ILL_FORMED_PASSWORD
-  #define STATUS_ILL_FORMED_PASSWORD ((NTSTATUS) 0xC000006BL)
+define STATUS_ILL_FORMED_PASSWORD ((NTSTATUS) 0xC000006BL)
 #endif
 
 #ifndef STATUS_PASSWORD_RESTRICTION
-  #define STATUS_PASSWORD_RESTRICTION ((NTSTATUS) 0xC000006CL)
+define STATUS_PASSWORD_RESTRICTION ((NTSTATUS) 0xC000006CL)
 #endif
 
 #ifndef STATUS_LOGON_FAILURE
-  #define STATUS_LOGON_FAILURE ((NTSTATUS) 0xC000006DL)
+define STATUS_LOGON_FAILURE ((NTSTATUS) 0xC000006DL)
 #endif
 
 #ifndef STATUS_ACCOUNT_RESTRICTION
-  #define STATUS_ACCOUNT_RESTRICTION ((NTSTATUS) 0xC000006EL)
+define STATUS_ACCOUNT_RESTRICTION ((NTSTATUS) 0xC000006EL)
 #endif
 
 #ifndef STATUS_INVALID_LOGON_HOURS
-  #define STATUS_INVALID_LOGON_HOURS ((NTSTATUS) 0xC000006FL)
+define STATUS_INVALID_LOGON_HOURS ((NTSTATUS) 0xC000006FL)
 #endif
 
 #ifndef STATUS_INVALID_WORKSTATION
-  #define STATUS_INVALID_WORKSTATION ((NTSTATUS) 0xC0000070L)
+define STATUS_INVALID_WORKSTATION ((NTSTATUS) 0xC0000070L)
 #endif
 
 #ifndef STATUS_PASSWORD_EXPIRED
-  #define STATUS_PASSWORD_EXPIRED ((NTSTATUS) 0xC0000071L)
+define STATUS_PASSWORD_EXPIRED ((NTSTATUS) 0xC0000071L)
 #endif
 
 #ifndef STATUS_ACCOUNT_DISABLED
-  #define STATUS_ACCOUNT_DISABLED ((NTSTATUS) 0xC0000072L)
+define STATUS_ACCOUNT_DISABLED ((NTSTATUS) 0xC0000072L)
 #endif
 
 #ifndef STATUS_NONE_MAPPED
-  #define STATUS_NONE_MAPPED ((NTSTATUS) 0xC0000073L)
+define STATUS_NONE_MAPPED ((NTSTATUS) 0xC0000073L)
 #endif
 
 #ifndef STATUS_TOO_MANY_LUIDS_REQUESTED
-  #define STATUS_TOO_MANY_LUIDS_REQUESTED ((NTSTATUS) 0xC0000074L)
+define STATUS_TOO_MANY_LUIDS_REQUESTED ((NTSTATUS) 0xC0000074L)
 #endif
 
 #ifndef STATUS_LUIDS_EXHAUSTED
-  #define STATUS_LUIDS_EXHAUSTED ((NTSTATUS) 0xC0000075L)
+define STATUS_LUIDS_EXHAUSTED ((NTSTATUS) 0xC0000075L)
 #endif
 
 #ifndef STATUS_INVALID_SUB_AUTHORITY
-  #define STATUS_INVALID_SUB_AUTHORITY ((NTSTATUS) 0xC0000076L)
+define STATUS_INVALID_SUB_AUTHORITY ((NTSTATUS) 0xC0000076L)
 #endif
 
 #ifndef STATUS_INVALID_ACL
-  #define STATUS_INVALID_ACL ((NTSTATUS) 0xC0000077L)
+define STATUS_INVALID_ACL ((NTSTATUS) 0xC0000077L)
 #endif
 
 #ifndef STATUS_INVALID_SID
-  #define STATUS_INVALID_SID ((NTSTATUS) 0xC0000078L)
+define STATUS_INVALID_SID ((NTSTATUS) 0xC0000078L)
 #endif
 
 #ifndef STATUS_INVALID_SECURITY_DESCR
-  #define STATUS_INVALID_SECURITY_DESCR ((NTSTATUS) 0xC0000079L)
+define STATUS_INVALID_SECURITY_DESCR ((NTSTATUS) 0xC0000079L)
 #endif
 
 #ifndef STATUS_PROCEDURE_NOT_FOUND
-  #define STATUS_PROCEDURE_NOT_FOUND ((NTSTATUS) 0xC000007AL)
+define STATUS_PROCEDURE_NOT_FOUND ((NTSTATUS) 0xC000007AL)
 #endif
 
 #ifndef STATUS_INVALID_IMAGE_FORMAT
-  #define STATUS_INVALID_IMAGE_FORMAT ((NTSTATUS) 0xC000007BL)
+define STATUS_INVALID_IMAGE_FORMAT ((NTSTATUS) 0xC000007BL)
 #endif
 
 #ifndef STATUS_NO_TOKEN
-  #define STATUS_NO_TOKEN ((NTSTATUS) 0xC000007CL)
+define STATUS_NO_TOKEN ((NTSTATUS) 0xC000007CL)
 #endif
 
 #ifndef STATUS_BAD_INHERITANCE_ACL
-  #define STATUS_BAD_INHERITANCE_ACL ((NTSTATUS) 0xC000007DL)
+define STATUS_BAD_INHERITANCE_ACL ((NTSTATUS) 0xC000007DL)
 #endif
 
 #ifndef STATUS_RANGE_NOT_LOCKED
-  #define STATUS_RANGE_NOT_LOCKED ((NTSTATUS) 0xC000007EL)
+define STATUS_RANGE_NOT_LOCKED ((NTSTATUS) 0xC000007EL)
 #endif
 
 #ifndef STATUS_DISK_FULL
-  #define STATUS_DISK_FULL ((NTSTATUS) 0xC000007FL)
+define STATUS_DISK_FULL ((NTSTATUS) 0xC000007FL)
 #endif
 
 #ifndef STATUS_SERVER_DISABLED
-  #define STATUS_SERVER_DISABLED ((NTSTATUS) 0xC0000080L)
+define STATUS_SERVER_DISABLED ((NTSTATUS) 0xC0000080L)
 #endif
 
 #ifndef STATUS_SERVER_NOT_DISABLED
-  #define STATUS_SERVER_NOT_DISABLED ((NTSTATUS) 0xC0000081L)
+define STATUS_SERVER_NOT_DISABLED ((NTSTATUS) 0xC0000081L)
 #endif
 
 #ifndef STATUS_TOO_MANY_GUIDS_REQUESTED
-  #define STATUS_TOO_MANY_GUIDS_REQUESTED ((NTSTATUS) 0xC0000082L)
+define STATUS_TOO_MANY_GUIDS_REQUESTED ((NTSTATUS) 0xC0000082L)
 #endif
 
 #ifndef STATUS_GUIDS_EXHAUSTED
-  #define STATUS_GUIDS_EXHAUSTED ((NTSTATUS) 0xC0000083L)
+define STATUS_GUIDS_EXHAUSTED ((NTSTATUS) 0xC0000083L)
 #endif
 
 #ifndef STATUS_INVALID_ID_AUTHORITY
-  #define STATUS_INVALID_ID_AUTHORITY ((NTSTATUS) 0xC0000084L)
+define STATUS_INVALID_ID_AUTHORITY ((NTSTATUS) 0xC0000084L)
 #endif
 
 #ifndef STATUS_AGENTS_EXHAUSTED
-  #define STATUS_AGENTS_EXHAUSTED ((NTSTATUS) 0xC0000085L)
+define STATUS_AGENTS_EXHAUSTED ((NTSTATUS) 0xC0000085L)
 #endif
 
 #ifndef STATUS_INVALID_VOLUME_LABEL
-  #define STATUS_INVALID_VOLUME_LABEL ((NTSTATUS) 0xC0000086L)
+define STATUS_INVALID_VOLUME_LABEL ((NTSTATUS) 0xC0000086L)
 #endif
 
 #ifndef STATUS_SECTION_NOT_EXTENDED
-  #define STATUS_SECTION_NOT_EXTENDED ((NTSTATUS) 0xC0000087L)
+define STATUS_SECTION_NOT_EXTENDED ((NTSTATUS) 0xC0000087L)
 #endif
 
 #ifndef STATUS_NOT_MAPPED_DATA
-  #define STATUS_NOT_MAPPED_DATA ((NTSTATUS) 0xC0000088L)
+define STATUS_NOT_MAPPED_DATA ((NTSTATUS) 0xC0000088L)
 #endif
 
 #ifndef STATUS_RESOURCE_DATA_NOT_FOUND
-  #define STATUS_RESOURCE_DATA_NOT_FOUND ((NTSTATUS) 0xC0000089L)
+define STATUS_RESOURCE_DATA_NOT_FOUND ((NTSTATUS) 0xC0000089L)
 #endif
 
 #ifndef STATUS_RESOURCE_TYPE_NOT_FOUND
-  #define STATUS_RESOURCE_TYPE_NOT_FOUND ((NTSTATUS) 0xC000008AL)
+define STATUS_RESOURCE_TYPE_NOT_FOUND ((NTSTATUS) 0xC000008AL)
 #endif
 
 #ifndef STATUS_RESOURCE_NAME_NOT_FOUND
-  #define STATUS_RESOURCE_NAME_NOT_FOUND ((NTSTATUS) 0xC000008BL)
+define STATUS_RESOURCE_NAME_NOT_FOUND ((NTSTATUS) 0xC000008BL)
 #endif
 
 #ifndef STATUS_ARRAY_BOUNDS_EXCEEDED
-  #define STATUS_ARRAY_BOUNDS_EXCEEDED ((NTSTATUS) 0xC000008CL)
+define STATUS_ARRAY_BOUNDS_EXCEEDED ((NTSTATUS) 0xC000008CL)
 #endif
 
 #ifndef STATUS_FLOAT_DENORMAL_OPERAND
-  #define STATUS_FLOAT_DENORMAL_OPERAND ((NTSTATUS) 0xC000008DL)
+define STATUS_FLOAT_DENORMAL_OPERAND ((NTSTATUS) 0xC000008DL)
 #endif
 
 #ifndef STATUS_FLOAT_DIVIDE_BY_ZERO
-  #define STATUS_FLOAT_DIVIDE_BY_ZERO ((NTSTATUS) 0xC000008EL)
+define STATUS_FLOAT_DIVIDE_BY_ZERO ((NTSTATUS) 0xC000008EL)
 #endif
 
 #ifndef STATUS_FLOAT_INEXACT_RESULT
-  #define STATUS_FLOAT_INEXACT_RESULT ((NTSTATUS) 0xC000008FL)
+define STATUS_FLOAT_INEXACT_RESULT ((NTSTATUS) 0xC000008FL)
 #endif
 
 #ifndef STATUS_FLOAT_INVALID_OPERATION
-  #define STATUS_FLOAT_INVALID_OPERATION ((NTSTATUS) 0xC0000090L)
+define STATUS_FLOAT_INVALID_OPERATION ((NTSTATUS) 0xC0000090L)
 #endif
 
 #ifndef STATUS_FLOAT_OVERFLOW
-  #define STATUS_FLOAT_OVERFLOW ((NTSTATUS) 0xC0000091L)
+define STATUS_FLOAT_OVERFLOW ((NTSTATUS) 0xC0000091L)
 #endif
 
 #ifndef STATUS_FLOAT_STACK_CHECK
-  #define STATUS_FLOAT_STACK_CHECK ((NTSTATUS) 0xC0000092L)
+define STATUS_FLOAT_STACK_CHECK ((NTSTATUS) 0xC0000092L)
 #endif
 
 #ifndef STATUS_FLOAT_UNDERFLOW
-  #define STATUS_FLOAT_UNDERFLOW ((NTSTATUS) 0xC0000093L)
+define STATUS_FLOAT_UNDERFLOW ((NTSTATUS) 0xC0000093L)
 #endif
 
 #ifndef STATUS_INTEGER_DIVIDE_BY_ZERO
-  #define STATUS_INTEGER_DIVIDE_BY_ZERO ((NTSTATUS) 0xC0000094L)
+define STATUS_INTEGER_DIVIDE_BY_ZERO ((NTSTATUS) 0xC0000094L)
 #endif
 
 #ifndef STATUS_INTEGER_OVERFLOW
-  #define STATUS_INTEGER_OVERFLOW ((NTSTATUS) 0xC0000095L)
+define STATUS_INTEGER_OVERFLOW ((NTSTATUS) 0xC0000095L)
 #endif
 
 #ifndef STATUS_PRIVILEGED_INSTRUCTION
-  #define STATUS_PRIVILEGED_INSTRUCTION ((NTSTATUS) 0xC0000096L)
+define STATUS_PRIVILEGED_INSTRUCTION ((NTSTATUS) 0xC0000096L)
 #endif
 
 #ifndef STATUS_TOO_MANY_PAGING_FILES
-  #define STATUS_TOO_MANY_PAGING_FILES ((NTSTATUS) 0xC0000097L)
+define STATUS_TOO_MANY_PAGING_FILES ((NTSTATUS) 0xC0000097L)
 #endif
 
 #ifndef STATUS_FILE_INVALID
-  #define STATUS_FILE_INVALID ((NTSTATUS) 0xC0000098L)
+define STATUS_FILE_INVALID ((NTSTATUS) 0xC0000098L)
 #endif
 
 #ifndef STATUS_ALLOTTED_SPACE_EXCEEDED
-  #define STATUS_ALLOTTED_SPACE_EXCEEDED ((NTSTATUS) 0xC0000099L)
+define STATUS_ALLOTTED_SPACE_EXCEEDED ((NTSTATUS) 0xC0000099L)
 #endif
 
 #ifndef STATUS_INSUFFICIENT_RESOURCES
-  #define STATUS_INSUFFICIENT_RESOURCES ((NTSTATUS) 0xC000009AL)
+define STATUS_INSUFFICIENT_RESOURCES ((NTSTATUS) 0xC000009AL)
 #endif
 
 #ifndef STATUS_DFS_EXIT_PATH_FOUND
-  #define STATUS_DFS_EXIT_PATH_FOUND ((NTSTATUS) 0xC000009BL)
+define STATUS_DFS_EXIT_PATH_FOUND ((NTSTATUS) 0xC000009BL)
 #endif
 
 #ifndef STATUS_DEVICE_DATA_ERROR
-  #define STATUS_DEVICE_DATA_ERROR ((NTSTATUS) 0xC000009CL)
+define STATUS_DEVICE_DATA_ERROR ((NTSTATUS) 0xC000009CL)
 #endif
 
 #ifndef STATUS_DEVICE_NOT_CONNECTED
-  #define STATUS_DEVICE_NOT_CONNECTED ((NTSTATUS) 0xC000009DL)
+define STATUS_DEVICE_NOT_CONNECTED ((NTSTATUS) 0xC000009DL)
 #endif
 
 #ifndef STATUS_DEVICE_POWER_FAILURE
-  #define STATUS_DEVICE_POWER_FAILURE ((NTSTATUS) 0xC000009EL)
+define STATUS_DEVICE_POWER_FAILURE ((NTSTATUS) 0xC000009EL)
 #endif
 
 #ifndef STATUS_FREE_VM_NOT_AT_BASE
-  #define STATUS_FREE_VM_NOT_AT_BASE ((NTSTATUS) 0xC000009FL)
+define STATUS_FREE_VM_NOT_AT_BASE ((NTSTATUS) 0xC000009FL)
 #endif
 
 #ifndef STATUS_MEMORY_NOT_ALLOCATED
-  #define STATUS_MEMORY_NOT_ALLOCATED ((NTSTATUS) 0xC00000A0L)
+define STATUS_MEMORY_NOT_ALLOCATED ((NTSTATUS) 0xC00000A0L)
 #endif
 
 #ifndef STATUS_WORKING_SET_QUOTA
-  #define STATUS_WORKING_SET_QUOTA ((NTSTATUS) 0xC00000A1L)
+define STATUS_WORKING_SET_QUOTA ((NTSTATUS) 0xC00000A1L)
 #endif
 
 #ifndef STATUS_MEDIA_WRITE_PROTECTED
-  #define STATUS_MEDIA_WRITE_PROTECTED ((NTSTATUS) 0xC00000A2L)
+define STATUS_MEDIA_WRITE_PROTECTED ((NTSTATUS) 0xC00000A2L)
 #endif
 
 #ifndef STATUS_DEVICE_NOT_READY
-  #define STATUS_DEVICE_NOT_READY ((NTSTATUS) 0xC00000A3L)
+define STATUS_DEVICE_NOT_READY ((NTSTATUS) 0xC00000A3L)
 #endif
 
 #ifndef STATUS_INVALID_GROUP_ATTRIBUTES
-  #define STATUS_INVALID_GROUP_ATTRIBUTES ((NTSTATUS) 0xC00000A4L)
+define STATUS_INVALID_GROUP_ATTRIBUTES ((NTSTATUS) 0xC00000A4L)
 #endif
 
 #ifndef STATUS_BAD_IMPERSONATION_LEVEL
-  #define STATUS_BAD_IMPERSONATION_LEVEL ((NTSTATUS) 0xC00000A5L)
+define STATUS_BAD_IMPERSONATION_LEVEL ((NTSTATUS) 0xC00000A5L)
 #endif
 
 #ifndef STATUS_CANT_OPEN_ANONYMOUS
-  #define STATUS_CANT_OPEN_ANONYMOUS ((NTSTATUS) 0xC00000A6L)
+define STATUS_CANT_OPEN_ANONYMOUS ((NTSTATUS) 0xC00000A6L)
 #endif
 
 #ifndef STATUS_BAD_VALIDATION_CLASS
-  #define STATUS_BAD_VALIDATION_CLASS ((NTSTATUS) 0xC00000A7L)
+define STATUS_BAD_VALIDATION_CLASS ((NTSTATUS) 0xC00000A7L)
 #endif
 
 #ifndef STATUS_BAD_TOKEN_TYPE
-  #define STATUS_BAD_TOKEN_TYPE ((NTSTATUS) 0xC00000A8L)
+define STATUS_BAD_TOKEN_TYPE ((NTSTATUS) 0xC00000A8L)
 #endif
 
 #ifndef STATUS_BAD_MASTER_BOOT_RECORD
-  #define STATUS_BAD_MASTER_BOOT_RECORD ((NTSTATUS) 0xC00000A9L)
+define STATUS_BAD_MASTER_BOOT_RECORD ((NTSTATUS) 0xC00000A9L)
 #endif
 
 #ifndef STATUS_INSTRUCTION_MISALIGNMENT
-  #define STATUS_INSTRUCTION_MISALIGNMENT ((NTSTATUS) 0xC00000AAL)
+define STATUS_INSTRUCTION_MISALIGNMENT ((NTSTATUS) 0xC00000AAL)
 #endif
 
 #ifndef STATUS_INSTANCE_NOT_AVAILABLE
-  #define STATUS_INSTANCE_NOT_AVAILABLE ((NTSTATUS) 0xC00000ABL)
+define STATUS_INSTANCE_NOT_AVAILABLE ((NTSTATUS) 0xC00000ABL)
 #endif
 
 #ifndef STATUS_PIPE_NOT_AVAILABLE
-  #define STATUS_PIPE_NOT_AVAILABLE ((NTSTATUS) 0xC00000ACL)
+define STATUS_PIPE_NOT_AVAILABLE ((NTSTATUS) 0xC00000ACL)
 #endif
 
 #ifndef STATUS_INVALID_PIPE_STATE
-  #define STATUS_INVALID_PIPE_STATE ((NTSTATUS) 0xC00000ADL)
+define STATUS_INVALID_PIPE_STATE ((NTSTATUS) 0xC00000ADL)
 #endif
 
 #ifndef STATUS_PIPE_BUSY
-  #define STATUS_PIPE_BUSY ((NTSTATUS) 0xC00000AEL)
+define STATUS_PIPE_BUSY ((NTSTATUS) 0xC00000AEL)
 #endif
 
 #ifndef STATUS_ILLEGAL_FUNCTION
-  #define STATUS_ILLEGAL_FUNCTION ((NTSTATUS) 0xC00000AFL)
+define STATUS_ILLEGAL_FUNCTION ((NTSTATUS) 0xC00000AFL)
 #endif
 
 #ifndef STATUS_PIPE_DISCONNECTED
-  #define STATUS_PIPE_DISCONNECTED ((NTSTATUS) 0xC00000B0L)
+define STATUS_PIPE_DISCONNECTED ((NTSTATUS) 0xC00000B0L)
 #endif
 
 #ifndef STATUS_PIPE_CLOSING
-  #define STATUS_PIPE_CLOSING ((NTSTATUS) 0xC00000B1L)
+define STATUS_PIPE_CLOSING ((NTSTATUS) 0xC00000B1L)
 #endif
 
 #ifndef STATUS_PIPE_CONNECTED
-  #define STATUS_PIPE_CONNECTED ((NTSTATUS) 0xC00000B2L)
+define STATUS_PIPE_CONNECTED ((NTSTATUS) 0xC00000B2L)
 #endif
 
 #ifndef STATUS_PIPE_LISTENING
-  #define STATUS_PIPE_LISTENING ((NTSTATUS) 0xC00000B3L)
+define STATUS_PIPE_LISTENING ((NTSTATUS) 0xC00000B3L)
 #endif
 
 #ifndef STATUS_INVALID_READ_MODE
-  #define STATUS_INVALID_READ_MODE ((NTSTATUS) 0xC00000B4L)
+define STATUS_INVALID_READ_MODE ((NTSTATUS) 0xC00000B4L)
 #endif
 
 #ifndef STATUS_IO_TIMEOUT
-  #define STATUS_IO_TIMEOUT ((NTSTATUS) 0xC00000B5L)
+define STATUS_IO_TIMEOUT ((NTSTATUS) 0xC00000B5L)
 #endif
 
 #ifndef STATUS_FILE_FORCED_CLOSED
-  #define STATUS_FILE_FORCED_CLOSED ((NTSTATUS) 0xC00000B6L)
+define STATUS_FILE_FORCED_CLOSED ((NTSTATUS) 0xC00000B6L)
 #endif
 
 #ifndef STATUS_PROFILING_NOT_STARTED
-  #define STATUS_PROFILING_NOT_STARTED ((NTSTATUS) 0xC00000B7L)
+define STATUS_PROFILING_NOT_STARTED ((NTSTATUS) 0xC00000B7L)
 #endif
 
 #ifndef STATUS_PROFILING_NOT_STOPPED
-  #define STATUS_PROFILING_NOT_STOPPED ((NTSTATUS) 0xC00000B8L)
+define STATUS_PROFILING_NOT_STOPPED ((NTSTATUS) 0xC00000B8L)
 #endif
 
 #ifndef STATUS_COULD_NOT_INTERPRET
-  #define STATUS_COULD_NOT_INTERPRET ((NTSTATUS) 0xC00000B9L)
+define STATUS_COULD_NOT_INTERPRET ((NTSTATUS) 0xC00000B9L)
 #endif
 
 #ifndef STATUS_FILE_IS_A_DIRECTORY
-  #define STATUS_FILE_IS_A_DIRECTORY ((NTSTATUS) 0xC00000BAL)
+define STATUS_FILE_IS_A_DIRECTORY ((NTSTATUS) 0xC00000BAL)
 #endif
 
 #ifndef STATUS_NOT_SUPPORTED
-  #define STATUS_NOT_SUPPORTED ((NTSTATUS) 0xC00000BBL)
+define STATUS_NOT_SUPPORTED ((NTSTATUS) 0xC00000BBL)
 #endif
 
 #ifndef STATUS_REMOTE_NOT_LISTENING
-  #define STATUS_REMOTE_NOT_LISTENING ((NTSTATUS) 0xC00000BCL)
+define STATUS_REMOTE_NOT_LISTENING ((NTSTATUS) 0xC00000BCL)
 #endif
 
 #ifndef STATUS_DUPLICATE_NAME
-  #define STATUS_DUPLICATE_NAME ((NTSTATUS) 0xC00000BDL)
+define STATUS_DUPLICATE_NAME ((NTSTATUS) 0xC00000BDL)
 #endif
 
 #ifndef STATUS_BAD_NETWORK_PATH
-  #define STATUS_BAD_NETWORK_PATH ((NTSTATUS) 0xC00000BEL)
+define STATUS_BAD_NETWORK_PATH ((NTSTATUS) 0xC00000BEL)
 #endif
 
 #ifndef STATUS_NETWORK_BUSY
-  #define STATUS_NETWORK_BUSY ((NTSTATUS) 0xC00000BFL)
+define STATUS_NETWORK_BUSY ((NTSTATUS) 0xC00000BFL)
 #endif
 
 #ifndef STATUS_DEVICE_DOES_NOT_EXIST
-  #define STATUS_DEVICE_DOES_NOT_EXIST ((NTSTATUS) 0xC00000C0L)
+define STATUS_DEVICE_DOES_NOT_EXIST ((NTSTATUS) 0xC00000C0L)
 #endif
 
 #ifndef STATUS_TOO_MANY_COMMANDS
-  #define STATUS_TOO_MANY_COMMANDS ((NTSTATUS) 0xC00000C1L)
+define STATUS_TOO_MANY_COMMANDS ((NTSTATUS) 0xC00000C1L)
 #endif
 
 #ifndef STATUS_ADAPTER_HARDWARE_ERROR
-  #define STATUS_ADAPTER_HARDWARE_ERROR ((NTSTATUS) 0xC00000C2L)
+define STATUS_ADAPTER_HARDWARE_ERROR ((NTSTATUS) 0xC00000C2L)
 #endif
 
 #ifndef STATUS_INVALID_NETWORK_RESPONSE
-  #define STATUS_INVALID_NETWORK_RESPONSE ((NTSTATUS) 0xC00000C3L)
+define STATUS_INVALID_NETWORK_RESPONSE ((NTSTATUS) 0xC00000C3L)
 #endif
 
 #ifndef STATUS_UNEXPECTED_NETWORK_ERROR
-  #define STATUS_UNEXPECTED_NETWORK_ERROR ((NTSTATUS) 0xC00000C4L)
+define STATUS_UNEXPECTED_NETWORK_ERROR ((NTSTATUS) 0xC00000C4L)
 #endif
 
 #ifndef STATUS_BAD_REMOTE_ADAPTER
-  #define STATUS_BAD_REMOTE_ADAPTER ((NTSTATUS) 0xC00000C5L)
+define STATUS_BAD_REMOTE_ADAPTER ((NTSTATUS) 0xC00000C5L)
 #endif
 
 #ifndef STATUS_PRINT_QUEUE_FULL
-  #define STATUS_PRINT_QUEUE_FULL ((NTSTATUS) 0xC00000C6L)
+define STATUS_PRINT_QUEUE_FULL ((NTSTATUS) 0xC00000C6L)
 #endif
 
 #ifndef STATUS_NO_SPOOL_SPACE
-  #define STATUS_NO_SPOOL_SPACE ((NTSTATUS) 0xC00000C7L)
+define STATUS_NO_SPOOL_SPACE ((NTSTATUS) 0xC00000C7L)
 #endif
 
 #ifndef STATUS_PRINT_CANCELLED
-  #define STATUS_PRINT_CANCELLED ((NTSTATUS) 0xC00000C8L)
+define STATUS_PRINT_CANCELLED ((NTSTATUS) 0xC00000C8L)
 #endif
 
 #ifndef STATUS_NETWORK_NAME_DELETED
-  #define STATUS_NETWORK_NAME_DELETED ((NTSTATUS) 0xC00000C9L)
+define STATUS_NETWORK_NAME_DELETED ((NTSTATUS) 0xC00000C9L)
 #endif
 
 #ifndef STATUS_NETWORK_ACCESS_DENIED
-  #define STATUS_NETWORK_ACCESS_DENIED ((NTSTATUS) 0xC00000CAL)
+define STATUS_NETWORK_ACCESS_DENIED ((NTSTATUS) 0xC00000CAL)
 #endif
 
 #ifndef STATUS_BAD_DEVICE_TYPE
-  #define STATUS_BAD_DEVICE_TYPE ((NTSTATUS) 0xC00000CBL)
+define STATUS_BAD_DEVICE_TYPE ((NTSTATUS) 0xC00000CBL)
 #endif
 
 #ifndef STATUS_BAD_NETWORK_NAME
-  #define STATUS_BAD_NETWORK_NAME ((NTSTATUS) 0xC00000CCL)
+define STATUS_BAD_NETWORK_NAME ((NTSTATUS) 0xC00000CCL)
 #endif
 
 #ifndef STATUS_TOO_MANY_NAMES
-  #define STATUS_TOO_MANY_NAMES ((NTSTATUS) 0xC00000CDL)
+define STATUS_TOO_MANY_NAMES ((NTSTATUS) 0xC00000CDL)
 #endif
 
 #ifndef STATUS_TOO_MANY_SESSIONS
-  #define STATUS_TOO_MANY_SESSIONS ((NTSTATUS) 0xC00000CEL)
+define STATUS_TOO_MANY_SESSIONS ((NTSTATUS) 0xC00000CEL)
 #endif
 
 #ifndef STATUS_SHARING_PAUSED
-  #define STATUS_SHARING_PAUSED ((NTSTATUS) 0xC00000CFL)
+define STATUS_SHARING_PAUSED ((NTSTATUS) 0xC00000CFL)
 #endif
 
 #ifndef STATUS_REQUEST_NOT_ACCEPTED
-  #define STATUS_REQUEST_NOT_ACCEPTED ((NTSTATUS) 0xC00000D0L)
+define STATUS_REQUEST_NOT_ACCEPTED ((NTSTATUS) 0xC00000D0L)
 #endif
 
 #ifndef STATUS_REDIRECTOR_PAUSED
-  #define STATUS_REDIRECTOR_PAUSED ((NTSTATUS) 0xC00000D1L)
+define STATUS_REDIRECTOR_PAUSED ((NTSTATUS) 0xC00000D1L)
 #endif
 
 #ifndef STATUS_NET_WRITE_FAULT
-  #define STATUS_NET_WRITE_FAULT ((NTSTATUS) 0xC00000D2L)
+define STATUS_NET_WRITE_FAULT ((NTSTATUS) 0xC00000D2L)
 #endif
 
 #ifndef STATUS_PROFILING_AT_LIMIT
-  #define STATUS_PROFILING_AT_LIMIT ((NTSTATUS) 0xC00000D3L)
+define STATUS_PROFILING_AT_LIMIT ((NTSTATUS) 0xC00000D3L)
 #endif
 
 #ifndef STATUS_NOT_SAME_DEVICE
-  #define STATUS_NOT_SAME_DEVICE ((NTSTATUS) 0xC00000D4L)
+define STATUS_NOT_SAME_DEVICE ((NTSTATUS) 0xC00000D4L)
 #endif
 
 #ifndef STATUS_FILE_RENAMED
-  #define STATUS_FILE_RENAMED ((NTSTATUS) 0xC00000D5L)
+define STATUS_FILE_RENAMED ((NTSTATUS) 0xC00000D5L)
 #endif
 
 #ifndef STATUS_VIRTUAL_CIRCUIT_CLOSED
-  #define STATUS_VIRTUAL_CIRCUIT_CLOSED ((NTSTATUS) 0xC00000D6L)
+define STATUS_VIRTUAL_CIRCUIT_CLOSED ((NTSTATUS) 0xC00000D6L)
 #endif
 
 #ifndef STATUS_NO_SECURITY_ON_OBJECT
-  #define STATUS_NO_SECURITY_ON_OBJECT ((NTSTATUS) 0xC00000D7L)
+define STATUS_NO_SECURITY_ON_OBJECT ((NTSTATUS) 0xC00000D7L)
 #endif
 
 #ifndef STATUS_CANT_WAIT
-  #define STATUS_CANT_WAIT ((NTSTATUS) 0xC00000D8L)
+define STATUS_CANT_WAIT ((NTSTATUS) 0xC00000D8L)
 #endif
 
 #ifndef STATUS_PIPE_EMPTY
-  #define STATUS_PIPE_EMPTY ((NTSTATUS) 0xC00000D9L)
+define STATUS_PIPE_EMPTY ((NTSTATUS) 0xC00000D9L)
 #endif
 
 #ifndef STATUS_CANT_ACCESS_DOMAIN_INFO
-  #define STATUS_CANT_ACCESS_DOMAIN_INFO ((NTSTATUS) 0xC00000DAL)
+define STATUS_CANT_ACCESS_DOMAIN_INFO ((NTSTATUS) 0xC00000DAL)
 #endif
 
 #ifndef STATUS_CANT_TERMINATE_SELF
-  #define STATUS_CANT_TERMINATE_SELF ((NTSTATUS) 0xC00000DBL)
+define STATUS_CANT_TERMINATE_SELF ((NTSTATUS) 0xC00000DBL)
 #endif
 
 #ifndef STATUS_INVALID_SERVER_STATE
-  #define STATUS_INVALID_SERVER_STATE ((NTSTATUS) 0xC00000DCL)
+define STATUS_INVALID_SERVER_STATE ((NTSTATUS) 0xC00000DCL)
 #endif
 
 #ifndef STATUS_INVALID_DOMAIN_STATE
-  #define STATUS_INVALID_DOMAIN_STATE ((NTSTATUS) 0xC00000DDL)
+define STATUS_INVALID_DOMAIN_STATE ((NTSTATUS) 0xC00000DDL)
 #endif
 
 #ifndef STATUS_INVALID_DOMAIN_ROLE
-  #define STATUS_INVALID_DOMAIN_ROLE ((NTSTATUS) 0xC00000DEL)
+define STATUS_INVALID_DOMAIN_ROLE ((NTSTATUS) 0xC00000DEL)
 #endif
 
 #ifndef STATUS_NO_SUCH_DOMAIN
-  #define STATUS_NO_SUCH_DOMAIN ((NTSTATUS) 0xC00000DFL)
+define STATUS_NO_SUCH_DOMAIN ((NTSTATUS) 0xC00000DFL)
 #endif
 
 #ifndef STATUS_DOMAIN_EXISTS
-  #define STATUS_DOMAIN_EXISTS ((NTSTATUS) 0xC00000E0L)
+define STATUS_DOMAIN_EXISTS ((NTSTATUS) 0xC00000E0L)
 #endif
 
 #ifndef STATUS_DOMAIN_LIMIT_EXCEEDED
-  #define STATUS_DOMAIN_LIMIT_EXCEEDED ((NTSTATUS) 0xC00000E1L)
+define STATUS_DOMAIN_LIMIT_EXCEEDED ((NTSTATUS) 0xC00000E1L)
 #endif
 
 #ifndef STATUS_OPLOCK_NOT_GRANTED
-  #define STATUS_OPLOCK_NOT_GRANTED ((NTSTATUS) 0xC00000E2L)
+define STATUS_OPLOCK_NOT_GRANTED ((NTSTATUS) 0xC00000E2L)
 #endif
 
 #ifndef STATUS_INVALID_OPLOCK_PROTOCOL
-  #define STATUS_INVALID_OPLOCK_PROTOCOL ((NTSTATUS) 0xC00000E3L)
+define STATUS_INVALID_OPLOCK_PROTOCOL ((NTSTATUS) 0xC00000E3L)
 #endif
 
 #ifndef STATUS_INTERNAL_DB_CORRUPTION
-  #define STATUS_INTERNAL_DB_CORRUPTION ((NTSTATUS) 0xC00000E4L)
+define STATUS_INTERNAL_DB_CORRUPTION ((NTSTATUS) 0xC00000E4L)
 #endif
 
 #ifndef STATUS_INTERNAL_ERROR
-  #define STATUS_INTERNAL_ERROR ((NTSTATUS) 0xC00000E5L)
+define STATUS_INTERNAL_ERROR ((NTSTATUS) 0xC00000E5L)
 #endif
 
 #ifndef STATUS_GENERIC_NOT_MAPPED
-  #define STATUS_GENERIC_NOT_MAPPED ((NTSTATUS) 0xC00000E6L)
+define STATUS_GENERIC_NOT_MAPPED ((NTSTATUS) 0xC00000E6L)
 #endif
 
 #ifndef STATUS_BAD_DESCRIPTOR_FORMAT
-  #define STATUS_BAD_DESCRIPTOR_FORMAT ((NTSTATUS) 0xC00000E7L)
+define STATUS_BAD_DESCRIPTOR_FORMAT ((NTSTATUS) 0xC00000E7L)
 #endif
 
 #ifndef STATUS_INVALID_USER_BUFFER
-  #define STATUS_INVALID_USER_BUFFER ((NTSTATUS) 0xC00000E8L)
+define STATUS_INVALID_USER_BUFFER ((NTSTATUS) 0xC00000E8L)
 #endif
 
 #ifndef STATUS_UNEXPECTED_IO_ERROR
-  #define STATUS_UNEXPECTED_IO_ERROR ((NTSTATUS) 0xC00000E9L)
+define STATUS_UNEXPECTED_IO_ERROR ((NTSTATUS) 0xC00000E9L)
 #endif
 
 #ifndef STATUS_UNEXPECTED_MM_CREATE_ERR
-  #define STATUS_UNEXPECTED_MM_CREATE_ERR ((NTSTATUS) 0xC00000EAL)
+define STATUS_UNEXPECTED_MM_CREATE_ERR ((NTSTATUS) 0xC00000EAL)
 #endif
 
 #ifndef STATUS_UNEXPECTED_MM_MAP_ERROR
-  #define STATUS_UNEXPECTED_MM_MAP_ERROR ((NTSTATUS) 0xC00000EBL)
+define STATUS_UNEXPECTED_MM_MAP_ERROR ((NTSTATUS) 0xC00000EBL)
 #endif
 
 #ifndef STATUS_UNEXPECTED_MM_EXTEND_ERR
-  #define STATUS_UNEXPECTED_MM_EXTEND_ERR ((NTSTATUS) 0xC00000ECL)
+define STATUS_UNEXPECTED_MM_EXTEND_ERR ((NTSTATUS) 0xC00000ECL)
 #endif
 
 #ifndef STATUS_NOT_LOGON_PROCESS
-  #define STATUS_NOT_LOGON_PROCESS ((NTSTATUS) 0xC00000EDL)
+define STATUS_NOT_LOGON_PROCESS ((NTSTATUS) 0xC00000EDL)
 #endif
 
 #ifndef STATUS_LOGON_SESSION_EXISTS
-  #define STATUS_LOGON_SESSION_EXISTS ((NTSTATUS) 0xC00000EEL)
+define STATUS_LOGON_SESSION_EXISTS ((NTSTATUS) 0xC00000EEL)
 #endif
 
 #ifndef STATUS_INVALID_PARAMETER_1
-  #define STATUS_INVALID_PARAMETER_1 ((NTSTATUS) 0xC00000EFL)
+define STATUS_INVALID_PARAMETER_1 ((NTSTATUS) 0xC00000EFL)
 #endif
 
 #ifndef STATUS_INVALID_PARAMETER_2
-  #define STATUS_INVALID_PARAMETER_2 ((NTSTATUS) 0xC00000F0L)
+define STATUS_INVALID_PARAMETER_2 ((NTSTATUS) 0xC00000F0L)
 #endif
 
 #ifndef STATUS_INVALID_PARAMETER_3
-  #define STATUS_INVALID_PARAMETER_3 ((NTSTATUS) 0xC00000F1L)
+define STATUS_INVALID_PARAMETER_3 ((NTSTATUS) 0xC00000F1L)
 #endif
 
 #ifndef STATUS_INVALID_PARAMETER_4
-  #define STATUS_INVALID_PARAMETER_4 ((NTSTATUS) 0xC00000F2L)
+define STATUS_INVALID_PARAMETER_4 ((NTSTATUS) 0xC00000F2L)
 #endif
 
 #ifndef STATUS_INVALID_PARAMETER_5
-  #define STATUS_INVALID_PARAMETER_5 ((NTSTATUS) 0xC00000F3L)
+define STATUS_INVALID_PARAMETER_5 ((NTSTATUS) 0xC00000F3L)
 #endif
 
 #ifndef STATUS_INVALID_PARAMETER_6
-  #define STATUS_INVALID_PARAMETER_6 ((NTSTATUS) 0xC00000F4L)
+define STATUS_INVALID_PARAMETER_6 ((NTSTATUS) 0xC00000F4L)
 #endif
 
 #ifndef STATUS_INVALID_PARAMETER_7
-  #define STATUS_INVALID_PARAMETER_7 ((NTSTATUS) 0xC00000F5L)
+define STATUS_INVALID_PARAMETER_7 ((NTSTATUS) 0xC00000F5L)
 #endif
 
 #ifndef STATUS_INVALID_PARAMETER_8
-  #define STATUS_INVALID_PARAMETER_8 ((NTSTATUS) 0xC00000F6L)
+define STATUS_INVALID_PARAMETER_8 ((NTSTATUS) 0xC00000F6L)
 #endif
 
 #ifndef STATUS_INVALID_PARAMETER_9
-  #define STATUS_INVALID_PARAMETER_9 ((NTSTATUS) 0xC00000F7L)
+define STATUS_INVALID_PARAMETER_9 ((NTSTATUS) 0xC00000F7L)
 #endif
 
 #ifndef STATUS_INVALID_PARAMETER_10
-  #define STATUS_INVALID_PARAMETER_10 ((NTSTATUS) 0xC00000F8L)
+define STATUS_INVALID_PARAMETER_10 ((NTSTATUS) 0xC00000F8L)
 #endif
 
 #ifndef STATUS_INVALID_PARAMETER_11
-  #define STATUS_INVALID_PARAMETER_11 ((NTSTATUS) 0xC00000F9L)
+define STATUS_INVALID_PARAMETER_11 ((NTSTATUS) 0xC00000F9L)
 #endif
 
 #ifndef STATUS_INVALID_PARAMETER_12
-  #define STATUS_INVALID_PARAMETER_12 ((NTSTATUS) 0xC00000FAL)
+define STATUS_INVALID_PARAMETER_12 ((NTSTATUS) 0xC00000FAL)
 #endif
 
 #ifndef STATUS_REDIRECTOR_NOT_STARTED
-  #define STATUS_REDIRECTOR_NOT_STARTED ((NTSTATUS) 0xC00000FBL)
+define STATUS_REDIRECTOR_NOT_STARTED ((NTSTATUS) 0xC00000FBL)
 #endif
 
 #ifndef STATUS_REDIRECTOR_STARTED
-  #define STATUS_REDIRECTOR_STARTED ((NTSTATUS) 0xC00000FCL)
+define STATUS_REDIRECTOR_STARTED ((NTSTATUS) 0xC00000FCL)
 #endif
 
 #ifndef STATUS_STACK_OVERFLOW
-  #define STATUS_STACK_OVERFLOW ((NTSTATUS) 0xC00000FDL)
+define STATUS_STACK_OVERFLOW ((NTSTATUS) 0xC00000FDL)
 #endif
 
 #ifndef STATUS_NO_SUCH_PACKAGE
-  #define STATUS_NO_SUCH_PACKAGE ((NTSTATUS) 0xC00000FEL)
+define STATUS_NO_SUCH_PACKAGE ((NTSTATUS) 0xC00000FEL)
 #endif
 
 #ifndef STATUS_BAD_FUNCTION_TABLE
-  #define STATUS_BAD_FUNCTION_TABLE ((NTSTATUS) 0xC00000FFL)
+define STATUS_BAD_FUNCTION_TABLE ((NTSTATUS) 0xC00000FFL)
 #endif
 
 #ifndef STATUS_VARIABLE_NOT_FOUND
-  #define STATUS_VARIABLE_NOT_FOUND ((NTSTATUS) 0xC0000100L)
+define STATUS_VARIABLE_NOT_FOUND ((NTSTATUS) 0xC0000100L)
 #endif
 
 #ifndef STATUS_DIRECTORY_NOT_EMPTY
-  #define STATUS_DIRECTORY_NOT_EMPTY ((NTSTATUS) 0xC0000101L)
+define STATUS_DIRECTORY_NOT_EMPTY ((NTSTATUS) 0xC0000101L)
 #endif
 
 #ifndef STATUS_FILE_CORRUPT_ERROR
-  #define STATUS_FILE_CORRUPT_ERROR ((NTSTATUS) 0xC0000102L)
+define STATUS_FILE_CORRUPT_ERROR ((NTSTATUS) 0xC0000102L)
 #endif
 
 #ifndef STATUS_NOT_A_DIRECTORY
-  #define STATUS_NOT_A_DIRECTORY ((NTSTATUS) 0xC0000103L)
+define STATUS_NOT_A_DIRECTORY ((NTSTATUS) 0xC0000103L)
 #endif
 
 #ifndef STATUS_BAD_LOGON_SESSION_STATE
-  #define STATUS_BAD_LOGON_SESSION_STATE ((NTSTATUS) 0xC0000104L)
+define STATUS_BAD_LOGON_SESSION_STATE ((NTSTATUS) 0xC0000104L)
 #endif
 
 #ifndef STATUS_LOGON_SESSION_COLLISION
-  #define STATUS_LOGON_SESSION_COLLISION ((NTSTATUS) 0xC0000105L)
+define STATUS_LOGON_SESSION_COLLISION ((NTSTATUS) 0xC0000105L)
 #endif
 
 #ifndef STATUS_NAME_TOO_LONG
-  #define STATUS_NAME_TOO_LONG ((NTSTATUS) 0xC0000106L)
+define STATUS_NAME_TOO_LONG ((NTSTATUS) 0xC0000106L)
 #endif
 
 #ifndef STATUS_FILES_OPEN
-  #define STATUS_FILES_OPEN ((NTSTATUS) 0xC0000107L)
+define STATUS_FILES_OPEN ((NTSTATUS) 0xC0000107L)
 #endif
 
 #ifndef STATUS_CONNECTION_IN_USE
-  #define STATUS_CONNECTION_IN_USE ((NTSTATUS) 0xC0000108L)
+define STATUS_CONNECTION_IN_USE ((NTSTATUS) 0xC0000108L)
 #endif
 
 #ifndef STATUS_MESSAGE_NOT_FOUND
-  #define STATUS_MESSAGE_NOT_FOUND ((NTSTATUS) 0xC0000109L)
+define STATUS_MESSAGE_NOT_FOUND ((NTSTATUS) 0xC0000109L)
 #endif
 
 #ifndef STATUS_PROCESS_IS_TERMINATING
-  #define STATUS_PROCESS_IS_TERMINATING ((NTSTATUS) 0xC000010AL)
+define STATUS_PROCESS_IS_TERMINATING ((NTSTATUS) 0xC000010AL)
 #endif
 
 #ifndef STATUS_INVALID_LOGON_TYPE
-  #define STATUS_INVALID_LOGON_TYPE ((NTSTATUS) 0xC000010BL)
+define STATUS_INVALID_LOGON_TYPE ((NTSTATUS) 0xC000010BL)
 #endif
 
 #ifndef STATUS_NO_GUID_TRANSLATION
-  #define STATUS_NO_GUID_TRANSLATION ((NTSTATUS) 0xC000010CL)
+define STATUS_NO_GUID_TRANSLATION ((NTSTATUS) 0xC000010CL)
 #endif
 
 #ifndef STATUS_CANNOT_IMPERSONATE
-  #define STATUS_CANNOT_IMPERSONATE ((NTSTATUS) 0xC000010DL)
+define STATUS_CANNOT_IMPERSONATE ((NTSTATUS) 0xC000010DL)
 #endif
 
 #ifndef STATUS_IMAGE_ALREADY_LOADED
-  #define STATUS_IMAGE_ALREADY_LOADED ((NTSTATUS) 0xC000010EL)
+define STATUS_IMAGE_ALREADY_LOADED ((NTSTATUS) 0xC000010EL)
 #endif
 
 #ifndef STATUS_ABIOS_NOT_PRESENT
-  #define STATUS_ABIOS_NOT_PRESENT ((NTSTATUS) 0xC000010FL)
+define STATUS_ABIOS_NOT_PRESENT ((NTSTATUS) 0xC000010FL)
 #endif
 
 #ifndef STATUS_ABIOS_LID_NOT_EXIST
-  #define STATUS_ABIOS_LID_NOT_EXIST ((NTSTATUS) 0xC0000110L)
+define STATUS_ABIOS_LID_NOT_EXIST ((NTSTATUS) 0xC0000110L)
 #endif
 
 #ifndef STATUS_ABIOS_LID_ALREADY_OWNED
-  #define STATUS_ABIOS_LID_ALREADY_OWNED ((NTSTATUS) 0xC0000111L)
+define STATUS_ABIOS_LID_ALREADY_OWNED ((NTSTATUS) 0xC0000111L)
 #endif
 
 #ifndef STATUS_ABIOS_NOT_LID_OWNER
-  #define STATUS_ABIOS_NOT_LID_OWNER ((NTSTATUS) 0xC0000112L)
+define STATUS_ABIOS_NOT_LID_OWNER ((NTSTATUS) 0xC0000112L)
 #endif
 
 #ifndef STATUS_ABIOS_INVALID_COMMAND
-  #define STATUS_ABIOS_INVALID_COMMAND ((NTSTATUS) 0xC0000113L)
+define STATUS_ABIOS_INVALID_COMMAND ((NTSTATUS) 0xC0000113L)
 #endif
 
 #ifndef STATUS_ABIOS_INVALID_LID
-  #define STATUS_ABIOS_INVALID_LID ((NTSTATUS) 0xC0000114L)
+define STATUS_ABIOS_INVALID_LID ((NTSTATUS) 0xC0000114L)
 #endif
 
 #ifndef STATUS_ABIOS_SELECTOR_NOT_AVAILABLE
-  #define STATUS_ABIOS_SELECTOR_NOT_AVAILABLE ((NTSTATUS) 0xC0000115L)
+define STATUS_ABIOS_SELECTOR_NOT_AVAILABLE ((NTSTATUS) 0xC0000115L)
 #endif
 
 #ifndef STATUS_ABIOS_INVALID_SELECTOR
-  #define STATUS_ABIOS_INVALID_SELECTOR ((NTSTATUS) 0xC0000116L)
+define STATUS_ABIOS_INVALID_SELECTOR ((NTSTATUS) 0xC0000116L)
 #endif
 
 #ifndef STATUS_NO_LDT
-  #define STATUS_NO_LDT ((NTSTATUS) 0xC0000117L)
+define STATUS_NO_LDT ((NTSTATUS) 0xC0000117L)
 #endif
 
 #ifndef STATUS_INVALID_LDT_SIZE
-  #define STATUS_INVALID_LDT_SIZE ((NTSTATUS) 0xC0000118L)
+define STATUS_INVALID_LDT_SIZE ((NTSTATUS) 0xC0000118L)
 #endif
 
 #ifndef STATUS_INVALID_LDT_OFFSET
-  #define STATUS_INVALID_LDT_OFFSET ((NTSTATUS) 0xC0000119L)
+define STATUS_INVALID_LDT_OFFSET ((NTSTATUS) 0xC0000119L)
 #endif
 
 #ifndef STATUS_INVALID_LDT_DESCRIPTOR
-  #define STATUS_INVALID_LDT_DESCRIPTOR ((NTSTATUS) 0xC000011AL)
+define STATUS_INVALID_LDT_DESCRIPTOR ((NTSTATUS) 0xC000011AL)
 #endif
 
 #ifndef STATUS_INVALID_IMAGE_NE_FORMAT
-  #define STATUS_INVALID_IMAGE_NE_FORMAT ((NTSTATUS) 0xC000011BL)
+define STATUS_INVALID_IMAGE_NE_FORMAT ((NTSTATUS) 0xC000011BL)
 #endif
 
 #ifndef STATUS_RXACT_INVALID_STATE
-  #define STATUS_RXACT_INVALID_STATE ((NTSTATUS) 0xC000011CL)
+define STATUS_RXACT_INVALID_STATE ((NTSTATUS) 0xC000011CL)
 #endif
 
 #ifndef STATUS_RXACT_COMMIT_FAILURE
-  #define STATUS_RXACT_COMMIT_FAILURE ((NTSTATUS) 0xC000011DL)
+define STATUS_RXACT_COMMIT_FAILURE ((NTSTATUS) 0xC000011DL)
 #endif
 
 #ifndef STATUS_MAPPED_FILE_SIZE_ZERO
-  #define STATUS_MAPPED_FILE_SIZE_ZERO ((NTSTATUS) 0xC000011EL)
+define STATUS_MAPPED_FILE_SIZE_ZERO ((NTSTATUS) 0xC000011EL)
 #endif
 
 #ifndef STATUS_TOO_MANY_OPENED_FILES
-  #define STATUS_TOO_MANY_OPENED_FILES ((NTSTATUS) 0xC000011FL)
+define STATUS_TOO_MANY_OPENED_FILES ((NTSTATUS) 0xC000011FL)
 #endif
 
 #ifndef STATUS_CANCELLED
-  #define STATUS_CANCELLED ((NTSTATUS) 0xC0000120L)
+define STATUS_CANCELLED ((NTSTATUS) 0xC0000120L)
 #endif
 
 #ifndef STATUS_CANNOT_DELETE
-  #define STATUS_CANNOT_DELETE ((NTSTATUS) 0xC0000121L)
+define STATUS_CANNOT_DELETE ((NTSTATUS) 0xC0000121L)
 #endif
 
 #ifndef STATUS_INVALID_COMPUTER_NAME
-  #define STATUS_INVALID_COMPUTER_NAME ((NTSTATUS) 0xC0000122L)
+define STATUS_INVALID_COMPUTER_NAME ((NTSTATUS) 0xC0000122L)
 #endif
 
 #ifndef STATUS_FILE_DELETED
-  #define STATUS_FILE_DELETED ((NTSTATUS) 0xC0000123L)
+define STATUS_FILE_DELETED ((NTSTATUS) 0xC0000123L)
 #endif
 
 #ifndef STATUS_SPECIAL_ACCOUNT
-  #define STATUS_SPECIAL_ACCOUNT ((NTSTATUS) 0xC0000124L)
+define STATUS_SPECIAL_ACCOUNT ((NTSTATUS) 0xC0000124L)
 #endif
 
 #ifndef STATUS_SPECIAL_GROUP
-  #define STATUS_SPECIAL_GROUP ((NTSTATUS) 0xC0000125L)
+define STATUS_SPECIAL_GROUP ((NTSTATUS) 0xC0000125L)
 #endif
 
 #ifndef STATUS_SPECIAL_USER
-  #define STATUS_SPECIAL_USER ((NTSTATUS) 0xC0000126L)
+define STATUS_SPECIAL_USER ((NTSTATUS) 0xC0000126L)
 #endif
 
 #ifndef STATUS_MEMBERS_PRIMARY_GROUP
-  #define STATUS_MEMBERS_PRIMARY_GROUP ((NTSTATUS) 0xC0000127L)
+define STATUS_MEMBERS_PRIMARY_GROUP ((NTSTATUS) 0xC0000127L)
 #endif
 
 #ifndef STATUS_FILE_CLOSED
-  #define STATUS_FILE_CLOSED ((NTSTATUS) 0xC0000128L)
+define STATUS_FILE_CLOSED ((NTSTATUS) 0xC0000128L)
 #endif
 
 #ifndef STATUS_TOO_MANY_THREADS
-  #define STATUS_TOO_MANY_THREADS ((NTSTATUS) 0xC0000129L)
+define STATUS_TOO_MANY_THREADS ((NTSTATUS) 0xC0000129L)
 #endif
 
 #ifndef STATUS_THREAD_NOT_IN_PROCESS
-  #define STATUS_THREAD_NOT_IN_PROCESS ((NTSTATUS) 0xC000012AL)
+define STATUS_THREAD_NOT_IN_PROCESS ((NTSTATUS) 0xC000012AL)
 #endif
 
 #ifndef STATUS_TOKEN_ALREADY_IN_USE
-  #define STATUS_TOKEN_ALREADY_IN_USE ((NTSTATUS) 0xC000012BL)
+define STATUS_TOKEN_ALREADY_IN_USE ((NTSTATUS) 0xC000012BL)
 #endif
 
 #ifndef STATUS_PAGEFILE_QUOTA_EXCEEDED
-  #define STATUS_PAGEFILE_QUOTA_EXCEEDED ((NTSTATUS) 0xC000012CL)
+define STATUS_PAGEFILE_QUOTA_EXCEEDED ((NTSTATUS) 0xC000012CL)
 #endif
 
 #ifndef STATUS_COMMITMENT_LIMIT
-  #define STATUS_COMMITMENT_LIMIT ((NTSTATUS) 0xC000012DL)
+define STATUS_COMMITMENT_LIMIT ((NTSTATUS) 0xC000012DL)
 #endif
 
 #ifndef STATUS_INVALID_IMAGE_LE_FORMAT
-  #define STATUS_INVALID_IMAGE_LE_FORMAT ((NTSTATUS) 0xC000012EL)
+define STATUS_INVALID_IMAGE_LE_FORMAT ((NTSTATUS) 0xC000012EL)
 #endif
 
 #ifndef STATUS_INVALID_IMAGE_NOT_MZ
-  #define STATUS_INVALID_IMAGE_NOT_MZ ((NTSTATUS) 0xC000012FL)
+define STATUS_INVALID_IMAGE_NOT_MZ ((NTSTATUS) 0xC000012FL)
 #endif
 
 #ifndef STATUS_INVALID_IMAGE_PROTECT
-  #define STATUS_INVALID_IMAGE_PROTECT ((NTSTATUS) 0xC0000130L)
+define STATUS_INVALID_IMAGE_PROTECT ((NTSTATUS) 0xC0000130L)
 #endif
 
 #ifndef STATUS_INVALID_IMAGE_WIN_16
-  #define STATUS_INVALID_IMAGE_WIN_16 ((NTSTATUS) 0xC0000131L)
+define STATUS_INVALID_IMAGE_WIN_16 ((NTSTATUS) 0xC0000131L)
 #endif
 
 #ifndef STATUS_LOGON_SERVER_CONFLICT
-  #define STATUS_LOGON_SERVER_CONFLICT ((NTSTATUS) 0xC0000132L)
+define STATUS_LOGON_SERVER_CONFLICT ((NTSTATUS) 0xC0000132L)
 #endif
 
 #ifndef STATUS_TIME_DIFFERENCE_AT_DC
-  #define STATUS_TIME_DIFFERENCE_AT_DC ((NTSTATUS) 0xC0000133L)
+define STATUS_TIME_DIFFERENCE_AT_DC ((NTSTATUS) 0xC0000133L)
 #endif
 
 #ifndef STATUS_SYNCHRONIZATION_REQUIRED
-  #define STATUS_SYNCHRONIZATION_REQUIRED ((NTSTATUS) 0xC0000134L)
+define STATUS_SYNCHRONIZATION_REQUIRED ((NTSTATUS) 0xC0000134L)
 #endif
 
 #ifndef STATUS_DLL_NOT_FOUND
-  #define STATUS_DLL_NOT_FOUND ((NTSTATUS) 0xC0000135L)
+define STATUS_DLL_NOT_FOUND ((NTSTATUS) 0xC0000135L)
 #endif
 
 #ifndef STATUS_OPEN_FAILED
-  #define STATUS_OPEN_FAILED ((NTSTATUS) 0xC0000136L)
+define STATUS_OPEN_FAILED ((NTSTATUS) 0xC0000136L)
 #endif
 
 #ifndef STATUS_IO_PRIVILEGE_FAILED
-  #define STATUS_IO_PRIVILEGE_FAILED ((NTSTATUS) 0xC0000137L)
+define STATUS_IO_PRIVILEGE_FAILED ((NTSTATUS) 0xC0000137L)
 #endif
 
 #ifndef STATUS_ORDINAL_NOT_FOUND
-  #define STATUS_ORDINAL_NOT_FOUND ((NTSTATUS) 0xC0000138L)
+define STATUS_ORDINAL_NOT_FOUND ((NTSTATUS) 0xC0000138L)
 #endif
 
 #ifndef STATUS_ENTRYPOINT_NOT_FOUND
-  #define STATUS_ENTRYPOINT_NOT_FOUND ((NTSTATUS) 0xC0000139L)
+define STATUS_ENTRYPOINT_NOT_FOUND ((NTSTATUS) 0xC0000139L)
 #endif
 
 #ifndef STATUS_CONTROL_C_EXIT
-  #define STATUS_CONTROL_C_EXIT ((NTSTATUS) 0xC000013AL)
+define STATUS_CONTROL_C_EXIT ((NTSTATUS) 0xC000013AL)
 #endif
 
 #ifndef STATUS_LOCAL_DISCONNECT
-  #define STATUS_LOCAL_DISCONNECT ((NTSTATUS) 0xC000013BL)
+define STATUS_LOCAL_DISCONNECT ((NTSTATUS) 0xC000013BL)
 #endif
 
 #ifndef STATUS_REMOTE_DISCONNECT
-  #define STATUS_REMOTE_DISCONNECT ((NTSTATUS) 0xC000013CL)
+define STATUS_REMOTE_DISCONNECT ((NTSTATUS) 0xC000013CL)
 #endif
 
 #ifndef STATUS_REMOTE_RESOURCES
-  #define STATUS_REMOTE_RESOURCES ((NTSTATUS) 0xC000013DL)
+define STATUS_REMOTE_RESOURCES ((NTSTATUS) 0xC000013DL)
 #endif
 
 #ifndef STATUS_LINK_FAILED
-  #define STATUS_LINK_FAILED ((NTSTATUS) 0xC000013EL)
+define STATUS_LINK_FAILED ((NTSTATUS) 0xC000013EL)
 #endif
 
 #ifndef STATUS_LINK_TIMEOUT
-  #define STATUS_LINK_TIMEOUT ((NTSTATUS) 0xC000013FL)
+define STATUS_LINK_TIMEOUT ((NTSTATUS) 0xC000013FL)
 #endif
 
 #ifndef STATUS_INVALID_CONNECTION
-  #define STATUS_INVALID_CONNECTION ((NTSTATUS) 0xC0000140L)
+define STATUS_INVALID_CONNECTION ((NTSTATUS) 0xC0000140L)
 #endif
 
 #ifndef STATUS_INVALID_ADDRESS
-  #define STATUS_INVALID_ADDRESS ((NTSTATUS) 0xC0000141L)
+define STATUS_INVALID_ADDRESS ((NTSTATUS) 0xC0000141L)
 #endif
 
 #ifndef STATUS_DLL_INIT_FAILED
-  #define STATUS_DLL_INIT_FAILED ((NTSTATUS) 0xC0000142L)
+define STATUS_DLL_INIT_FAILED ((NTSTATUS) 0xC0000142L)
 #endif
 
 #ifndef STATUS_MISSING_SYSTEMFILE
-  #define STATUS_MISSING_SYSTEMFILE ((NTSTATUS) 0xC0000143L)
+define STATUS_MISSING_SYSTEMFILE ((NTSTATUS) 0xC0000143L)
 #endif
 
 #ifndef STATUS_UNHANDLED_EXCEPTION
-  #define STATUS_UNHANDLED_EXCEPTION ((NTSTATUS) 0xC0000144L)
+define STATUS_UNHANDLED_EXCEPTION ((NTSTATUS) 0xC0000144L)
 #endif
 
 #ifndef STATUS_APP_INIT_FAILURE
-  #define STATUS_APP_INIT_FAILURE ((NTSTATUS) 0xC0000145L)
+define STATUS_APP_INIT_FAILURE ((NTSTATUS) 0xC0000145L)
 #endif
 
 #ifndef STATUS_PAGEFILE_CREATE_FAILED
-  #define STATUS_PAGEFILE_CREATE_FAILED ((NTSTATUS) 0xC0000146L)
+define STATUS_PAGEFILE_CREATE_FAILED ((NTSTATUS) 0xC0000146L)
 #endif
 
 #ifndef STATUS_NO_PAGEFILE
-  #define STATUS_NO_PAGEFILE ((NTSTATUS) 0xC0000147L)
+define STATUS_NO_PAGEFILE ((NTSTATUS) 0xC0000147L)
 #endif
 
 #ifndef STATUS_INVALID_LEVEL
-  #define STATUS_INVALID_LEVEL ((NTSTATUS) 0xC0000148L)
+define STATUS_INVALID_LEVEL ((NTSTATUS) 0xC0000148L)
 #endif
 
 #ifndef STATUS_WRONG_PASSWORD_CORE
-  #define STATUS_WRONG_PASSWORD_CORE ((NTSTATUS) 0xC0000149L)
+define STATUS_WRONG_PASSWORD_CORE ((NTSTATUS) 0xC0000149L)
 #endif
 
 #ifndef STATUS_ILLEGAL_FLOAT_CONTEXT
-  #define STATUS_ILLEGAL_FLOAT_CONTEXT ((NTSTATUS) 0xC000014AL)
+define STATUS_ILLEGAL_FLOAT_CONTEXT ((NTSTATUS) 0xC000014AL)
 #endif
 
 #ifndef STATUS_PIPE_BROKEN
-  #define STATUS_PIPE_BROKEN ((NTSTATUS) 0xC000014BL)
+define STATUS_PIPE_BROKEN ((NTSTATUS) 0xC000014BL)
 #endif
 
 #ifndef STATUS_REGISTRY_CORRUPT
-  #define STATUS_REGISTRY_CORRUPT ((NTSTATUS) 0xC000014CL)
+define STATUS_REGISTRY_CORRUPT ((NTSTATUS) 0xC000014CL)
 #endif
 
 #ifndef STATUS_REGISTRY_IO_FAILED
-  #define STATUS_REGISTRY_IO_FAILED ((NTSTATUS) 0xC000014DL)
+define STATUS_REGISTRY_IO_FAILED ((NTSTATUS) 0xC000014DL)
 #endif
 
 #ifndef STATUS_NO_EVENT_PAIR
-  #define STATUS_NO_EVENT_PAIR ((NTSTATUS) 0xC000014EL)
+define STATUS_NO_EVENT_PAIR ((NTSTATUS) 0xC000014EL)
 #endif
 
 #ifndef STATUS_UNRECOGNIZED_VOLUME
-  #define STATUS_UNRECOGNIZED_VOLUME ((NTSTATUS) 0xC000014FL)
+define STATUS_UNRECOGNIZED_VOLUME ((NTSTATUS) 0xC000014FL)
 #endif
 
 #ifndef STATUS_SERIAL_NO_DEVICE_INITED
-  #define STATUS_SERIAL_NO_DEVICE_INITED ((NTSTATUS) 0xC0000150L)
+define STATUS_SERIAL_NO_DEVICE_INITED ((NTSTATUS) 0xC0000150L)
 #endif
 
 #ifndef STATUS_NO_SUCH_ALIAS
-  #define STATUS_NO_SUCH_ALIAS ((NTSTATUS) 0xC0000151L)
+define STATUS_NO_SUCH_ALIAS ((NTSTATUS) 0xC0000151L)
 #endif
 
 #ifndef STATUS_MEMBER_NOT_IN_ALIAS
-  #define STATUS_MEMBER_NOT_IN_ALIAS ((NTSTATUS) 0xC0000152L)
+define STATUS_MEMBER_NOT_IN_ALIAS ((NTSTATUS) 0xC0000152L)
 #endif
 
 #ifndef STATUS_MEMBER_IN_ALIAS
-  #define STATUS_MEMBER_IN_ALIAS ((NTSTATUS) 0xC0000153L)
+define STATUS_MEMBER_IN_ALIAS ((NTSTATUS) 0xC0000153L)
 #endif
 
 #ifndef STATUS_ALIAS_EXISTS
-  #define STATUS_ALIAS_EXISTS ((NTSTATUS) 0xC0000154L)
+define STATUS_ALIAS_EXISTS ((NTSTATUS) 0xC0000154L)
 #endif
 
 #ifndef STATUS_LOGON_NOT_GRANTED
-  #define STATUS_LOGON_NOT_GRANTED ((NTSTATUS) 0xC0000155L)
+define STATUS_LOGON_NOT_GRANTED ((NTSTATUS) 0xC0000155L)
 #endif
 
 #ifndef STATUS_TOO_MANY_SECRETS
-  #define STATUS_TOO_MANY_SECRETS ((NTSTATUS) 0xC0000156L)
+define STATUS_TOO_MANY_SECRETS ((NTSTATUS) 0xC0000156L)
 #endif
 
 #ifndef STATUS_SECRET_TOO_LONG
-  #define STATUS_SECRET_TOO_LONG ((NTSTATUS) 0xC0000157L)
+define STATUS_SECRET_TOO_LONG ((NTSTATUS) 0xC0000157L)
 #endif
 
 #ifndef STATUS_INTERNAL_DB_ERROR
-  #define STATUS_INTERNAL_DB_ERROR ((NTSTATUS) 0xC0000158L)
+define STATUS_INTERNAL_DB_ERROR ((NTSTATUS) 0xC0000158L)
 #endif
 
 #ifndef STATUS_FULLSCREEN_MODE
-  #define STATUS_FULLSCREEN_MODE ((NTSTATUS) 0xC0000159L)
+define STATUS_FULLSCREEN_MODE ((NTSTATUS) 0xC0000159L)
 #endif
 
 #ifndef STATUS_TOO_MANY_CONTEXT_IDS
-  #define STATUS_TOO_MANY_CONTEXT_IDS ((NTSTATUS) 0xC000015AL)
+define STATUS_TOO_MANY_CONTEXT_IDS ((NTSTATUS) 0xC000015AL)
 #endif
 
 #ifndef STATUS_LOGON_TYPE_NOT_GRANTED
-  #define STATUS_LOGON_TYPE_NOT_GRANTED ((NTSTATUS) 0xC000015BL)
+define STATUS_LOGON_TYPE_NOT_GRANTED ((NTSTATUS) 0xC000015BL)
 #endif
 
 #ifndef STATUS_NOT_REGISTRY_FILE
-  #define STATUS_NOT_REGISTRY_FILE ((NTSTATUS) 0xC000015CL)
+define STATUS_NOT_REGISTRY_FILE ((NTSTATUS) 0xC000015CL)
 #endif
 
 #ifndef STATUS_NT_CROSS_ENCRYPTION_REQUIRED
-  #define STATUS_NT_CROSS_ENCRYPTION_REQUIRED ((NTSTATUS) 0xC000015DL)
+define STATUS_NT_CROSS_ENCRYPTION_REQUIRED ((NTSTATUS) 0xC000015DL)
 #endif
 
 #ifndef STATUS_DOMAIN_CTRLR_CONFIG_ERROR
-  #define STATUS_DOMAIN_CTRLR_CONFIG_ERROR ((NTSTATUS) 0xC000015EL)
+define STATUS_DOMAIN_CTRLR_CONFIG_ERROR ((NTSTATUS) 0xC000015EL)
 #endif
 
 #ifndef STATUS_FT_MISSING_MEMBER
-  #define STATUS_FT_MISSING_MEMBER ((NTSTATUS) 0xC000015FL)
+define STATUS_FT_MISSING_MEMBER ((NTSTATUS) 0xC000015FL)
 #endif
 
 #ifndef STATUS_ILL_FORMED_SERVICE_ENTRY
-  #define STATUS_ILL_FORMED_SERVICE_ENTRY ((NTSTATUS) 0xC0000160L)
+define STATUS_ILL_FORMED_SERVICE_ENTRY ((NTSTATUS) 0xC0000160L)
 #endif
 
 #ifndef STATUS_ILLEGAL_CHARACTER
-  #define STATUS_ILLEGAL_CHARACTER ((NTSTATUS) 0xC0000161L)
+define STATUS_ILLEGAL_CHARACTER ((NTSTATUS) 0xC0000161L)
 #endif
 
 #ifndef STATUS_UNMAPPABLE_CHARACTER
-  #define STATUS_UNMAPPABLE_CHARACTER ((NTSTATUS) 0xC0000162L)
+define STATUS_UNMAPPABLE_CHARACTER ((NTSTATUS) 0xC0000162L)
 #endif
 
 #ifndef STATUS_UNDEFINED_CHARACTER
-  #define STATUS_UNDEFINED_CHARACTER ((NTSTATUS) 0xC0000163L)
+define STATUS_UNDEFINED_CHARACTER ((NTSTATUS) 0xC0000163L)
 #endif
 
 #ifndef STATUS_FLOPPY_VOLUME
-  #define STATUS_FLOPPY_VOLUME ((NTSTATUS) 0xC0000164L)
+define STATUS_FLOPPY_VOLUME ((NTSTATUS) 0xC0000164L)
 #endif
 
 #ifndef STATUS_FLOPPY_ID_MARK_NOT_FOUND
-  #define STATUS_FLOPPY_ID_MARK_NOT_FOUND ((NTSTATUS) 0xC0000165L)
+define STATUS_FLOPPY_ID_MARK_NOT_FOUND ((NTSTATUS) 0xC0000165L)
 #endif
 
 #ifndef STATUS_FLOPPY_WRONG_CYLINDER
-  #define STATUS_FLOPPY_WRONG_CYLINDER ((NTSTATUS) 0xC0000166L)
+define STATUS_FLOPPY_WRONG_CYLINDER ((NTSTATUS) 0xC0000166L)
 #endif
 
 #ifndef STATUS_FLOPPY_UNKNOWN_ERROR
-  #define STATUS_FLOPPY_UNKNOWN_ERROR ((NTSTATUS) 0xC0000167L)
+define STATUS_FLOPPY_UNKNOWN_ERROR ((NTSTATUS) 0xC0000167L)
 #endif
 
 #ifndef STATUS_FLOPPY_BAD_REGISTERS
-  #define STATUS_FLOPPY_BAD_REGISTERS ((NTSTATUS) 0xC0000168L)
+define STATUS_FLOPPY_BAD_REGISTERS ((NTSTATUS) 0xC0000168L)
 #endif
 
 #ifndef STATUS_DISK_RECALIBRATE_FAILED
-  #define STATUS_DISK_RECALIBRATE_FAILED ((NTSTATUS) 0xC0000169L)
+define STATUS_DISK_RECALIBRATE_FAILED ((NTSTATUS) 0xC0000169L)
 #endif
 
 #ifndef STATUS_DISK_OPERATION_FAILED
-  #define STATUS_DISK_OPERATION_FAILED ((NTSTATUS) 0xC000016AL)
+define STATUS_DISK_OPERATION_FAILED ((NTSTATUS) 0xC000016AL)
 #endif
 
 #ifndef STATUS_DISK_RESET_FAILED
-  #define STATUS_DISK_RESET_FAILED ((NTSTATUS) 0xC000016BL)
+define STATUS_DISK_RESET_FAILED ((NTSTATUS) 0xC000016BL)
 #endif
 
 #ifndef STATUS_SHARED_IRQ_BUSY
-  #define STATUS_SHARED_IRQ_BUSY ((NTSTATUS) 0xC000016CL)
+define STATUS_SHARED_IRQ_BUSY ((NTSTATUS) 0xC000016CL)
 #endif
 
 #ifndef STATUS_FT_ORPHANING
-  #define STATUS_FT_ORPHANING ((NTSTATUS) 0xC000016DL)
+define STATUS_FT_ORPHANING ((NTSTATUS) 0xC000016DL)
 #endif
 
 #ifndef STATUS_BIOS_FAILED_TO_CONNECT_INTERRUPT
-  #define STATUS_BIOS_FAILED_TO_CONNECT_INTERRUPT ((NTSTATUS) 0xC000016EL)
+define STATUS_BIOS_FAILED_TO_CONNECT_INTERRUPT ((NTSTATUS) 0xC000016EL)
 #endif
 
 #ifndef STATUS_PARTITION_FAILURE
-  #define STATUS_PARTITION_FAILURE ((NTSTATUS) 0xC0000172L)
+define STATUS_PARTITION_FAILURE ((NTSTATUS) 0xC0000172L)
 #endif
 
 #ifndef STATUS_INVALID_BLOCK_LENGTH
-  #define STATUS_INVALID_BLOCK_LENGTH ((NTSTATUS) 0xC0000173L)
+define STATUS_INVALID_BLOCK_LENGTH ((NTSTATUS) 0xC0000173L)
 #endif
 
 #ifndef STATUS_DEVICE_NOT_PARTITIONED
-  #define STATUS_DEVICE_NOT_PARTITIONED ((NTSTATUS) 0xC0000174L)
+define STATUS_DEVICE_NOT_PARTITIONED ((NTSTATUS) 0xC0000174L)
 #endif
 
 #ifndef STATUS_UNABLE_TO_LOCK_MEDIA
-  #define STATUS_UNABLE_TO_LOCK_MEDIA ((NTSTATUS) 0xC0000175L)
+define STATUS_UNABLE_TO_LOCK_MEDIA ((NTSTATUS) 0xC0000175L)
 #endif
 
 #ifndef STATUS_UNABLE_TO_UNLOAD_MEDIA
-  #define STATUS_UNABLE_TO_UNLOAD_MEDIA ((NTSTATUS) 0xC0000176L)
+define STATUS_UNABLE_TO_UNLOAD_MEDIA ((NTSTATUS) 0xC0000176L)
 #endif
 
 #ifndef STATUS_EOM_OVERFLOW
-  #define STATUS_EOM_OVERFLOW ((NTSTATUS) 0xC0000177L)
+define STATUS_EOM_OVERFLOW ((NTSTATUS) 0xC0000177L)
 #endif
 
 #ifndef STATUS_NO_MEDIA
-  #define STATUS_NO_MEDIA ((NTSTATUS) 0xC0000178L)
+define STATUS_NO_MEDIA ((NTSTATUS) 0xC0000178L)
 #endif
 
 #ifndef STATUS_NO_SUCH_MEMBER
-  #define STATUS_NO_SUCH_MEMBER ((NTSTATUS) 0xC000017AL)
+define STATUS_NO_SUCH_MEMBER ((NTSTATUS) 0xC000017AL)
 #endif
 
 #ifndef STATUS_INVALID_MEMBER
-  #define STATUS_INVALID_MEMBER ((NTSTATUS) 0xC000017BL)
+define STATUS_INVALID_MEMBER ((NTSTATUS) 0xC000017BL)
 #endif
 
 #ifndef STATUS_KEY_DELETED
-  #define STATUS_KEY_DELETED ((NTSTATUS) 0xC000017CL)
+define STATUS_KEY_DELETED ((NTSTATUS) 0xC000017CL)
 #endif
 
 #ifndef STATUS_NO_LOG_SPACE
-  #define STATUS_NO_LOG_SPACE ((NTSTATUS) 0xC000017DL)
+define STATUS_NO_LOG_SPACE ((NTSTATUS) 0xC000017DL)
 #endif
 
 #ifndef STATUS_TOO_MANY_SIDS
-  #define STATUS_TOO_MANY_SIDS ((NTSTATUS) 0xC000017EL)
+define STATUS_TOO_MANY_SIDS ((NTSTATUS) 0xC000017EL)
 #endif
 
 #ifndef STATUS_LM_CROSS_ENCRYPTION_REQUIRED
-  #define STATUS_LM_CROSS_ENCRYPTION_REQUIRED ((NTSTATUS) 0xC000017FL)
+define STATUS_LM_CROSS_ENCRYPTION_REQUIRED ((NTSTATUS) 0xC000017FL)
 #endif
 
 #ifndef STATUS_KEY_HAS_CHILDREN
-  #define STATUS_KEY_HAS_CHILDREN ((NTSTATUS) 0xC0000180L)
+define STATUS_KEY_HAS_CHILDREN ((NTSTATUS) 0xC0000180L)
 #endif
 
 #ifndef STATUS_CHILD_MUST_BE_VOLATILE
-  #define STATUS_CHILD_MUST_BE_VOLATILE ((NTSTATUS) 0xC0000181L)
+define STATUS_CHILD_MUST_BE_VOLATILE ((NTSTATUS) 0xC0000181L)
 #endif
 
 #ifndef STATUS_DEVICE_CONFIGURATION_ERROR
-  #define STATUS_DEVICE_CONFIGURATION_ERROR ((NTSTATUS) 0xC0000182L)
+define STATUS_DEVICE_CONFIGURATION_ERROR ((NTSTATUS) 0xC0000182L)
 #endif
 
 #ifndef STATUS_DRIVER_INTERNAL_ERROR
-  #define STATUS_DRIVER_INTERNAL_ERROR ((NTSTATUS) 0xC0000183L)
+define STATUS_DRIVER_INTERNAL_ERROR ((NTSTATUS) 0xC0000183L)
 #endif
 
 #ifndef STATUS_INVALID_DEVICE_STATE
-  #define STATUS_INVALID_DEVICE_STATE ((NTSTATUS) 0xC0000184L)
+define STATUS_INVALID_DEVICE_STATE ((NTSTATUS) 0xC0000184L)
 #endif
 
 #ifndef STATUS_IO_DEVICE_ERROR
-  #define STATUS_IO_DEVICE_ERROR ((NTSTATUS) 0xC0000185L)
+define STATUS_IO_DEVICE_ERROR ((NTSTATUS) 0xC0000185L)
 #endif
 
 #ifndef STATUS_DEVICE_PROTOCOL_ERROR
-  #define STATUS_DEVICE_PROTOCOL_ERROR ((NTSTATUS) 0xC0000186L)
+define STATUS_DEVICE_PROTOCOL_ERROR ((NTSTATUS) 0xC0000186L)
 #endif
 
 #ifndef STATUS_BACKUP_CONTROLLER
-  #define STATUS_BACKUP_CONTROLLER ((NTSTATUS) 0xC0000187L)
+define STATUS_BACKUP_CONTROLLER ((NTSTATUS) 0xC0000187L)
 #endif
 
 #ifndef STATUS_LOG_FILE_FULL
-  #define STATUS_LOG_FILE_FULL ((NTSTATUS) 0xC0000188L)
+define STATUS_LOG_FILE_FULL ((NTSTATUS) 0xC0000188L)
 #endif
 
 #ifndef STATUS_TOO_LATE
-  #define STATUS_TOO_LATE ((NTSTATUS) 0xC0000189L)
+define STATUS_TOO_LATE ((NTSTATUS) 0xC0000189L)
 #endif
 
 #ifndef STATUS_NO_TRUST_LSA_SECRET
-  #define STATUS_NO_TRUST_LSA_SECRET ((NTSTATUS) 0xC000018AL)
+define STATUS_NO_TRUST_LSA_SECRET ((NTSTATUS) 0xC000018AL)
 #endif
 
 #ifndef STATUS_NO_TRUST_SAM_ACCOUNT
-  #define STATUS_NO_TRUST_SAM_ACCOUNT ((NTSTATUS) 0xC000018BL)
+define STATUS_NO_TRUST_SAM_ACCOUNT ((NTSTATUS) 0xC000018BL)
 #endif
 
 #ifndef STATUS_TRUSTED_DOMAIN_FAILURE
-  #define STATUS_TRUSTED_DOMAIN_FAILURE ((NTSTATUS) 0xC000018CL)
+define STATUS_TRUSTED_DOMAIN_FAILURE ((NTSTATUS) 0xC000018CL)
 #endif
 
 #ifndef STATUS_TRUSTED_RELATIONSHIP_FAILURE
-  #define STATUS_TRUSTED_RELATIONSHIP_FAILURE ((NTSTATUS) 0xC000018DL)
+define STATUS_TRUSTED_RELATIONSHIP_FAILURE ((NTSTATUS) 0xC000018DL)
 #endif
 
 #ifndef STATUS_EVENTLOG_FILE_CORRUPT
-  #define STATUS_EVENTLOG_FILE_CORRUPT ((NTSTATUS) 0xC000018EL)
+define STATUS_EVENTLOG_FILE_CORRUPT ((NTSTATUS) 0xC000018EL)
 #endif
 
 #ifndef STATUS_EVENTLOG_CANT_START
-  #define STATUS_EVENTLOG_CANT_START ((NTSTATUS) 0xC000018FL)
+define STATUS_EVENTLOG_CANT_START ((NTSTATUS) 0xC000018FL)
 #endif
 
 #ifndef STATUS_TRUST_FAILURE
-  #define STATUS_TRUST_FAILURE ((NTSTATUS) 0xC0000190L)
+define STATUS_TRUST_FAILURE ((NTSTATUS) 0xC0000190L)
 #endif
 
 #ifndef STATUS_MUTANT_LIMIT_EXCEEDED
-  #define STATUS_MUTANT_LIMIT_EXCEEDED ((NTSTATUS) 0xC0000191L)
+define STATUS_MUTANT_LIMIT_EXCEEDED ((NTSTATUS) 0xC0000191L)
 #endif
 
 #ifndef STATUS_NETLOGON_NOT_STARTED
-  #define STATUS_NETLOGON_NOT_STARTED ((NTSTATUS) 0xC0000192L)
+define STATUS_NETLOGON_NOT_STARTED ((NTSTATUS) 0xC0000192L)
 #endif
 
 #ifndef STATUS_ACCOUNT_EXPIRED
-  #define STATUS_ACCOUNT_EXPIRED ((NTSTATUS) 0xC0000193L)
+define STATUS_ACCOUNT_EXPIRED ((NTSTATUS) 0xC0000193L)
 #endif
 
 #ifndef STATUS_POSSIBLE_DEADLOCK
-  #define STATUS_POSSIBLE_DEADLOCK ((NTSTATUS) 0xC0000194L)
+define STATUS_POSSIBLE_DEADLOCK ((NTSTATUS) 0xC0000194L)
 #endif
 
 #ifndef STATUS_NETWORK_CREDENTIAL_CONFLICT
-  #define STATUS_NETWORK_CREDENTIAL_CONFLICT ((NTSTATUS) 0xC0000195L)
+define STATUS_NETWORK_CREDENTIAL_CONFLICT ((NTSTATUS) 0xC0000195L)
 #endif
 
 #ifndef STATUS_REMOTE_SESSION_LIMIT
-  #define STATUS_REMOTE_SESSION_LIMIT ((NTSTATUS) 0xC0000196L)
+define STATUS_REMOTE_SESSION_LIMIT ((NTSTATUS) 0xC0000196L)
 #endif
 
 #ifndef STATUS_EVENTLOG_FILE_CHANGED
-  #define STATUS_EVENTLOG_FILE_CHANGED ((NTSTATUS) 0xC0000197L)
+define STATUS_EVENTLOG_FILE_CHANGED ((NTSTATUS) 0xC0000197L)
 #endif
 
 #ifndef STATUS_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT
-  #define STATUS_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT ((NTSTATUS) 0xC0000198L)
+define STATUS_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT ((NTSTATUS) 0xC0000198L)
 #endif
 
 #ifndef STATUS_NOLOGON_WORKSTATION_TRUST_ACCOUNT
-  #define STATUS_NOLOGON_WORKSTATION_TRUST_ACCOUNT ((NTSTATUS) 0xC0000199L)
+define STATUS_NOLOGON_WORKSTATION_TRUST_ACCOUNT ((NTSTATUS) 0xC0000199L)
 #endif
 
 #ifndef STATUS_NOLOGON_SERVER_TRUST_ACCOUNT
-  #define STATUS_NOLOGON_SERVER_TRUST_ACCOUNT ((NTSTATUS) 0xC000019AL)
+define STATUS_NOLOGON_SERVER_TRUST_ACCOUNT ((NTSTATUS) 0xC000019AL)
 #endif
 
 #ifndef STATUS_DOMAIN_TRUST_INCONSISTENT
-  #define STATUS_DOMAIN_TRUST_INCONSISTENT ((NTSTATUS) 0xC000019BL)
+define STATUS_DOMAIN_TRUST_INCONSISTENT ((NTSTATUS) 0xC000019BL)
 #endif
 
 #ifndef STATUS_FS_DRIVER_REQUIRED
-  #define STATUS_FS_DRIVER_REQUIRED ((NTSTATUS) 0xC000019CL)
+define STATUS_FS_DRIVER_REQUIRED ((NTSTATUS) 0xC000019CL)
 #endif
 
 #ifndef STATUS_IMAGE_ALREADY_LOADED_AS_DLL
-  #define STATUS_IMAGE_ALREADY_LOADED_AS_DLL ((NTSTATUS) 0xC000019DL)
+define STATUS_IMAGE_ALREADY_LOADED_AS_DLL ((NTSTATUS) 0xC000019DL)
 #endif
 
 #ifndef STATUS_INCOMPATIBLE_WITH_GLOBAL_SHORT_NAME_REGISTRY_SETTING
-  #define STATUS_INCOMPATIBLE_WITH_GLOBAL_SHORT_NAME_REGISTRY_SETTING ((NTSTATUS) 0xC000019EL)
+define STATUS_INCOMPATIBLE_WITH_GLOBAL_SHORT_NAME_REGISTRY_SETTING ((NTSTATUS) 0xC000019EL)
 #endif
 
 #ifndef STATUS_SHORT_NAMES_NOT_ENABLED_ON_VOLUME
-  #define STATUS_SHORT_NAMES_NOT_ENABLED_ON_VOLUME ((NTSTATUS) 0xC000019FL)
+define STATUS_SHORT_NAMES_NOT_ENABLED_ON_VOLUME ((NTSTATUS) 0xC000019FL)
 #endif
 
 #ifndef STATUS_SECURITY_STREAM_IS_INCONSISTENT
-  #define STATUS_SECURITY_STREAM_IS_INCONSISTENT ((NTSTATUS) 0xC00001A0L)
+define STATUS_SECURITY_STREAM_IS_INCONSISTENT ((NTSTATUS) 0xC00001A0L)
 #endif
 
 #ifndef STATUS_INVALID_LOCK_RANGE
-  #define STATUS_INVALID_LOCK_RANGE ((NTSTATUS) 0xC00001A1L)
+define STATUS_INVALID_LOCK_RANGE ((NTSTATUS) 0xC00001A1L)
 #endif
 
 #ifndef STATUS_INVALID_ACE_CONDITION
-  #define STATUS_INVALID_ACE_CONDITION ((NTSTATUS) 0xC00001A2L)
+define STATUS_INVALID_ACE_CONDITION ((NTSTATUS) 0xC00001A2L)
 #endif
 
 #ifndef STATUS_IMAGE_SUBSYSTEM_NOT_PRESENT
-  #define STATUS_IMAGE_SUBSYSTEM_NOT_PRESENT ((NTSTATUS) 0xC00001A3L)
+define STATUS_IMAGE_SUBSYSTEM_NOT_PRESENT ((NTSTATUS) 0xC00001A3L)
 #endif
 
 #ifndef STATUS_NOTIFICATION_GUID_ALREADY_DEFINED
-  #define STATUS_NOTIFICATION_GUID_ALREADY_DEFINED ((NTSTATUS) 0xC00001A4L)
+define STATUS_NOTIFICATION_GUID_ALREADY_DEFINED ((NTSTATUS) 0xC00001A4L)
 #endif
 
 #ifndef STATUS_NETWORK_OPEN_RESTRICTION
-  #define STATUS_NETWORK_OPEN_RESTRICTION ((NTSTATUS) 0xC0000201L)
+define STATUS_NETWORK_OPEN_RESTRICTION ((NTSTATUS) 0xC0000201L)
 #endif
 
 #ifndef STATUS_NO_USER_SESSION_KEY
-  #define STATUS_NO_USER_SESSION_KEY ((NTSTATUS) 0xC0000202L)
+define STATUS_NO_USER_SESSION_KEY ((NTSTATUS) 0xC0000202L)
 #endif
 
 #ifndef STATUS_USER_SESSION_DELETED
-  #define STATUS_USER_SESSION_DELETED ((NTSTATUS) 0xC0000203L)
+define STATUS_USER_SESSION_DELETED ((NTSTATUS) 0xC0000203L)
 #endif
 
 #ifndef STATUS_RESOURCE_LANG_NOT_FOUND
-  #define STATUS_RESOURCE_LANG_NOT_FOUND ((NTSTATUS) 0xC0000204L)
+define STATUS_RESOURCE_LANG_NOT_FOUND ((NTSTATUS) 0xC0000204L)
 #endif
 
 #ifndef STATUS_INSUFF_SERVER_RESOURCES
-  #define STATUS_INSUFF_SERVER_RESOURCES ((NTSTATUS) 0xC0000205L)
+define STATUS_INSUFF_SERVER_RESOURCES ((NTSTATUS) 0xC0000205L)
 #endif
 
 #ifndef STATUS_INVALID_BUFFER_SIZE
-  #define STATUS_INVALID_BUFFER_SIZE ((NTSTATUS) 0xC0000206L)
+define STATUS_INVALID_BUFFER_SIZE ((NTSTATUS) 0xC0000206L)
 #endif
 
 #ifndef STATUS_INVALID_ADDRESS_COMPONENT
-  #define STATUS_INVALID_ADDRESS_COMPONENT ((NTSTATUS) 0xC0000207L)
+define STATUS_INVALID_ADDRESS_COMPONENT ((NTSTATUS) 0xC0000207L)
 #endif
 
 #ifndef STATUS_INVALID_ADDRESS_WILDCARD
-  #define STATUS_INVALID_ADDRESS_WILDCARD ((NTSTATUS) 0xC0000208L)
+define STATUS_INVALID_ADDRESS_WILDCARD ((NTSTATUS) 0xC0000208L)
 #endif
 
 #ifndef STATUS_TOO_MANY_ADDRESSES
-  #define STATUS_TOO_MANY_ADDRESSES ((NTSTATUS) 0xC0000209L)
+define STATUS_TOO_MANY_ADDRESSES ((NTSTATUS) 0xC0000209L)
 #endif
 
 #ifndef STATUS_ADDRESS_ALREADY_EXISTS
-  #define STATUS_ADDRESS_ALREADY_EXISTS ((NTSTATUS) 0xC000020AL)
+define STATUS_ADDRESS_ALREADY_EXISTS ((NTSTATUS) 0xC000020AL)
 #endif
 
 #ifndef STATUS_ADDRESS_CLOSED
-  #define STATUS_ADDRESS_CLOSED ((NTSTATUS) 0xC000020BL)
+define STATUS_ADDRESS_CLOSED ((NTSTATUS) 0xC000020BL)
 #endif
 
 #ifndef STATUS_CONNECTION_DISCONNECTED
-  #define STATUS_CONNECTION_DISCONNECTED ((NTSTATUS) 0xC000020CL)
+define STATUS_CONNECTION_DISCONNECTED ((NTSTATUS) 0xC000020CL)
 #endif
 
 #ifndef STATUS_CONNECTION_RESET
-  #define STATUS_CONNECTION_RESET ((NTSTATUS) 0xC000020DL)
+define STATUS_CONNECTION_RESET ((NTSTATUS) 0xC000020DL)
 #endif
 
 #ifndef STATUS_TOO_MANY_NODES
-  #define STATUS_TOO_MANY_NODES ((NTSTATUS) 0xC000020EL)
+define STATUS_TOO_MANY_NODES ((NTSTATUS) 0xC000020EL)
 #endif
 
 #ifndef STATUS_TRANSACTION_ABORTED
-  #define STATUS_TRANSACTION_ABORTED ((NTSTATUS) 0xC000020FL)
+define STATUS_TRANSACTION_ABORTED ((NTSTATUS) 0xC000020FL)
 #endif
 
 #ifndef STATUS_TRANSACTION_TIMED_OUT
-  #define STATUS_TRANSACTION_TIMED_OUT ((NTSTATUS) 0xC0000210L)
+define STATUS_TRANSACTION_TIMED_OUT ((NTSTATUS) 0xC0000210L)
 #endif
 
 #ifndef STATUS_TRANSACTION_NO_RELEASE
-  #define STATUS_TRANSACTION_NO_RELEASE ((NTSTATUS) 0xC0000211L)
+define STATUS_TRANSACTION_NO_RELEASE ((NTSTATUS) 0xC0000211L)
 #endif
 
 #ifndef STATUS_TRANSACTION_NO_MATCH
-  #define STATUS_TRANSACTION_NO_MATCH ((NTSTATUS) 0xC0000212L)
+define STATUS_TRANSACTION_NO_MATCH ((NTSTATUS) 0xC0000212L)
 #endif
 
 #ifndef STATUS_TRANSACTION_RESPONDED
-  #define STATUS_TRANSACTION_RESPONDED ((NTSTATUS) 0xC0000213L)
+define STATUS_TRANSACTION_RESPONDED ((NTSTATUS) 0xC0000213L)
 #endif
 
 #ifndef STATUS_TRANSACTION_INVALID_ID
-  #define STATUS_TRANSACTION_INVALID_ID ((NTSTATUS) 0xC0000214L)
+define STATUS_TRANSACTION_INVALID_ID ((NTSTATUS) 0xC0000214L)
 #endif
 
 #ifndef STATUS_TRANSACTION_INVALID_TYPE
-  #define STATUS_TRANSACTION_INVALID_TYPE ((NTSTATUS) 0xC0000215L)
+define STATUS_TRANSACTION_INVALID_TYPE ((NTSTATUS) 0xC0000215L)
 #endif
 
 #ifndef STATUS_NOT_SERVER_SESSION
-  #define STATUS_NOT_SERVER_SESSION ((NTSTATUS) 0xC0000216L)
+define STATUS_NOT_SERVER_SESSION ((NTSTATUS) 0xC0000216L)
 #endif
 
 #ifndef STATUS_NOT_CLIENT_SESSION
-  #define STATUS_NOT_CLIENT_SESSION ((NTSTATUS) 0xC0000217L)
+define STATUS_NOT_CLIENT_SESSION ((NTSTATUS) 0xC0000217L)
 #endif
 
 #ifndef STATUS_CANNOT_LOAD_REGISTRY_FILE
-  #define STATUS_CANNOT_LOAD_REGISTRY_FILE ((NTSTATUS) 0xC0000218L)
+define STATUS_CANNOT_LOAD_REGISTRY_FILE ((NTSTATUS) 0xC0000218L)
 #endif
 
 #ifndef STATUS_DEBUG_ATTACH_FAILED
-  #define STATUS_DEBUG_ATTACH_FAILED ((NTSTATUS) 0xC0000219L)
+define STATUS_DEBUG_ATTACH_FAILED ((NTSTATUS) 0xC0000219L)
 #endif
 
 #ifndef STATUS_SYSTEM_PROCESS_TERMINATED
-  #define STATUS_SYSTEM_PROCESS_TERMINATED ((NTSTATUS) 0xC000021AL)
+define STATUS_SYSTEM_PROCESS_TERMINATED ((NTSTATUS) 0xC000021AL)
 #endif
 
 #ifndef STATUS_DATA_NOT_ACCEPTED
-  #define STATUS_DATA_NOT_ACCEPTED ((NTSTATUS) 0xC000021BL)
+define STATUS_DATA_NOT_ACCEPTED ((NTSTATUS) 0xC000021BL)
 #endif
 
 #ifndef STATUS_NO_BROWSER_SERVERS_FOUND
-  #define STATUS_NO_BROWSER_SERVERS_FOUND ((NTSTATUS) 0xC000021CL)
+define STATUS_NO_BROWSER_SERVERS_FOUND ((NTSTATUS) 0xC000021CL)
 #endif
 
 #ifndef STATUS_VDM_HARD_ERROR
-  #define STATUS_VDM_HARD_ERROR ((NTSTATUS) 0xC000021DL)
+define STATUS_VDM_HARD_ERROR ((NTSTATUS) 0xC000021DL)
 #endif
 
 #ifndef STATUS_DRIVER_CANCEL_TIMEOUT
-  #define STATUS_DRIVER_CANCEL_TIMEOUT ((NTSTATUS) 0xC000021EL)
+define STATUS_DRIVER_CANCEL_TIMEOUT ((NTSTATUS) 0xC000021EL)
 #endif
 
 #ifndef STATUS_REPLY_MESSAGE_MISMATCH
-  #define STATUS_REPLY_MESSAGE_MISMATCH ((NTSTATUS) 0xC000021FL)
+define STATUS_REPLY_MESSAGE_MISMATCH ((NTSTATUS) 0xC000021FL)
 #endif
 
 #ifndef STATUS_MAPPED_ALIGNMENT
-  #define STATUS_MAPPED_ALIGNMENT ((NTSTATUS) 0xC0000220L)
+define STATUS_MAPPED_ALIGNMENT ((NTSTATUS) 0xC0000220L)
 #endif
 
 #ifndef STATUS_IMAGE_CHECKSUM_MISMATCH
-  #define STATUS_IMAGE_CHECKSUM_MISMATCH ((NTSTATUS) 0xC0000221L)
+define STATUS_IMAGE_CHECKSUM_MISMATCH ((NTSTATUS) 0xC0000221L)
 #endif
 
 #ifndef STATUS_LOST_WRITEBEHIND_DATA
-  #define STATUS_LOST_WRITEBEHIND_DATA ((NTSTATUS) 0xC0000222L)
+define STATUS_LOST_WRITEBEHIND_DATA ((NTSTATUS) 0xC0000222L)
 #endif
 
 #ifndef STATUS_CLIENT_SERVER_PARAMETERS_INVALID
-  #define STATUS_CLIENT_SERVER_PARAMETERS_INVALID ((NTSTATUS) 0xC0000223L)
+define STATUS_CLIENT_SERVER_PARAMETERS_INVALID ((NTSTATUS) 0xC0000223L)
 #endif
 
 #ifndef STATUS_PASSWORD_MUST_CHANGE
-  #define STATUS_PASSWORD_MUST_CHANGE ((NTSTATUS) 0xC0000224L)
+define STATUS_PASSWORD_MUST_CHANGE ((NTSTATUS) 0xC0000224L)
 #endif
 
 #ifndef STATUS_NOT_FOUND
-  #define STATUS_NOT_FOUND ((NTSTATUS) 0xC0000225L)
+define STATUS_NOT_FOUND ((NTSTATUS) 0xC0000225L)
 #endif
 
 #ifndef STATUS_NOT_TINY_STREAM
-  #define STATUS_NOT_TINY_STREAM ((NTSTATUS) 0xC0000226L)
+define STATUS_NOT_TINY_STREAM ((NTSTATUS) 0xC0000226L)
 #endif
 
 #ifndef STATUS_RECOVERY_FAILURE
-  #define STATUS_RECOVERY_FAILURE ((NTSTATUS) 0xC0000227L)
+define STATUS_RECOVERY_FAILURE ((NTSTATUS) 0xC0000227L)
 #endif
 
 #ifndef STATUS_STACK_OVERFLOW_READ
-  #define STATUS_STACK_OVERFLOW_READ ((NTSTATUS) 0xC0000228L)
+define STATUS_STACK_OVERFLOW_READ ((NTSTATUS) 0xC0000228L)
 #endif
 
 #ifndef STATUS_FAIL_CHECK
-  #define STATUS_FAIL_CHECK ((NTSTATUS) 0xC0000229L)
+define STATUS_FAIL_CHECK ((NTSTATUS) 0xC0000229L)
 #endif
 
 #ifndef STATUS_DUPLICATE_OBJECTID
-  #define STATUS_DUPLICATE_OBJECTID ((NTSTATUS) 0xC000022AL)
+define STATUS_DUPLICATE_OBJECTID ((NTSTATUS) 0xC000022AL)
 #endif
 
 #ifndef STATUS_OBJECTID_EXISTS
-  #define STATUS_OBJECTID_EXISTS ((NTSTATUS) 0xC000022BL)
+define STATUS_OBJECTID_EXISTS ((NTSTATUS) 0xC000022BL)
 #endif
 
 #ifndef STATUS_CONVERT_TO_LARGE
-  #define STATUS_CONVERT_TO_LARGE ((NTSTATUS) 0xC000022CL)
+define STATUS_CONVERT_TO_LARGE ((NTSTATUS) 0xC000022CL)
 #endif
 
 #ifndef STATUS_RETRY
-  #define STATUS_RETRY ((NTSTATUS) 0xC000022DL)
+define STATUS_RETRY ((NTSTATUS) 0xC000022DL)
 #endif
 
 #ifndef STATUS_FOUND_OUT_OF_SCOPE
-  #define STATUS_FOUND_OUT_OF_SCOPE ((NTSTATUS) 0xC000022EL)
+define STATUS_FOUND_OUT_OF_SCOPE ((NTSTATUS) 0xC000022EL)
 #endif
 
 #ifndef STATUS_ALLOCATE_BUCKET
-  #define STATUS_ALLOCATE_BUCKET ((NTSTATUS) 0xC000022FL)
+define STATUS_ALLOCATE_BUCKET ((NTSTATUS) 0xC000022FL)
 #endif
 
 #ifndef STATUS_PROPSET_NOT_FOUND
-  #define STATUS_PROPSET_NOT_FOUND ((NTSTATUS) 0xC0000230L)
+define STATUS_PROPSET_NOT_FOUND ((NTSTATUS) 0xC0000230L)
 #endif
 
 #ifndef STATUS_MARSHALL_OVERFLOW
-  #define STATUS_MARSHALL_OVERFLOW ((NTSTATUS) 0xC0000231L)
+define STATUS_MARSHALL_OVERFLOW ((NTSTATUS) 0xC0000231L)
 #endif
 
 #ifndef STATUS_INVALID_VARIANT
-  #define STATUS_INVALID_VARIANT ((NTSTATUS) 0xC0000232L)
+define STATUS_INVALID_VARIANT ((NTSTATUS) 0xC0000232L)
 #endif
 
 #ifndef STATUS_DOMAIN_CONTROLLER_NOT_FOUND
-  #define STATUS_DOMAIN_CONTROLLER_NOT_FOUND ((NTSTATUS) 0xC0000233L)
+define STATUS_DOMAIN_CONTROLLER_NOT_FOUND ((NTSTATUS) 0xC0000233L)
 #endif
 
 #ifndef STATUS_ACCOUNT_LOCKED_OUT
-  #define STATUS_ACCOUNT_LOCKED_OUT ((NTSTATUS) 0xC0000234L)
+define STATUS_ACCOUNT_LOCKED_OUT ((NTSTATUS) 0xC0000234L)
 #endif
 
 #ifndef STATUS_HANDLE_NOT_CLOSABLE
-  #define STATUS_HANDLE_NOT_CLOSABLE ((NTSTATUS) 0xC0000235L)
+define STATUS_HANDLE_NOT_CLOSABLE ((NTSTATUS) 0xC0000235L)
 #endif
 
 #ifndef STATUS_CONNECTION_REFUSED
-  #define STATUS_CONNECTION_REFUSED ((NTSTATUS) 0xC0000236L)
+define STATUS_CONNECTION_REFUSED ((NTSTATUS) 0xC0000236L)
 #endif
 
 #ifndef STATUS_GRACEFUL_DISCONNECT
-  #define STATUS_GRACEFUL_DISCONNECT ((NTSTATUS) 0xC0000237L)
+define STATUS_GRACEFUL_DISCONNECT ((NTSTATUS) 0xC0000237L)
 #endif
 
 #ifndef STATUS_ADDRESS_ALREADY_ASSOCIATED
-  #define STATUS_ADDRESS_ALREADY_ASSOCIATED ((NTSTATUS) 0xC0000238L)
+define STATUS_ADDRESS_ALREADY_ASSOCIATED ((NTSTATUS) 0xC0000238L)
 #endif
 
 #ifndef STATUS_ADDRESS_NOT_ASSOCIATED
-  #define STATUS_ADDRESS_NOT_ASSOCIATED ((NTSTATUS) 0xC0000239L)
+define STATUS_ADDRESS_NOT_ASSOCIATED ((NTSTATUS) 0xC0000239L)
 #endif
 
 #ifndef STATUS_CONNECTION_INVALID
-  #define STATUS_CONNECTION_INVALID ((NTSTATUS) 0xC000023AL)
+define STATUS_CONNECTION_INVALID ((NTSTATUS) 0xC000023AL)
 #endif
 
 #ifndef STATUS_CONNECTION_ACTIVE
-  #define STATUS_CONNECTION_ACTIVE ((NTSTATUS) 0xC000023BL)
+define STATUS_CONNECTION_ACTIVE ((NTSTATUS) 0xC000023BL)
 #endif
 
 #ifndef STATUS_NETWORK_UNREACHABLE
-  #define STATUS_NETWORK_UNREACHABLE ((NTSTATUS) 0xC000023CL)
+define STATUS_NETWORK_UNREACHABLE ((NTSTATUS) 0xC000023CL)
 #endif
 
 #ifndef STATUS_HOST_UNREACHABLE
-  #define STATUS_HOST_UNREACHABLE ((NTSTATUS) 0xC000023DL)
+define STATUS_HOST_UNREACHABLE ((NTSTATUS) 0xC000023DL)
 #endif
 
 #ifndef STATUS_PROTOCOL_UNREACHABLE
-  #define STATUS_PROTOCOL_UNREACHABLE ((NTSTATUS) 0xC000023EL)
+define STATUS_PROTOCOL_UNREACHABLE ((NTSTATUS) 0xC000023EL)
 #endif
 
 #ifndef STATUS_PORT_UNREACHABLE
-  #define STATUS_PORT_UNREACHABLE ((NTSTATUS) 0xC000023FL)
+define STATUS_PORT_UNREACHABLE ((NTSTATUS) 0xC000023FL)
 #endif
 
 #ifndef STATUS_REQUEST_ABORTED
-  #define STATUS_REQUEST_ABORTED ((NTSTATUS) 0xC0000240L)
+define STATUS_REQUEST_ABORTED ((NTSTATUS) 0xC0000240L)
 #endif
 
 #ifndef STATUS_CONNECTION_ABORTED
-  #define STATUS_CONNECTION_ABORTED ((NTSTATUS) 0xC0000241L)
+define STATUS_CONNECTION_ABORTED ((NTSTATUS) 0xC0000241L)
 #endif
 
 #ifndef STATUS_BAD_COMPRESSION_BUFFER
-  #define STATUS_BAD_COMPRESSION_BUFFER ((NTSTATUS) 0xC0000242L)
+define STATUS_BAD_COMPRESSION_BUFFER ((NTSTATUS) 0xC0000242L)
 #endif
 
 #ifndef STATUS_USER_MAPPED_FILE
-  #define STATUS_USER_MAPPED_FILE ((NTSTATUS) 0xC0000243L)
+define STATUS_USER_MAPPED_FILE ((NTSTATUS) 0xC0000243L)
 #endif
 
 #ifndef STATUS_AUDIT_FAILED
-  #define STATUS_AUDIT_FAILED ((NTSTATUS) 0xC0000244L)
+define STATUS_AUDIT_FAILED ((NTSTATUS) 0xC0000244L)
 #endif
 
 #ifndef STATUS_TIMER_RESOLUTION_NOT_SET
-  #define STATUS_TIMER_RESOLUTION_NOT_SET ((NTSTATUS) 0xC0000245L)
+define STATUS_TIMER_RESOLUTION_NOT_SET ((NTSTATUS) 0xC0000245L)
 #endif
 
 #ifndef STATUS_CONNECTION_COUNT_LIMIT
-  #define STATUS_CONNECTION_COUNT_LIMIT ((NTSTATUS) 0xC0000246L)
+define STATUS_CONNECTION_COUNT_LIMIT ((NTSTATUS) 0xC0000246L)
 #endif
 
 #ifndef STATUS_LOGIN_TIME_RESTRICTION
-  #define STATUS_LOGIN_TIME_RESTRICTION ((NTSTATUS) 0xC0000247L)
+define STATUS_LOGIN_TIME_RESTRICTION ((NTSTATUS) 0xC0000247L)
 #endif
 
 #ifndef STATUS_LOGIN_WKSTA_RESTRICTION
-  #define STATUS_LOGIN_WKSTA_RESTRICTION ((NTSTATUS) 0xC0000248L)
+define STATUS_LOGIN_WKSTA_RESTRICTION ((NTSTATUS) 0xC0000248L)
 #endif
 
 #ifndef STATUS_IMAGE_MP_UP_MISMATCH
-  #define STATUS_IMAGE_MP_UP_MISMATCH ((NTSTATUS) 0xC0000249L)
+define STATUS_IMAGE_MP_UP_MISMATCH ((NTSTATUS) 0xC0000249L)
 #endif
 
 #ifndef STATUS_INSUFFICIENT_LOGON_INFO
-  #define STATUS_INSUFFICIENT_LOGON_INFO ((NTSTATUS) 0xC0000250L)
+define STATUS_INSUFFICIENT_LOGON_INFO ((NTSTATUS) 0xC0000250L)
 #endif
 
 #ifndef STATUS_BAD_DLL_ENTRYPOINT
-  #define STATUS_BAD_DLL_ENTRYPOINT ((NTSTATUS) 0xC0000251L)
+define STATUS_BAD_DLL_ENTRYPOINT ((NTSTATUS) 0xC0000251L)
 #endif
 
 #ifndef STATUS_BAD_SERVICE_ENTRYPOINT
-  #define STATUS_BAD_SERVICE_ENTRYPOINT ((NTSTATUS) 0xC0000252L)
+define STATUS_BAD_SERVICE_ENTRYPOINT ((NTSTATUS) 0xC0000252L)
 #endif
 
 #ifndef STATUS_LPC_REPLY_LOST
-  #define STATUS_LPC_REPLY_LOST ((NTSTATUS) 0xC0000253L)
+define STATUS_LPC_REPLY_LOST ((NTSTATUS) 0xC0000253L)
 #endif
 
 #ifndef STATUS_IP_ADDRESS_CONFLICT1
-  #define STATUS_IP_ADDRESS_CONFLICT1 ((NTSTATUS) 0xC0000254L)
+define STATUS_IP_ADDRESS_CONFLICT1 ((NTSTATUS) 0xC0000254L)
 #endif
 
 #ifndef STATUS_IP_ADDRESS_CONFLICT2
-  #define STATUS_IP_ADDRESS_CONFLICT2 ((NTSTATUS) 0xC0000255L)
+define STATUS_IP_ADDRESS_CONFLICT2 ((NTSTATUS) 0xC0000255L)
 #endif
 
 #ifndef STATUS_REGISTRY_QUOTA_LIMIT
-  #define STATUS_REGISTRY_QUOTA_LIMIT ((NTSTATUS) 0xC0000256L)
+define STATUS_REGISTRY_QUOTA_LIMIT ((NTSTATUS) 0xC0000256L)
 #endif
 
 #ifndef STATUS_PATH_NOT_COVERED
-  #define STATUS_PATH_NOT_COVERED ((NTSTATUS) 0xC0000257L)
+define STATUS_PATH_NOT_COVERED ((NTSTATUS) 0xC0000257L)
 #endif
 
 #ifndef STATUS_NO_CALLBACK_ACTIVE
-  #define STATUS_NO_CALLBACK_ACTIVE ((NTSTATUS) 0xC0000258L)
+define STATUS_NO_CALLBACK_ACTIVE ((NTSTATUS) 0xC0000258L)
 #endif
 
 #ifndef STATUS_LICENSE_QUOTA_EXCEEDED
-  #define STATUS_LICENSE_QUOTA_EXCEEDED ((NTSTATUS) 0xC0000259L)
+define STATUS_LICENSE_QUOTA_EXCEEDED ((NTSTATUS) 0xC0000259L)
 #endif
 
 #ifndef STATUS_PWD_TOO_SHORT
-  #define STATUS_PWD_TOO_SHORT ((NTSTATUS) 0xC000025AL)
+define STATUS_PWD_TOO_SHORT ((NTSTATUS) 0xC000025AL)
 #endif
 
 #ifndef STATUS_PWD_TOO_RECENT
-  #define STATUS_PWD_TOO_RECENT ((NTSTATUS) 0xC000025BL)
+define STATUS_PWD_TOO_RECENT ((NTSTATUS) 0xC000025BL)
 #endif
 
 #ifndef STATUS_PWD_HISTORY_CONFLICT
-  #define STATUS_PWD_HISTORY_CONFLICT ((NTSTATUS) 0xC000025CL)
+define STATUS_PWD_HISTORY_CONFLICT ((NTSTATUS) 0xC000025CL)
 #endif
 
 #ifndef STATUS_PLUGPLAY_NO_DEVICE
-  #define STATUS_PLUGPLAY_NO_DEVICE ((NTSTATUS) 0xC000025EL)
+define STATUS_PLUGPLAY_NO_DEVICE ((NTSTATUS) 0xC000025EL)
 #endif
 
 #ifndef STATUS_UNSUPPORTED_COMPRESSION
-  #define STATUS_UNSUPPORTED_COMPRESSION ((NTSTATUS) 0xC000025FL)
+define STATUS_UNSUPPORTED_COMPRESSION ((NTSTATUS) 0xC000025FL)
 #endif
 
 #ifndef STATUS_INVALID_HW_PROFILE
-  #define STATUS_INVALID_HW_PROFILE ((NTSTATUS) 0xC0000260L)
+define STATUS_INVALID_HW_PROFILE ((NTSTATUS) 0xC0000260L)
 #endif
 
 #ifndef STATUS_INVALID_PLUGPLAY_DEVICE_PATH
-  #define STATUS_INVALID_PLUGPLAY_DEVICE_PATH ((NTSTATUS) 0xC0000261L)
+define STATUS_INVALID_PLUGPLAY_DEVICE_PATH ((NTSTATUS) 0xC0000261L)
 #endif
 
 #ifndef STATUS_DRIVER_ORDINAL_NOT_FOUND
-  #define STATUS_DRIVER_ORDINAL_NOT_FOUND ((NTSTATUS) 0xC0000262L)
+define STATUS_DRIVER_ORDINAL_NOT_FOUND ((NTSTATUS) 0xC0000262L)
 #endif
 
 #ifndef STATUS_DRIVER_ENTRYPOINT_NOT_FOUND
-  #define STATUS_DRIVER_ENTRYPOINT_NOT_FOUND ((NTSTATUS) 0xC0000263L)
+define STATUS_DRIVER_ENTRYPOINT_NOT_FOUND ((NTSTATUS) 0xC0000263L)
 #endif
 
 #ifndef STATUS_RESOURCE_NOT_OWNED
-  #define STATUS_RESOURCE_NOT_OWNED ((NTSTATUS) 0xC0000264L)
+define STATUS_RESOURCE_NOT_OWNED ((NTSTATUS) 0xC0000264L)
 #endif
 
 #ifndef STATUS_TOO_MANY_LINKS
-  #define STATUS_TOO_MANY_LINKS ((NTSTATUS) 0xC0000265L)
+define STATUS_TOO_MANY_LINKS ((NTSTATUS) 0xC0000265L)
 #endif
 
 #ifndef STATUS_QUOTA_LIST_INCONSISTENT
-  #define STATUS_QUOTA_LIST_INCONSISTENT ((NTSTATUS) 0xC0000266L)
+define STATUS_QUOTA_LIST_INCONSISTENT ((NTSTATUS) 0xC0000266L)
 #endif
 
 #ifndef STATUS_FILE_IS_OFFLINE
-  #define STATUS_FILE_IS_OFFLINE ((NTSTATUS) 0xC0000267L)
+define STATUS_FILE_IS_OFFLINE ((NTSTATUS) 0xC0000267L)
 #endif
 
 #ifndef STATUS_EVALUATION_EXPIRATION
-  #define STATUS_EVALUATION_EXPIRATION ((NTSTATUS) 0xC0000268L)
+define STATUS_EVALUATION_EXPIRATION ((NTSTATUS) 0xC0000268L)
 #endif
 
 #ifndef STATUS_ILLEGAL_DLL_RELOCATION
-  #define STATUS_ILLEGAL_DLL_RELOCATION ((NTSTATUS) 0xC0000269L)
+define STATUS_ILLEGAL_DLL_RELOCATION ((NTSTATUS) 0xC0000269L)
 #endif
 
 #ifndef STATUS_LICENSE_VIOLATION
-  #define STATUS_LICENSE_VIOLATION ((NTSTATUS) 0xC000026AL)
+define STATUS_LICENSE_VIOLATION ((NTSTATUS) 0xC000026AL)
 #endif
 
 #ifndef STATUS_DLL_INIT_FAILED_LOGOFF
-  #define STATUS_DLL_INIT_FAILED_LOGOFF ((NTSTATUS) 0xC000026BL)
+define STATUS_DLL_INIT_FAILED_LOGOFF ((NTSTATUS) 0xC000026BL)
 #endif
 
 #ifndef STATUS_DRIVER_UNABLE_TO_LOAD
-  #define STATUS_DRIVER_UNABLE_TO_LOAD ((NTSTATUS) 0xC000026CL)
+define STATUS_DRIVER_UNABLE_TO_LOAD ((NTSTATUS) 0xC000026CL)
 #endif
 
 #ifndef STATUS_DFS_UNAVAILABLE
-  #define STATUS_DFS_UNAVAILABLE ((NTSTATUS) 0xC000026DL)
+define STATUS_DFS_UNAVAILABLE ((NTSTATUS) 0xC000026DL)
 #endif
 
 #ifndef STATUS_VOLUME_DISMOUNTED
-  #define STATUS_VOLUME_DISMOUNTED ((NTSTATUS) 0xC000026EL)
+define STATUS_VOLUME_DISMOUNTED ((NTSTATUS) 0xC000026EL)
 #endif
 
 #ifndef STATUS_WX86_INTERNAL_ERROR
-  #define STATUS_WX86_INTERNAL_ERROR ((NTSTATUS) 0xC000026FL)
+define STATUS_WX86_INTERNAL_ERROR ((NTSTATUS) 0xC000026FL)
 #endif
 
 #ifndef STATUS_WX86_FLOAT_STACK_CHECK
-  #define STATUS_WX86_FLOAT_STACK_CHECK ((NTSTATUS) 0xC0000270L)
+define STATUS_WX86_FLOAT_STACK_CHECK ((NTSTATUS) 0xC0000270L)
 #endif
 
 #ifndef STATUS_VALIDATE_CONTINUE
-  #define STATUS_VALIDATE_CONTINUE ((NTSTATUS) 0xC0000271L)
+define STATUS_VALIDATE_CONTINUE ((NTSTATUS) 0xC0000271L)
 #endif
 
 #ifndef STATUS_NO_MATCH
-  #define STATUS_NO_MATCH ((NTSTATUS) 0xC0000272L)
+define STATUS_NO_MATCH ((NTSTATUS) 0xC0000272L)
 #endif
 
 #ifndef STATUS_NO_MORE_MATCHES
-  #define STATUS_NO_MORE_MATCHES ((NTSTATUS) 0xC0000273L)
+define STATUS_NO_MORE_MATCHES ((NTSTATUS) 0xC0000273L)
 #endif
 
 #ifndef STATUS_NOT_A_REPARSE_POINT
-  #define STATUS_NOT_A_REPARSE_POINT ((NTSTATUS) 0xC0000275L)
+define STATUS_NOT_A_REPARSE_POINT ((NTSTATUS) 0xC0000275L)
 #endif
 
 #ifndef STATUS_IO_REPARSE_TAG_INVALID
-  #define STATUS_IO_REPARSE_TAG_INVALID ((NTSTATUS) 0xC0000276L)
+define STATUS_IO_REPARSE_TAG_INVALID ((NTSTATUS) 0xC0000276L)
 #endif
 
 #ifndef STATUS_IO_REPARSE_TAG_MISMATCH
-  #define STATUS_IO_REPARSE_TAG_MISMATCH ((NTSTATUS) 0xC0000277L)
+define STATUS_IO_REPARSE_TAG_MISMATCH ((NTSTATUS) 0xC0000277L)
 #endif
 
 #ifndef STATUS_IO_REPARSE_DATA_INVALID
-  #define STATUS_IO_REPARSE_DATA_INVALID ((NTSTATUS) 0xC0000278L)
+define STATUS_IO_REPARSE_DATA_INVALID ((NTSTATUS) 0xC0000278L)
 #endif
 
 #ifndef STATUS_IO_REPARSE_TAG_NOT_HANDLED
-  #define STATUS_IO_REPARSE_TAG_NOT_HANDLED ((NTSTATUS) 0xC0000279L)
+define STATUS_IO_REPARSE_TAG_NOT_HANDLED ((NTSTATUS) 0xC0000279L)
 #endif
 
 #ifndef STATUS_REPARSE_POINT_NOT_RESOLVED
-  #define STATUS_REPARSE_POINT_NOT_RESOLVED ((NTSTATUS) 0xC0000280L)
+define STATUS_REPARSE_POINT_NOT_RESOLVED ((NTSTATUS) 0xC0000280L)
 #endif
 
 #ifndef STATUS_DIRECTORY_IS_A_REPARSE_POINT
-  #define STATUS_DIRECTORY_IS_A_REPARSE_POINT ((NTSTATUS) 0xC0000281L)
+define STATUS_DIRECTORY_IS_A_REPARSE_POINT ((NTSTATUS) 0xC0000281L)
 #endif
 
 #ifndef STATUS_RANGE_LIST_CONFLICT
-  #define STATUS_RANGE_LIST_CONFLICT ((NTSTATUS) 0xC0000282L)
+define STATUS_RANGE_LIST_CONFLICT ((NTSTATUS) 0xC0000282L)
 #endif
 
 #ifndef STATUS_SOURCE_ELEMENT_EMPTY
-  #define STATUS_SOURCE_ELEMENT_EMPTY ((NTSTATUS) 0xC0000283L)
+define STATUS_SOURCE_ELEMENT_EMPTY ((NTSTATUS) 0xC0000283L)
 #endif
 
 #ifndef STATUS_DESTINATION_ELEMENT_FULL
-  #define STATUS_DESTINATION_ELEMENT_FULL ((NTSTATUS) 0xC0000284L)
+define STATUS_DESTINATION_ELEMENT_FULL ((NTSTATUS) 0xC0000284L)
 #endif
 
 #ifndef STATUS_ILLEGAL_ELEMENT_ADDRESS
-  #define STATUS_ILLEGAL_ELEMENT_ADDRESS ((NTSTATUS) 0xC0000285L)
+define STATUS_ILLEGAL_ELEMENT_ADDRESS ((NTSTATUS) 0xC0000285L)
 #endif
 
 #ifndef STATUS_MAGAZINE_NOT_PRESENT
-  #define STATUS_MAGAZINE_NOT_PRESENT ((NTSTATUS) 0xC0000286L)
+define STATUS_MAGAZINE_NOT_PRESENT ((NTSTATUS) 0xC0000286L)
 #endif
 
 #ifndef STATUS_REINITIALIZATION_NEEDED
-  #define STATUS_REINITIALIZATION_NEEDED ((NTSTATUS) 0xC0000287L)
+define STATUS_REINITIALIZATION_NEEDED ((NTSTATUS) 0xC0000287L)
 #endif
 
 #ifndef STATUS_DEVICE_REQUIRES_CLEANING
-  #define STATUS_DEVICE_REQUIRES_CLEANING ((NTSTATUS) 0x80000288L)
+define STATUS_DEVICE_REQUIRES_CLEANING ((NTSTATUS) 0x80000288L)
 #endif
 
 #ifndef STATUS_DEVICE_DOOR_OPEN
-  #define STATUS_DEVICE_DOOR_OPEN ((NTSTATUS) 0x80000289L)
+define STATUS_DEVICE_DOOR_OPEN ((NTSTATUS) 0x80000289L)
 #endif
 
 #ifndef STATUS_ENCRYPTION_FAILED
-  #define STATUS_ENCRYPTION_FAILED ((NTSTATUS) 0xC000028AL)
+define STATUS_ENCRYPTION_FAILED ((NTSTATUS) 0xC000028AL)
 #endif
 
 #ifndef STATUS_DECRYPTION_FAILED
-  #define STATUS_DECRYPTION_FAILED ((NTSTATUS) 0xC000028BL)
+define STATUS_DECRYPTION_FAILED ((NTSTATUS) 0xC000028BL)
 #endif
 
 #ifndef STATUS_RANGE_NOT_FOUND
-  #define STATUS_RANGE_NOT_FOUND ((NTSTATUS) 0xC000028CL)
+define STATUS_RANGE_NOT_FOUND ((NTSTATUS) 0xC000028CL)
 #endif
 
 #ifndef STATUS_NO_RECOVERY_POLICY
-  #define STATUS_NO_RECOVERY_POLICY ((NTSTATUS) 0xC000028DL)
+define STATUS_NO_RECOVERY_POLICY ((NTSTATUS) 0xC000028DL)
 #endif
 
 #ifndef STATUS_NO_EFS
-  #define STATUS_NO_EFS ((NTSTATUS) 0xC000028EL)
+define STATUS_NO_EFS ((NTSTATUS) 0xC000028EL)
 #endif
 
 #ifndef STATUS_WRONG_EFS
-  #define STATUS_WRONG_EFS ((NTSTATUS) 0xC000028FL)
+define STATUS_WRONG_EFS ((NTSTATUS) 0xC000028FL)
 #endif
 
 #ifndef STATUS_NO_USER_KEYS
-  #define STATUS_NO_USER_KEYS ((NTSTATUS) 0xC0000290L)
+define STATUS_NO_USER_KEYS ((NTSTATUS) 0xC0000290L)
 #endif
 
 #ifndef STATUS_FILE_NOT_ENCRYPTED
-  #define STATUS_FILE_NOT_ENCRYPTED ((NTSTATUS) 0xC0000291L)
+define STATUS_FILE_NOT_ENCRYPTED ((NTSTATUS) 0xC0000291L)
 #endif
 
 #ifndef STATUS_NOT_EXPORT_FORMAT
-  #define STATUS_NOT_EXPORT_FORMAT ((NTSTATUS) 0xC0000292L)
+define STATUS_NOT_EXPORT_FORMAT ((NTSTATUS) 0xC0000292L)
 #endif
 
 #ifndef STATUS_FILE_ENCRYPTED
-  #define STATUS_FILE_ENCRYPTED ((NTSTATUS) 0xC0000293L)
+define STATUS_FILE_ENCRYPTED ((NTSTATUS) 0xC0000293L)
 #endif
 
 #ifndef STATUS_WAKE_SYSTEM
-  #define STATUS_WAKE_SYSTEM ((NTSTATUS) 0x40000294L)
+define STATUS_WAKE_SYSTEM ((NTSTATUS) 0x40000294L)
 #endif
 
 #ifndef STATUS_WMI_GUID_NOT_FOUND
-  #define STATUS_WMI_GUID_NOT_FOUND ((NTSTATUS) 0xC0000295L)
+define STATUS_WMI_GUID_NOT_FOUND ((NTSTATUS) 0xC0000295L)
 #endif
 
 #ifndef STATUS_WMI_INSTANCE_NOT_FOUND
-  #define STATUS_WMI_INSTANCE_NOT_FOUND ((NTSTATUS) 0xC0000296L)
+define STATUS_WMI_INSTANCE_NOT_FOUND ((NTSTATUS) 0xC0000296L)
 #endif
 
 #ifndef STATUS_WMI_ITEMID_NOT_FOUND
-  #define STATUS_WMI_ITEMID_NOT_FOUND ((NTSTATUS) 0xC0000297L)
+define STATUS_WMI_ITEMID_NOT_FOUND ((NTSTATUS) 0xC0000297L)
 #endif
 
 #ifndef STATUS_WMI_TRY_AGAIN
-  #define STATUS_WMI_TRY_AGAIN ((NTSTATUS) 0xC0000298L)
+define STATUS_WMI_TRY_AGAIN ((NTSTATUS) 0xC0000298L)
 #endif
 
 #ifndef STATUS_SHARED_POLICY
-  #define STATUS_SHARED_POLICY ((NTSTATUS) 0xC0000299L)
+define STATUS_SHARED_POLICY ((NTSTATUS) 0xC0000299L)
 #endif
 
 #ifndef STATUS_POLICY_OBJECT_NOT_FOUND
-  #define STATUS_POLICY_OBJECT_NOT_FOUND ((NTSTATUS) 0xC000029AL)
+define STATUS_POLICY_OBJECT_NOT_FOUND ((NTSTATUS) 0xC000029AL)
 #endif
 
 #ifndef STATUS_POLICY_ONLY_IN_DS
-  #define STATUS_POLICY_ONLY_IN_DS ((NTSTATUS) 0xC000029BL)
+define STATUS_POLICY_ONLY_IN_DS ((NTSTATUS) 0xC000029BL)
 #endif
 
 #ifndef STATUS_VOLUME_NOT_UPGRADED
-  #define STATUS_VOLUME_NOT_UPGRADED ((NTSTATUS) 0xC000029CL)
+define STATUS_VOLUME_NOT_UPGRADED ((NTSTATUS) 0xC000029CL)
 #endif
 
 #ifndef STATUS_REMOTE_STORAGE_NOT_ACTIVE
-  #define STATUS_REMOTE_STORAGE_NOT_ACTIVE ((NTSTATUS) 0xC000029DL)
+define STATUS_REMOTE_STORAGE_NOT_ACTIVE ((NTSTATUS) 0xC000029DL)
 #endif
 
 #ifndef STATUS_REMOTE_STORAGE_MEDIA_ERROR
-  #define STATUS_REMOTE_STORAGE_MEDIA_ERROR ((NTSTATUS) 0xC000029EL)
+define STATUS_REMOTE_STORAGE_MEDIA_ERROR ((NTSTATUS) 0xC000029EL)
 #endif
 
 #ifndef STATUS_NO_TRACKING_SERVICE
-  #define STATUS_NO_TRACKING_SERVICE ((NTSTATUS) 0xC000029FL)
+define STATUS_NO_TRACKING_SERVICE ((NTSTATUS) 0xC000029FL)
 #endif
 
 #ifndef STATUS_SERVER_SID_MISMATCH
-  #define STATUS_SERVER_SID_MISMATCH ((NTSTATUS) 0xC00002A0L)
+define STATUS_SERVER_SID_MISMATCH ((NTSTATUS) 0xC00002A0L)
 #endif
 
 #ifndef STATUS_DS_NO_ATTRIBUTE_OR_VALUE
-  #define STATUS_DS_NO_ATTRIBUTE_OR_VALUE ((NTSTATUS) 0xC00002A1L)
+define STATUS_DS_NO_ATTRIBUTE_OR_VALUE ((NTSTATUS) 0xC00002A1L)
 #endif
 
 #ifndef STATUS_DS_INVALID_ATTRIBUTE_SYNTAX
-  #define STATUS_DS_INVALID_ATTRIBUTE_SYNTAX ((NTSTATUS) 0xC00002A2L)
+define STATUS_DS_INVALID_ATTRIBUTE_SYNTAX ((NTSTATUS) 0xC00002A2L)
 #endif
 
 #ifndef STATUS_DS_ATTRIBUTE_TYPE_UNDEFINED
-  #define STATUS_DS_ATTRIBUTE_TYPE_UNDEFINED ((NTSTATUS) 0xC00002A3L)
+define STATUS_DS_ATTRIBUTE_TYPE_UNDEFINED ((NTSTATUS) 0xC00002A3L)
 #endif
 
 #ifndef STATUS_DS_ATTRIBUTE_OR_VALUE_EXISTS
-  #define STATUS_DS_ATTRIBUTE_OR_VALUE_EXISTS ((NTSTATUS) 0xC00002A4L)
+define STATUS_DS_ATTRIBUTE_OR_VALUE_EXISTS ((NTSTATUS) 0xC00002A4L)
 #endif
 
 #ifndef STATUS_DS_BUSY
-  #define STATUS_DS_BUSY ((NTSTATUS) 0xC00002A5L)
+define STATUS_DS_BUSY ((NTSTATUS) 0xC00002A5L)
 #endif
 
 #ifndef STATUS_DS_UNAVAILABLE
-  #define STATUS_DS_UNAVAILABLE ((NTSTATUS) 0xC00002A6L)
+define STATUS_DS_UNAVAILABLE ((NTSTATUS) 0xC00002A6L)
 #endif
 
 #ifndef STATUS_DS_NO_RIDS_ALLOCATED
-  #define STATUS_DS_NO_RIDS_ALLOCATED ((NTSTATUS) 0xC00002A7L)
+define STATUS_DS_NO_RIDS_ALLOCATED ((NTSTATUS) 0xC00002A7L)
 #endif
 
 #ifndef STATUS_DS_NO_MORE_RIDS
-  #define STATUS_DS_NO_MORE_RIDS ((NTSTATUS) 0xC00002A8L)
+define STATUS_DS_NO_MORE_RIDS ((NTSTATUS) 0xC00002A8L)
 #endif
 
 #ifndef STATUS_DS_INCORRECT_ROLE_OWNER
-  #define STATUS_DS_INCORRECT_ROLE_OWNER ((NTSTATUS) 0xC00002A9L)
+define STATUS_DS_INCORRECT_ROLE_OWNER ((NTSTATUS) 0xC00002A9L)
 #endif
 
 #ifndef STATUS_DS_RIDMGR_INIT_ERROR
-  #define STATUS_DS_RIDMGR_INIT_ERROR ((NTSTATUS) 0xC00002AAL)
+define STATUS_DS_RIDMGR_INIT_ERROR ((NTSTATUS) 0xC00002AAL)
 #endif
 
 #ifndef STATUS_DS_OBJ_CLASS_VIOLATION
-  #define STATUS_DS_OBJ_CLASS_VIOLATION ((NTSTATUS) 0xC00002ABL)
+define STATUS_DS_OBJ_CLASS_VIOLATION ((NTSTATUS) 0xC00002ABL)
 #endif
 
 #ifndef STATUS_DS_CANT_ON_NON_LEAF
-  #define STATUS_DS_CANT_ON_NON_LEAF ((NTSTATUS) 0xC00002ACL)
+define STATUS_DS_CANT_ON_NON_LEAF ((NTSTATUS) 0xC00002ACL)
 #endif
 
 #ifndef STATUS_DS_CANT_ON_RDN
-  #define STATUS_DS_CANT_ON_RDN ((NTSTATUS) 0xC00002ADL)
+define STATUS_DS_CANT_ON_RDN ((NTSTATUS) 0xC00002ADL)
 #endif
 
 #ifndef STATUS_DS_CANT_MOD_OBJ_CLASS
-  #define STATUS_DS_CANT_MOD_OBJ_CLASS ((NTSTATUS) 0xC00002AEL)
+define STATUS_DS_CANT_MOD_OBJ_CLASS ((NTSTATUS) 0xC00002AEL)
 #endif
 
 #ifndef STATUS_DS_CROSS_DOM_MOVE_FAILED
-  #define STATUS_DS_CROSS_DOM_MOVE_FAILED ((NTSTATUS) 0xC00002AFL)
+define STATUS_DS_CROSS_DOM_MOVE_FAILED ((NTSTATUS) 0xC00002AFL)
 #endif
 
 #ifndef STATUS_DS_GC_NOT_AVAILABLE
-  #define STATUS_DS_GC_NOT_AVAILABLE ((NTSTATUS) 0xC00002B0L)
+define STATUS_DS_GC_NOT_AVAILABLE ((NTSTATUS) 0xC00002B0L)
 #endif
 
 #ifndef STATUS_DIRECTORY_SERVICE_REQUIRED
-  #define STATUS_DIRECTORY_SERVICE_REQUIRED ((NTSTATUS) 0xC00002B1L)
+define STATUS_DIRECTORY_SERVICE_REQUIRED ((NTSTATUS) 0xC00002B1L)
 #endif
 
 #ifndef STATUS_REPARSE_ATTRIBUTE_CONFLICT
-  #define STATUS_REPARSE_ATTRIBUTE_CONFLICT ((NTSTATUS) 0xC00002B2L)
+define STATUS_REPARSE_ATTRIBUTE_CONFLICT ((NTSTATUS) 0xC00002B2L)
 #endif
 
 #ifndef STATUS_CANT_ENABLE_DENY_ONLY
-  #define STATUS_CANT_ENABLE_DENY_ONLY ((NTSTATUS) 0xC00002B3L)
+define STATUS_CANT_ENABLE_DENY_ONLY ((NTSTATUS) 0xC00002B3L)
 #endif
 
 #ifndef STATUS_FLOAT_MULTIPLE_FAULTS
-  #define STATUS_FLOAT_MULTIPLE_FAULTS ((NTSTATUS) 0xC00002B4L)
+define STATUS_FLOAT_MULTIPLE_FAULTS ((NTSTATUS) 0xC00002B4L)
 #endif
 
 #ifndef STATUS_FLOAT_MULTIPLE_TRAPS
-  #define STATUS_FLOAT_MULTIPLE_TRAPS ((NTSTATUS) 0xC00002B5L)
+define STATUS_FLOAT_MULTIPLE_TRAPS ((NTSTATUS) 0xC00002B5L)
 #endif
 
 #ifndef STATUS_DEVICE_REMOVED
-  #define STATUS_DEVICE_REMOVED ((NTSTATUS) 0xC00002B6L)
+define STATUS_DEVICE_REMOVED ((NTSTATUS) 0xC00002B6L)
 #endif
 
 #ifndef STATUS_JOURNAL_DELETE_IN_PROGRESS
-  #define STATUS_JOURNAL_DELETE_IN_PROGRESS ((NTSTATUS) 0xC00002B7L)
+define STATUS_JOURNAL_DELETE_IN_PROGRESS ((NTSTATUS) 0xC00002B7L)
 #endif
 
 #ifndef STATUS_JOURNAL_NOT_ACTIVE
-  #define STATUS_JOURNAL_NOT_ACTIVE ((NTSTATUS) 0xC00002B8L)
+define STATUS_JOURNAL_NOT_ACTIVE ((NTSTATUS) 0xC00002B8L)
 #endif
 
 #ifndef STATUS_NOINTERFACE
-  #define STATUS_NOINTERFACE ((NTSTATUS) 0xC00002B9L)
+define STATUS_NOINTERFACE ((NTSTATUS) 0xC00002B9L)
 #endif
 
 #ifndef STATUS_DS_ADMIN_LIMIT_EXCEEDED
-  #define STATUS_DS_ADMIN_LIMIT_EXCEEDED ((NTSTATUS) 0xC00002C1L)
+define STATUS_DS_ADMIN_LIMIT_EXCEEDED ((NTSTATUS) 0xC00002C1L)
 #endif
 
 #ifndef STATUS_DRIVER_FAILED_SLEEP
-  #define STATUS_DRIVER_FAILED_SLEEP ((NTSTATUS) 0xC00002C2L)
+define STATUS_DRIVER_FAILED_SLEEP ((NTSTATUS) 0xC00002C2L)
 #endif
 
 #ifndef STATUS_MUTUAL_AUTHENTICATION_FAILED
-  #define STATUS_MUTUAL_AUTHENTICATION_FAILED ((NTSTATUS) 0xC00002C3L)
+define STATUS_MUTUAL_AUTHENTICATION_FAILED ((NTSTATUS) 0xC00002C3L)
 #endif
 
 #ifndef STATUS_CORRUPT_SYSTEM_FILE
-  #define STATUS_CORRUPT_SYSTEM_FILE ((NTSTATUS) 0xC00002C4L)
+define STATUS_CORRUPT_SYSTEM_FILE ((NTSTATUS) 0xC00002C4L)
 #endif
 
 #ifndef STATUS_DATATYPE_MISALIGNMENT_ERROR
-  #define STATUS_DATATYPE_MISALIGNMENT_ERROR ((NTSTATUS) 0xC00002C5L)
+define STATUS_DATATYPE_MISALIGNMENT_ERROR ((NTSTATUS) 0xC00002C5L)
 #endif
 
 #ifndef STATUS_WMI_READ_ONLY
-  #define STATUS_WMI_READ_ONLY ((NTSTATUS) 0xC00002C6L)
+define STATUS_WMI_READ_ONLY ((NTSTATUS) 0xC00002C6L)
 #endif
 
 #ifndef STATUS_WMI_SET_FAILURE
-  #define STATUS_WMI_SET_FAILURE ((NTSTATUS) 0xC00002C7L)
+define STATUS_WMI_SET_FAILURE ((NTSTATUS) 0xC00002C7L)
 #endif
 
 #ifndef STATUS_COMMITMENT_MINIMUM
-  #define STATUS_COMMITMENT_MINIMUM ((NTSTATUS) 0xC00002C8L)
+define STATUS_COMMITMENT_MINIMUM ((NTSTATUS) 0xC00002C8L)
 #endif
 
 #ifndef STATUS_REG_NAT_CONSUMPTION
-  #define STATUS_REG_NAT_CONSUMPTION ((NTSTATUS) 0xC00002C9L)
+define STATUS_REG_NAT_CONSUMPTION ((NTSTATUS) 0xC00002C9L)
 #endif
 
 #ifndef STATUS_TRANSPORT_FULL
-  #define STATUS_TRANSPORT_FULL ((NTSTATUS) 0xC00002CAL)
+define STATUS_TRANSPORT_FULL ((NTSTATUS) 0xC00002CAL)
 #endif
 
 #ifndef STATUS_DS_SAM_INIT_FAILURE
-  #define STATUS_DS_SAM_INIT_FAILURE ((NTSTATUS) 0xC00002CBL)
+define STATUS_DS_SAM_INIT_FAILURE ((NTSTATUS) 0xC00002CBL)
 #endif
 
 #ifndef STATUS_ONLY_IF_CONNECTED
-  #define STATUS_ONLY_IF_CONNECTED ((NTSTATUS) 0xC00002CCL)
+define STATUS_ONLY_IF_CONNECTED ((NTSTATUS) 0xC00002CCL)
 #endif
 
 #ifndef STATUS_DS_SENSITIVE_GROUP_VIOLATION
-  #define STATUS_DS_SENSITIVE_GROUP_VIOLATION ((NTSTATUS) 0xC00002CDL)
+define STATUS_DS_SENSITIVE_GROUP_VIOLATION ((NTSTATUS) 0xC00002CDL)
 #endif
 
 #ifndef STATUS_PNP_RESTART_ENUMERATION
-  #define STATUS_PNP_RESTART_ENUMERATION ((NTSTATUS) 0xC00002CEL)
+define STATUS_PNP_RESTART_ENUMERATION ((NTSTATUS) 0xC00002CEL)
 #endif
 
 #ifndef STATUS_JOURNAL_ENTRY_DELETED
-  #define STATUS_JOURNAL_ENTRY_DELETED ((NTSTATUS) 0xC00002CFL)
+define STATUS_JOURNAL_ENTRY_DELETED ((NTSTATUS) 0xC00002CFL)
 #endif
 
 #ifndef STATUS_DS_CANT_MOD_PRIMARYGROUPID
-  #define STATUS_DS_CANT_MOD_PRIMARYGROUPID ((NTSTATUS) 0xC00002D0L)
+define STATUS_DS_CANT_MOD_PRIMARYGROUPID ((NTSTATUS) 0xC00002D0L)
 #endif
 
 #ifndef STATUS_SYSTEM_IMAGE_BAD_SIGNATURE
-  #define STATUS_SYSTEM_IMAGE_BAD_SIGNATURE ((NTSTATUS) 0xC00002D1L)
+define STATUS_SYSTEM_IMAGE_BAD_SIGNATURE ((NTSTATUS) 0xC00002D1L)
 #endif
 
 #ifndef STATUS_PNP_REBOOT_REQUIRED
-  #define STATUS_PNP_REBOOT_REQUIRED ((NTSTATUS) 0xC00002D2L)
+define STATUS_PNP_REBOOT_REQUIRED ((NTSTATUS) 0xC00002D2L)
 #endif
 
 #ifndef STATUS_POWER_STATE_INVALID
-  #define STATUS_POWER_STATE_INVALID ((NTSTATUS) 0xC00002D3L)
+define STATUS_POWER_STATE_INVALID ((NTSTATUS) 0xC00002D3L)
 #endif
 
 #ifndef STATUS_DS_INVALID_GROUP_TYPE
-  #define STATUS_DS_INVALID_GROUP_TYPE ((NTSTATUS) 0xC00002D4L)
+define STATUS_DS_INVALID_GROUP_TYPE ((NTSTATUS) 0xC00002D4L)
 #endif
 
 #ifndef STATUS_DS_NO_NEST_GLOBALGROUP_IN_MIXEDDOMAIN
-  #define STATUS_DS_NO_NEST_GLOBALGROUP_IN_MIXEDDOMAIN ((NTSTATUS) 0xC00002D5L)
+define STATUS_DS_NO_NEST_GLOBALGROUP_IN_MIXEDDOMAIN ((NTSTATUS) 0xC00002D5L)
 #endif
 
 #ifndef STATUS_DS_NO_NEST_LOCALGROUP_IN_MIXEDDOMAIN
-  #define STATUS_DS_NO_NEST_LOCALGROUP_IN_MIXEDDOMAIN ((NTSTATUS) 0xC00002D6L)
+define STATUS_DS_NO_NEST_LOCALGROUP_IN_MIXEDDOMAIN ((NTSTATUS) 0xC00002D6L)
 #endif
 
 #ifndef STATUS_DS_GLOBAL_CANT_HAVE_LOCAL_MEMBER
-  #define STATUS_DS_GLOBAL_CANT_HAVE_LOCAL_MEMBER ((NTSTATUS) 0xC00002D7L)
+define STATUS_DS_GLOBAL_CANT_HAVE_LOCAL_MEMBER ((NTSTATUS) 0xC00002D7L)
 #endif
 
 #ifndef STATUS_DS_GLOBAL_CANT_HAVE_UNIVERSAL_MEMBER
-  #define STATUS_DS_GLOBAL_CANT_HAVE_UNIVERSAL_MEMBER ((NTSTATUS) 0xC00002D8L)
+define STATUS_DS_GLOBAL_CANT_HAVE_UNIVERSAL_MEMBER ((NTSTATUS) 0xC00002D8L)
 #endif
 
 #ifndef STATUS_DS_UNIVERSAL_CANT_HAVE_LOCAL_MEMBER
-  #define STATUS_DS_UNIVERSAL_CANT_HAVE_LOCAL_MEMBER ((NTSTATUS) 0xC00002D9L)
+define STATUS_DS_UNIVERSAL_CANT_HAVE_LOCAL_MEMBER ((NTSTATUS) 0xC00002D9L)
 #endif
 
 #ifndef STATUS_DS_GLOBAL_CANT_HAVE_CROSSDOMAIN_MEMBER
-  #define STATUS_DS_GLOBAL_CANT_HAVE_CROSSDOMAIN_MEMBER ((NTSTATUS) 0xC00002DAL)
+define STATUS_DS_GLOBAL_CANT_HAVE_CROSSDOMAIN_MEMBER ((NTSTATUS) 0xC00002DAL)
 #endif
 
 #ifndef STATUS_DS_LOCAL_CANT_HAVE_CROSSDOMAIN_LOCAL_MEMBER
-  #define STATUS_DS_LOCAL_CANT_HAVE_CROSSDOMAIN_LOCAL_MEMBER ((NTSTATUS) 0xC00002DBL)
+define STATUS_DS_LOCAL_CANT_HAVE_CROSSDOMAIN_LOCAL_MEMBER ((NTSTATUS) 0xC00002DBL)
 #endif
 
 #ifndef STATUS_DS_HAVE_PRIMARY_MEMBERS
-  #define STATUS_DS_HAVE_PRIMARY_MEMBERS ((NTSTATUS) 0xC00002DCL)
+define STATUS_DS_HAVE_PRIMARY_MEMBERS ((NTSTATUS) 0xC00002DCL)
 #endif
 
 #ifndef STATUS_WMI_NOT_SUPPORTED
-  #define STATUS_WMI_NOT_SUPPORTED ((NTSTATUS) 0xC00002DDL)
+define STATUS_WMI_NOT_SUPPORTED ((NTSTATUS) 0xC00002DDL)
 #endif
 
 #ifndef STATUS_INSUFFICIENT_POWER
-  #define STATUS_INSUFFICIENT_POWER ((NTSTATUS) 0xC00002DEL)
+define STATUS_INSUFFICIENT_POWER ((NTSTATUS) 0xC00002DEL)
 #endif
 
 #ifndef STATUS_SAM_NEED_BOOTKEY_PASSWORD
-  #define STATUS_SAM_NEED_BOOTKEY_PASSWORD ((NTSTATUS) 0xC00002DFL)
+define STATUS_SAM_NEED_BOOTKEY_PASSWORD ((NTSTATUS) 0xC00002DFL)
 #endif
 
 #ifndef STATUS_SAM_NEED_BOOTKEY_FLOPPY
-  #define STATUS_SAM_NEED_BOOTKEY_FLOPPY ((NTSTATUS) 0xC00002E0L)
+define STATUS_SAM_NEED_BOOTKEY_FLOPPY ((NTSTATUS) 0xC00002E0L)
 #endif
 
 #ifndef STATUS_DS_CANT_START
-  #define STATUS_DS_CANT_START ((NTSTATUS) 0xC00002E1L)
+define STATUS_DS_CANT_START ((NTSTATUS) 0xC00002E1L)
 #endif
 
 #ifndef STATUS_DS_INIT_FAILURE
-  #define STATUS_DS_INIT_FAILURE ((NTSTATUS) 0xC00002E2L)
+define STATUS_DS_INIT_FAILURE ((NTSTATUS) 0xC00002E2L)
 #endif
 
 #ifndef STATUS_SAM_INIT_FAILURE
-  #define STATUS_SAM_INIT_FAILURE ((NTSTATUS) 0xC00002E3L)
+define STATUS_SAM_INIT_FAILURE ((NTSTATUS) 0xC00002E3L)
 #endif
 
 #ifndef STATUS_DS_GC_REQUIRED
-  #define STATUS_DS_GC_REQUIRED ((NTSTATUS) 0xC00002E4L)
+define STATUS_DS_GC_REQUIRED ((NTSTATUS) 0xC00002E4L)
 #endif
 
 #ifndef STATUS_DS_LOCAL_MEMBER_OF_LOCAL_ONLY
-  #define STATUS_DS_LOCAL_MEMBER_OF_LOCAL_ONLY ((NTSTATUS) 0xC00002E5L)
+define STATUS_DS_LOCAL_MEMBER_OF_LOCAL_ONLY ((NTSTATUS) 0xC00002E5L)
 #endif
 
 #ifndef STATUS_DS_NO_FPO_IN_UNIVERSAL_GROUPS
-  #define STATUS_DS_NO_FPO_IN_UNIVERSAL_GROUPS ((NTSTATUS) 0xC00002E6L)
+define STATUS_DS_NO_FPO_IN_UNIVERSAL_GROUPS ((NTSTATUS) 0xC00002E6L)
 #endif
 
 #ifndef STATUS_DS_MACHINE_ACCOUNT_QUOTA_EXCEEDED
-  #define STATUS_DS_MACHINE_ACCOUNT_QUOTA_EXCEEDED ((NTSTATUS) 0xC00002E7L)
+define STATUS_DS_MACHINE_ACCOUNT_QUOTA_EXCEEDED ((NTSTATUS) 0xC00002E7L)
 #endif
 
 #ifndef STATUS_MULTIPLE_FAULT_VIOLATION
-  #define STATUS_MULTIPLE_FAULT_VIOLATION ((NTSTATUS) 0xC00002E8L)
+define STATUS_MULTIPLE_FAULT_VIOLATION ((NTSTATUS) 0xC00002E8L)
 #endif
 
 #ifndef STATUS_CURRENT_DOMAIN_NOT_ALLOWED
-  #define STATUS_CURRENT_DOMAIN_NOT_ALLOWED ((NTSTATUS) 0xC00002E9L)
+define STATUS_CURRENT_DOMAIN_NOT_ALLOWED ((NTSTATUS) 0xC00002E9L)
 #endif
 
 #ifndef STATUS_CANNOT_MAKE
-  #define STATUS_CANNOT_MAKE ((NTSTATUS) 0xC00002EAL)
+define STATUS_CANNOT_MAKE ((NTSTATUS) 0xC00002EAL)
 #endif
 
 #ifndef STATUS_SYSTEM_SHUTDOWN
-  #define STATUS_SYSTEM_SHUTDOWN ((NTSTATUS) 0xC00002EBL)
+define STATUS_SYSTEM_SHUTDOWN ((NTSTATUS) 0xC00002EBL)
 #endif
 
 #ifndef STATUS_DS_INIT_FAILURE_CONSOLE
-  #define STATUS_DS_INIT_FAILURE_CONSOLE ((NTSTATUS) 0xC00002ECL)
+define STATUS_DS_INIT_FAILURE_CONSOLE ((NTSTATUS) 0xC00002ECL)
 #endif
 
 #ifndef STATUS_DS_SAM_INIT_FAILURE_CONSOLE
-  #define STATUS_DS_SAM_INIT_FAILURE_CONSOLE ((NTSTATUS) 0xC00002EDL)
+define STATUS_DS_SAM_INIT_FAILURE_CONSOLE ((NTSTATUS) 0xC00002EDL)
 #endif
 
 #ifndef STATUS_UNFINISHED_CONTEXT_DELETED
-  #define STATUS_UNFINISHED_CONTEXT_DELETED ((NTSTATUS) 0xC00002EEL)
+define STATUS_UNFINISHED_CONTEXT_DELETED ((NTSTATUS) 0xC00002EEL)
 #endif
 
 #ifndef STATUS_NO_TGT_REPLY
-  #define STATUS_NO_TGT_REPLY ((NTSTATUS) 0xC00002EFL)
+define STATUS_NO_TGT_REPLY ((NTSTATUS) 0xC00002EFL)
 #endif
 
 #ifndef STATUS_OBJECTID_NOT_FOUND
-  #define STATUS_OBJECTID_NOT_FOUND ((NTSTATUS) 0xC00002F0L)
+define STATUS_OBJECTID_NOT_FOUND ((NTSTATUS) 0xC00002F0L)
 #endif
 
 #ifndef STATUS_NO_IP_ADDRESSES
-  #define STATUS_NO_IP_ADDRESSES ((NTSTATUS) 0xC00002F1L)
+define STATUS_NO_IP_ADDRESSES ((NTSTATUS) 0xC00002F1L)
 #endif
 
 #ifndef STATUS_WRONG_CREDENTIAL_HANDLE
-  #define STATUS_WRONG_CREDENTIAL_HANDLE ((NTSTATUS) 0xC00002F2L)
+define STATUS_WRONG_CREDENTIAL_HANDLE ((NTSTATUS) 0xC00002F2L)
 #endif
 
 #ifndef STATUS_CRYPTO_SYSTEM_INVALID
-  #define STATUS_CRYPTO_SYSTEM_INVALID ((NTSTATUS) 0xC00002F3L)
+define STATUS_CRYPTO_SYSTEM_INVALID ((NTSTATUS) 0xC00002F3L)
 #endif
 
 #ifndef STATUS_MAX_REFERRALS_EXCEEDED
-  #define STATUS_MAX_REFERRALS_EXCEEDED ((NTSTATUS) 0xC00002F4L)
+define STATUS_MAX_REFERRALS_EXCEEDED ((NTSTATUS) 0xC00002F4L)
 #endif
 
 #ifndef STATUS_MUST_BE_KDC
-  #define STATUS_MUST_BE_KDC ((NTSTATUS) 0xC00002F5L)
+define STATUS_MUST_BE_KDC ((NTSTATUS) 0xC00002F5L)
 #endif
 
 #ifndef STATUS_STRONG_CRYPTO_NOT_SUPPORTED
-  #define STATUS_STRONG_CRYPTO_NOT_SUPPORTED ((NTSTATUS) 0xC00002F6L)
+define STATUS_STRONG_CRYPTO_NOT_SUPPORTED ((NTSTATUS) 0xC00002F6L)
 #endif
 
 #ifndef STATUS_TOO_MANY_PRINCIPALS
-  #define STATUS_TOO_MANY_PRINCIPALS ((NTSTATUS) 0xC00002F7L)
+define STATUS_TOO_MANY_PRINCIPALS ((NTSTATUS) 0xC00002F7L)
 #endif
 
 #ifndef STATUS_NO_PA_DATA
-  #define STATUS_NO_PA_DATA ((NTSTATUS) 0xC00002F8L)
+define STATUS_NO_PA_DATA ((NTSTATUS) 0xC00002F8L)
 #endif
 
 #ifndef STATUS_PKINIT_NAME_MISMATCH
-  #define STATUS_PKINIT_NAME_MISMATCH ((NTSTATUS) 0xC00002F9L)
+define STATUS_PKINIT_NAME_MISMATCH ((NTSTATUS) 0xC00002F9L)
 #endif
 
 #ifndef STATUS_SMARTCARD_LOGON_REQUIRED
-  #define STATUS_SMARTCARD_LOGON_REQUIRED ((NTSTATUS) 0xC00002FAL)
+define STATUS_SMARTCARD_LOGON_REQUIRED ((NTSTATUS) 0xC00002FAL)
 #endif
 
 #ifndef STATUS_KDC_INVALID_REQUEST
-  #define STATUS_KDC_INVALID_REQUEST ((NTSTATUS) 0xC00002FBL)
+define STATUS_KDC_INVALID_REQUEST ((NTSTATUS) 0xC00002FBL)
 #endif
 
 #ifndef STATUS_KDC_UNABLE_TO_REFER
-  #define STATUS_KDC_UNABLE_TO_REFER ((NTSTATUS) 0xC00002FCL)
+define STATUS_KDC_UNABLE_TO_REFER ((NTSTATUS) 0xC00002FCL)
 #endif
 
 #ifndef STATUS_KDC_UNKNOWN_ETYPE
-  #define STATUS_KDC_UNKNOWN_ETYPE ((NTSTATUS) 0xC00002FDL)
+define STATUS_KDC_UNKNOWN_ETYPE ((NTSTATUS) 0xC00002FDL)
 #endif
 
 #ifndef STATUS_SHUTDOWN_IN_PROGRESS
-  #define STATUS_SHUTDOWN_IN_PROGRESS ((NTSTATUS) 0xC00002FEL)
+define STATUS_SHUTDOWN_IN_PROGRESS ((NTSTATUS) 0xC00002FEL)
 #endif
 
 #ifndef STATUS_SERVER_SHUTDOWN_IN_PROGRESS
-  #define STATUS_SERVER_SHUTDOWN_IN_PROGRESS ((NTSTATUS) 0xC00002FFL)
+define STATUS_SERVER_SHUTDOWN_IN_PROGRESS ((NTSTATUS) 0xC00002FFL)
 #endif
 
 #ifndef STATUS_NOT_SUPPORTED_ON_SBS
-  #define STATUS_NOT_SUPPORTED_ON_SBS ((NTSTATUS) 0xC0000300L)
+define STATUS_NOT_SUPPORTED_ON_SBS ((NTSTATUS) 0xC0000300L)
 #endif
 
 #ifndef STATUS_WMI_GUID_DISCONNECTED
-  #define STATUS_WMI_GUID_DISCONNECTED ((NTSTATUS) 0xC0000301L)
+define STATUS_WMI_GUID_DISCONNECTED ((NTSTATUS) 0xC0000301L)
 #endif
 
 #ifndef STATUS_WMI_ALREADY_DISABLED
-  #define STATUS_WMI_ALREADY_DISABLED ((NTSTATUS) 0xC0000302L)
+define STATUS_WMI_ALREADY_DISABLED ((NTSTATUS) 0xC0000302L)
 #endif
 
 #ifndef STATUS_WMI_ALREADY_ENABLED
-  #define STATUS_WMI_ALREADY_ENABLED ((NTSTATUS) 0xC0000303L)
+define STATUS_WMI_ALREADY_ENABLED ((NTSTATUS) 0xC0000303L)
 #endif
 
 #ifndef STATUS_MFT_TOO_FRAGMENTED
-  #define STATUS_MFT_TOO_FRAGMENTED ((NTSTATUS) 0xC0000304L)
+define STATUS_MFT_TOO_FRAGMENTED ((NTSTATUS) 0xC0000304L)
 #endif
 
 #ifndef STATUS_COPY_PROTECTION_FAILURE
-  #define STATUS_COPY_PROTECTION_FAILURE ((NTSTATUS) 0xC0000305L)
+define STATUS_COPY_PROTECTION_FAILURE ((NTSTATUS) 0xC0000305L)
 #endif
 
 #ifndef STATUS_CSS_AUTHENTICATION_FAILURE
-  #define STATUS_CSS_AUTHENTICATION_FAILURE ((NTSTATUS) 0xC0000306L)
+define STATUS_CSS_AUTHENTICATION_FAILURE ((NTSTATUS) 0xC0000306L)
 #endif
 
 #ifndef STATUS_CSS_KEY_NOT_PRESENT
-  #define STATUS_CSS_KEY_NOT_PRESENT ((NTSTATUS) 0xC0000307L)
+define STATUS_CSS_KEY_NOT_PRESENT ((NTSTATUS) 0xC0000307L)
 #endif
 
 #ifndef STATUS_CSS_KEY_NOT_ESTABLISHED
-  #define STATUS_CSS_KEY_NOT_ESTABLISHED ((NTSTATUS) 0xC0000308L)
+define STATUS_CSS_KEY_NOT_ESTABLISHED ((NTSTATUS) 0xC0000308L)
 #endif
 
 #ifndef STATUS_CSS_SCRAMBLED_SECTOR
-  #define STATUS_CSS_SCRAMBLED_SECTOR ((NTSTATUS) 0xC0000309L)
+define STATUS_CSS_SCRAMBLED_SECTOR ((NTSTATUS) 0xC0000309L)
 #endif
 
 #ifndef STATUS_CSS_REGION_MISMATCH
-  #define STATUS_CSS_REGION_MISMATCH ((NTSTATUS) 0xC000030AL)
+define STATUS_CSS_REGION_MISMATCH ((NTSTATUS) 0xC000030AL)
 #endif
 
 #ifndef STATUS_CSS_RESETS_EXHAUSTED
-  #define STATUS_CSS_RESETS_EXHAUSTED ((NTSTATUS) 0xC000030BL)
+define STATUS_CSS_RESETS_EXHAUSTED ((NTSTATUS) 0xC000030BL)
 #endif
 
 #ifndef STATUS_PKINIT_FAILURE
-  #define STATUS_PKINIT_FAILURE ((NTSTATUS) 0xC0000320L)
+define STATUS_PKINIT_FAILURE ((NTSTATUS) 0xC0000320L)
 #endif
 
 #ifndef STATUS_SMARTCARD_SUBSYSTEM_FAILURE
-  #define STATUS_SMARTCARD_SUBSYSTEM_FAILURE ((NTSTATUS) 0xC0000321L)
+define STATUS_SMARTCARD_SUBSYSTEM_FAILURE ((NTSTATUS) 0xC0000321L)
 #endif
 
 #ifndef STATUS_NO_KERB_KEY
-  #define STATUS_NO_KERB_KEY ((NTSTATUS) 0xC0000322L)
+define STATUS_NO_KERB_KEY ((NTSTATUS) 0xC0000322L)
 #endif
 
 #ifndef STATUS_HOST_DOWN
-  #define STATUS_HOST_DOWN ((NTSTATUS) 0xC0000350L)
+define STATUS_HOST_DOWN ((NTSTATUS) 0xC0000350L)
 #endif
 
 #ifndef STATUS_UNSUPPORTED_PREAUTH
-  #define STATUS_UNSUPPORTED_PREAUTH ((NTSTATUS) 0xC0000351L)
+define STATUS_UNSUPPORTED_PREAUTH ((NTSTATUS) 0xC0000351L)
 #endif
 
 #ifndef STATUS_EFS_ALG_BLOB_TOO_BIG
-  #define STATUS_EFS_ALG_BLOB_TOO_BIG ((NTSTATUS) 0xC0000352L)
+define STATUS_EFS_ALG_BLOB_TOO_BIG ((NTSTATUS) 0xC0000352L)
 #endif
 
 #ifndef STATUS_PORT_NOT_SET
-  #define STATUS_PORT_NOT_SET ((NTSTATUS) 0xC0000353L)
+define STATUS_PORT_NOT_SET ((NTSTATUS) 0xC0000353L)
 #endif
 
 #ifndef STATUS_DEBUGGER_INACTIVE
-  #define STATUS_DEBUGGER_INACTIVE ((NTSTATUS) 0xC0000354L)
+define STATUS_DEBUGGER_INACTIVE ((NTSTATUS) 0xC0000354L)
 #endif
 
 #ifndef STATUS_DS_VERSION_CHECK_FAILURE
-  #define STATUS_DS_VERSION_CHECK_FAILURE ((NTSTATUS) 0xC0000355L)
+define STATUS_DS_VERSION_CHECK_FAILURE ((NTSTATUS) 0xC0000355L)
 #endif
 
 #ifndef STATUS_AUDITING_DISABLED
-  #define STATUS_AUDITING_DISABLED ((NTSTATUS) 0xC0000356L)
+define STATUS_AUDITING_DISABLED ((NTSTATUS) 0xC0000356L)
 #endif
 
 #ifndef STATUS_PRENT4_MACHINE_ACCOUNT
-  #define STATUS_PRENT4_MACHINE_ACCOUNT ((NTSTATUS) 0xC0000357L)
+define STATUS_PRENT4_MACHINE_ACCOUNT ((NTSTATUS) 0xC0000357L)
 #endif
 
 #ifndef STATUS_DS_AG_CANT_HAVE_UNIVERSAL_MEMBER
-  #define STATUS_DS_AG_CANT_HAVE_UNIVERSAL_MEMBER ((NTSTATUS) 0xC0000358L)
+define STATUS_DS_AG_CANT_HAVE_UNIVERSAL_MEMBER ((NTSTATUS) 0xC0000358L)
 #endif
 
 #ifndef STATUS_INVALID_IMAGE_WIN_32
-  #define STATUS_INVALID_IMAGE_WIN_32 ((NTSTATUS) 0xC0000359L)
+define STATUS_INVALID_IMAGE_WIN_32 ((NTSTATUS) 0xC0000359L)
 #endif
 
 #ifndef STATUS_INVALID_IMAGE_WIN_64
-  #define STATUS_INVALID_IMAGE_WIN_64 ((NTSTATUS) 0xC000035AL)
+define STATUS_INVALID_IMAGE_WIN_64 ((NTSTATUS) 0xC000035AL)
 #endif
 
 #ifndef STATUS_BAD_BINDINGS
-  #define STATUS_BAD_BINDINGS ((NTSTATUS) 0xC000035BL)
+define STATUS_BAD_BINDINGS ((NTSTATUS) 0xC000035BL)
 #endif
 
 #ifndef STATUS_NETWORK_SESSION_EXPIRED
-  #define STATUS_NETWORK_SESSION_EXPIRED ((NTSTATUS) 0xC000035CL)
+define STATUS_NETWORK_SESSION_EXPIRED ((NTSTATUS) 0xC000035CL)
 #endif
 
 #ifndef STATUS_APPHELP_BLOCK
-  #define STATUS_APPHELP_BLOCK ((NTSTATUS) 0xC000035DL)
+define STATUS_APPHELP_BLOCK ((NTSTATUS) 0xC000035DL)
 #endif
 
 #ifndef STATUS_ALL_SIDS_FILTERED
-  #define STATUS_ALL_SIDS_FILTERED ((NTSTATUS) 0xC000035EL)
+define STATUS_ALL_SIDS_FILTERED ((NTSTATUS) 0xC000035EL)
 #endif
 
 #ifndef STATUS_NOT_SAFE_MODE_DRIVER
-  #define STATUS_NOT_SAFE_MODE_DRIVER ((NTSTATUS) 0xC000035FL)
+define STATUS_NOT_SAFE_MODE_DRIVER ((NTSTATUS) 0xC000035FL)
 #endif
 
 #ifndef STATUS_ACCESS_DISABLED_BY_POLICY_DEFAULT
-  #define STATUS_ACCESS_DISABLED_BY_POLICY_DEFAULT ((NTSTATUS) 0xC0000361L)
+define STATUS_ACCESS_DISABLED_BY_POLICY_DEFAULT ((NTSTATUS) 0xC0000361L)
 #endif
 
 #ifndef STATUS_ACCESS_DISABLED_BY_POLICY_PATH
-  #define STATUS_ACCESS_DISABLED_BY_POLICY_PATH ((NTSTATUS) 0xC0000362L)
+define STATUS_ACCESS_DISABLED_BY_POLICY_PATH ((NTSTATUS) 0xC0000362L)
 #endif
 
 #ifndef STATUS_ACCESS_DISABLED_BY_POLICY_PUBLISHER
-  #define STATUS_ACCESS_DISABLED_BY_POLICY_PUBLISHER ((NTSTATUS) 0xC0000363L)
+define STATUS_ACCESS_DISABLED_BY_POLICY_PUBLISHER ((NTSTATUS) 0xC0000363L)
 #endif
 
 #ifndef STATUS_ACCESS_DISABLED_BY_POLICY_OTHER
-  #define STATUS_ACCESS_DISABLED_BY_POLICY_OTHER ((NTSTATUS) 0xC0000364L)
+define STATUS_ACCESS_DISABLED_BY_POLICY_OTHER ((NTSTATUS) 0xC0000364L)
 #endif
 
 #ifndef STATUS_FAILED_DRIVER_ENTRY
-  #define STATUS_FAILED_DRIVER_ENTRY ((NTSTATUS) 0xC0000365L)
+define STATUS_FAILED_DRIVER_ENTRY ((NTSTATUS) 0xC0000365L)
 #endif
 
 #ifndef STATUS_DEVICE_ENUMERATION_ERROR
-  #define STATUS_DEVICE_ENUMERATION_ERROR ((NTSTATUS) 0xC0000366L)
+define STATUS_DEVICE_ENUMERATION_ERROR ((NTSTATUS) 0xC0000366L)
 #endif
 
 #ifndef STATUS_MOUNT_POINT_NOT_RESOLVED
-  #define STATUS_MOUNT_POINT_NOT_RESOLVED ((NTSTATUS) 0xC0000368L)
+define STATUS_MOUNT_POINT_NOT_RESOLVED ((NTSTATUS) 0xC0000368L)
 #endif
 
 #ifndef STATUS_INVALID_DEVICE_OBJECT_PARAMETER
-  #define STATUS_INVALID_DEVICE_OBJECT_PARAMETER ((NTSTATUS) 0xC0000369L)
+define STATUS_INVALID_DEVICE_OBJECT_PARAMETER ((NTSTATUS) 0xC0000369L)
 #endif
 
 #ifndef STATUS_MCA_OCCURED
-  #define STATUS_MCA_OCCURED ((NTSTATUS) 0xC000036AL)
+define STATUS_MCA_OCCURED ((NTSTATUS) 0xC000036AL)
 #endif
 
 #ifndef STATUS_DRIVER_BLOCKED_CRITICAL
-  #define STATUS_DRIVER_BLOCKED_CRITICAL ((NTSTATUS) 0xC000036BL)
+define STATUS_DRIVER_BLOCKED_CRITICAL ((NTSTATUS) 0xC000036BL)
 #endif
 
 #ifndef STATUS_DRIVER_BLOCKED
-  #define STATUS_DRIVER_BLOCKED ((NTSTATUS) 0xC000036CL)
+define STATUS_DRIVER_BLOCKED ((NTSTATUS) 0xC000036CL)
 #endif
 
 #ifndef STATUS_DRIVER_DATABASE_ERROR
-  #define STATUS_DRIVER_DATABASE_ERROR ((NTSTATUS) 0xC000036DL)
+define STATUS_DRIVER_DATABASE_ERROR ((NTSTATUS) 0xC000036DL)
 #endif
 
 #ifndef STATUS_SYSTEM_HIVE_TOO_LARGE
-  #define STATUS_SYSTEM_HIVE_TOO_LARGE ((NTSTATUS) 0xC000036EL)
+define STATUS_SYSTEM_HIVE_TOO_LARGE ((NTSTATUS) 0xC000036EL)
 #endif
 
 #ifndef STATUS_INVALID_IMPORT_OF_NON_DLL
-  #define STATUS_INVALID_IMPORT_OF_NON_DLL ((NTSTATUS) 0xC000036FL)
+define STATUS_INVALID_IMPORT_OF_NON_DLL ((NTSTATUS) 0xC000036FL)
 #endif
 
 #ifndef STATUS_DS_SHUTTING_DOWN
-  #define STATUS_DS_SHUTTING_DOWN ((NTSTATUS) 0x40000370L)
+define STATUS_DS_SHUTTING_DOWN ((NTSTATUS) 0x40000370L)
 #endif
 
 #ifndef STATUS_NO_SECRETS
-  #define STATUS_NO_SECRETS ((NTSTATUS) 0xC0000371L)
+define STATUS_NO_SECRETS ((NTSTATUS) 0xC0000371L)
 #endif
 
 #ifndef STATUS_ACCESS_DISABLED_NO_SAFER_UI_BY_POLICY
-  #define STATUS_ACCESS_DISABLED_NO_SAFER_UI_BY_POLICY ((NTSTATUS) 0xC0000372L)
+define STATUS_ACCESS_DISABLED_NO_SAFER_UI_BY_POLICY ((NTSTATUS) 0xC0000372L)
 #endif
 
 #ifndef STATUS_FAILED_STACK_SWITCH
-  #define STATUS_FAILED_STACK_SWITCH ((NTSTATUS) 0xC0000373L)
+define STATUS_FAILED_STACK_SWITCH ((NTSTATUS) 0xC0000373L)
 #endif
 
 #ifndef STATUS_HEAP_CORRUPTION
-  #define STATUS_HEAP_CORRUPTION ((NTSTATUS) 0xC0000374L)
+define STATUS_HEAP_CORRUPTION ((NTSTATUS) 0xC0000374L)
 #endif
 
 #ifndef STATUS_SMARTCARD_WRONG_PIN
-  #define STATUS_SMARTCARD_WRONG_PIN ((NTSTATUS) 0xC0000380L)
+define STATUS_SMARTCARD_WRONG_PIN ((NTSTATUS) 0xC0000380L)
 #endif
 
 #ifndef STATUS_SMARTCARD_CARD_BLOCKED
-  #define STATUS_SMARTCARD_CARD_BLOCKED ((NTSTATUS) 0xC0000381L)
+define STATUS_SMARTCARD_CARD_BLOCKED ((NTSTATUS) 0xC0000381L)
 #endif
 
 #ifndef STATUS_SMARTCARD_CARD_NOT_AUTHENTICATED
-  #define STATUS_SMARTCARD_CARD_NOT_AUTHENTICATED ((NTSTATUS) 0xC0000382L)
+define STATUS_SMARTCARD_CARD_NOT_AUTHENTICATED ((NTSTATUS) 0xC0000382L)
 #endif
 
 #ifndef STATUS_SMARTCARD_NO_CARD
-  #define STATUS_SMARTCARD_NO_CARD ((NTSTATUS) 0xC0000383L)
+define STATUS_SMARTCARD_NO_CARD ((NTSTATUS) 0xC0000383L)
 #endif
 
 #ifndef STATUS_SMARTCARD_NO_KEY_CONTAINER
-  #define STATUS_SMARTCARD_NO_KEY_CONTAINER ((NTSTATUS) 0xC0000384L)
+define STATUS_SMARTCARD_NO_KEY_CONTAINER ((NTSTATUS) 0xC0000384L)
 #endif
 
 #ifndef STATUS_SMARTCARD_NO_CERTIFICATE
-  #define STATUS_SMARTCARD_NO_CERTIFICATE ((NTSTATUS) 0xC0000385L)
+define STATUS_SMARTCARD_NO_CERTIFICATE ((NTSTATUS) 0xC0000385L)
 #endif
 
 #ifndef STATUS_SMARTCARD_NO_KEYSET
-  #define STATUS_SMARTCARD_NO_KEYSET ((NTSTATUS) 0xC0000386L)
+define STATUS_SMARTCARD_NO_KEYSET ((NTSTATUS) 0xC0000386L)
 #endif
 
 #ifndef STATUS_SMARTCARD_IO_ERROR
-  #define STATUS_SMARTCARD_IO_ERROR ((NTSTATUS) 0xC0000387L)
+define STATUS_SMARTCARD_IO_ERROR ((NTSTATUS) 0xC0000387L)
 #endif
 
 #ifndef STATUS_DOWNGRADE_DETECTED
-  #define STATUS_DOWNGRADE_DETECTED ((NTSTATUS) 0xC0000388L)
+define STATUS_DOWNGRADE_DETECTED ((NTSTATUS) 0xC0000388L)
 #endif
 
 #ifndef STATUS_SMARTCARD_CERT_REVOKED
-  #define STATUS_SMARTCARD_CERT_REVOKED ((NTSTATUS) 0xC0000389L)
+define STATUS_SMARTCARD_CERT_REVOKED ((NTSTATUS) 0xC0000389L)
 #endif
 
 #ifndef STATUS_ISSUING_CA_UNTRUSTED
-  #define STATUS_ISSUING_CA_UNTRUSTED ((NTSTATUS) 0xC000038AL)
+define STATUS_ISSUING_CA_UNTRUSTED ((NTSTATUS) 0xC000038AL)
 #endif
 
 #ifndef STATUS_REVOCATION_OFFLINE_C
-  #define STATUS_REVOCATION_OFFLINE_C ((NTSTATUS) 0xC000038BL)
+define STATUS_REVOCATION_OFFLINE_C ((NTSTATUS) 0xC000038BL)
 #endif
 
 #ifndef STATUS_PKINIT_CLIENT_FAILURE
-  #define STATUS_PKINIT_CLIENT_FAILURE ((NTSTATUS) 0xC000038CL)
+define STATUS_PKINIT_CLIENT_FAILURE ((NTSTATUS) 0xC000038CL)
 #endif
 
 #ifndef STATUS_SMARTCARD_CERT_EXPIRED
-  #define STATUS_SMARTCARD_CERT_EXPIRED ((NTSTATUS) 0xC000038DL)
+define STATUS_SMARTCARD_CERT_EXPIRED ((NTSTATUS) 0xC000038DL)
 #endif
 
 #ifndef STATUS_DRIVER_FAILED_PRIOR_UNLOAD
-  #define STATUS_DRIVER_FAILED_PRIOR_UNLOAD ((NTSTATUS) 0xC000038EL)
+define STATUS_DRIVER_FAILED_PRIOR_UNLOAD ((NTSTATUS) 0xC000038EL)
 #endif
 
 #ifndef STATUS_SMARTCARD_SILENT_CONTEXT
-  #define STATUS_SMARTCARD_SILENT_CONTEXT ((NTSTATUS) 0xC000038FL)
+define STATUS_SMARTCARD_SILENT_CONTEXT ((NTSTATUS) 0xC000038FL)
 #endif
 
 #ifndef STATUS_PER_USER_TRUST_QUOTA_EXCEEDED
-  #define STATUS_PER_USER_TRUST_QUOTA_EXCEEDED ((NTSTATUS) 0xC0000401L)
+define STATUS_PER_USER_TRUST_QUOTA_EXCEEDED ((NTSTATUS) 0xC0000401L)
 #endif
 
 #ifndef STATUS_ALL_USER_TRUST_QUOTA_EXCEEDED
-  #define STATUS_ALL_USER_TRUST_QUOTA_EXCEEDED ((NTSTATUS) 0xC0000402L)
+define STATUS_ALL_USER_TRUST_QUOTA_EXCEEDED ((NTSTATUS) 0xC0000402L)
 #endif
 
 #ifndef STATUS_USER_DELETE_TRUST_QUOTA_EXCEEDED
-  #define STATUS_USER_DELETE_TRUST_QUOTA_EXCEEDED ((NTSTATUS) 0xC0000403L)
+define STATUS_USER_DELETE_TRUST_QUOTA_EXCEEDED ((NTSTATUS) 0xC0000403L)
 #endif
 
 #ifndef STATUS_DS_NAME_NOT_UNIQUE
-  #define STATUS_DS_NAME_NOT_UNIQUE ((NTSTATUS) 0xC0000404L)
+define STATUS_DS_NAME_NOT_UNIQUE ((NTSTATUS) 0xC0000404L)
 #endif
 
 #ifndef STATUS_DS_DUPLICATE_ID_FOUND
-  #define STATUS_DS_DUPLICATE_ID_FOUND ((NTSTATUS) 0xC0000405L)
+define STATUS_DS_DUPLICATE_ID_FOUND ((NTSTATUS) 0xC0000405L)
 #endif
 
 #ifndef STATUS_DS_GROUP_CONVERSION_ERROR
-  #define STATUS_DS_GROUP_CONVERSION_ERROR ((NTSTATUS) 0xC0000406L)
+define STATUS_DS_GROUP_CONVERSION_ERROR ((NTSTATUS) 0xC0000406L)
 #endif
 
 #ifndef STATUS_VOLSNAP_PREPARE_HIBERNATE
-  #define STATUS_VOLSNAP_PREPARE_HIBERNATE ((NTSTATUS) 0xC0000407L)
+define STATUS_VOLSNAP_PREPARE_HIBERNATE ((NTSTATUS) 0xC0000407L)
 #endif
 
 #ifndef STATUS_USER2USER_REQUIRED
-  #define STATUS_USER2USER_REQUIRED ((NTSTATUS) 0xC0000408L)
+define STATUS_USER2USER_REQUIRED ((NTSTATUS) 0xC0000408L)
 #endif
 
 #ifndef STATUS_STACK_BUFFER_OVERRUN
-  #define STATUS_STACK_BUFFER_OVERRUN ((NTSTATUS) 0xC0000409L)
+define STATUS_STACK_BUFFER_OVERRUN ((NTSTATUS) 0xC0000409L)
 #endif
 
 #ifndef STATUS_NO_S4U_PROT_SUPPORT
-  #define STATUS_NO_S4U_PROT_SUPPORT ((NTSTATUS) 0xC000040AL)
+define STATUS_NO_S4U_PROT_SUPPORT ((NTSTATUS) 0xC000040AL)
 #endif
 
 #ifndef STATUS_CROSSREALM_DELEGATION_FAILURE
-  #define STATUS_CROSSREALM_DELEGATION_FAILURE ((NTSTATUS) 0xC000040BL)
+define STATUS_CROSSREALM_DELEGATION_FAILURE ((NTSTATUS) 0xC000040BL)
 #endif
 
 #ifndef STATUS_REVOCATION_OFFLINE_KDC
-  #define STATUS_REVOCATION_OFFLINE_KDC ((NTSTATUS) 0xC000040CL)
+define STATUS_REVOCATION_OFFLINE_KDC ((NTSTATUS) 0xC000040CL)
 #endif
 
 #ifndef STATUS_ISSUING_CA_UNTRUSTED_KDC
-  #define STATUS_ISSUING_CA_UNTRUSTED_KDC ((NTSTATUS) 0xC000040DL)
+define STATUS_ISSUING_CA_UNTRUSTED_KDC ((NTSTATUS) 0xC000040DL)
 #endif
 
 #ifndef STATUS_KDC_CERT_EXPIRED
-  #define STATUS_KDC_CERT_EXPIRED ((NTSTATUS) 0xC000040EL)
+define STATUS_KDC_CERT_EXPIRED ((NTSTATUS) 0xC000040EL)
 #endif
 
 #ifndef STATUS_KDC_CERT_REVOKED
-  #define STATUS_KDC_CERT_REVOKED ((NTSTATUS) 0xC000040FL)
+define STATUS_KDC_CERT_REVOKED ((NTSTATUS) 0xC000040FL)
 #endif
 
 #ifndef STATUS_PARAMETER_QUOTA_EXCEEDED
-  #define STATUS_PARAMETER_QUOTA_EXCEEDED ((NTSTATUS) 0xC0000410L)
+define STATUS_PARAMETER_QUOTA_EXCEEDED ((NTSTATUS) 0xC0000410L)
 #endif
 
 #ifndef STATUS_HIBERNATION_FAILURE
-  #define STATUS_HIBERNATION_FAILURE ((NTSTATUS) 0xC0000411L)
+define STATUS_HIBERNATION_FAILURE ((NTSTATUS) 0xC0000411L)
 #endif
 
 #ifndef STATUS_DELAY_LOAD_FAILED
-  #define STATUS_DELAY_LOAD_FAILED ((NTSTATUS) 0xC0000412L)
+define STATUS_DELAY_LOAD_FAILED ((NTSTATUS) 0xC0000412L)
 #endif
 
 #ifndef STATUS_AUTHENTICATION_FIREWALL_FAILED
-  #define STATUS_AUTHENTICATION_FIREWALL_FAILED ((NTSTATUS) 0xC0000413L)
+define STATUS_AUTHENTICATION_FIREWALL_FAILED ((NTSTATUS) 0xC0000413L)
 #endif
 
 #ifndef STATUS_VDM_DISALLOWED
-  #define STATUS_VDM_DISALLOWED ((NTSTATUS) 0xC0000414L)
+define STATUS_VDM_DISALLOWED ((NTSTATUS) 0xC0000414L)
 #endif
 
 #ifndef STATUS_HUNG_DISPLAY_DRIVER_THREAD
-  #define STATUS_HUNG_DISPLAY_DRIVER_THREAD ((NTSTATUS) 0xC0000415L)
+define STATUS_HUNG_DISPLAY_DRIVER_THREAD ((NTSTATUS) 0xC0000415L)
 #endif
 
 #ifndef STATUS_INSUFFICIENT_RESOURCE_FOR_SPECIFIED_SHARED_SECTION_SIZE
-  #define STATUS_INSUFFICIENT_RESOURCE_FOR_SPECIFIED_SHARED_SECTION_SIZE ((NTSTATUS) 0xC0000416L)
+define STATUS_INSUFFICIENT_RESOURCE_FOR_SPECIFIED_SHARED_SECTION_SIZE ((NTSTATUS) 0xC0000416L)
 #endif
 
 #ifndef STATUS_INVALID_CRUNTIME_PARAMETER
-  #define STATUS_INVALID_CRUNTIME_PARAMETER ((NTSTATUS) 0xC0000417L)
+define STATUS_INVALID_CRUNTIME_PARAMETER ((NTSTATUS) 0xC0000417L)
 #endif
 
 #ifndef STATUS_NTLM_BLOCKED
-  #define STATUS_NTLM_BLOCKED ((NTSTATUS) 0xC0000418L)
+define STATUS_NTLM_BLOCKED ((NTSTATUS) 0xC0000418L)
 #endif
 
 #ifndef STATUS_DS_SRC_SID_EXISTS_IN_FOREST
-  #define STATUS_DS_SRC_SID_EXISTS_IN_FOREST ((NTSTATUS) 0xC0000419L)
+define STATUS_DS_SRC_SID_EXISTS_IN_FOREST ((NTSTATUS) 0xC0000419L)
 #endif
 
 #ifndef STATUS_DS_DOMAIN_NAME_EXISTS_IN_FOREST
-  #define STATUS_DS_DOMAIN_NAME_EXISTS_IN_FOREST ((NTSTATUS) 0xC000041AL)
+define STATUS_DS_DOMAIN_NAME_EXISTS_IN_FOREST ((NTSTATUS) 0xC000041AL)
 #endif
 
 #ifndef STATUS_DS_FLAT_NAME_EXISTS_IN_FOREST
-  #define STATUS_DS_FLAT_NAME_EXISTS_IN_FOREST ((NTSTATUS) 0xC000041BL)
+define STATUS_DS_FLAT_NAME_EXISTS_IN_FOREST ((NTSTATUS) 0xC000041BL)
 #endif
 
 #ifndef STATUS_INVALID_USER_PRINCIPAL_NAME
-  #define STATUS_INVALID_USER_PRINCIPAL_NAME ((NTSTATUS) 0xC000041CL)
+define STATUS_INVALID_USER_PRINCIPAL_NAME ((NTSTATUS) 0xC000041CL)
 #endif
 
 #ifndef STATUS_FATAL_USER_CALLBACK_EXCEPTION
-  #define STATUS_FATAL_USER_CALLBACK_EXCEPTION ((NTSTATUS) 0xC000041DL)
+define STATUS_FATAL_USER_CALLBACK_EXCEPTION ((NTSTATUS) 0xC000041DL)
 #endif
 
 #ifndef STATUS_ASSERTION_FAILURE
-  #define STATUS_ASSERTION_FAILURE ((NTSTATUS) 0xC0000420L)
+define STATUS_ASSERTION_FAILURE ((NTSTATUS) 0xC0000420L)
 #endif
 
 #ifndef STATUS_VERIFIER_STOP
-  #define STATUS_VERIFIER_STOP ((NTSTATUS) 0xC0000421L)
+define STATUS_VERIFIER_STOP ((NTSTATUS) 0xC0000421L)
 #endif
 
 #ifndef STATUS_CALLBACK_POP_STACK
-  #define STATUS_CALLBACK_POP_STACK ((NTSTATUS) 0xC0000423L)
+define STATUS_CALLBACK_POP_STACK ((NTSTATUS) 0xC0000423L)
 #endif
 
 #ifndef STATUS_INCOMPATIBLE_DRIVER_BLOCKED
-  #define STATUS_INCOMPATIBLE_DRIVER_BLOCKED ((NTSTATUS) 0xC0000424L)
+define STATUS_INCOMPATIBLE_DRIVER_BLOCKED ((NTSTATUS) 0xC0000424L)
 #endif
 
 #ifndef STATUS_HIVE_UNLOADED
-  #define STATUS_HIVE_UNLOADED ((NTSTATUS) 0xC0000425L)
+define STATUS_HIVE_UNLOADED ((NTSTATUS) 0xC0000425L)
 #endif
 
 #ifndef STATUS_COMPRESSION_DISABLED
-  #define STATUS_COMPRESSION_DISABLED ((NTSTATUS) 0xC0000426L)
+define STATUS_COMPRESSION_DISABLED ((NTSTATUS) 0xC0000426L)
 #endif
 
 #ifndef STATUS_FILE_SYSTEM_LIMITATION
-  #define STATUS_FILE_SYSTEM_LIMITATION ((NTSTATUS) 0xC0000427L)
+define STATUS_FILE_SYSTEM_LIMITATION ((NTSTATUS) 0xC0000427L)
 #endif
 
 #ifndef STATUS_INVALID_IMAGE_HASH
-  #define STATUS_INVALID_IMAGE_HASH ((NTSTATUS) 0xC0000428L)
+define STATUS_INVALID_IMAGE_HASH ((NTSTATUS) 0xC0000428L)
 #endif
 
 #ifndef STATUS_NOT_CAPABLE
-  #define STATUS_NOT_CAPABLE ((NTSTATUS) 0xC0000429L)
+define STATUS_NOT_CAPABLE ((NTSTATUS) 0xC0000429L)
 #endif
 
 #ifndef STATUS_REQUEST_OUT_OF_SEQUENCE
-  #define STATUS_REQUEST_OUT_OF_SEQUENCE ((NTSTATUS) 0xC000042AL)
+define STATUS_REQUEST_OUT_OF_SEQUENCE ((NTSTATUS) 0xC000042AL)
 #endif
 
 #ifndef STATUS_IMPLEMENTATION_LIMIT
-  #define STATUS_IMPLEMENTATION_LIMIT ((NTSTATUS) 0xC000042BL)
+define STATUS_IMPLEMENTATION_LIMIT ((NTSTATUS) 0xC000042BL)
 #endif
 
 #ifndef STATUS_ELEVATION_REQUIRED
-  #define STATUS_ELEVATION_REQUIRED ((NTSTATUS) 0xC000042CL)
+define STATUS_ELEVATION_REQUIRED ((NTSTATUS) 0xC000042CL)
 #endif
 
 #ifndef STATUS_NO_SECURITY_CONTEXT
-  #define STATUS_NO_SECURITY_CONTEXT ((NTSTATUS) 0xC000042DL)
+define STATUS_NO_SECURITY_CONTEXT ((NTSTATUS) 0xC000042DL)
 #endif
 
 #ifndef STATUS_PKU2U_CERT_FAILURE
-  #define STATUS_PKU2U_CERT_FAILURE ((NTSTATUS) 0xC000042FL)
+define STATUS_PKU2U_CERT_FAILURE ((NTSTATUS) 0xC000042FL)
 #endif
 
 #ifndef STATUS_BEYOND_VDL
-  #define STATUS_BEYOND_VDL ((NTSTATUS) 0xC0000432L)
+define STATUS_BEYOND_VDL ((NTSTATUS) 0xC0000432L)
 #endif
 
 #ifndef STATUS_ENCOUNTERED_WRITE_IN_PROGRESS
-  #define STATUS_ENCOUNTERED_WRITE_IN_PROGRESS ((NTSTATUS) 0xC0000433L)
+define STATUS_ENCOUNTERED_WRITE_IN_PROGRESS ((NTSTATUS) 0xC0000433L)
 #endif
 
 #ifndef STATUS_PTE_CHANGED
-  #define STATUS_PTE_CHANGED ((NTSTATUS) 0xC0000434L)
+define STATUS_PTE_CHANGED ((NTSTATUS) 0xC0000434L)
 #endif
 
 #ifndef STATUS_PURGE_FAILED
-  #define STATUS_PURGE_FAILED ((NTSTATUS) 0xC0000435L)
+define STATUS_PURGE_FAILED ((NTSTATUS) 0xC0000435L)
 #endif
 
 #ifndef STATUS_CRED_REQUIRES_CONFIRMATION
-  #define STATUS_CRED_REQUIRES_CONFIRMATION ((NTSTATUS) 0xC0000440L)
+define STATUS_CRED_REQUIRES_CONFIRMATION ((NTSTATUS) 0xC0000440L)
 #endif
 
 #ifndef STATUS_CS_ENCRYPTION_INVALID_SERVER_RESPONSE
-  #define STATUS_CS_ENCRYPTION_INVALID_SERVER_RESPONSE ((NTSTATUS) 0xC0000441L)
+define STATUS_CS_ENCRYPTION_INVALID_SERVER_RESPONSE ((NTSTATUS) 0xC0000441L)
 #endif
 
 #ifndef STATUS_CS_ENCRYPTION_UNSUPPORTED_SERVER
-  #define STATUS_CS_ENCRYPTION_UNSUPPORTED_SERVER ((NTSTATUS) 0xC0000442L)
+define STATUS_CS_ENCRYPTION_UNSUPPORTED_SERVER ((NTSTATUS) 0xC0000442L)
 #endif
 
 #ifndef STATUS_CS_ENCRYPTION_EXISTING_ENCRYPTED_FILE
-  #define STATUS_CS_ENCRYPTION_EXISTING_ENCRYPTED_FILE ((NTSTATUS) 0xC0000443L)
+define STATUS_CS_ENCRYPTION_EXISTING_ENCRYPTED_FILE ((NTSTATUS) 0xC0000443L)
 #endif
 
 #ifndef STATUS_CS_ENCRYPTION_NEW_ENCRYPTED_FILE
-  #define STATUS_CS_ENCRYPTION_NEW_ENCRYPTED_FILE ((NTSTATUS) 0xC0000444L)
+define STATUS_CS_ENCRYPTION_NEW_ENCRYPTED_FILE ((NTSTATUS) 0xC0000444L)
 #endif
 
 #ifndef STATUS_CS_ENCRYPTION_FILE_NOT_CSE
-  #define STATUS_CS_ENCRYPTION_FILE_NOT_CSE ((NTSTATUS) 0xC0000445L)
+define STATUS_CS_ENCRYPTION_FILE_NOT_CSE ((NTSTATUS) 0xC0000445L)
 #endif
 
 #ifndef STATUS_INVALID_LABEL
-  #define STATUS_INVALID_LABEL ((NTSTATUS) 0xC0000446L)
+define STATUS_INVALID_LABEL ((NTSTATUS) 0xC0000446L)
 #endif
 
 #ifndef STATUS_DRIVER_PROCESS_TERMINATED
-  #define STATUS_DRIVER_PROCESS_TERMINATED ((NTSTATUS) 0xC0000450L)
+define STATUS_DRIVER_PROCESS_TERMINATED ((NTSTATUS) 0xC0000450L)
 #endif
 
 #ifndef STATUS_AMBIGUOUS_SYSTEM_DEVICE
-  #define STATUS_AMBIGUOUS_SYSTEM_DEVICE ((NTSTATUS) 0xC0000451L)
+define STATUS_AMBIGUOUS_SYSTEM_DEVICE ((NTSTATUS) 0xC0000451L)
 #endif
 
 #ifndef STATUS_SYSTEM_DEVICE_NOT_FOUND
-  #define STATUS_SYSTEM_DEVICE_NOT_FOUND ((NTSTATUS) 0xC0000452L)
+define STATUS_SYSTEM_DEVICE_NOT_FOUND ((NTSTATUS) 0xC0000452L)
 #endif
 
 #ifndef STATUS_RESTART_BOOT_APPLICATION
-  #define STATUS_RESTART_BOOT_APPLICATION ((NTSTATUS) 0xC0000453L)
+define STATUS_RESTART_BOOT_APPLICATION ((NTSTATUS) 0xC0000453L)
 #endif
 
 #ifndef STATUS_INSUFFICIENT_NVRAM_RESOURCES
-  #define STATUS_INSUFFICIENT_NVRAM_RESOURCES ((NTSTATUS) 0xC0000454L)
+define STATUS_INSUFFICIENT_NVRAM_RESOURCES ((NTSTATUS) 0xC0000454L)
 #endif
 
 #ifndef STATUS_INVALID_TASK_NAME
-  #define STATUS_INVALID_TASK_NAME ((NTSTATUS) 0xC0000500L)
+define STATUS_INVALID_TASK_NAME ((NTSTATUS) 0xC0000500L)
 #endif
 
 #ifndef STATUS_INVALID_TASK_INDEX
-  #define STATUS_INVALID_TASK_INDEX ((NTSTATUS) 0xC0000501L)
+define STATUS_INVALID_TASK_INDEX ((NTSTATUS) 0xC0000501L)
 #endif
 
 #ifndef STATUS_THREAD_ALREADY_IN_TASK
-  #define STATUS_THREAD_ALREADY_IN_TASK ((NTSTATUS) 0xC0000502L)
+define STATUS_THREAD_ALREADY_IN_TASK ((NTSTATUS) 0xC0000502L)
 #endif
 
 #ifndef STATUS_CALLBACK_BYPASS
-  #define STATUS_CALLBACK_BYPASS ((NTSTATUS) 0xC0000503L)
+define STATUS_CALLBACK_BYPASS ((NTSTATUS) 0xC0000503L)
 #endif
 
 #ifndef STATUS_FAIL_FAST_EXCEPTION
-  #define STATUS_FAIL_FAST_EXCEPTION ((NTSTATUS) 0xC0000602L)
+define STATUS_FAIL_FAST_EXCEPTION ((NTSTATUS) 0xC0000602L)
 #endif
 
 #ifndef STATUS_IMAGE_CERT_REVOKED
-  #define STATUS_IMAGE_CERT_REVOKED ((NTSTATUS) 0xC0000603L)
+define STATUS_IMAGE_CERT_REVOKED ((NTSTATUS) 0xC0000603L)
 #endif
 
 #ifndef STATUS_PORT_CLOSED
-  #define STATUS_PORT_CLOSED ((NTSTATUS) 0xC0000700L)
+define STATUS_PORT_CLOSED ((NTSTATUS) 0xC0000700L)
 #endif
 
 #ifndef STATUS_MESSAGE_LOST
-  #define STATUS_MESSAGE_LOST ((NTSTATUS) 0xC0000701L)
+define STATUS_MESSAGE_LOST ((NTSTATUS) 0xC0000701L)
 #endif
 
 #ifndef STATUS_INVALID_MESSAGE
-  #define STATUS_INVALID_MESSAGE ((NTSTATUS) 0xC0000702L)
+define STATUS_INVALID_MESSAGE ((NTSTATUS) 0xC0000702L)
 #endif
 
 #ifndef STATUS_REQUEST_CANCELED
-  #define STATUS_REQUEST_CANCELED ((NTSTATUS) 0xC0000703L)
+define STATUS_REQUEST_CANCELED ((NTSTATUS) 0xC0000703L)
 #endif
 
 #ifndef STATUS_RECURSIVE_DISPATCH
-  #define STATUS_RECURSIVE_DISPATCH ((NTSTATUS) 0xC0000704L)
+define STATUS_RECURSIVE_DISPATCH ((NTSTATUS) 0xC0000704L)
 #endif
 
 #ifndef STATUS_LPC_RECEIVE_BUFFER_EXPECTED
-  #define STATUS_LPC_RECEIVE_BUFFER_EXPECTED ((NTSTATUS) 0xC0000705L)
+define STATUS_LPC_RECEIVE_BUFFER_EXPECTED ((NTSTATUS) 0xC0000705L)
 #endif
 
 #ifndef STATUS_LPC_INVALID_CONNECTION_USAGE
-  #define STATUS_LPC_INVALID_CONNECTION_USAGE ((NTSTATUS) 0xC0000706L)
+define STATUS_LPC_INVALID_CONNECTION_USAGE ((NTSTATUS) 0xC0000706L)
 #endif
 
 #ifndef STATUS_LPC_REQUESTS_NOT_ALLOWED
-  #define STATUS_LPC_REQUESTS_NOT_ALLOWED ((NTSTATUS) 0xC0000707L)
+define STATUS_LPC_REQUESTS_NOT_ALLOWED ((NTSTATUS) 0xC0000707L)
 #endif
 
 #ifndef STATUS_RESOURCE_IN_USE
-  #define STATUS_RESOURCE_IN_USE ((NTSTATUS) 0xC0000708L)
+define STATUS_RESOURCE_IN_USE ((NTSTATUS) 0xC0000708L)
 #endif
 
 #ifndef STATUS_HARDWARE_MEMORY_ERROR
-  #define STATUS_HARDWARE_MEMORY_ERROR ((NTSTATUS) 0xC0000709L)
+define STATUS_HARDWARE_MEMORY_ERROR ((NTSTATUS) 0xC0000709L)
 #endif
 
 #ifndef STATUS_THREADPOOL_HANDLE_EXCEPTION
-  #define STATUS_THREADPOOL_HANDLE_EXCEPTION ((NTSTATUS) 0xC000070AL)
+define STATUS_THREADPOOL_HANDLE_EXCEPTION ((NTSTATUS) 0xC000070AL)
 #endif
 
 #ifndef STATUS_THREADPOOL_SET_EVENT_ON_COMPLETION_FAILED
-  #define STATUS_THREADPOOL_SET_EVENT_ON_COMPLETION_FAILED ((NTSTATUS) 0xC000070BL)
+define STATUS_THREADPOOL_SET_EVENT_ON_COMPLETION_FAILED ((NTSTATUS) 0xC000070BL)
 #endif
 
 #ifndef STATUS_THREADPOOL_RELEASE_SEMAPHORE_ON_COMPLETION_FAILED
-  #define STATUS_THREADPOOL_RELEASE_SEMAPHORE_ON_COMPLETION_FAILED ((NTSTATUS) 0xC000070CL)
+define STATUS_THREADPOOL_RELEASE_SEMAPHORE_ON_COMPLETION_FAILED ((NTSTATUS) 0xC000070CL)
 #endif
 
 #ifndef STATUS_THREADPOOL_RELEASE_MUTEX_ON_COMPLETION_FAILED
-  #define STATUS_THREADPOOL_RELEASE_MUTEX_ON_COMPLETION_FAILED ((NTSTATUS) 0xC000070DL)
+define STATUS_THREADPOOL_RELEASE_MUTEX_ON_COMPLETION_FAILED ((NTSTATUS) 0xC000070DL)
 #endif
 
 #ifndef STATUS_THREADPOOL_FREE_LIBRARY_ON_COMPLETION_FAILED
-  #define STATUS_THREADPOOL_FREE_LIBRARY_ON_COMPLETION_FAILED ((NTSTATUS) 0xC000070EL)
+define STATUS_THREADPOOL_FREE_LIBRARY_ON_COMPLETION_FAILED ((NTSTATUS) 0xC000070EL)
 #endif
 
 #ifndef STATUS_THREADPOOL_RELEASED_DURING_OPERATION
-  #define STATUS_THREADPOOL_RELEASED_DURING_OPERATION ((NTSTATUS) 0xC000070FL)
+define STATUS_THREADPOOL_RELEASED_DURING_OPERATION ((NTSTATUS) 0xC000070FL)
 #endif
 
 #ifndef STATUS_CALLBACK_RETURNED_WHILE_IMPERSONATING
-  #define STATUS_CALLBACK_RETURNED_WHILE_IMPERSONATING ((NTSTATUS) 0xC0000710L)
+define STATUS_CALLBACK_RETURNED_WHILE_IMPERSONATING ((NTSTATUS) 0xC0000710L)
 #endif
 
 #ifndef STATUS_APC_RETURNED_WHILE_IMPERSONATING
-  #define STATUS_APC_RETURNED_WHILE_IMPERSONATING ((NTSTATUS) 0xC0000711L)
+define STATUS_APC_RETURNED_WHILE_IMPERSONATING ((NTSTATUS) 0xC0000711L)
 #endif
 
 #ifndef STATUS_PROCESS_IS_PROTECTED
-  #define STATUS_PROCESS_IS_PROTECTED ((NTSTATUS) 0xC0000712L)
+define STATUS_PROCESS_IS_PROTECTED ((NTSTATUS) 0xC0000712L)
 #endif
 
 #ifndef STATUS_MCA_EXCEPTION
-  #define STATUS_MCA_EXCEPTION ((NTSTATUS) 0xC0000713L)
+define STATUS_MCA_EXCEPTION ((NTSTATUS) 0xC0000713L)
 #endif
 
 #ifndef STATUS_CERTIFICATE_MAPPING_NOT_UNIQUE
-  #define STATUS_CERTIFICATE_MAPPING_NOT_UNIQUE ((NTSTATUS) 0xC0000714L)
+define STATUS_CERTIFICATE_MAPPING_NOT_UNIQUE ((NTSTATUS) 0xC0000714L)
 #endif
 
 #ifndef STATUS_SYMLINK_CLASS_DISABLED
-  #define STATUS_SYMLINK_CLASS_DISABLED ((NTSTATUS) 0xC0000715L)
+define STATUS_SYMLINK_CLASS_DISABLED ((NTSTATUS) 0xC0000715L)
 #endif
 
 #ifndef STATUS_INVALID_IDN_NORMALIZATION
-  #define STATUS_INVALID_IDN_NORMALIZATION ((NTSTATUS) 0xC0000716L)
+define STATUS_INVALID_IDN_NORMALIZATION ((NTSTATUS) 0xC0000716L)
 #endif
 
 #ifndef STATUS_NO_UNICODE_TRANSLATION
-  #define STATUS_NO_UNICODE_TRANSLATION ((NTSTATUS) 0xC0000717L)
+define STATUS_NO_UNICODE_TRANSLATION ((NTSTATUS) 0xC0000717L)
 #endif
 
 #ifndef STATUS_ALREADY_REGISTERED
-  #define STATUS_ALREADY_REGISTERED ((NTSTATUS) 0xC0000718L)
+define STATUS_ALREADY_REGISTERED ((NTSTATUS) 0xC0000718L)
 #endif
 
 #ifndef STATUS_CONTEXT_MISMATCH
-  #define STATUS_CONTEXT_MISMATCH ((NTSTATUS) 0xC0000719L)
+define STATUS_CONTEXT_MISMATCH ((NTSTATUS) 0xC0000719L)
 #endif
 
 #ifndef STATUS_PORT_ALREADY_HAS_COMPLETION_LIST
-  #define STATUS_PORT_ALREADY_HAS_COMPLETION_LIST ((NTSTATUS) 0xC000071AL)
+define STATUS_PORT_ALREADY_HAS_COMPLETION_LIST ((NTSTATUS) 0xC000071AL)
 #endif
 
 #ifndef STATUS_CALLBACK_RETURNED_THREAD_PRIORITY
-  #define STATUS_CALLBACK_RETURNED_THREAD_PRIORITY ((NTSTATUS) 0xC000071BL)
+define STATUS_CALLBACK_RETURNED_THREAD_PRIORITY ((NTSTATUS) 0xC000071BL)
 #endif
 
 #ifndef STATUS_INVALID_THREAD
-  #define STATUS_INVALID_THREAD ((NTSTATUS) 0xC000071CL)
+define STATUS_INVALID_THREAD ((NTSTATUS) 0xC000071CL)
 #endif
 
 #ifndef STATUS_CALLBACK_RETURNED_TRANSACTION
-  #define STATUS_CALLBACK_RETURNED_TRANSACTION ((NTSTATUS) 0xC000071DL)
+define STATUS_CALLBACK_RETURNED_TRANSACTION ((NTSTATUS) 0xC000071DL)
 #endif
 
 #ifndef STATUS_CALLBACK_RETURNED_LDR_LOCK
-  #define STATUS_CALLBACK_RETURNED_LDR_LOCK ((NTSTATUS) 0xC000071EL)
+define STATUS_CALLBACK_RETURNED_LDR_LOCK ((NTSTATUS) 0xC000071EL)
 #endif
 
 #ifndef STATUS_CALLBACK_RETURNED_LANG
-  #define STATUS_CALLBACK_RETURNED_LANG ((NTSTATUS) 0xC000071FL)
+define STATUS_CALLBACK_RETURNED_LANG ((NTSTATUS) 0xC000071FL)
 #endif
 
 #ifndef STATUS_CALLBACK_RETURNED_PRI_BACK
-  #define STATUS_CALLBACK_RETURNED_PRI_BACK ((NTSTATUS) 0xC0000720L)
+define STATUS_CALLBACK_RETURNED_PRI_BACK ((NTSTATUS) 0xC0000720L)
 #endif
 
 #ifndef STATUS_CALLBACK_RETURNED_THREAD_AFFINITY
-  #define STATUS_CALLBACK_RETURNED_THREAD_AFFINITY ((NTSTATUS) 0xC0000721L)
+define STATUS_CALLBACK_RETURNED_THREAD_AFFINITY ((NTSTATUS) 0xC0000721L)
 #endif
 
 #ifndef STATUS_DISK_REPAIR_DISABLED
-  #define STATUS_DISK_REPAIR_DISABLED ((NTSTATUS) 0xC0000800L)
+define STATUS_DISK_REPAIR_DISABLED ((NTSTATUS) 0xC0000800L)
 #endif
 
 #ifndef STATUS_DS_DOMAIN_RENAME_IN_PROGRESS
-  #define STATUS_DS_DOMAIN_RENAME_IN_PROGRESS ((NTSTATUS) 0xC0000801L)
+define STATUS_DS_DOMAIN_RENAME_IN_PROGRESS ((NTSTATUS) 0xC0000801L)
 #endif
 
 #ifndef STATUS_DISK_QUOTA_EXCEEDED
-  #define STATUS_DISK_QUOTA_EXCEEDED ((NTSTATUS) 0xC0000802L)
+define STATUS_DISK_QUOTA_EXCEEDED ((NTSTATUS) 0xC0000802L)
 #endif
 
 #ifndef STATUS_DATA_LOST_REPAIR
-  #define STATUS_DATA_LOST_REPAIR ((NTSTATUS) 0x80000803L)
+define STATUS_DATA_LOST_REPAIR ((NTSTATUS) 0x80000803L)
 #endif
 
 #ifndef STATUS_CONTENT_BLOCKED
-  #define STATUS_CONTENT_BLOCKED ((NTSTATUS) 0xC0000804L)
+define STATUS_CONTENT_BLOCKED ((NTSTATUS) 0xC0000804L)
 #endif
 
 #ifndef STATUS_BAD_CLUSTERS
-  #define STATUS_BAD_CLUSTERS ((NTSTATUS) 0xC0000805L)
+define STATUS_BAD_CLUSTERS ((NTSTATUS) 0xC0000805L)
 #endif
 
 #ifndef STATUS_VOLUME_DIRTY
-  #define STATUS_VOLUME_DIRTY ((NTSTATUS) 0xC0000806L)
+define STATUS_VOLUME_DIRTY ((NTSTATUS) 0xC0000806L)
 #endif
 
 #ifndef STATUS_FILE_CHECKED_OUT
-  #define STATUS_FILE_CHECKED_OUT ((NTSTATUS) 0xC0000901L)
+define STATUS_FILE_CHECKED_OUT ((NTSTATUS) 0xC0000901L)
 #endif
 
 #ifndef STATUS_CHECKOUT_REQUIRED
-  #define STATUS_CHECKOUT_REQUIRED ((NTSTATUS) 0xC0000902L)
+define STATUS_CHECKOUT_REQUIRED ((NTSTATUS) 0xC0000902L)
 #endif
 
 #ifndef STATUS_BAD_FILE_TYPE
-  #define STATUS_BAD_FILE_TYPE ((NTSTATUS) 0xC0000903L)
+define STATUS_BAD_FILE_TYPE ((NTSTATUS) 0xC0000903L)
 #endif
 
 #ifndef STATUS_FILE_TOO_LARGE
-  #define STATUS_FILE_TOO_LARGE ((NTSTATUS) 0xC0000904L)
+define STATUS_FILE_TOO_LARGE ((NTSTATUS) 0xC0000904L)
 #endif
 
 #ifndef STATUS_FORMS_AUTH_REQUIRED
-  #define STATUS_FORMS_AUTH_REQUIRED ((NTSTATUS) 0xC0000905L)
+define STATUS_FORMS_AUTH_REQUIRED ((NTSTATUS) 0xC0000905L)
 #endif
 
 #ifndef STATUS_VIRUS_INFECTED
-  #define STATUS_VIRUS_INFECTED ((NTSTATUS) 0xC0000906L)
+define STATUS_VIRUS_INFECTED ((NTSTATUS) 0xC0000906L)
 #endif
 
 #ifndef STATUS_VIRUS_DELETED
-  #define STATUS_VIRUS_DELETED ((NTSTATUS) 0xC0000907L)
+define STATUS_VIRUS_DELETED ((NTSTATUS) 0xC0000907L)
 #endif
 
 #ifndef STATUS_BAD_MCFG_TABLE
-  #define STATUS_BAD_MCFG_TABLE ((NTSTATUS) 0xC0000908L)
+define STATUS_BAD_MCFG_TABLE ((NTSTATUS) 0xC0000908L)
 #endif
 
 #ifndef STATUS_CANNOT_BREAK_OPLOCK
-  #define STATUS_CANNOT_BREAK_OPLOCK ((NTSTATUS) 0xC0000909L)
+define STATUS_CANNOT_BREAK_OPLOCK ((NTSTATUS) 0xC0000909L)
 #endif
 
 #ifndef STATUS_WOW_ASSERTION
-  #define STATUS_WOW_ASSERTION ((NTSTATUS) 0xC0009898L)
+define STATUS_WOW_ASSERTION ((NTSTATUS) 0xC0009898L)
 #endif
 
 #ifndef STATUS_INVALID_SIGNATURE
-  #define STATUS_INVALID_SIGNATURE ((NTSTATUS) 0xC000A000L)
+define STATUS_INVALID_SIGNATURE ((NTSTATUS) 0xC000A000L)
 #endif
 
 #ifndef STATUS_HMAC_NOT_SUPPORTED
-  #define STATUS_HMAC_NOT_SUPPORTED ((NTSTATUS) 0xC000A001L)
+define STATUS_HMAC_NOT_SUPPORTED ((NTSTATUS) 0xC000A001L)
 #endif
 
 #ifndef STATUS_AUTH_TAG_MISMATCH
-  #define STATUS_AUTH_TAG_MISMATCH ((NTSTATUS) 0xC000A002L)
+define STATUS_AUTH_TAG_MISMATCH ((NTSTATUS) 0xC000A002L)
 #endif
 
 #ifndef STATUS_IPSEC_QUEUE_OVERFLOW
-  #define STATUS_IPSEC_QUEUE_OVERFLOW ((NTSTATUS) 0xC000A010L)
+define STATUS_IPSEC_QUEUE_OVERFLOW ((NTSTATUS) 0xC000A010L)
 #endif
 
 #ifndef STATUS_ND_QUEUE_OVERFLOW
-  #define STATUS_ND_QUEUE_OVERFLOW ((NTSTATUS) 0xC000A011L)
+define STATUS_ND_QUEUE_OVERFLOW ((NTSTATUS) 0xC000A011L)
 #endif
 
 #ifndef STATUS_HOPLIMIT_EXCEEDED
-  #define STATUS_HOPLIMIT_EXCEEDED ((NTSTATUS) 0xC000A012L)
+define STATUS_HOPLIMIT_EXCEEDED ((NTSTATUS) 0xC000A012L)
 #endif
 
 #ifndef STATUS_PROTOCOL_NOT_SUPPORTED
-  #define STATUS_PROTOCOL_NOT_SUPPORTED ((NTSTATUS) 0xC000A013L)
+define STATUS_PROTOCOL_NOT_SUPPORTED ((NTSTATUS) 0xC000A013L)
 #endif
 
 #ifndef STATUS_FASTPATH_REJECTED
-  #define STATUS_FASTPATH_REJECTED ((NTSTATUS) 0xC000A014L)
+define STATUS_FASTPATH_REJECTED ((NTSTATUS) 0xC000A014L)
 #endif
 
 #ifndef STATUS_LOST_WRITEBEHIND_DATA_NETWORK_DISCONNECTED
-  #define STATUS_LOST_WRITEBEHIND_DATA_NETWORK_DISCONNECTED ((NTSTATUS) 0xC000A080L)
+define STATUS_LOST_WRITEBEHIND_DATA_NETWORK_DISCONNECTED ((NTSTATUS) 0xC000A080L)
 #endif
 
 #ifndef STATUS_LOST_WRITEBEHIND_DATA_NETWORK_SERVER_ERROR
-  #define STATUS_LOST_WRITEBEHIND_DATA_NETWORK_SERVER_ERROR ((NTSTATUS) 0xC000A081L)
+define STATUS_LOST_WRITEBEHIND_DATA_NETWORK_SERVER_ERROR ((NTSTATUS) 0xC000A081L)
 #endif
 
 #ifndef STATUS_LOST_WRITEBEHIND_DATA_LOCAL_DISK_ERROR
-  #define STATUS_LOST_WRITEBEHIND_DATA_LOCAL_DISK_ERROR ((NTSTATUS) 0xC000A082L)
+define STATUS_LOST_WRITEBEHIND_DATA_LOCAL_DISK_ERROR ((NTSTATUS) 0xC000A082L)
 #endif
 
 #ifndef STATUS_XML_PARSE_ERROR
-  #define STATUS_XML_PARSE_ERROR ((NTSTATUS) 0xC000A083L)
+define STATUS_XML_PARSE_ERROR ((NTSTATUS) 0xC000A083L)
 #endif
 
 #ifndef STATUS_XMLDSIG_ERROR
-  #define STATUS_XMLDSIG_ERROR ((NTSTATUS) 0xC000A084L)
+define STATUS_XMLDSIG_ERROR ((NTSTATUS) 0xC000A084L)
 #endif
 
 #ifndef STATUS_WRONG_COMPARTMENT
-  #define STATUS_WRONG_COMPARTMENT ((NTSTATUS) 0xC000A085L)
+define STATUS_WRONG_COMPARTMENT ((NTSTATUS) 0xC000A085L)
 #endif
 
 #ifndef STATUS_AUTHIP_FAILURE
-  #define STATUS_AUTHIP_FAILURE ((NTSTATUS) 0xC000A086L)
+define STATUS_AUTHIP_FAILURE ((NTSTATUS) 0xC000A086L)
 #endif
 
 #ifndef STATUS_DS_OID_MAPPED_GROUP_CANT_HAVE_MEMBERS
-  #define STATUS_DS_OID_MAPPED_GROUP_CANT_HAVE_MEMBERS ((NTSTATUS) 0xC000A087L)
+define STATUS_DS_OID_MAPPED_GROUP_CANT_HAVE_MEMBERS ((NTSTATUS) 0xC000A087L)
 #endif
 
 #ifndef STATUS_DS_OID_NOT_FOUND
-  #define STATUS_DS_OID_NOT_FOUND ((NTSTATUS) 0xC000A088L)
+define STATUS_DS_OID_NOT_FOUND ((NTSTATUS) 0xC000A088L)
 #endif
 
 #ifndef STATUS_HASH_NOT_SUPPORTED
-  #define STATUS_HASH_NOT_SUPPORTED ((NTSTATUS) 0xC000A100L)
+define STATUS_HASH_NOT_SUPPORTED ((NTSTATUS) 0xC000A100L)
 #endif
 
 #ifndef STATUS_HASH_NOT_PRESENT
-  #define STATUS_HASH_NOT_PRESENT ((NTSTATUS) 0xC000A101L)
+define STATUS_HASH_NOT_PRESENT ((NTSTATUS) 0xC000A101L)
 #endif
 
 #ifndef NTSTATUS_FROM_WIN32
-  #define NTSTATUS_FROM_WIN32(error) ((NTSTATUS) (error) <= 0 ? \
-          ((NTSTATUS) (error)) : ((NTSTATUS) (((error) & 0x0000FFFF) | \
-          (FACILITY_NTWIN32 << 16) | ERROR_SEVERITY_ERROR)))
+define NTSTATUS_FROM_WIN32(error) ((NTSTATUS) (error) <= 0 ? \
+         ((NTSTATUS) (error)) : ((NTSTATUS) (((error) & 0x0000FFFF) | \
+         (FACILITY_NTWIN32 << 16) | ERROR_SEVERITY_ERROR)))
 #endif
 
 /* from ntifs.h */
-typedef struct _REPARSE_DATA_BUFFER {
-  ULONG  ReparseTag;
-  USHORT ReparseDataLength;
-  USHORT Reserved;
-  union {
-    struct {
-      USHORT SubstituteNameOffset;
-      USHORT SubstituteNameLength;
-      USHORT PrintNameOffset;
-      USHORT PrintNameLength;
-      ULONG Flags;
-      WCHAR PathBuffer[1];
-    } SymbolicLinkReparseBuffer;
-    struct {
-      USHORT SubstituteNameOffset;
-      USHORT SubstituteNameLength;
-      USHORT PrintNameOffset;
-      USHORT PrintNameLength;
-      WCHAR PathBuffer[1];
-    } MountPointReparseBuffer;
-    struct {
-      UCHAR  DataBuffer[1];
-    } GenericReparseBuffer;
-  } DUMMYUNIONNAME;
-} REPARSE_DATA_BUFFER, *PREPARSE_DATA_BUFFER;
+/* MinGW already has it */
+#ifndef __MINGW32__
+  typedef struct _REPARSE_DATA_BUFFER {
+    ULONG  ReparseTag;
+    USHORT ReparseDataLength;
+    USHORT Reserved;
+    union {
+      struct {
+        USHORT SubstituteNameOffset;
+        USHORT SubstituteNameLength;
+        USHORT PrintNameOffset;
+        USHORT PrintNameLength;
+        ULONG Flags;
+        WCHAR PathBuffer[1];
+      } SymbolicLinkReparseBuffer;
+      struct {
+        USHORT SubstituteNameOffset;
+        USHORT SubstituteNameLength;
+        USHORT PrintNameOffset;
+        USHORT PrintNameLength;
+        WCHAR PathBuffer[1];
+      } MountPointReparseBuffer;
+      struct {
+        UCHAR  DataBuffer[1];
+      } GenericReparseBuffer;
+    } DUMMYUNIONNAME;
+  } REPARSE_DATA_BUFFER, *PREPARSE_DATA_BUFFER;
+#endif
 
 typedef struct _IO_STATUS_BLOCK {
   union {
@@ -4190,6 +4193,75 @@ typedef enum _FILE_INFORMATION_CLASS {
   FileMaximumInformation
 } FILE_INFORMATION_CLASS, *PFILE_INFORMATION_CLASS;
 
+#ifndef DEVICE_TYPE
+# define DEVICE_TYPE DWORD
+#endif
+
+#ifndef FILE_DEVICE_FILE_SYSTEM
+# define FILE_DEVICE_FILE_SYSTEM 0x00000009
+#endif
+
+#ifndef METHOD_BUFFERED
+# define METHOD_BUFFERED 0
+#endif
+
+#ifndef METHOD_IN_DIRECT
+# define METHOD_IN_DIRECT 1
+#endif
+
+#ifndef METHOD_OUT_DIRECT
+# define METHOD_OUT_DIRECT 2
+#endif
+
+#ifndef METHOD_NEITHER
+#define METHOD_NEITHER 3
+#endif
+
+#ifndef METHOD_DIRECT_TO_HARDWARE
+# define METHOD_DIRECT_TO_HARDWARE METHOD_IN_DIRECT
+#endif
+
+#ifndef METHOD_DIRECT_FROM_HARDWARE
+# define METHOD_DIRECT_FROM_HARDWARE METHOD_OUT_DIRECT
+#endif
+
+#ifndef FILE_ANY_ACCESS
+# define FILE_ANY_ACCESS 0
+#endif
+
+#ifndef FILE_SPECIAL_ACCESS
+# define FILE_SPECIAL_ACCESS (FILE_ANY_ACCESS)
+#endif
+
+#ifndef FILE_READ_ACCESS
+# define FILE_READ_ACCESS 0x0001
+#endif
+
+#ifndef FILE_WRITE_ACCESS
+# define FILE_WRITE_ACCESS 0x0002
+#endif
+
+#ifndef FSCTL_SET_REPARSE_POINT
+# define FSCTL_SET_REPARSE_POINT CTL_CODE(FILE_DEVICE_FILE_SYSTEM,            \
+                                          41,                                 \
+                                          METHOD_BUFFERED,                    \
+                                          FILE_SPECIAL_ACCESS)
+#endif
+
+#ifndef FSCTL_GET_REPARSE_POINT
+# define FSCTL_GET_REPARSE_POINT CTL_CODE(FILE_DEVICE_FILE_SYSTEM,            \
+                                          42,                                 \
+                                          METHOD_BUFFERED,                    \
+                                          FILE_ANY_ACCESS)
+#endif
+
+#ifndef FSCTL_DELETE_REPARSE_POINT
+# define FSCTL_DELETE_REPARSE_POINT CTL_CODE(FILE_DEVICE_FILE_SYSTEM,         \
+                                             43,                              \
+                                             METHOD_BUFFERED,                 \
+                                             FILE_SPECIAL_ACCESS)
+#endif
+
 typedef ULONG (NTAPI *sRtlNtStatusToDosError)
               (NTSTATUS Status);
 
@@ -4207,6 +4279,7 @@ typedef NTSTATUS (NTAPI *sNtSetInformationFile)
                   ULONG Length,
                   FILE_INFORMATION_CLASS FileInformationClass);
 
+
 /*
  * Kernel32 headers
  */
index 283ff2b..a187869 100644 (file)
 /* Actual tests and helpers are defined in test-list.h */
 #include "test-list.h"
 
-
 /* The time in milliseconds after which a single test times out. */
 #define TEST_TIMEOUT  5000
 
 static int maybe_run_test(int argc, char **argv);
-static void list_all_tests(void);
 
 
 int main(int argc, char **argv) {
index b1c9886..aaf262c 100644 (file)
@@ -31,7 +31,9 @@
 #include <sys/stat.h>
 
 
-#if !UNIX
+#if UNIX
+#include <unistd.h> /* unlink, rmdir, etc. */
+#else
 # include <direct.h>
 # include <io.h>
 # define unlink _unlink
@@ -421,6 +423,11 @@ static void check_utime(const char* path, double atime, double mtime) {
 #if _WIN32
   ASSERT(s->st_atime == atime);
   ASSERT(s->st_mtime == mtime);
+#elif !defined(_POSIX_C_SOURCE) || defined(_DARWIN_C_SOURCE)
+  ASSERT(s->st_atimespec.tv_sec  == atime);
+  ASSERT(s->st_atimespec.tv_nsec == 0); /* FIXME check sub-second precision */
+  ASSERT(s->st_mtimespec.tv_sec  == mtime);
+  ASSERT(s->st_mtimespec.tv_nsec == 0); /* FIXME check sub-second precision */
 #else
   ASSERT(s->st_atim.tv_sec  == atime);
   ASSERT(s->st_atim.tv_nsec == 0); /* FIXME check sub-second precision */
index 1dc8556..9dd2676 100644 (file)
@@ -30,15 +30,25 @@ TEST_IMPL(get_currentexe) {
   char buffer[PATHMAX];
   size_t size;
   char* match;
+  char* path;
   int r;
 
   size = sizeof(buffer) / sizeof(buffer[0]);
   r = uv_exepath(buffer, &size);
   ASSERT(!r);
 
-  match = strstr(buffer, executable_path);
+  /* uv_exepath can return an absolute path on darwin, so if the test runner
+   * was run with a relative prefix of "./", we need to strip that prefix off
+   * executable_path or we'll fail. */
+  if (executable_path[0] == '.' && executable_path[1] == '/') {
+    path = executable_path + 2;
+  } else {
+    path = executable_path;
+  }
+
+  match = strstr(buffer, path);
   /* Verify that the path returned from uv_exepath is a subdirectory of executable_path */
-  ASSERT(match && !strcmp(match, executable_path));
+  ASSERT(match && !strcmp(match, path));
   ASSERT(size == strlen(buffer));
 
   /* Negative tests */
index 0c74310..d510be2 100644 (file)
@@ -31,6 +31,7 @@ TEST_DECLARE   (tcp_bind_error_fault)
 TEST_DECLARE   (tcp_bind_error_inval)
 TEST_DECLARE   (tcp_bind_localhost_ok)
 TEST_DECLARE   (tcp_listen_without_bind)
+TEST_DECLARE   (tcp_close)
 TEST_DECLARE   (tcp_bind6_error_addrinuse)
 TEST_DECLARE   (tcp_bind6_error_addrnotavail)
 TEST_DECLARE   (tcp_bind6_error_fault)
@@ -117,6 +118,7 @@ TASK_LIST_START
   TEST_ENTRY  (tcp_bind_error_inval)
   TEST_ENTRY  (tcp_bind_localhost_ok)
   TEST_ENTRY  (tcp_listen_without_bind)
+  TEST_ENTRY  (tcp_close)
 
   TEST_ENTRY  (tcp_bind6_error_addrinuse)
   TEST_ENTRY  (tcp_bind6_error_addrnotavail)
index 1398774..7255975 100644 (file)
 #include "task.h"
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 
 static int close_cb_called;
 static int exit_cb_called;
 static uv_process_t process;
 static uv_timer_t timer;
-static uv_process_options_t options = { 0 };
+static uv_process_options_t options;
 static char exepath[1024];
 static size_t exepath_size = 1024;
 static char* args[3];
diff --git a/deps/uv/test/test-tcp-close.c b/deps/uv/test/test-tcp-close.c
new file mode 100644 (file)
index 0000000..3f39393
--- /dev/null
@@ -0,0 +1,130 @@
+/* Copyright Joyent, Inc. and other Node contributors. All rights reserved.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to
+ * deal in the Software without restriction, including without limitation the
+ * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
+ * sell copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
+ * IN THE SOFTWARE.
+ */
+
+#include "uv.h"
+#include "task.h"
+
+#include <errno.h>
+#include <string.h> /* memset */
+
+#define NUM_WRITE_REQS 32
+
+static uv_tcp_t tcp_handle;
+static uv_connect_t connect_req;
+
+static int write_cb_called;
+static int close_cb_called;
+
+static void connect_cb(uv_connect_t* req, int status);
+static void write_cb(uv_write_t* req, int status);
+static void close_cb(uv_handle_t* handle);
+
+
+static void connect_cb(uv_connect_t* conn_req, int status) {
+  uv_write_t* req;
+  uv_buf_t buf;
+  int i, r;
+
+  buf = uv_buf_init("PING", 4);
+  for (i = 0; i < NUM_WRITE_REQS; i++) {
+    req = malloc(sizeof *req);
+    ASSERT(req != NULL);
+
+    r = uv_write(req, (uv_stream_t*)&tcp_handle, &buf, 1, write_cb);
+    ASSERT(r == 0);
+  }
+
+  uv_close((uv_handle_t*)&tcp_handle, close_cb);
+}
+
+
+static void write_cb(uv_write_t* req, int status) {
+  /* write callbacks should run before the close callback */
+  ASSERT(close_cb_called == 0);
+  ASSERT(req->handle == (uv_stream_t*)&tcp_handle);
+  write_cb_called++;
+  free(req);
+}
+
+
+static void close_cb(uv_handle_t* handle) {
+  ASSERT(handle == (uv_handle_t*)&tcp_handle);
+  close_cb_called++;
+}
+
+
+static void connection_cb(uv_stream_t* server, int status) {
+  ASSERT(status == 0);
+}
+
+
+static void start_server(uv_loop_t* loop, uv_tcp_t* handle) {
+  int r;
+
+  r = uv_tcp_init(loop, handle);
+  ASSERT(r == 0);
+
+  r = uv_tcp_bind(handle, uv_ip4_addr("127.0.0.1", TEST_PORT));
+  ASSERT(r == 0);
+
+  r = uv_listen((uv_stream_t*)handle, 128, connection_cb);
+  ASSERT(r == 0);
+
+  uv_unref(loop);
+}
+
+
+/* Check that pending write requests have their callbacks
+ * invoked when the handle is closed.
+ */
+TEST_IMPL(tcp_close) {
+  uv_loop_t* loop;
+  uv_tcp_t tcp_server;
+  int r;
+
+  uv_init();
+  loop = uv_default_loop();
+
+  /* We can't use the echo server, it doesn't handle ECONNRESET. */
+  start_server(loop, &tcp_server);
+
+  r = uv_tcp_init(loop, &tcp_handle);
+  ASSERT(r == 0);
+
+  r = uv_tcp_connect(&connect_req,
+                     &tcp_handle,
+                     uv_ip4_addr("127.0.0.1", TEST_PORT),
+                     connect_cb);
+  ASSERT(r == 0);
+
+  ASSERT(write_cb_called == 0);
+  ASSERT(close_cb_called == 0);
+
+  r = uv_run(loop);
+  ASSERT(r == 0);
+
+  printf("%d of %d write reqs seen\n", write_cb_called, NUM_WRITE_REQS);
+
+  ASSERT(write_cb_called == NUM_WRITE_REQS);
+  ASSERT(close_cb_called == 1);
+
+  return 0;
+}
index 22348e4..709f6b6 100644 (file)
@@ -88,7 +88,6 @@
           'include_dirs': [
             'src/ares/config_win32'
           ],
-          'sources': [ 'src/ares/windows_port.c' ],
           'defines': [
             '_WIN32_WINNT=0x0502',
             'EIO_STACKSIZE=262144',
@@ -98,6 +97,7 @@
             'include/uv-private/tree.h',
             'include/uv-private/uv-win.h',
             'src/ares/config_win32/ares_config.h',
+            'src/ares/windows_port.c',
             'src/win/async.c',
             'src/win/cares.c',
             'src/win/core.c',
         'test/test-spawn.c',
         'test/test-tcp-bind-error.c',
         'test/test-tcp-bind6-error.c',
+        'test/test-tcp-close.c',
         'test/test-tcp-writealot.c',
         'test/test-threadpool.c',
         'test/test-timer-again.c',