usbd.sys: Add stub usbd.sys.
This commit is contained in:
parent
555d8fe053
commit
c177e938ae
|
@ -15613,6 +15613,11 @@ wine_fn_config_test dlls/urlmon/tests urlmon_test
|
|||
wine_fn_config_makefile dlls/urlmon/tests "Maketest.rules \$(MAKEDEP)"
|
||||
test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/urlmon/tests"
|
||||
|
||||
wine_fn_append_file ALL_IMPORT_LIBS "dlls/usbd.sys/libusbd.sys.$IMPLIBEXT"
|
||||
wine_fn_config_dll usbd.sys usbd.sys
|
||||
wine_fn_config_makefile dlls/usbd.sys "dlls/Makedll.rules \$(MAKEDEP)"
|
||||
test "x$enable_usbd_sys" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/usbd.sys"
|
||||
|
||||
wine_fn_config_dll user.exe16
|
||||
wine_fn_config_makefile dlls/user.exe16 "dlls/Makedll.rules \$(MAKEDEP)"
|
||||
test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/user.exe16"
|
||||
|
@ -17342,6 +17347,7 @@ do
|
|||
"dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
|
||||
"dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
|
||||
"dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
|
||||
"dlls/usbd.sys/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usbd.sys/Makefile" ;;
|
||||
"dlls/user.exe16/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user.exe16/Makefile" ;;
|
||||
"dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
|
||||
"dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
|
||||
|
|
|
@ -2537,6 +2537,7 @@ WINE_CONFIG_DLL(updspapi)
|
|||
WINE_CONFIG_DLL(url,,[url])
|
||||
WINE_CONFIG_DLL(urlmon,,[urlmon])
|
||||
WINE_CONFIG_TEST(dlls/urlmon/tests)
|
||||
WINE_CONFIG_DLL(usbd.sys,,[usbd.sys])
|
||||
WINE_CONFIG_DLL(user.exe16,enable_win16)
|
||||
WINE_CONFIG_DLL(user32,,[user32])
|
||||
WINE_CONFIG_TEST(dlls/user32/tests)
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
TOPSRCDIR = @top_srcdir@
|
||||
TOPOBJDIR = ../..
|
||||
SRCDIR = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
MODULE = usbd.sys
|
||||
IMPORTLIB = usbd.sys
|
||||
IMPORTS = kernel32 ntoskrnl.exe
|
||||
EXTRADLLFLAGS = -Wb,--subsystem,native
|
||||
|
||||
C_SRCS = \
|
||||
usbd.c
|
||||
|
||||
@MAKE_DLL_RULES@
|
|
@ -0,0 +1,38 @@
|
|||
/*
|
||||
* Copyright (C) 2010 Damjan Jovanovic
|
||||
*
|
||||
* 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 "winbase.h"
|
||||
#include "winternl.h"
|
||||
#include "ddk/wdm.h"
|
||||
#include "wine/debug.h"
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(usbd);
|
||||
|
||||
NTSTATUS WINAPI DriverEntry( DRIVER_OBJECT *driver, UNICODE_STRING *path )
|
||||
{
|
||||
TRACE( "(%p, %s)\n", driver, debugstr_w(path->Buffer) );
|
||||
return STATUS_SUCCESS;
|
||||
}
|
|
@ -0,0 +1,33 @@
|
|||
@ stub USBD_CreateConfigurationRequestEx
|
||||
@ stub USBD_ParseConfigurationDescriptorEx
|
||||
@ stub USBD_ParseDescriptors
|
||||
@ stub USBD_AllocateDeviceName
|
||||
@ stub USBD_CalculateUsbBandwidth
|
||||
@ stub USBD_CompleteRequest
|
||||
@ stub USBD_CreateConfigurationRequest
|
||||
@ stub _USBD_CreateConfigurationRequestEx@8
|
||||
@ stub USBD_CreateDevice
|
||||
@ stub USBD_Debug_GetHeap
|
||||
@ stub USBD_Debug_LogEntry
|
||||
@ stub USBD_Debug_RetHeap
|
||||
@ stub USBD_Dispatch
|
||||
@ stub USBD_FreeDeviceMutex
|
||||
@ stub USBD_FreeDeviceName
|
||||
@ stub USBD_GetDeviceInformation
|
||||
@ stub USBD_GetInterfaceLength
|
||||
@ stub USBD_GetPdoRegistryParameter
|
||||
@ stub USBD_GetSuspendPowerState
|
||||
@ stub USBD_GetUSBDIVersion
|
||||
@ stub USBD_InitializeDevice
|
||||
@ stub USBD_MakePdoName
|
||||
@ stub USBD_ParseConfigurationDescriptor
|
||||
@ stub _USBD_ParseConfigurationDescriptorEx@28
|
||||
@ stub _USBD_ParseDescriptors@16
|
||||
@ stub USBD_QueryBusTime
|
||||
@ stub USBD_RegisterHcDeviceCapabilities
|
||||
@ stub USBD_RegisterHcFilter
|
||||
@ stub USBD_RegisterHostController
|
||||
@ stub USBD_RemoveDevice
|
||||
@ stub USBD_RestoreDevice
|
||||
@ stub USBD_SetSuspendPowerState
|
||||
@ stub USBD_WaitDeviceMutex
|
Loading…
Reference in New Issue