1 /* 2 * PROJECT: Filesystem Filter Manager 3 * LICENSE: GPL - See COPYING in the top level directory 4 * FILE: drivers/filters/fltmgr/Misc.c 5 * PURPOSE: Uncataloged functions 6 * PROGRAMMERS: Ged Murphy (gedmurphy@reactos.org) 7 */ 8 9 /* INCLUDES ******************************************************************/ 10 11 #include "fltmgr.h" 12 #include "fltmgrint.h" 13 14 #define NDEBUG 15 #include <debug.h> 16 17 18 /* DATA *********************************************************************/ 19 20 21 22 23 /* EXPORTED FUNCTIONS ******************************************************/ 24 25 NTSTATUS 26 FLTAPI 27 FltBuildDefaultSecurityDescriptor( 28 _Outptr_ PSECURITY_DESCRIPTOR *SecurityDescriptor, 29 _In_ ACCESS_MASK DesiredAccess 30 ) 31 { 32 UNREFERENCED_PARAMETER(DesiredAccess); 33 *SecurityDescriptor = NULL; 34 return 0; 35 } 36 37 VOID 38 FLTAPI 39 FltFreeSecurityDescriptor( 40 _In_ PSECURITY_DESCRIPTOR SecurityDescriptor 41 ) 42 { 43 UNREFERENCED_PARAMETER(SecurityDescriptor); 44 } 45 46 NTSTATUS 47 FLTAPI 48 FltGetDiskDeviceObject( 49 _In_ PFLT_VOLUME Volume, 50 _Outptr_ PDEVICE_OBJECT *DiskDeviceObject 51 ) 52 { 53 UNREFERENCED_PARAMETER(Volume); 54 UNREFERENCED_PARAMETER(DiskDeviceObject); 55 return 0; 56 } 57 58 NTSTATUS 59 FLTAPI 60 FltGetFileNameInformationUnsafe( 61 _In_ PFILE_OBJECT FileObject, 62 _In_opt_ PFLT_INSTANCE Instance, 63 _In_ FLT_FILE_NAME_OPTIONS NameOptions, 64 _Outptr_ PFLT_FILE_NAME_INFORMATION *FileNameInformation) 65 { 66 UNREFERENCED_PARAMETER(FileObject); 67 UNREFERENCED_PARAMETER(Instance); 68 UNREFERENCED_PARAMETER(NameOptions); 69 *FileNameInformation = NULL; 70 return 0; 71 } 72 73 NTSTATUS 74 FLTAPI 75 FltGetFileNameInformation( 76 _In_ PFLT_CALLBACK_DATA CallbackData, 77 _In_ FLT_FILE_NAME_OPTIONS NameOptions, 78 _Outptr_ PFLT_FILE_NAME_INFORMATION *FileNameInformation) 79 { 80 UNREFERENCED_PARAMETER(CallbackData); 81 UNREFERENCED_PARAMETER(NameOptions); 82 *FileNameInformation = NULL; 83 return 0; 84 } 85 86 NTSTATUS 87 FLTAPI 88 FltGetDestinationFileNameInformation( 89 _In_ PFLT_INSTANCE Instance, 90 _In_ PFILE_OBJECT FileObject, 91 _In_opt_ HANDLE RootDirectory, 92 _In_reads_bytes_(FileNameLength) PWSTR FileName, 93 _In_ ULONG FileNameLength, 94 _In_ FLT_FILE_NAME_OPTIONS NameOptions, 95 _Outptr_ PFLT_FILE_NAME_INFORMATION *RetFileNameInformation) 96 { 97 UNREFERENCED_PARAMETER(Instance); 98 UNREFERENCED_PARAMETER(FileObject); 99 UNREFERENCED_PARAMETER(RootDirectory); 100 UNREFERENCED_PARAMETER(FileName); 101 UNREFERENCED_PARAMETER(FileNameLength); 102 UNREFERENCED_PARAMETER(NameOptions); 103 *RetFileNameInformation = NULL; 104 return 0; 105 } 106 107 VOID 108 FLTAPI 109 FltReleaseFileNameInformation( 110 _In_ PFLT_FILE_NAME_INFORMATION FileNameInformation) 111 { 112 UNREFERENCED_PARAMETER(FileNameInformation); 113 } 114