2017-05-14 10:15:43 +00:00
|
|
|
#ifndef _DFS_PCH_
|
|
|
|
#define _DFS_PCH_
|
|
|
|
|
2019-01-27 01:34:20 +00:00
|
|
|
#include <section_attribs.h>
|
2018-12-30 11:19:11 +00:00
|
|
|
|
2017-05-14 10:15:43 +00:00
|
|
|
#define DFS_OPEN_CONTEXT 0xFF444653
|
|
|
|
#define DFS_DOWNLEVEL_OPEN_CONTEXT 0x11444653
|
|
|
|
#define DFS_CSCAGENT_NAME_CONTEXT 0xAAAAAAAA
|
|
|
|
#define DFS_USER_NAME_CONTEXT 0xBBBBBBBB
|
|
|
|
|
|
|
|
typedef struct _DFS_NAME_CONTEXT_
|
|
|
|
{
|
|
|
|
UNICODE_STRING UNCFileName;
|
|
|
|
LONG NameContextType;
|
|
|
|
ULONG Flags;
|
|
|
|
} DFS_NAME_CONTEXT, *PDFS_NAME_CONTEXT;
|
|
|
|
|
|
|
|
NTSTATUS
|
|
|
|
NTAPI
|
|
|
|
DfsVolumePassThrough(
|
|
|
|
PDEVICE_OBJECT DeviceObject,
|
|
|
|
PIRP Irp
|
|
|
|
);
|
|
|
|
|
|
|
|
NTSTATUS
|
|
|
|
DfsFsdFileSystemControl(
|
|
|
|
PDEVICE_OBJECT DeviceObject,
|
|
|
|
PIRP Irp
|
|
|
|
);
|
|
|
|
|
|
|
|
NTSTATUS
|
|
|
|
DfsFsdCreate(
|
|
|
|
PDEVICE_OBJECT DeviceObject,
|
|
|
|
PIRP Irp
|
|
|
|
);
|
|
|
|
|
|
|
|
NTSTATUS
|
|
|
|
DfsFsdCleanup(
|
|
|
|
PDEVICE_OBJECT DeviceObject,
|
|
|
|
PIRP Irp
|
|
|
|
);
|
|
|
|
|
|
|
|
NTSTATUS
|
|
|
|
DfsFsdClose(
|
|
|
|
PDEVICE_OBJECT DeviceObject,
|
|
|
|
PIRP Irp
|
|
|
|
);
|
|
|
|
|
|
|
|
VOID
|
|
|
|
DfsUnload(
|
|
|
|
PDRIVER_OBJECT DriverObject
|
|
|
|
);
|
|
|
|
|
2018-12-30 11:19:11 +00:00
|
|
|
INIT_FUNCTION
|
2017-05-14 10:15:43 +00:00
|
|
|
NTSTATUS
|
|
|
|
DfsDriverEntry(
|
|
|
|
PDRIVER_OBJECT DriverObject,
|
|
|
|
PUNICODE_STRING RegistryPath
|
|
|
|
);
|
|
|
|
|
|
|
|
#endif
|