For now, I changed the _WIN32_WINNT level in iphlpapi_private.h. This will

probably need to be changed.

svn path=/trunk/; revision=8384
This commit is contained in:
Art Yerkes 2004-02-25 21:41:31 +00:00
parent 4903d69f54
commit 6811934f2a
3 changed files with 3 additions and 14 deletions

View file

@ -76,7 +76,7 @@ NTSTATUS openTcpFile(PHANDLE tcpFile) {
NULL, NULL,
NULL ); NULL );
status = NtCreateFile( tcpFile, status = ZwCreateFile( tcpFile,
SYNCHRONIZE | GENERIC_EXECUTE, SYNCHRONIZE | GENERIC_EXECUTE,
&objectAttributes, &objectAttributes,
&ioStatusBlock, &ioStatusBlock,

View file

@ -19,8 +19,8 @@
# include <resolv.h> # include <resolv.h>
#endif #endif
#define NTOS_MODE_USER #undef _WIN32_WINNT
#include <ntos.h> #define _WIN32_WINNT 0x500
#include <ddk/ntddk.h> #include <ddk/ntddk.h>
#include <rosrtl/string.h> #include <rosrtl/string.h>
#include <ntdll/rtl.h> #include <ntdll/rtl.h>

View file

@ -1,11 +0,0 @@
#ifndef _IPHLPAPIEXTRA_H
#define _IPHLPAPIEXTRA_H
#include <w32api.h>
/* This is here until we switch to version 2.5 of the mingw headers */
#if (__W32API_MAJOR_VERSION < 2 || __W32API_MINOR_VERSION < 5)
BOOL WINAPI
GetComputerNameExA(COMPUTER_NAME_FORMAT,LPSTR,LPDWORD);
#endif
#endif/*_IPHLPAPIEXTRA_H*/