mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 09:50:02 +00:00
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:
parent
4903d69f54
commit
6811934f2a
3 changed files with 3 additions and 14 deletions
|
@ -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,
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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*/
|
|
Loading…
Reference in a new issue