1 #ifndef _DFS_PCH_ 2 #define _DFS_PCH_ 3 4 #ifndef INIT_SECTION 5 #ifdef __GNUC__ 6 #define INIT_SECTION __attribute__((section ("INIT"))) 7 #else 8 #define INIT_SECTION /* Done via alloc_text for MSC */ 9 #endif 10 #define INIT_FUNCTION INIT_SECTION 11 #endif 12 13 #define DFS_OPEN_CONTEXT 0xFF444653 14 #define DFS_DOWNLEVEL_OPEN_CONTEXT 0x11444653 15 #define DFS_CSCAGENT_NAME_CONTEXT 0xAAAAAAAA 16 #define DFS_USER_NAME_CONTEXT 0xBBBBBBBB 17 18 typedef struct _DFS_NAME_CONTEXT_ 19 { 20 UNICODE_STRING UNCFileName; 21 LONG NameContextType; 22 ULONG Flags; 23 } DFS_NAME_CONTEXT, *PDFS_NAME_CONTEXT; 24 25 NTSTATUS 26 NTAPI 27 DfsVolumePassThrough( 28 PDEVICE_OBJECT DeviceObject, 29 PIRP Irp 30 ); 31 32 NTSTATUS 33 DfsFsdFileSystemControl( 34 PDEVICE_OBJECT DeviceObject, 35 PIRP Irp 36 ); 37 38 NTSTATUS 39 DfsFsdCreate( 40 PDEVICE_OBJECT DeviceObject, 41 PIRP Irp 42 ); 43 44 NTSTATUS 45 DfsFsdCleanup( 46 PDEVICE_OBJECT DeviceObject, 47 PIRP Irp 48 ); 49 50 NTSTATUS 51 DfsFsdClose( 52 PDEVICE_OBJECT DeviceObject, 53 PIRP Irp 54 ); 55 56 VOID 57 DfsUnload( 58 PDRIVER_OBJECT DriverObject 59 ); 60 61 INIT_FUNCTION 62 NTSTATUS 63 DfsDriverEntry( 64 PDRIVER_OBJECT DriverObject, 65 PUNICODE_STRING RegistryPath 66 ); 67 68 #endif 69