Commit 128dd3be authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

http.sys: New stub driver.

parent fb5b0c64
......@@ -1340,6 +1340,7 @@ enable_hid
enable_hidclass_sys
enable_hlink
enable_hnetcfg
enable_http_sys
enable_httpapi
enable_iccvid
enable_icmp
......@@ -20307,6 +20308,7 @@ wine_fn_config_makefile dlls/hlink enable_hlink
wine_fn_config_makefile dlls/hlink/tests enable_tests
wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
wine_fn_config_makefile dlls/http.sys enable_http_sys
wine_fn_config_makefile dlls/httpapi enable_httpapi
wine_fn_config_makefile dlls/httpapi/tests enable_tests
wine_fn_config_makefile dlls/iccvid enable_iccvid
......
......@@ -3290,6 +3290,7 @@ WINE_CONFIG_MAKEFILE(dlls/hlink)
WINE_CONFIG_MAKEFILE(dlls/hlink/tests)
WINE_CONFIG_MAKEFILE(dlls/hnetcfg)
WINE_CONFIG_MAKEFILE(dlls/hnetcfg/tests)
WINE_CONFIG_MAKEFILE(dlls/http.sys)
WINE_CONFIG_MAKEFILE(dlls/httpapi)
WINE_CONFIG_MAKEFILE(dlls/httpapi/tests)
WINE_CONFIG_MAKEFILE(dlls/iccvid)
......
MODULE = http.sys
IMPORTS = ntoskrnl
EXTRADLLFLAGS = -Wl,--subsystem,native -mno-cygwin
C_SRCS = \
http.c
/*
* HTTP server driver
*
* Copyright 2019 Zebediah Figura
*
* 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>
#include "ntstatus.h"
#define WIN32_NO_STATUS
#include "winternl.h"
#include "ddk/wdm.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(http);
NTSTATUS WINAPI DriverEntry(DRIVER_OBJECT *driver, UNICODE_STRING *path)
{
TRACE("driver %p, path %s.\n", driver, debugstr_w(path->Buffer));
return STATUS_SUCCESS;
}
......@@ -119,6 +119,7 @@ AddReg=\
[DefaultInstall.Services]
AddService=BITS,0,BITSService
AddService=HTTP,0,HTTPService
AddService=MSIServer,0,MSIService
AddService=MountMgr,0x800,MountMgrService
AddService=RpcSs,0,RpcSsService
......@@ -135,6 +136,7 @@ AddService=Winmgmt,0,WinmgmtService
[DefaultInstall.NT.Services]
AddService=BITS,0,BITSService
AddService=HTTP,0,HTTPService
AddService=MSIServer,0,MSIService
AddService=MountMgr,0x800,MountMgrService
AddService=RpcSs,0,RpcSsService
......@@ -151,6 +153,7 @@ AddService=Winmgmt,0,WinmgmtService
[DefaultInstall.ntamd64.Services]
AddService=BITS,0,BITSService
AddService=HTTP,0,HTTPService
AddService=MSIServer,0,MSIService
AddService=MountMgr,0x800,MountMgrService
AddService=RpcSs,0,RpcSsService
......@@ -3434,6 +3437,14 @@ ServiceType=16
StartType=3
ErrorControl=1
[HTTPService]
Description="HTTP server"
DisplayName="HTTP"
ServiceBinary="%12%\http.sys"
ServiceType=1
StartType=3
ErrorControl=1
[MSIService]
Description="MSI Installer Server"
DisplayName="MSIServer"
......
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