fltmgr.sys: Add a stub driver.

Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Austin English 2015-10-11 12:05:07 -05:00 committed by Alexandre Julliard
parent 132ff59b3e
commit fba70e71d6
6 changed files with 211 additions and 0 deletions

2
configure vendored
View File

@ -1085,6 +1085,7 @@ enable_explorerframe
enable_ext_ms_win_gdi_devcaps_l1_1_0
enable_faultrep
enable_fltlib
enable_fltmgr_sys
enable_fntcache
enable_fontsub
enable_fusion
@ -17490,6 +17491,7 @@ wine_fn_config_dll ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l
wine_fn_config_dll faultrep enable_faultrep implib
wine_fn_config_test dlls/faultrep/tests faultrep_test
wine_fn_config_dll fltlib enable_fltlib
wine_fn_config_dll fltmgr.sys enable_fltmgr_sys
wine_fn_config_dll fntcache enable_fntcache
wine_fn_config_dll fontsub enable_fontsub
wine_fn_config_dll fusion enable_fusion

View File

@ -3002,6 +3002,7 @@ WINE_CONFIG_DLL(ext-ms-win-gdi-devcaps-l1-1-0)
WINE_CONFIG_DLL(faultrep,,[implib])
WINE_CONFIG_TEST(dlls/faultrep/tests)
WINE_CONFIG_DLL(fltlib)
WINE_CONFIG_DLL(fltmgr.sys)
WINE_CONFIG_DLL(fntcache)
WINE_CONFIG_DLL(fontsub)
WINE_CONFIG_DLL(fusion)

View File

@ -0,0 +1,5 @@
MODULE = fltmgr.sys
EXTRADLLFLAGS = -Wb,--subsystem,native
C_SRCS = \
main.c

View File

@ -0,0 +1,163 @@
@ stub FltAcquirePushLockExclusive
@ stub FltAcquirePushLockShared
@ stub FltAcquireResourceExclusive
@ stub FltAcquireResourceShared
@ stub FltAllocateCallbackData
@ stub FltAllocateContext
@ stub FltAllocateDeferredIoWorkItem
@ stub FltAllocateFileLock
@ stub FltAllocateGenericWorkItem
@ stub FltAllocatePoolAlignedWithTag
@ stub FltAttachVolume
@ stub FltAttachVolumeAtAltitude
@ stub FltBuildDefaultSecurityDescriptor
@ stub FltCancelFileOpen
@ stub FltCancelIo
@ stub FltCbdqDisable
@ stub FltCbdqEnable
@ stub FltCbdqInitialize
@ stub FltCbdqInsertIo
@ stub FltCbdqRemoveIo
@ stub FltCbdqRemoveNextIo
@ stub FltCheckAndGrowNameControl
@ stub FltCheckLockForReadAccess
@ stub FltCheckLockForWriteAccess
@ stub FltCheckOplock
@ stub FltClearCallbackDataDirty
@ stub FltClearCancelCompletion
@ stub FltClose
@ stub FltCloseClientPort
@ stub FltCloseCommunicationPort
@ stub FltCompareInstanceAltitudes
@ stub FltCompletePendedPostOperation
@ stub FltCompletePendedPreOperation
@ stub FltCreateCommunicationPort
@ stub FltCreateFile
@ stub FltCreateFileEx
@ stub FltCreateSystemVolumeInformationFolder
@ stub FltCurrentBatchOplock
@ stub FltDecodeParameters
@ stub FltDeleteContext
@ stub FltDeleteFileContext
@ stub FltDeleteInstanceContext
@ stub FltDeletePushLock
@ stub FltDeleteStreamContext
@ stub FltDeleteStreamHandleContext
@ stub FltDeleteVolumeContext
@ stub FltDetachVolume
@ stub FltDeviceIoControlFile
@ stub FltDoCompletionProcessingWhenSafe
@ stub FltEnumerateFilterInformation
@ stub FltEnumerateFilters
@ stub FltEnumerateInstanceInformationByFilter
@ stub FltEnumerateInstanceInformationByVolume
@ stub FltEnumerateInstances
@ stub FltEnumerateVolumeInformation
@ stub FltEnumerateVolumes
@ stub FltFlushBuffers
@ stub FltFreeCallbackData
@ stub FltFreeDeferredIoWorkItem
@ stub FltFreeFileLock
@ stub FltFreeGenericWorkItem
@ stub FltFreePoolAlignedWithTag
@ stub FltFreeSecurityDescriptor
@ stub FltFsControlFile
@ stub FltGetBottomInstance
@ stub FltGetContexts
@ stub FltGetDestinationFileNameInformation
@ stub FltGetDeviceObject
@ stub FltGetDiskDeviceObject
@ stub FltGetFileContext
@ stub FltGetFileNameInformation
@ stub FltGetFileNameInformationUnsafe
@ stub FltGetFilterFromInstance
@ stub FltGetFilterFromName
@ stub FltGetFilterInformation
@ stub FltGetInstanceContext
@ stub FltGetInstanceInformation
@ stub FltGetIrpName
@ stub FltGetLowerInstance
@ stub FltGetRequestorProcess
@ stub FltGetRequestorProcessId
@ stub FltGetRoutineAddress
@ stub FltGetStreamContext
@ stub FltGetStreamHandleContext
@ stub FltGetSwappedBufferMdlAddress
@ stub FltGetTopInstance
@ stub FltGetTunneledName
@ stub FltGetUpperInstance
@ stub FltGetVolumeContext
@ stub FltGetVolumeFromDeviceObject
@ stub FltGetVolumeFromFileObject
@ stub FltGetVolumeFromInstance
@ stub FltGetVolumeFromName
@ stub FltGetVolumeGuidName
@ stub FltGetVolumeInstanceFromName
@ stub FltGetVolumeName
@ stub FltGetVolumeProperties
@ stub FltInitializeFileLock
@ stub FltInitializeOplock
@ stub FltInitializePushLock
@ stub FltIs32bitProcess
@ stub FltIsCallbackDataDirty
@ stub FltIsDirectory
@ stub FltIsIoCanceled
@ stub FltIsOperationSynchronous
@ stub FltIsVolumeWritable
@ stub FltLoadFilter
@ stub FltLockUserBuffer
@ stub FltNotifyFilterChangeDirectory
@ stub FltObjectDereference
@ stub FltObjectReference
@ stub FltOpenVolume
@ stub FltOplockFsctrl
@ stub FltOplockIsFastIoPossible
@ stub FltParseFileName
@ stub FltParseFileNameInformation
@ stub FltPerformAsynchronousIo
@ stub FltPerformSynchronousIo
@ stub FltProcessFileLock
@ stub FltPurgeFileNameInformationCache
@ stub FltQueryEaFile
@ stub FltQueryInformationFile
@ stub FltQuerySecurityObject
@ stub FltQueryVolumeInformation
@ stub FltQueryVolumeInformationFile
@ stub FltQueueDeferredIoWorkItem
@ stub FltQueueGenericWorkItem
@ stub FltReadFile
@ stub FltReferenceContext
@ stub FltReferenceFileNameInformation
@ stub FltRegisterFilter
@ stub FltReissueSynchronousIo
@ stub FltReleaseContext
@ stub FltReleaseContexts
@ stub FltReleaseFileNameInformation
@ stub FltReleasePushLock
@ stub FltReleaseResource
@ stub FltRequestOperationStatusCallback
@ stub FltRetainSwappedBufferMdlAddress
@ stub FltReuseCallbackData
@ stub FltSendMessage
@ stub FltSetCallbackDataDirty
@ stub FltSetCancelCompletion
@ stub FltSetEaFile
@ stub FltSetFileContext
@ stub FltSetInformationFile
@ stub FltSetInstanceContext
@ stub FltSetSecurityObject
@ stub FltSetStreamContext
@ stub FltSetStreamHandleContext
@ stub FltSetVolumeContext
@ stub FltSetVolumeInformation
@ stub FltStartFiltering
@ stub FltSupportsFileContexts
@ stub FltSupportsStreamContexts
@ stub FltSupportsStreamHandleContexts
@ stub FltTagFile
@ stub FltUninitializeFileLock
@ stub FltUninitializeOplock
@ stub FltUnloadFilter
@ stub FltUnregisterFilter
@ stub FltUntagFile
@ stub FltWriteFile

38
dlls/fltmgr.sys/main.c Normal file
View File

@ -0,0 +1,38 @@
/*
* fltmgr.sys
*
* Copyright 2015 Austin English
*
* 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(fltmgr);
NTSTATUS WINAPI DriverEntry( DRIVER_OBJECT *driver, UNICODE_STRING *path )
{
TRACE( "(%p, %s)\n", driver, debugstr_w(path->Buffer) );
return STATUS_SUCCESS;
}

View File

@ -2499,6 +2499,7 @@ HKLM,%CurrentVersion%\Telephony\Country List\998,"SameAreaRule",,"G"
10,syswow64,stdole2.tlb
11,,iexplore.exe
11,,winetest.exe,-
12,,fltmgr.sys,-
12,,mountmgr.sys,-
12,,ndis.sys,-
; skip .NET fake dlls in Wine Mono package
@ -2537,6 +2538,7 @@ HKLM,%CurrentVersion%\Telephony\Country List\998,"SameAreaRule",,"G"
11,,iexplore.exe
11,,notepad.exe
11,,winetest.exe,-
12,,fltmgr.sys
12,,mountmgr.sys
12,,ndis.sys
; skip .NET fake dlls in Wine Mono package