#include "fsrtlp.h"
#include <zwapi.h>
#include <ntddmup.h>
#include <ntddnull.h>
Go to the source code of this file.
Defines | |
#define | MODULE_POOL_TAG ('nuSF') |
#define | DISABLE_DFS_VALUE_NAME L"DisableDfs" |
Functions | |
NTSTATUS | FsRtlpRegisterProviderWithMUP (IN HANDLE mupHandle, IN PUNICODE_STRING RedirDevName, IN BOOLEAN MailslotsSupported) |
NTSTATUS | FsRtlpOpenDev (IN OUT PHANDLE Handle, IN LPWSTR DevNameStr) |
VOID | FsRtlpSetSymbolicLink (IN PUNICODE_STRING DevName OPTIONAL) |
BOOLEAN | FsRtlpIsDfsEnabled () |
NTSTATUS | FsRtlRegisterUncProvider (IN OUT PHANDLE MupHandle, IN PUNICODE_STRING RedirDevName, IN BOOLEAN MailslotsSupported) |
VOID | FsRtlDeregisterUncProvider (IN HANDLE Handle) |
Variables | |
WCHAR | MupRegKey [] = L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\Mup" |
WCHAR | UNCSymbolicLink [] = L"\\DosDevices\\UNC" |
WCHAR | DevNull [] = L"\\Device\\Null" |
WCHAR | DevMup [] = DD_MUP_DEVICE_NAME |
struct { | |
HANDLE MupHandle | |
HANDLE ReturnedHandle | |
UNICODE_STRING RedirDevName | |
BOOLEAN MailslotsSupported | |
} | FsRtlpDRD |
KSEMAPHORE | FsRtlpUncSemaphore |
ULONG | FsRtlpRedirs = 0 |
|
Referenced by FsRtlpIsDfsEnabled(). |
|
|
|
Definition at line 418 of file unc.c. References ASSERT, Executive, ExFreePool(), FALSE, FsRtlpDRD, FsRtlpRedirs, FsRtlpSetSymbolicLink(), FsRtlpUncSemaphore, Handle, KeReleaseSemaphore(), KernelMode, KeWaitForSingleObject(), NT_SUCCESS, NTSTATUS(), NULL, and PAGED_CODE.
|
|
Definition at line 487 of file unc.c. References Buffer, DISABLE_DFS_VALUE_NAME, FALSE, MupRegKey, NT_SUCCESS, NTSTATUS(), NULL, and TRUE. Referenced by FsRtlRegisterUncProvider().
|
|
Definition at line 183 of file unc.c. References Handle, NT_SUCCESS, NTSTATUS(), NULL, PAGED_CODE, RtlInitUnicodeString(), and ZwCreateFile(). Referenced by FsRtlRegisterUncProvider().
|
|
Definition at line 104 of file unc.c. References ASSERT, ExAllocatePoolWithTag, ExFreePool(), MailslotsSupported, MODULE_POOL_TAG, NonPagedPool, NT_SUCCESS, NtFsControlFile(), NTSTATUS(), NtWaitForSingleObject(), NULL, PAGED_CODE, RedirDevName, and TRUE. Referenced by FsRtlRegisterUncProvider().
|
|
Definition at line 231 of file unc.c. References ASSERT, IoCreateSymbolicLink(), IoDeleteSymbolicLink(), NT_SUCCESS, NTSTATUS(), PAGED_CODE, RtlInitUnicodeString(), UNCSymbolicLink, and VOID(). Referenced by FsRtlDeregisterUncProvider(), and FsRtlRegisterUncProvider().
|
|
Definition at line 247 of file unc.c. References DevMup, DevNull, ExAllocatePoolWithTag, Executive, ExFreePool(), FALSE, FsRtlpDRD, FsRtlpIsDfsEnabled(), FsRtlpOpenDev(), FsRtlpRedirs, FsRtlpRegisterProviderWithMUP(), FsRtlpSetSymbolicLink(), FsRtlpUncSemaphore, KeReleaseSemaphore(), KernelMode, KeWaitForSingleObject(), MailslotsSupported, MODULE_POOL_TAG, MupHandle, MupRegKey, NonPagedPool, NT_SUCCESS, NTSTATUS(), NULL, PAGED_CODE, RedirDevName, RtlInitUnicodeString(), VOID(), and ZwLoadDriver().
|
|
Definition at line 36 of file unc.c. Referenced by FsRtlRegisterUncProvider(). |
|
Definition at line 35 of file unc.c. Referenced by FsRtlRegisterUncProvider(). |
|
Referenced by FsRtlDeregisterUncProvider(), and FsRtlRegisterUncProvider(). |
|
Definition at line 99 of file unc.c. Referenced by FsRtlDeregisterUncProvider(), and FsRtlRegisterUncProvider(). |
|
Definition at line 94 of file unc.c. Referenced by FsRtlDeregisterUncProvider(), FsRtlInitSystem(), and FsRtlRegisterUncProvider(). |
|
Definition at line 88 of file unc.c. Referenced by FsRtlpRegisterProviderWithMUP(), and FsRtlRegisterUncProvider(). |
|
Definition at line 85 of file unc.c. Referenced by FsRtlRegisterUncProvider(). |
|
Definition at line 33 of file unc.c. Referenced by FsRtlpIsDfsEnabled(), and FsRtlRegisterUncProvider(). |
|
Definition at line 87 of file unc.c. Referenced by FsRtlpRegisterProviderWithMUP(), and FsRtlRegisterUncProvider(). |
|
Definition at line 86 of file unc.c. Referenced by IopCreateMadeupNode(). |
|
Definition at line 34 of file unc.c. Referenced by FsRtlpSetSymbolicLink(). |