Commit 769cc264 authored by Aric Stewart's avatar Aric Stewart Committed by Alexandre Julliard

winehid.sys: Add HID minidriver.

parent d42332c1
...@@ -122,6 +122,7 @@ HID support ...@@ -122,6 +122,7 @@ HID support
M: Aric Stewart <aric@codeweavers.com> M: Aric Stewart <aric@codeweavers.com>
F: dlls/hid/ F: dlls/hid/
F: dlls/hidclass.sys/ F: dlls/hidclass.sys/
F: dlls/winehid.sys/
HTML rendering (Gecko) HTML rendering (Gecko)
M: Jacek Caban <jacek@codeweavers.com> M: Jacek Caban <jacek@codeweavers.com>
......
...@@ -1424,6 +1424,7 @@ enable_winebus_sys ...@@ -1424,6 +1424,7 @@ enable_winebus_sys
enable_winecoreaudio_drv enable_winecoreaudio_drv
enable_wined3d enable_wined3d
enable_winegstreamer enable_winegstreamer
enable_winehid_sys
enable_winejoystick_drv enable_winejoystick_drv
enable_winemac_drv enable_winemac_drv
enable_winemapi enable_winemapi
...@@ -18333,6 +18334,7 @@ wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv ...@@ -18333,6 +18334,7 @@ wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
wine_fn_config_lib winecrt0 wine_fn_config_lib winecrt0
wine_fn_config_dll wined3d enable_wined3d implib wine_fn_config_dll wined3d enable_wined3d implib
wine_fn_config_dll winegstreamer enable_winegstreamer wine_fn_config_dll winegstreamer enable_winegstreamer
wine_fn_config_dll winehid.sys enable_winehid_sys
wine_fn_config_dll winejoystick.drv enable_winejoystick_drv wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
wine_fn_config_dll winemac.drv enable_winemac_drv clean wine_fn_config_dll winemac.drv enable_winemac_drv clean
wine_fn_config_dll winemapi enable_winemapi wine_fn_config_dll winemapi enable_winemapi
......
...@@ -3423,6 +3423,7 @@ WINE_CONFIG_DLL(winecoreaudio.drv) ...@@ -3423,6 +3423,7 @@ WINE_CONFIG_DLL(winecoreaudio.drv)
WINE_CONFIG_LIB(winecrt0) WINE_CONFIG_LIB(winecrt0)
WINE_CONFIG_DLL(wined3d,,[implib]) WINE_CONFIG_DLL(wined3d,,[implib])
WINE_CONFIG_DLL(winegstreamer) WINE_CONFIG_DLL(winegstreamer)
WINE_CONFIG_DLL(winehid.sys)
WINE_CONFIG_DLL(winejoystick.drv) WINE_CONFIG_DLL(winejoystick.drv)
WINE_CONFIG_DLL(winemac.drv,,[clean]) WINE_CONFIG_DLL(winemac.drv,,[clean])
WINE_CONFIG_DLL(winemapi) WINE_CONFIG_DLL(winemapi)
......
MODULE = winehid.sys
EXTRADLLFLAGS = -Wb,--subsystem,native
C_SRCS = \
main.c
/*
* WINE Hid minidriver
*
* Copyright 2016 Aric Stewart
*
* 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 "windef.h"
#include "winbase.h"
#include "winternl.h"
#include "ddk/wdm.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(hid);
NTSTATUS WINAPI DriverEntry(DRIVER_OBJECT *driver, UNICODE_STRING *path)
{
TRACE("(%p, %s)\n", driver, debugstr_w(path->Buffer));
return STATUS_SUCCESS;
}
...@@ -131,6 +131,7 @@ AddService=LanmanServer,0,LanmanServerService ...@@ -131,6 +131,7 @@ AddService=LanmanServer,0,LanmanServerService
AddService=FontCache,0,FontCacheService AddService=FontCache,0,FontCacheService
AddService=Schedule,0,TaskSchedulerService AddService=Schedule,0,TaskSchedulerService
AddService=WineBus,0,WineBusService AddService=WineBus,0,WineBusService
AddService=WineHID,0,WineHIDService
[DefaultInstall.NT.Services] [DefaultInstall.NT.Services]
AddService=BITS,0,BITSService AddService=BITS,0,BITSService
...@@ -146,6 +147,7 @@ AddService=LanmanServer,0,LanmanServerService ...@@ -146,6 +147,7 @@ AddService=LanmanServer,0,LanmanServerService
AddService=FontCache,0,FontCacheService AddService=FontCache,0,FontCacheService
AddService=Schedule,0,TaskSchedulerService AddService=Schedule,0,TaskSchedulerService
AddService=WineBus,0,WineBusService AddService=WineBus,0,WineBusService
AddService=WineHID,0,WineHIDService
[DefaultInstall.ntamd64.Services] [DefaultInstall.ntamd64.Services]
AddService=BITS,0,BITSService AddService=BITS,0,BITSService
...@@ -161,6 +163,7 @@ AddService=LanmanServer,0,LanmanServerService ...@@ -161,6 +163,7 @@ AddService=LanmanServer,0,LanmanServerService
AddService=FontCache,0,FontCacheService AddService=FontCache,0,FontCacheService
AddService=Schedule,0,TaskSchedulerService AddService=Schedule,0,TaskSchedulerService
AddService=WineBus,0,WineBusService AddService=WineBus,0,WineBusService
AddService=WineHID,0,WineHIDService
[Strings] [Strings]
MciExtStr="Software\Microsoft\Windows NT\CurrentVersion\MCI Extensions" MciExtStr="Software\Microsoft\Windows NT\CurrentVersion\MCI Extensions"
...@@ -2530,6 +2533,7 @@ HKLM,%CurrentVersion%\Telephony\Country List\998,"SameAreaRule",,"G" ...@@ -2530,6 +2533,7 @@ HKLM,%CurrentVersion%\Telephony\Country List\998,"SameAreaRule",,"G"
12,,ndis.sys,- 12,,ndis.sys,-
12,,tdi.sys,- 12,,tdi.sys,-
12,,winebus.sys,- 12,,winebus.sys,-
12,,winehid.sys,-
; skip .NET fake dlls in Wine Mono package ; skip .NET fake dlls in Wine Mono package
11,,aspnet_regiis.exe,- 11,,aspnet_regiis.exe,-
11,,ngen.exe,- 11,,ngen.exe,-
...@@ -2573,6 +2577,7 @@ HKLM,%CurrentVersion%\Telephony\Country List\998,"SameAreaRule",,"G" ...@@ -2573,6 +2577,7 @@ HKLM,%CurrentVersion%\Telephony\Country List\998,"SameAreaRule",,"G"
12,,ndis.sys 12,,ndis.sys
12,,tdi.sys 12,,tdi.sys
12,,winebus.sys 12,,winebus.sys
12,,winehid.sys
; skip .NET fake dlls in Wine Mono package ; skip .NET fake dlls in Wine Mono package
11,,aspnet_regiis.exe,- 11,,aspnet_regiis.exe,-
11,,ngen.exe,- 11,,ngen.exe,-
...@@ -3198,6 +3203,15 @@ ServiceType=1 ...@@ -3198,6 +3203,15 @@ ServiceType=1
StartType=3 StartType=3
ErrorControl=1 ErrorControl=1
[WineHIDService]
Description="Wine HID Minidriver"
DisplayName="Wine HID"
ServiceBinary="%12%\winehid.sys"
LoadOrderGroup="WinePlugPlay"
ServiceType=1
StartType=3
ErrorControl=1
[SpoolerService] [SpoolerService]
Description="Loads files to memory for later printing" Description="Loads files to memory for later printing"
DisplayName="Print Spooler" DisplayName="Print Spooler"
......
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