Commit 8fe1c9e1 authored by Paul Gofman's avatar Paul Gofman Committed by Alexandre Julliard

netio.sys: Add driver stub.

parent d0d1601e
......@@ -1489,6 +1489,7 @@ enable_nddeapi
enable_ndis_sys
enable_netapi32
enable_netcfgx
enable_netio_sys
enable_netprofm
enable_newdev
enable_ninput
......@@ -20930,6 +20931,7 @@ wine_fn_config_makefile dlls/netapi32 enable_netapi32
wine_fn_config_makefile dlls/netapi32/tests enable_tests
wine_fn_config_makefile dlls/netcfgx enable_netcfgx
wine_fn_config_makefile dlls/netcfgx/tests enable_tests
wine_fn_config_makefile dlls/netio.sys enable_netio_sys
wine_fn_config_makefile dlls/netprofm enable_netprofm
wine_fn_config_makefile dlls/netprofm/tests enable_tests
wine_fn_config_makefile dlls/newdev enable_newdev
......
......@@ -3552,6 +3552,7 @@ WINE_CONFIG_MAKEFILE(dlls/netapi32)
WINE_CONFIG_MAKEFILE(dlls/netapi32/tests)
WINE_CONFIG_MAKEFILE(dlls/netcfgx)
WINE_CONFIG_MAKEFILE(dlls/netcfgx/tests)
WINE_CONFIG_MAKEFILE(dlls/netio.sys)
WINE_CONFIG_MAKEFILE(dlls/netprofm)
WINE_CONFIG_MAKEFILE(dlls/netprofm/tests)
WINE_CONFIG_MAKEFILE(dlls/newdev)
......
MODULE = netio.sys
IMPORTLIB = netio
IMPORTS = ntoskrnl
EXTRADLLFLAGS = -mno-cygwin -Wl,--subsystem,native
C_SRCS = \
netio.c
/*
* WSK (Winsock Kernel) driver library.
*
* Copyright 2020 Paul Gofman <pgofman@codeweavers.com> for Codeweavers
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <stdarg.h>
#define NONAMELESSUNION
#define NONAMELESSSTRUCT
#include "ntstatus.h"
#define WIN32_NO_STATUS
#include "windef.h"
#include "winioctl.h"
#include "winternl.h"
#include "ddk/wdm.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(netio);
static void WINAPI driver_unload(DRIVER_OBJECT *driver)
{
TRACE("driver %p.\n", driver);
}
NTSTATUS WINAPI DriverEntry(DRIVER_OBJECT *driver, UNICODE_STRING *path)
{
TRACE("driver %p, path %s.\n", driver, debugstr_w(path->Buffer));
driver->DriverUnload = driver_unload;
return STATUS_SUCCESS;
}
......@@ -2617,6 +2617,7 @@ HKLM,%CurrentVersion%\Telephony\Country List\998,"SameAreaRule",,"G"
12,,ksecdd.sys,-
12,,mountmgr.sys,-
12,,ndis.sys,-
12,,netio.sys,-
12,,scsiport.sys,-
12,,tdi.sys,-
12,,usbd.sys,-
......@@ -2673,6 +2674,7 @@ HKLM,%CurrentVersion%\Telephony\Country List\998,"SameAreaRule",,"G"
12,,ksecdd.sys
12,,mountmgr.sys
12,,ndis.sys
12,,netio.sys
12,,scsiport.sys
12,,tdi.sys
12,,usbd.sys
......
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