xref: /reactos/drivers/filesystems/mup/dfs.h (revision 3adf4508)
1 #ifndef _DFS_PCH_
2 #define _DFS_PCH_
3 
4 #include <section_attribs.h>
5 
6 #define DFS_OPEN_CONTEXT 0xFF444653
7 #define DFS_DOWNLEVEL_OPEN_CONTEXT 0x11444653
8 #define DFS_CSCAGENT_NAME_CONTEXT 0xAAAAAAAA
9 #define DFS_USER_NAME_CONTEXT 0xBBBBBBBB
10 
11 typedef struct _DFS_NAME_CONTEXT_
12 {
13     UNICODE_STRING UNCFileName;
14     LONG NameContextType;
15     ULONG Flags;
16 } DFS_NAME_CONTEXT, *PDFS_NAME_CONTEXT;
17 
18 NTSTATUS
19 NTAPI
20 DfsVolumePassThrough(
21     PDEVICE_OBJECT DeviceObject,
22     PIRP Irp
23 );
24 
25 NTSTATUS
26 DfsFsdFileSystemControl(
27     PDEVICE_OBJECT DeviceObject,
28     PIRP Irp
29 );
30 
31 NTSTATUS
32 DfsFsdCreate(
33     PDEVICE_OBJECT DeviceObject,
34     PIRP Irp
35 );
36 
37 NTSTATUS
38 DfsFsdCleanup(
39     PDEVICE_OBJECT DeviceObject,
40     PIRP Irp
41 );
42 
43 NTSTATUS
44 DfsFsdClose(
45     PDEVICE_OBJECT DeviceObject,
46     PIRP Irp
47 );
48 
49 VOID
50 DfsUnload(
51     PDRIVER_OBJECT DriverObject
52 );
53 
54 CODE_SEG("INIT")
55 NTSTATUS
56 DfsDriverEntry(
57     PDRIVER_OBJECT DriverObject,
58     PUNICODE_STRING RegistryPath
59 );
60 
61 #endif
62