Commit e9ed2f31 authored by Juan Lang's avatar Juan Lang Committed by Alexandre Julliard

- The virtual netbios device driver is properly named vnbt.vxd, not

vnb.vxd. - Make it not depend on UNIX includes.
parent 82f08b8a
...@@ -1599,7 +1599,7 @@ dlls/uxtheme/Makefile ...@@ -1599,7 +1599,7 @@ dlls/uxtheme/Makefile
dlls/vdhcp.vxd/Makefile dlls/vdhcp.vxd/Makefile
dlls/version/Makefile dlls/version/Makefile
dlls/vmm.vxd/Makefile dlls/vmm.vxd/Makefile
dlls/vnb.vxd/Makefile dlls/vnbt.vxd/Makefile
dlls/vnetbios.vxd/Makefile dlls/vnetbios.vxd/Makefile
dlls/vtdapi.vxd/Makefile dlls/vtdapi.vxd/Makefile
dlls/vwin32.vxd/Makefile dlls/vwin32.vxd/Makefile
......
...@@ -116,7 +116,7 @@ BASEDIRS = \ ...@@ -116,7 +116,7 @@ BASEDIRS = \
vdhcp.vxd \ vdhcp.vxd \
version \ version \
vmm.vxd \ vmm.vxd \
vnb.vxd \ vnbt.vxd \
vnetbios.vxd \ vnetbios.vxd \
vtdapi.vxd \ vtdapi.vxd \
vwin32.vxd \ vwin32.vxd \
...@@ -332,7 +332,7 @@ SYMLINKS = \ ...@@ -332,7 +332,7 @@ SYMLINKS = \
vdhcp.vxd$(DLLEXT) \ vdhcp.vxd$(DLLEXT) \
version.dll$(DLLEXT) \ version.dll$(DLLEXT) \
vmm.vxd$(DLLEXT) \ vmm.vxd$(DLLEXT) \
vnb.vxd$(DLLEXT) \ vnbt.vxd$(DLLEXT) \
vnetbios.vxd$(DLLEXT) \ vnetbios.vxd$(DLLEXT) \
vtdapi.vxd$(DLLEXT) \ vtdapi.vxd$(DLLEXT) \
vwin32.vxd$(DLLEXT) \ vwin32.vxd$(DLLEXT) \
...@@ -764,8 +764,8 @@ ver.dll$(DLLEXT) : version.dll$(DLLEXT) ...@@ -764,8 +764,8 @@ ver.dll$(DLLEXT) : version.dll$(DLLEXT)
vmm.vxd$(DLLEXT): vmm.vxd/vmm.vxd$(DLLEXT) vmm.vxd$(DLLEXT): vmm.vxd/vmm.vxd$(DLLEXT)
$(RM) $@ && $(LN_S) vmm.vxd/vmm.vxd$(DLLEXT) $@ $(RM) $@ && $(LN_S) vmm.vxd/vmm.vxd$(DLLEXT) $@
vnb.vxd$(DLLEXT): vnb.vxd/vnb.vxd$(DLLEXT) vnbt.vxd$(DLLEXT): vnbt.vxd/vnbt.vxd$(DLLEXT)
$(RM) $@ && $(LN_S) vnb.vxd/vnb.vxd$(DLLEXT) $@ $(RM) $@ && $(LN_S) vnbt.vxd/vnbt.vxd$(DLLEXT) $@
vnetbios.vxd$(DLLEXT): vnetbios.vxd/vnetbios.vxd$(DLLEXT) vnetbios.vxd$(DLLEXT): vnetbios.vxd/vnetbios.vxd$(DLLEXT)
$(RM) $@ && $(LN_S) vnetbios.vxd/vnetbios.vxd$(DLLEXT) $@ $(RM) $@ && $(LN_S) vnetbios.vxd/vnetbios.vxd$(DLLEXT) $@
...@@ -1786,7 +1786,7 @@ uxtheme/uxtheme.dll$(DLLEXT): uxtheme ...@@ -1786,7 +1786,7 @@ uxtheme/uxtheme.dll$(DLLEXT): uxtheme
vdhcp.vxd/vdhcp.vxd$(DLLEXT): vdhcp.vxd vdhcp.vxd/vdhcp.vxd$(DLLEXT): vdhcp.vxd
version/version.dll$(DLLEXT): version version/version.dll$(DLLEXT): version
vmm.vxd/vmm.vxd$(DLLEXT): vmm.vxd vmm.vxd/vmm.vxd$(DLLEXT): vmm.vxd
vnb.vxd/vnb.vxd$(DLLEXT): vnb.vxd vnbt.vxd/vnbt.vxd$(DLLEXT): vnbt.vxd
vnetbios.vxd/vnetbios.vxd$(DLLEXT): vnetbios.vxd vnetbios.vxd/vnetbios.vxd$(DLLEXT): vnetbios.vxd
vtdapi.vxd/vtdapi.vxd$(DLLEXT): vtdapi.vxd vtdapi.vxd/vtdapi.vxd$(DLLEXT): vtdapi.vxd
vwin32.vxd/vwin32.vxd$(DLLEXT): vwin32.vxd vwin32.vxd/vwin32.vxd$(DLLEXT): vwin32.vxd
......
Makefile
vnb.vxd.dbg.c
vnb.vxd.spec.c
@ stdcall DeviceIoControl(long ptr long ptr long ptr ptr) VNB_DeviceIoControl
Makefile
vnbt.vxd.dbg.c
vnbt.vxd.spec.c
...@@ -2,11 +2,11 @@ TOPSRCDIR = @top_srcdir@ ...@@ -2,11 +2,11 @@ TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ../.. TOPOBJDIR = ../..
SRCDIR = @srcdir@ SRCDIR = @srcdir@
VPATH = @srcdir@ VPATH = @srcdir@
MODULE = vnb.vxd MODULE = vnbt.vxd
IMPORTS = iphlpapi kernel32 IMPORTS = iphlpapi kernel32
C_SRCS = \ C_SRCS = \
vnb.c vnbt.c
@MAKE_DLL_RULES@ @MAKE_DLL_RULES@
......
/* /*
* VNB VxD implementation * VNBT VxD implementation
* *
* Copyright 2003 Juan Lang * Copyright 2003 Juan Lang
* *
...@@ -20,25 +20,11 @@ ...@@ -20,25 +20,11 @@
#include "config.h" #include "config.h"
#include <stdlib.h>
#include <stdarg.h> #include <stdarg.h>
#include <sys/types.h>
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#ifdef HAVE_NETINET_IN_H
# include <netinet/in.h>
#endif
#ifdef HAVE_ARPA_INET_H
# include <arpa/inet.h>
#endif
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include "windef.h" #include "windef.h"
#include "winbase.h" #include "winbase.h"
#include "iphlpapi.h" #include "iphlpapi.h"
#include "winsock2.h"
#include "wine/debug.h" #include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(vxd); WINE_DEFAULT_DEBUG_CHANNEL(vxd);
...@@ -73,7 +59,7 @@ typedef struct _nbtTable ...@@ -73,7 +59,7 @@ typedef struct _nbtTable
/*********************************************************************** /***********************************************************************
* DeviceIoControl (VNB.VXD.@) * DeviceIoControl (VNB.VXD.@)
*/ */
BOOL WINAPI VNB_DeviceIoControl(DWORD dwIoControlCode, BOOL WINAPI VNBT_DeviceIoControl(DWORD dwIoControlCode,
LPVOID lpvInBuffer, DWORD cbInBuffer, LPVOID lpvInBuffer, DWORD cbInBuffer,
LPVOID lpvOutBuffer, DWORD cbOutBuffer, LPVOID lpvOutBuffer, DWORD cbOutBuffer,
LPDWORD lpcbBytesReturned, LPDWORD lpcbBytesReturned,
......
@ stdcall DeviceIoControl(long ptr long ptr long ptr ptr) VNBT_DeviceIoControl
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment